You are not logged in.
hi guys,
I have a ThinkPad T60 laptop with archlinux at home. and I have a router with wlan supported for the internet. Suspend/Resuming (pm-utils) works. Recently after resuming, the network-manager says WLAN connected with ESSID, but internet connection was lost. it is weird:
I can really connect the WLAN, e.g. I can ping another computer's IP and exchange files with it,
I can see my wlan by iwlist,
but I cannot reach the IP address of the router by Ping.
I tried restarting network-manager, switching off and on the wireless adapter neither worked. the only way I found to bring the network back is restarting the router.
I list the stuff that I thought would be helpful here, hope someone can give some hints.
thanks in advance.
kent$ uname -a
Linux ArchT60 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 20:24:07 UTC 2011 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz GenuineIntel GNU/Linuxpart of my rc.conf:
MODULES=(acpi-cpufreq cpufreq_ondemand iwl3945 fuse radeon vboxdrv !floppy !pcspkr)
INTERFACES=(!eth0 !wlan0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.254"
ROUTES=(gateway)
DAEMONS=(syslog-ng !network @acpid @alsa netfs @crond hal @cups !dbus networkmanager @sshd tpfand gdm)the last suspend/resuming log (/var/log/pm-suspend.log)
There errors when it was waked up. one with alsa, the other two about hal and tpfand. I thought that it has nothing to do with network.
And I didn't install netcfg. So the netcfg11 hook does actually nothing.
Running hook /usr/lib/pm-utils/sleep.d/00logging suspend suspend:
... uname, lsmod and free output are omitted ...
/usr/lib/pm-utils/sleep.d/00logging suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave suspend suspend:
/usr/lib/pm-utils/sleep.d/00powersave suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub suspend suspend:
/usr/lib/pm-utils/sleep.d/01grub suspend suspend: success.
Running hook /etc/pm/sleep.d/09tpfand suspend suspend:
:: Stopping ThinkPad fan control daemon [BUSY] [DONE]
/etc/pm/sleep.d/09tpfand suspend suspend: success.
Running hook /etc/pm/sleep.d/10hal suspend suspend:
:: Stopping Hardware Abstraction Layer [BUSY] [DONE]
/etc/pm/sleep.d/10hal suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg suspend suspend:
/usr/lib/pm-utils/sleep.d/11netcfg suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend:
/usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules suspend suspend:
/usr/lib/pm-utils/sleep.d/75modules suspend suspend: success.
Running hook /etc/pm/sleep.d/90alsa suspend suspend:
/etc/pm/sleep.d/90alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock suspend suspend:
/usr/lib/pm-utils/sleep.d/90clock suspend suspend: success.
Running hook /etc/pm/sleep.d/91alsa suspend suspend:
/etc/pm/sleep.d/91alsa suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led suspend suspend:
/usr/lib/pm-utils/sleep.d/95led suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend:
Kernel modesetting video driver detected, not using quirks.
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler suspend suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/99video suspend suspend:
kernel.acpi_video_flags = 0
/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Thu Aug 25 01:39:30 CEST 2011: performing suspend
Thu Aug 25 21:11:44 CEST 2011: Awake.
Thu Aug 25 21:11:44 CEST 2011: Running hooks for resume
Running hook /usr/lib/pm-utils/sleep.d/99video resume suspend:
/usr/lib/pm-utils/sleep.d/99video resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend:
/usr/lib/pm-utils/sleep.d/98video-quirk-db-handler resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/95led resume suspend:
/usr/lib/pm-utils/sleep.d/95led resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/94cpufreq resume suspend:
/usr/lib/pm-utils/sleep.d/94cpufreq resume suspend: success.
Running hook /etc/pm/sleep.d/91alsa resume suspend:
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
aplay: main:660: audio open error: Connection refused
/etc/pm/sleep.d/91alsa resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/90clock resume suspend:
/usr/lib/pm-utils/sleep.d/90clock resume suspend: success.
Running hook /etc/pm/sleep.d/90alsa resume suspend:
ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused
aplay: main:660: audio open error: Connection refused
/etc/pm/sleep.d/90alsa resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/75modules resume suspend:
Reloaded unloaded modules.
/usr/lib/pm-utils/sleep.d/75modules resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/49bluetooth resume suspend:
/usr/lib/pm-utils/sleep.d/49bluetooth resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/11netcfg resume suspend:
/usr/lib/pm-utils/sleep.d/11netcfg resume suspend: success.
Running hook /etc/pm/sleep.d/10hal resume suspend:
A daemon is starting another daemon, this is unlikely to work as intended.\n
:: Starting Hardware Abstraction Layer [BUSY] [DONE]
/etc/pm/sleep.d/10hal resume suspend: success.
Running hook /etc/pm/sleep.d/09tpfand resume suspend:
A daemon is starting another daemon, this is unlikely to work as intended.\n
:: Starting ThinkPad fan control daemon [BUSY] [DONE]
/etc/pm/sleep.d/09tpfand resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/01grub resume suspend:
/usr/lib/pm-utils/sleep.d/01grub resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00powersave resume suspend:
/usr/lib/pm-utils/sleep.d/00powersave resume suspend: success.
Running hook /usr/lib/pm-utils/sleep.d/00logging resume suspend:
/usr/lib/pm-utils/sleep.d/00logging resume suspend: success.
Thu Aug 25 21:11:46 CEST 2011: Finished.Last edited by sk1418 (2011-08-26 20:08:39)
Offline
So if you brought down wireless connection before suspend, have you got any problems connecting after resume?
If not, try to add one more suspend hook which brings down your network interfaces (e.g. "sudo ifconfig eth0 down; sudo ifconfig wlan0 down"). Leaving card "connected" relatively to router while going suspend may confuse him (at least it looks like this).
Last edited by yl3dy (2011-08-26 17:05:32)
Offline
after it waked up, I did tried ifconfig down/up wlan0, didn't work.
I will try to bring down the wlan0 before suspend tomorrow.
-----------------------------------
some new test from yesterday
Router IP: 192.168.0.254
DNS:192.168.0.254
another PC: 192.168.0.1
one of Google IP:74.125.39.104
after waked up
ping 192.168.0.254 , failed.
ping 192.168.0.1 OK
ping 74.125.39.104 OK
ping www.google.com Failed
I changed the DNS to google DNS:8.8.8.8, then I can access website in browser, also ping www.google.com OK.
I even REBOOTed my laptop, I still cannot reach my router by ping 192.168.0.254.... accessing internet is ok...
if I restart router, everything is fine...
what is the problem!!! weird!
Last edited by sk1418 (2011-08-30 22:59:31)
Offline