<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 18-05-2015 15:13, tux john wrote:<br>
    </div>
    <blockquote
cite="mid:trinity-a838503a-fc7f-4a05-bf39-bc3fb2af77d5-1431954800513@3capp-mailcom-lxa03"
      type="cite">
      <div style="font-family: Verdana;font-size: 12.0px;">
        <div>
          <div>Thanks for the quick reply.</div>
          <div>i got the dongle recognised from the system correctly.</div>
          <div>may i have some help with the rest in the interfaces
            part, please?</div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    Take a look in the /etc/network/interfaces file, you see there are
    som example.<br>
    <br>
    <br>
    Just uncomment them one at the time, till it work, or there are no
    more wlan options to try.<br>
    <br>
    <br>
    If that does not work, mayby some other can help you, I cant. <br>
    <br>
    <br>
    <br>
    But first try the script that are there.<br>
    <br>
    In one of my systems, this work:<br>
    <br>
    <br>
    # mac80211-based drivers<br>
    auto wlan0<br>
    iface wlan0 inet static<br>
            address 10.1.10.1<br>
            netmask 255.255.255.0<br>
                    hostapd /etc/hostapd/hostapd.wlan0.conf<br>
            up nat.sh wlan0 eth0 "10.1.10.0/24"<br>
           dns-nameservers 8.8.8.8<br>
    <br>
    <br>
    <br>
    <br>
    <blockquote
cite="mid:trinity-a838503a-fc7f-4a05-bf39-bc3fb2af77d5-1431954800513@3capp-mailcom-lxa03"
      type="cite">
      <div style="font-family: Verdana;font-size: 12.0px;">
        <div>
          <div> 
            <div name="quote" style="margin:10px 5px 5px 10px; padding:
              10px 0 10px 10px; border-left:2px solid #C3D9E5;
              word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;">
              <div style="margin:0 0 10px 0;"><b>Sent:</b> Monday, May
                18, 2015 at 2:59 PM<br>
                <b>From:</b> "Henrik Kressner"
                <a class="moz-txt-link-rfc2396E" href="mailto:kressner@synkro.dk"><kressner@synkro.dk></a><br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:voyage-linux@voyage.hk">voyage-linux@voyage.hk</a><br>
                <b>Subject:</b> Re: [Voyage-linux] wifi client</div>
              <div name="quoted-content">
                <div style="background-color: rgb(255,255,255);">
                  <div class="moz-cite-prefix">On 18-05-2015 13:47, tux
                    john wrote:</div>
                  <blockquote>
                    <div style="font-family: Verdana;font-size: 12.0px;">
                      <div>hello everyone.</div>
                      <div>i do have a pcengines ALIX 2d13 with 3
                        ethernet ports.</div>
                      <div>  i would like to add a wifi dongle to
                        connect to a remote router and be my gateway.
                        also eth0 will have another network to
                        communicate.</div>
                      <div>wifi:192.168.0.10/24 gw:192.168.0.1</div>
                      <div>eth0:192.168.2.48</div>
                      <div> </div>
                      <div>Internet will be from wifi. could someone
                        help me with the config please?</div>
                    </div>
                     
                    <fieldset class="mimeAttachmentHeader"> </fieldset>
                     
                    <pre>_______________________________________________
Voyage-linux mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="Voyage-linux@list.voyage.hk" target="_parent">Voyage-linux@list.voyage.hk</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://list.voyage.hk/mailman/listinfo/voyage-linux" target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a>
</pre>
                  </blockquote>
                  <br>
                  <br>
                  Hi<br>
                  <br>
                  <br>
                  I would suggest you start with a look in the file
                  /etc/network/interfaces<br>
                  <br>
                  <br>
                  Its the config file for network, and Voyage comes with
                  some good eksample in that file.<br>
                  <br>
                  <br>
                  The only hurdle I think you will get, is to find the
                  right driver for your dongle, but some look on the net
                  might help.<br>
                  <br>
                  <br>
                  <br>
                   
                  <pre class="moz-signature">Yours Sincerly 
Henrik</pre>
                  _______________________________________________
                  Voyage-linux mailing list <a class="moz-txt-link-abbreviated" href="mailto:Voyage-linux@list.voyage.hk">Voyage-linux@list.voyage.hk</a>
                  <a moz-do-not-send="true"
                    href="http://list.voyage.hk/mailman/listinfo/voyage-linux"
                    target="_blank">http://list.voyage.hk/mailman/listinfo/voyage-linux</a></div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <br>
    Yours Sincerly<br>
    <pre class="moz-signature" cols="72">Henrik 
</pre>
  </body>
</html>