[Voyage-linux] usb stick as wan
atux john
(spam-protected)
Sat May 23 20:57:51 HKT 2015
Dear Kim-man,
thanks a lot for the quick reply.
my */etc/network/interfaces* has
*auto wlan0 **
**iface wlan0 inet static **
** address 192.168.0.49 **
** netmask 255.255.255.0 **
** broadcast 192.168.0.255 **
** wpa-ssid "**Com_SAT_PLUS " **
** wpa-psk "**wh at t3v3r123 "**
** up nat.sh eth1 wlan0 "192.168.1.0/24" **
auto eth1
iface eth1 inet static
address 192.168.1.100
netmask 255.255.255.0
**
*then i rebooted the system. from my pc i get connected to eth1 of ALIX.
then i try to access the internet without success.
ping 8.8.8.8, ping www.google.com failed.
the thing is that i can access the remote router that serves the wifi
(192.168.1.1). Also i can get access from my laptop to the internet with
these settings.
the only settings that i have edited was the */etc/network/interfaces*.
do i have to alter any other file?
what am i doing wrong?
On 23/5/2015 08:54, Kim-man 'Punky' TSE wrote:
> 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20150523/1c04630e/attachment.html>
More information about the Voyage-linux
mailing list