[Voyage-linux] usb stick as wan

Kim-man 'Punky' TSE (spam-protected)
Sat May 23 13:54:00 HKT 2015


John,

You are lucky, because I have the similar setup, incl WN722N:

in /etc/network/interfaces

auto wlan0
iface wlan0 inet static
         address 192.168.0.49
         netmask 255.255.255.0
         broadcast 192.168.0.255
         wpa-ssid <your SSID>
         wpa-psk <your PSK>
         up nat.sh eth1 wlan0  "192.168.1.0/24"

I leave eth1 settings to you.  Also make sure you have firmware-atheros (non-free) package installed

On 5/22/2015 9:22 PM, tux john wrote:
> hello everyone. i do have an ALIX 2d13 which has voyage linux 0.9.2 and a usb stick (TP LINK TL-WN722N).
> i do need to setup the wifi usb to be my WAN for access to the Internet. Some help with the config please.
> _*WIFI settings:*_
> SSID:Com_SAT_PLUS
> WPA2+
> passphrase:wh at t3v3r123
> IP:192.168.0.49/24, gateway 192.168.0.1
> _*LAN settings:*_
> eth1:192.168.1.100/24
> All traffic from eth1 will get NAT to wlan interface and then travel to the Internet.


-- 
Regards,
Kim-man "Punky" Tse

* Open Source Embedded Solutions and Systems
   - Voyage Linux (http://linux.voyage.hk)
   - Voyage MPD   (http://linux.voyage.hk/voyage-mpd)
   - Voyage MuBox (http://mubox.voyage.hk)
* Voyage Store   (http://store.voyage.hk)




More information about the Voyage-linux mailing list