Code 1
Code: Alles auswählen
modprobe ath_pci
wlanconfig ath0 create wlandev wifi0 wlanmode sta
modprobe wlan_scan_sta
Code2
Code: Alles auswählen
ifconfig ath0 up
iwconfig ath0 essid "FUN"
iwconfig ath0 key XXXXXXXXXXXXXXXXXXXXXXXXXX
ifconfig ath0 192.168.0.50 netmask 255.255.255.0 up
route add default gw 192.168.0.1
Ist der 2. Code in der /ect/network/interfaces richig von mir umgesetzt worden.
Code: Alles auswählen
### etherconf DEBCONF AREA. DO NOT EDIT THIS AREA OR INSERT TEXT BEFORE IT.
auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.100.2
netmask 255.255.255.0
broadcast 192.168.100.255
gateway 192.168.100.1
#iface eth0 inet dhcp
### END OF DEBCONF AREA. PLACE YOUR EDITS BELOW; THEY WILL BE PRESERVED.
# Wireless
auto ath0
# static
iface ath0 inet static
address 192.168.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
wireless-essid FUN
wireless-key XXXXXXXXXXXXXXXXXXXXXXXXXXX
Mit freundlichen Grüßen
S. Storb