You are not logged in.

#1 2013-10-06 08:59:07

jas43
Member
Registered: 2013-05-29
Posts: 2

ping and ssh don't work after waking from sleep

Hi!

I have been running Arch on my 2010 Macbook since May and there's always been this one annoyance which I can't figure out: after it is woken from sleep, the wireless (using netctl) happily reconnects and I can browse, check email, run pacman, do dns lookups---everything, it seems, apart from ssh or ping.  Both ping and ssh seem to hang.  If I reboot or restart netctl-auto@wlps40.service, then they both work.

Running :

$ ssh XXX.XXX.XXX.XXX
...
connect(3, {sa_family=AF_INET, sin_port=htons(22), sin_addr=inet_addr("XXX.XXX.XXX.XXX")}, 16

where XXX.XXX.XXX.XXX is my work computer. (Full strace: http://pastie.org/private/xhmee0oltrnx3qmblnzq)

Running strace ping google.com (as root) gives the repeated lines:

$ strace ping google.com
....
sendmsg(3, {msg_name(16)={sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("173.194.34.102")}, msg_iov(1)=[{"\10\0\270\345b\325\0\2\336\36QR\0\0\0\0\353\376\2\0\0\0\0\0\20\21\22\23\24\25\26\27"..., 64}], msg_controllen=0, msg_flags=0}, 0) = 64
 recvmsg(3, 0x7fff2f6d6f90, 0)           = -1 EAGAIN (Resource temporarily unavailable)

(Full strace: http://pastie.org/private/bfygaqtccz0ms2w8hqea4g)

I can, however, sucessfully ping my router and other devices connected to it.  I have not been able to find out anything relevant that might fix this. I've checked the MTU settings match those on the router and my other laptop running Arch does not have this problem.

Any suggestions on how to debug this further?

Thanks!

Offline

Board footer

Powered by FluxBB