You are not logged in.
I recently installed Arch on my MacBook Pro which i bought about one year ago. (Don't know how to identify different versions). I managed to get most things working with only a small amount of effort.
I followed this http://wiki.archlinux.org/index.php/Macbook guide for most of the configuration, and when I did the suspend to ram part it seemed to work. Simply calling pm-suspend suspends and wakes up normally except that the network doesnt work after waking up.
here is an ifconfig before and after a suspend:
bash-3.2# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:168 errors:0 dropped:0 overruns:0 frame:0
TX packets:168 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11399 (11.1 Kb) TX bytes:11399 (11.1 Kb)
wlan0 Link encap:Ethernet HWaddr 00:1E:C2:BB:43:7A
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c2ff:febb:437a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27077 errors:0 dropped:0 overruns:0 frame:0
TX packets:15192 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29670970 (28.2 Mb) TX bytes:1908399 (1.8 Mb)
Interrupt:16 Memory:97300000-97304000
bash-3.2# pm-suspend
bash-3.2# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:228 errors:0 dropped:0 overruns:0 frame:0
TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15179 (14.8 Kb) TX bytes:15179 (14.8 Kb)
wlan0 Link encap:Ethernet HWaddr 00:1E:C2:BB:43:7A
inet addr:10.0.0.2 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::21e:c2ff:febb:437a/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:27079 errors:0 dropped:0 overruns:0 frame:0
TX packets:15194 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:29671435 (28.2 Mb) TX bytes:1908513 (1.8 Mb)
Interrupt:16 Memory:97300000-97304000
The only way I have found to get it working again short of rebooting is to kill dhcpcd, reset my essid via iwconfig, and then run dhcpcd.
Here is the lspci pertaining to the wireless:
0b:00.0 Network controller: Broadcom Corporation BCM4328 802.11a/b/g/n (rev 05)
Thoughts anyone?
Offline
Well, I managed a way around the problem by adding this to my /etc/acpi/handler.sh :
button/lid)
#echo "LID switched!">/dev/tty5
if grep -q closed /proc/acpi/button/lid/LID0/state
then
pm-suspend
else
killall dhcpcd
iwconfig wlan0 essid NETGEAR
dhcpcd wlan0
fi
esac
;;
But I would prefer not to have to. This is a bit of a hacked way to do it although it seems to work fairly fast and invisibly. Still hoping for some ideas on the root cause of this. Also if I end up closing my wifi ever with wep or something this may get more unpleasant. Thanks.
Last edited by ViolettheConqueror (2009-02-26 07:36:20)
Offline