I'm not sure if this is the right place to ask, but what the hell.
I've been trying to connect my laptop to my wireless network. I've searched the net, found something useful but not useful enough, and freebsd handbook seems outdated. That's the most useful page:
http://www.freebsd.org/doc/handbook/network-wireless.html
Anyway, i'll try to explain what i did step by step
1- Added if_ath_load="YES" to /boot/loader.conf. My laptop uses that driver.
2- Created a clone-device:
3- Activated it:
4- Scanned for the networks:
5- Found mine. Then i fixed the /etc/rc.conf file like that:
(That xx:xx part is the BSSID i noted when scanning, i guess that's mac address )
I'm using WEP to encrypt data.
6- I type
That's the output:
Then, ifconfig wlan0 brings me status:no carrier although ifconfig ath0 gives me status:associated. But i can't ping any computers on that network or even the modem.
What do you suggest?
I've been trying to connect my laptop to my wireless network. I've searched the net, found something useful but not useful enough, and freebsd handbook seems outdated. That's the most useful page:
http://www.freebsd.org/doc/handbook/network-wireless.html
Anyway, i'll try to explain what i did step by step
1- Added if_ath_load="YES" to /boot/loader.conf. My laptop uses that driver.
2- Created a clone-device:
ifconfig wlan0 create wlandev ath0
3- Activated it:
ifconfig wlan0 up
4- Scanned for the networks:
ifconfig wlan0 list scan
5- Found mine. Then i fixed the /etc/rc.conf file like that:
Code:
ifconfig_ath0="bssid xx:xx:xx:xx:xx:xx netmask 255.255.255.255 authmode shared wepmode on weptxkey 1 wepkey 1:myweppassw DHCP"
I'm using WEP to encrypt data.
6- I type
/etc/rc.d/netif start
That's the output:
Code:
ifconfig: SIOCS80211: Invalid argument
Starting Network Io0 ath0.
Io0: flags=8049<UP,LOOPBACK, RUNNING, MULTICAST> metric 0 mtu 16384
options=3<RXCSUM, TXCSUM>
...(Some more Io0 information, i can post if necessary)
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290 ether xx:xx:xx:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
Then, ifconfig wlan0 brings me status:no carrier although ifconfig ath0 gives me status:associated. But i can't ping any computers on that network or even the modem.
What do you suggest?