[Voyage-linux] Alix 2d2 w/ ath9k wireless problem

DH2SE (spam-protected)
Thu Dec 9 05:05:33 HKT 2010


Hi,

I'm running a Alix 2d2, Linux voyage 2.6.32 (squeeze) w/ ath9k minipci card
w/ WPA-PSK encr. All traffic now from and to the internet is so far handled
by eth0. Now I want to switch to wlan0 device (used as a client to my AP)
instead of eth0 but using the eth0 as an possible plug for a local PC that
would be connected via cable. I've already established the link to the AP,
please see here:

wlan0     IEEE 802.11bgn  ESSID:"Test-NET"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:12:BF:42:4D:12
          Bit Rate=54 Mb/s   Tx-Power=16 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=35/70  Signal level=-75 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

How do I need to modify the /etc/network/interfaces to manage that?

auto lo
iface lo inet loopback

auto eth0
iface eth0 inet static
 address 192.168.0.30
 netmask 255.255.255.0
 gateway 192.168.0.1
 network 192.168.0.0
 dns-nameservers 192.168.0.1
 post-up /sbin/iptables-restore < /etc/network/firewall
 post-down /sbin/iptables -t nat -F

auto wlan0
iface wlan0 inet static
 address 192.168.0.33
 netmask 255.255.255.0
 wireless-essid Test-NET
 pre-up wpa_supplicant -B -Dwext -iwlan0 -c/etc/wpa_supplicant.conf

I'm a Linux Newbie, please explain slow and step by step to me, thank you
;-)

Howard

-- 
View this message in context: http://voyage-linux.34677.n3.nabble.com/Alix-2d2-w-ath9k-wireless-problem-tp2053758p2053758.html
Sent from the Voyage Linux mailing list archive at Nabble.com.



More information about the Voyage-linux mailing list