Simon

On Thu, Mar 16, 2017, at 09:41 AM, Simon Hobson wrote:
> You really should not be having to do that - the device should be setting the 
> default route from the DHCP offer. I'd be looking to try and fix that, if 
> nothing else because you'll have to fix it for your WiFi to be usable for 
> "non geeks".
> 
> Then, when you've got to a stage where the clients get a working network 
> connection, you can diagnose where the packets are (or aren't) going.

Yep, working on it!

I'm staring at multiple shells with various tcpdump probes, trying to figure 
out what is & isn't happening.

I *DO* have a working network connection -- just not to ALL networks.  Namely I 
don't get to the net.

Using hostpad, that is.  With a standalone WiFi router attached to the LAN, 
everything works.

I do know the following so far:

The phone, when connected

In this config:

        net
          |
          |
        router
          |
          |-- ethernet switch
                        |
                        |--   Standalone Wifi Router
                        |       |
                        |     phone
                        |
                        |--  { hardwired LAN mmachines }

The phone is given an IP on the 10.0.0.0/24 segment,

        10.0.0.150

and has 

        ip route
                ip route 10.0.0.0/24 dev wlan0 proto kernel scope link src 
10.0.0.150

It has full/unfettered access to the net.

OTOH, in this config:

        net
          |
          |
        router
          |
          |-- USB WiFi dongle + Hostapd AP  
          |             |
          |           phone
          |
          |-- ethernet switch
                        |
                        |--  { hardwired LAN mmachines }


The phone is given an IP on the 10.0.1.0/24 segment,

        10.0.1.150

and has 

        ip route
                ip route 10.0.1.0/24 dev wlan proto kernel scope link src 
10.0.1.150

It can access everything on my LAN, but NOTHING on the 'net.

This smells like a routing problem to me.

Unless I missed it in the docs or in the thread abouve there's been no specific 
routing settings I should use.

I'm guessing something clearly different than what I have.

I just have to figure out & understand what needs to get set and where.

DT


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to