Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: [gentoo-user] /etc/conf.d/wireless ignoring dhcp setting
Date: Thu, 11 May 2006 11:58:16
Message-Id: 1147347447.10702.4.camel@orpheus
1 Hi all,
2
3 net.wlan0 seems to be ignoring my dhcp settings! In
4 my /etc/conf.d/wireless file I have:
5
6 key_acco2="xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx enc open"
7 config_acco2=( "dhcp" )
8 dhcpcd_acco2="-t 10 -m 0"
9 preferred_aps=("acco2")
10
11 and yet `route` shows:
12 Destination Gateway Genmask Flags Metric Ref Use Iface
13 0.0.0.0 172.16.0.4 0.0.0.0 UG 2000 0 0 wlan0
14
15 when I kill dhcpcd and start it manually (with the -m 0):
16 `dhcpcd -t 10 -m 0 wlan0`
17
18 route now shows:
19 Destination Gateway Genmask Flags Metric Ref Use Iface
20 0.0.0.0 172.16.0.4 0.0.0.0 UG 0 0 0 wlan0
21
22 which implies that net.wlan0 is ignoring my -m 0 setting.
23
24 Am I doing it right? I think I've got the right file, but I'm not sure.
25
26 any help would be appreciated,
27 thanks,
28 --
29 Iain Buchanan <iaindb at netspace dot net dot au>
30
31 "Humor is a drug which it's the fashion to abuse."
32 -- William Gilbert
33
34 --
35 gentoo-user@g.o mailing list