WG511T problem using dhcp

Michael Vince mv at roq.com
Wed Nov 9 16:12:17 PST 2005


dennis binder wrote:

> hello,
>
> i'm trying to get a wlan card WG511T from netgear to work
> and connect to the internet via an accesspoint.
> The accesspoint has an SSID= "WLAN" and provides DHCP.
>
> dmesg bings up the following:
> ath0: <Atheros 5212> mem 0x88000000-0x8800ffff irq 9 at device 0.0 on
> cardbus0
> ath0: mac 5.9 phy 4.3 5ghz radio 4.6
> ath0: Ethernet address: 00:0f:b5:67:1b:4f
> ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
> ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 
> 24Mbps
> 36Mbps 48Mbps 54Mbps
>
> my /etc/rc.conf  looks like this:
> removable_interfaces="ath0 ep0"
> ifconfig_ath0="NO"
>
> my /etc/start_if.ath0 is empty. After plugging the card "ifconfig ath0"
> prints this:
> ath0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>    ether 00:0f:b5:67:1b:4f
>    media: IEEE 802.11 Wireless Ethernet autoselect
>    status: no carrier
>    ssid ""
>    channel -1 authmode OPEN powersavemode OFF powersavesleep 100
>    rtsthreshold 2312 protmode CTS
>    wepmode OFF weptxkey 1
>
> after this I want to manually connect to the internet.
> I try
> # ifconfig ath0 ssid WLAN
> # ifconfig ath0
> ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>    inet6 fe80::20f:b5ff:fe67:1b4f%ath0 prefixlen 64 scopeid 0x4
>    inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
>    ether 00:0f:b5:67:1b:4f
>    media: IEEE 802.11 Wireless Ethernet autoselect (DS/1Mbps)
>    status: no carrier
>    ssid WLAN 1:WLAN
>    channel -1 authmode OPEN powersavemode OFF powersavesleep 100
>    rtsthreshold 2312 protmode CTS
>    wepmode OFF weptxkey 1
>
> After running "dhclient ath0" the netgear-card finds the accesspoint ( 
> both
> leds blinking simultanously).
> "ifconfig ath0" prints "status: active" but the inet-address remains
> 0.0.0.0.
>
> How can I assign the card a valid ip-address via dhcp ?
> Or what is wrong in my setup ?
> My second interface fxp0 has no problems getting valid
> ip-address via dhcp.
>
> Any hints are very welcome.
>
> Dennis Binder

I am using the same card, in my rc.conf I just have this
ifconfig_ath0="DHCP WPA"
I am using WPA encryption and have the relevant information in 
/etc/wpa_supplicant.conf but if I am using no encryption I wouldn't need 
the WPA part at all.

Mike





More information about the freebsd-net mailing list