seting-wifi

Shared by: -BenedictusPranata-
Categories
Tags
-
Stats
views:
9
posted:
12/3/2012
language:
English
pages:
1
Document Sample
scope of work template
							Configuring the OS to use MadWiFi

Remove the Ath5K module from the kernel by adding the following to the
bottom of /etc/modprobe.d/blacklist.conf:
# Block ath5k
blacklist ath9k
blacklist ath5k

Hash out the blacklisting of the ath_pci driver in
/etc/modprobe.d/blacklist-ath_pci.conf. The content of this should be:
# For some Atheros 5K RF MACs, the madwifi driver loads buts fails to
# correctly initialize the hardware, leaving it in a state from
# which ath5k cannot recover. To prevent this condition, stop
# madwifi from loading by default. Use Jockey to select one driver
# or the other. (Ubuntu: #315056, #323830)

# removed by Tony on 2-14-11 to enable madwifi driver
# blacklist ath_pci
Create file /etc/modprobe.d/madwifi.conf with the following:
options ath_pci autocreate=adhoc

Add the following to the bottom of /etc/modules (this adds the MadWiFi
module to the Linux kernel):
ath_pci

Remove the persistent rules for the network interface:
$ sudo rm /etc/udev/rules.d/70-persistent-net.rules

Edit /etc/network/interfaces. Change the network settings to be the
following. Note the change from "wlan0" to "ath0". Also change the IP
address to be your robot's.
# Set the wireless NIC to auto start in ad-hoc mode
auto ath0
iface ath0 inet static
address 10.11.12.20
netmask 255.255.255.0
wireless-essid pharos
madwifi-mode ad-hoc
madwifi-base wifi0
wireless-channel 1
wireless-txpower 1dBm
wireless-key off

Reboot the computer and the wireless interface should now be using the
MadWiFi drivers.

						
Related docs
Other docs by -BenedictusPranata-
The truth
Views: 0  |  Downloads: 0
Personality+Test
Views: 0  |  Downloads: 0
MIrai E
Views: 9  |  Downloads: 0
Sanguinis-Phlegmatis-Koleris-Melankolis
Views: 6  |  Downloads: 0
hipnotis
Views: 0  |  Downloads: 0
seting-wifi
Views: 7  |  Downloads: 0
Install MadWifi
Views: 1  |  Downloads: 0