Wireless Problems

Hey guys,

I recently installed FreeBSD 9 on an old ThinkPad T400. I loved it. When I saw 10 had ZFS I had to switch for fun. However on my switch I lost wireless x( . I have been forum surfing the whole day and have nowhere else to go. The main problem is that dhclient gives me
Code:
wlan0: no link .............giving up

Here's my /etc/rc.conf:

Code:
hostname = "asdfasdf"
wlans_iwn0="wlan0"
ifconfig_wlan0="WPA SYNCDHCP"
sshd_enable="YES"
moused_enable="YES"
ntpd_enable="YES"
powerd_enable="YES"
dumpdev="AUTO"
ipv6_activate_all_interfaces="YES"
zfs_enable="YES"
dbus_enable="YES"
hald_enable="YES"

Here's my wpa_supplicant.conf:
Code:
ap_scan=1
network={
    ssid="blah"
    bssid=blah
    key_mgmt=NONE
    wep_tx_keyidx=0
    wep_key0="asdf"
}

Here's my ifconfig:
Code:
iwn0: flags=<BROADCAST,SIMPLEX,MULTICAST>
    ether .....(too lazy to type the hex)
    nd6_options=21<PERFORMNUD,AUTO_LINKLOCAL
    media IEE ...
    status no carrier
wlan0
    ether ...
    nd6 options= 21<PERFORMNUD,AUTO_LINKLOCAL>
    media IEE...
    status: no carrier
    ssid "" channel 1
I've tried running
ifconfig iwn0 up
ifconfig wlan0 up
dhclient wlan0
and I still get no link...

The weirdness is that ifconfig wlan0 list scan works.
 
Please, stop using WEP. Even getting the keys right is a pain, and then it's for security that is trivially cracked.

Don't up or down iwn0, do that to the virtual interface, wlan0.

Does the output of ifconfig wlan0 up list scan show your SSID?
 
After continuing to work on it I have discovered another weird thing. If I comment out ifconfig_wlan0="WPA" then I no longer get no link from dhclient. However as you can imagine I can still not connect to my network without WPA.
 
garrettdreyfus said:
I recently installed FreeBSD 9 on an old ThinkPad T400. I loved it. When I saw 10 had ZFS I had to switch for fun.
FreeBSD has had ZFS since version 7.0. It's not a "new" feature on 10.0. The only thing new relating to ZFS is that the installer can now do a ZFS install.
 
When I first heard of ZFS I had already installed version 9.0 without it, so the easy installation of version 10 seemed like a good way to get my hands on it.
 
Since it's WEP is the key hex or text?

If it's text then your wpa_supplicant.conf should look like this:
Code:
ap_scan=1
network={
    ssid="blah"
    bssid=blah
    key_mgmt=NONE
    wep_tx_keyidx=0
    wep_key0="asdf"
}

If it's hex then your wpa_supplicant.conf should look like this:
Code:
ap_scan=1
network={
    ssid="blah"
    bssid=blah
    key_mgmt=NONE
    wep_tx_keyidx=0
    wep_key0=1x000900afbcd121212
}
 
It is in ascii and I have it in quotes. Although I do believe it is a wep problem for I can connect to unsecured networks.

Thanks for the reply,

Garrett
 
garrettdreyfus said:
It is in ascii and I have it in quotes. Although I do believe it is a wep problem for I can connect to unsecured networks.

Thanks for the reply,

Garrett

WEP networks are also unsecured networks :)
 
Still no luck?? Even when you switched to WPA you could not connect??

I get the same issue with 10.3!

:(



After continuing to work on it I have discovered another weird thing. If I comment out ifconfig_wlan0="WPA" then I no longer get no link from dhclient. However as you can imagine I can still not connect to my network without WPA.
 
Back
Top