Connect to home broadband router with a Nanobridge M2 radio & Linuxlaptop

Discussion in 'Wireless Internet' started by James Gagney, Sep 10, 2012.

  1. James Gagney

    James Gagney Guest

    This works: laptop wlan0 --> open guest SSID of router
    This fails: laptop eth0 --> Nanobridge radio --> guest SSID of router

    Q: What DNS/Gateway/DHCP settings on a linux laptop are needed to connect
    to a home broadband router via a Nanobridge M2 radio?


    Inside the house, I can easily connect from my Linux laptop wlan0 to
    either my 5Ghz or 2.5Ghz open "guest" network (Netgear 600N router)
    serving DHCP addresses. All I have to do is click on the guest SSID that
    shows up in the laptop GUI, and I associate, and can get on the web.
    a) "ifconfig" shows DHCP working 'cuz the wlan0 port is 192.168.1.#
    b) "route -n" shows the "gateway" is working as
    c) "ping" shows DNS is working, essentially by 'magic'

    However, outside the house, the laptop signal on its own is too weak, but
    I get a whopping -46dBm from a spare Nanobridge M2 pointing at the home
    broadband router!

    But, with the Nanobridge pointed at the house and with the laptop
    connected to the Nanobridge via the laptop eth0 ethernet port, I can't
    get the gateway to the very same network working right, nor does DNS seem
    to work.

    I can only 'associate' with the router SSID (see screenshot here):

    DHCP, the gateway, and DNS appear to not work for some reason.

    Here's what I did to get DHCP/gateway/DNS working:
    a) DHCP ==> $ sudo ifconfig eth0 <== this works
    b) Gateway ==> sudo route add default gw eth0
    c) DNS ==> sudo vi /etc/resolv.conf

    I must be missing something obvious because:
    1. I shouldn't have to set all these things manually
    2. I don't really know WHAT I need to set on Linux to get on the net
    3. I don't understand why the nanobridge can associate but the laptop
    won't be on the net

    PS: The home broadband router has NAT enabled but I wasn't sure if the
    nanobridge NAT needed to be on so I tried both ways but I'm confused if I
    want NAT enabled or disabled on the radio for a connection to the net to

    Any advice?
    James Gagney, Sep 10, 2012
    1. Advertisements

  2. James Gagney

    James Gagney Guest

    This Nanobridge M2 is an 18dBi parabolic antenna & a 200mW (I think)
    transceiver which I previously used to connect to a WISP.

    Connected to the WISP, it was set up in router mode (to protect the WISP's
    network), so I figured it should be in router mode when connected to my
    home broadband router.

    But, if it needs to be set up in bridge mode, that's OK too. The only
    problem I have is that I 'think' it 'should' work in router mode also.

    Maybe not. Maybe that's the problem.

    In router mode it easily associates with my broadband router SSID - but
    it doesn't get on the net.

    So I guess the first advice is the generic simple question:

    Q: What is the recommended way to set up this radio?
    James Gagney, Sep 10, 2012
    1. Advertisements

  3. James Gagney

    James Gagney Guest

    I understand I need to set the radio as a "Bridge" because:
    - The bridge makes everything one network
    - The bridge uses the upstream dhcp server & dns server
    - The bridge sends all packets through

    Setting the radio as a router separates networks & requires its own
    configuration of dhcp server/dns servers, which didn't work for me.

    I think both use the same gateway setting, so now I have to figure out
    how to set up the laptop to talk to the bridge.
    James Gagney, Sep 11, 2012
  4. James Gagney

    mcrose Guest

    Station WDS for a transparent bridge.
    mcrose, Sep 21, 2012
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.