10d03
![]() |
|
|
|
|
|||||||
| Mobile Computing This forum discusses issues related to running FreeBSD on notebooks, laptops, and other mobile equipment. |
![]() |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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/...-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 ath03- Activated it: ifconfig wlan0 up4- Scanned for the networks: ifconfig wlan0 list scan5- 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 startThat'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
What do you suggest? Last edited by DutchDaemon; January 25th, 2010 at 23:32. Reason: I suggest using some tags... |
|
#2
|
|||
|
|||
|
Look I didn't follow the handbook as didn't worked for me. My driver is wpi (using R8.0-p2, i386):
My loader.conf: Code:
if_wpi_load="YES" wlan_scan_ap_load="YES" wlan_scan_sta_load="YES" wlan_wep_load="YES" wlan_tkip_load="YES" wlan_ccmp_load="YES" Code:
wlans_wpi0="wlan0" ifconfig_wlan0="ssid ITCHIES DHCP WPA" |
| The Following User Says Thank You to indiocolifa For This Useful Post: | ||
revanthedarth (January 26th, 2010) | ||
|
#3
|
|||
|
|||
|
I fixed those but it still doesn't work.
/boot/loader.conf Code:
if_ath_load="YES" wlan_scan_ap_load="YES" wlan_scan_sta_load="YES" wlan_wep_load="YES" wlan_ccmp_load="YES" wlan_tkip_load="YES" Code:
wlans_ath0="wlan0" ifconfig_ath0="ssid aztech netmask 255.255.255.0 authmode shared wepmode on weptxkey 1 wepkey 1:aabbccddee DHCP" ifconfig gives meCode:
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
*some stuff about fwe0, fwip0, lo0*
wlan0: flags=8802<BROADCAST, SIMPLEX, MULTICAST> metric 0 mtu 1500 ether (same mac address as ath0)
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: no carrier
ssid "" channel 1 (2412 Mhz 11b)
regdomain 96 indoor ecm authmode OPEN privacy OFF txpower 20 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1 wme burst bintval 0
|
|
#4
|
|||
|
|||
|
Try replacing ifconfig_ath0 with ifconfig_wlan0.
|
| The Following User Says Thank You to bschmidt For This Useful Post: | ||
revanthedarth (January 26th, 2010) | ||
|
#5
|
|||
|
|||
|
maybe my case will help you to solve this.
i'm running 8.0-RELEASE and i have built-in wireless card based on Atheros chipset and my router acts as DHCP server, so i made it this way: create interface wlan0: laptop# ifconfig wlan0 create wlandev ath0and add following lines to my /etc/rc.conf Code:
wlans_ath0="wlan0" ifconfig_wlan0="DHCP WPA" next, created file /etc/wpa_supplicant.conf Code:
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=wheel
network={
ssid="HomeNet"
scan_ssid=1
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP
group=CCMP
psk="mypassword"
finally starting wireless connection: laptop# wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.confoption -B makes the process daemonize, -c points to config file checking whether it's up: Code:
laptop% ifconfig wlan0 wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether 00:22:5f:b4:cf:a5 inet 192.168.0.6 netmask 0xffffff00 broadcast 192.168.0.255 media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g status: associated ssid HomeNet channel 6 (2437 Mhz 11g) bssid 00:24:01:b1:ff:c4 regdomain 96 indoor ecm authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 20 bmiss 7 scanvalid 450 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5 protmode CTS wme burst roaming MANUAL check it out, maybe it will be useful to you. |
| The Following 2 Users Say Thank You to oomka For This Useful Post: | ||
revanthedarth (January 26th, 2010), x1101 (February 1st, 2010) | ||
|
#6
|
|||
|
|||
|
Thank you all, you just saved a FreeBSD n00b
I was about to install ubuntu server edition
|
|
#7
|
|||
|
|||
|
I would like to echo raventhedarth's statements. I had been searching for literally hours trying to figure out how to get my wireless working on my netbook, now it does. Thanks
|
![]() |
| Tags |
| connection, freebsd, internet, wireless |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do I establish wireless connection from in home router? | unixdude | Networking | 6 | August 9th, 2010 15:40 |
| [Solved] FreeBSD wireless connection failed. | curses | Networking | 10 | July 10th, 2010 16:51 |
| [Solved] wireless connection | inux | Networking | 5 | January 5th, 2010 19:30 |
| Weird wireless connection problem: I have to do weird series of commands | curses | Networking | 0 | December 26th, 2009 01:12 |
| wireless connection keeps disconnecting | TomAmundsen | Networking | 1 | July 19th, 2009 03:15 |