<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi. Sorry i had a typo.<br>
    now i can ping from ALIX itself to 8.8.8.8 and <a class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a><br>
    when i try from pc which is in eth1 of ALIX, i cannot get anywhere.
    <br>
    <br>
    <br>
    <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 23/5/2015 15:57, atux john wrote:<br>
    </div>
    <blockquote cite="mid:5560794F.7070201@null.net" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      Dear Kim-man,<br>
      <br>
      <br>
      thanks a lot for the quick reply.<br>
      my <b>/etc/network/interfaces</b> has<br>
      <br>
      <b> auto wlan0 </b><b><br>
      </b><b> iface wlan0 inet static </b><b><br>
      </b><b>         address 192.168.0.49 </b><b><br>
      </b><b>         netmask 255.255.255.0 </b><b><br>
      </b><b>         broadcast 192.168.0.255 </b><b><br>
      </b><b>         wpa-ssid "</b><b>Com_SAT_PLUS " </b><b><br>
      </b><b>         wpa-psk "</b><b>wh@t3v3r123 "</b><b><br>
      </b><b>         up nat.sh eth1 wlan0  "192.168.1.0/24" </b><b><br>
        <br>
        auto eth1<br>
          iface eth1 inet static<br>
          address 192.168.1.100<br>
          netmask 255.255.255.0<br>
      </b><b><br>
        <br>
        <br>
        <br>
      </b>then i rebooted the system. from my pc i get connected to eth1
      of ALIX. then i try to access the internet without success.<br>
      ping 8.8.8.8, ping <a moz-do-not-send="true"
        class="moz-txt-link-abbreviated" href="http://www.google.com">www.google.com</a>
      failed.<br>
      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.<br>
      the only settings that i have edited was the <b>/etc/network/interfaces</b>.
      do i have to alter any other file?<br>
      what am i doing wrong?<br>
      <br>
      <br>
      <br>
      <div class="moz-cite-prefix">On 23/5/2015 08:54, Kim-man 'Punky'
        TSE wrote:<br>
      </div>
      <blockquote cite="mid:556015F8.2090704@voyage.hk" type="cite">John,

        <br>
        <br>
        You are lucky, because I have the similar setup, incl WN722N: <br>
        <br>
        in /etc/network/interfaces <br>
        <br>
        auto wlan0 <br>
        iface wlan0 inet static <br>
                address 192.168.0.49 <br>
                netmask 255.255.255.0 <br>
                broadcast 192.168.0.255 <br>
                wpa-ssid <your SSID> <br>
                wpa-psk <your PSK> <br>
                up nat.sh eth1 wlan0  "192.168.1.0/24" <br>
        <br>
        I leave eth1 settings to you.  Also make sure you have
        firmware-atheros (non-free) package installed <br>
        <br>
        On 5/22/2015 9:22 PM, tux john wrote: <br>
        <blockquote type="cite">hello everyone. i do have an ALIX 2d13
          which has voyage linux 0.9.2 and a usb stick (TP LINK
          TL-WN722N). <br>
          i do need to setup the wifi usb to be my WAN for access to the
          Internet. Some help with the config please. <br>
          _*WIFI settings:*_ <br>
          SSID:Com_SAT_PLUS <br>
          WPA2+ <br>
          passphrase:wh@t3v3r123 <br>
          IP:192.168.0.49/24, gateway 192.168.0.1 <br>
          _*LAN settings:*_ <br>
          eth1:192.168.1.100/24 <br>
          All traffic from eth1 will get NAT to wlan interface and then
          travel to the Internet. <br>
        </blockquote>
        <br>
        <br>
      </blockquote>
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Voyage-linux mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
<a class="moz-txt-link-freetext" href="http://list.voyage.hk/mailman/listinfo/voyage-linux">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>