c9a7
![]() |
|
|
|
|
|||||||
| System Hardware Internal storage, motherboards, PCI cards, stuff inside the case. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
I recently upgraded my FreeBSD server from FreeBSD v7 to v8. Everything seems to be working OK, except the Atheros-based wireless network card, which I had configured as an access point and which worked fine under v7 for several years.
The command: Code:
# ifconfig ath0 up Code:
# ifconfig ath0 192.168.3.1 ifconfig: ioctl (SIOCAIFADDR): Invalid argument Code:
# ifconfig ath0 ssid freebsdap mode 11g mediaopt hostap inet 192.168.0.1 netmask 255.255.255.0 ifconfig: SIOCS80211: Invalid argument Well, I copied & pasted the ifconfig line above directly from the handbook! Further, it is not indicated, AFAICT, exactly what things have changed from v7 with regard to wireless. Any ideas on what is going on here? |
|
#2
|
||||
|
||||
|
Wireless has changed from 7 to 8.
In 8 you need to create a virtual device first: # ifconfig wlan0 create wlandev ath0 upThen you configure wlan0 just like you configured ath0 in 7.x. The entries for /etc/rc.conf are: Code:
wlans_ath0="wlan0" ifconfig_wlan0="WPA DHCP" It would be very nice if you'd write a PR with send-pr(1) that the handbook needs to be updated. |
| The Following User Says Thank You to lme@ For This Useful Post: | ||
cbrace (March 5th, 2010) | ||
|
#3
|
||||
|
||||
|
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki Before you post: How to ask questions the smart way If you must know .. So, what does an Administrator/Moderator do? ---> Do not PM me with FreeBSD questions. I do not work here. <--- |
|
#4
|
|||
|
|||
|
Thanks Imea@
Via the sticky that DD refers to above, I came to the ath manpage which sorted me out. This works for me: Code:
ifconfig wlan0 create wlandev ath0 wlanmode hostap ifconfig wlan0 inet 192.168.3.1 mode 11g channel 2 ssid venus I was already using a start file to initialise the interface, /etc/start_if.ath0, so I will just add those two lines to it. I assume it will also work under 8; will reboot shortly and find out. I've never used send-pr, but I will give it a try. |
![]() |
| Tags |
| wireless atheros |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I got wireless working, but I get strange error messages at boot! | Allamgir | Networking | 11 | December 4th, 2011 06:43 |
| gdm and ath0 conflict | twantnix3 | GNOME | 15 | September 19th, 2009 10:48 |
| ath0 status: "no carrier" | mjkerpan | Networking | 2 | June 3rd, 2009 16:21 |
| ath0 wifi, how is it to use it? | raxeax | Networking | 9 | February 20th, 2009 17:58 |
| freebsd 7.0- Error Mounting /dev/acd0 on /dist: Input/output error (5) | Lego | Installing & Upgrading | 52 | November 30th, 2008 16:31 |