Randy Barlow schrieb:
> Howdy all!  I'm having a tough time getting DHCP to work on my wireless card. 
>  
> It's the intel 2200, and I am using wpa_supplicant with it.  The contents of 
> my /etc/conf.d/net are:
>
> modules=( "wpa_supplicant" )
> config_eth1=( "dhcp" )
> wpa_supplicant_eth1="-Dwext"
>
> The problem seems to be that DHCP isn't being used, and the even weirder part 
> is that when I bring eth1 up via /etc/init.d/net.eth1 start, ifconfig will 
> show eth1 configured with an IPv6 address!  /var/log/messages isn't helpful, 
> except to point out that there are no ipv6 routers on my network (duh!).  
> When I manually run dhcpcd eth1, then the ip address is obtained correctly 
> and it works.  What should I check to see why DHCP doesn't seem to be being 
> used on this interface and why I'm getting an IPv6 address?  Thanks!
>   
With wpa_supplicant the script is run 2 times. Once by you which fires
up wpa_supplicant and once by wpa_cli.sh, which puts up the interface
and runs dhcpcd.
I had this problem once too, and my problem was that a file
/etc/conf.d/net.eth1 existed, which had config_eth1=("null") in it. The
statements in /etc/conf.d/net had no effect then. Maybe that's the same
issue here.

- Sascha

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to