Hi,

I'm not sure if this is ath5k specific, but it could be, so I 
thought I should post here and see if anyone can point me in the 
right direction. This is my first time playing with wireless, so I 
could have mis-configured something.

Anyway, after successfully connecting to my network via 
wpa_supplicant, running dhcpcd -d wlan0 returns the following:
wlan0: dhcpcd 4.0.2 starting
wlan0: broadcasting for a lease
wlan0: offered 10.0.7.104 from 10.0.8.1
wlan0: checking 10.0.7.104 is available on attached networks
wlan0: acknowledged 10.0.7.104 from 10.0.8.1
wlan0: leased 10.0.7.104 for 259200 seconds
wlan0: add_route: No such process

The relevant parts of strace (which I don't understand):
write(2, "wlan0: "..., 7wlan0: )               = 7
write(2, "adding route to 0.0.0.0/0 via 10."..., 38adding route to 0.0.0.0/0 
via 10.0.8.4) = 38
write(2, "\n"..., 1
)                    = 1
time(NULL)                              = 1229090916
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3661, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3661, ...}) = 0
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3661, ...}) = 0
send(4, "<135>Dec 12 14:08:36 dhcpcd[4838]"..., 81, MSG_NOSIGNAL) = 81
socket(PF_FILE, SOCK_DGRAM, 0)          = 8
ioctl(8, SIOCGIFINDEX, {ifr_name="wlan0", ifr_index=4}) = 0
close(8)                                = 0
socket(PF_NETLINK, SOCK_RAW, 0)         = 8
bind(8, {sa_family=AF_NETLINK, pid=0, groups=00000000}, 12) = 0
sendmsg(8, {msg_name(12)={sa_family=AF_NETLINK, pid=0, groups=00000000}, 
msg_iov(1)=[{"<\0\0\0\30\0\5\6\2\0\0\0\0\0\0\0\2\0\0\0\376\3\0\1\0\0\0\0\10\0\1\0\0"...,
 60}], msg_controllen=0, msg_flags=0}, 0) = 60
recv(8, 
"$\0\0\0\2\0\0\0\2\0\0\0\374\357\377\377\375\377\377\377<\0\0\0\30\0\5\6\2\0\0\0\0"...,
 256, 0) = 36
close(8)                                = 0
write(2, "wlan0: "..., 7wlan0: )               = 7
write(2, "add_route: No such process"..., 26add_route: No such process) = 26

Which leaves me without a route. I can manually add one with the 
commands:
route add default dev wlan0
route add default gw 10.0.8.4

My question is why does DHCPCD claim 'add_route: No such process'? I 
thought this may be an ath5k problem as it's such a new driver, and 
dhcpcd is fine with my ethernet, hence me posting here.

This happens with linux-2.8.28_rc8 and the wireless-testing git 
branch.

I'm using dhcpcd 4.0.2 , on a gentoo machine.

Thanks for any advice you can offer,

Nick



-- 
GPG Key : www.njw.me.uk/nick.gpg.asc     GPG Key ID: 04E4653F
  GPG Fingerprint: 9732 D7C7 A441 D79E FDF0 94F6 1F48 5674 04E4 653F

Attachment: pgp1VpuxqRHRb.pgp
Description: PGP signature

_______________________________________________
ath5k-users mailing list
ath5k-users@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-users

Reply via email to