Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-07-21 Thread Dick Steffens
On 07/21/2016 07:51 AM, Bill Barry wrote:
> On Thu, Jul 21, 2016 at 7:34 AM, Dick Steffens 
> wrote:
>
>> On 07/20/2016 11:07 PM, Bill Barry wrote:
>>
>>> What router do you have.  Does it have a wireless bridging mode? One type
>>> of wireless bridging is WDS, but there are others.
>> Buffalo WZR-600DHP.
>>
>>
>> I looks like that router has an Atheros chipset and you can install
> openwrt on it. From there you might be able to set up wireless bridging.
> Russell's laptop idea or Rich's wireless adapters would be much easier to
> configure.

Thanks for the idea. I think I'll give the laptop idea a try. It sounds 
much easier (for me, anyway). If I actually need it, it will be later 
next week. I've got the tablet, router, and two laptops with me, and not 
in use, so I can test all this out before next week, once I get the 
time, all while still having this Comcast connection at our friend's 
place so I can maintain my connection to helpful resources, such as this 
wonderful group.

-- 
Regards,

Dick Steffens

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-07-21 Thread Bill Barry
On Thu, Jul 21, 2016 at 7:34 AM, Dick Steffens 
wrote:

> On 07/20/2016 11:07 PM, Bill Barry wrote:
>
> > What router do you have.  Does it have a wireless bridging mode? One type
> > of wireless bridging is WDS, but there are others.
>
> Buffalo WZR-600DHP.
>
>
> I looks like that router has an Atheros chipset and you can install
openwrt on it. From there you might be able to set up wireless bridging.
Russell's laptop idea or Rich's wireless adapters would be much easier to
configure.

Bill
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-07-21 Thread Dick Steffens
On 07/21/2016 03:11 AM, Russell Senior wrote:

> Russell> You could do something similar with a router running OpenWrt in
> Russell> place of the laptop, with the radio in client mode, acting as
> Russell> the WAN interface.  There, you have the nice advantage that the
> Russell> router already has a DHCP server built in.
>
> FWIW, I just built a device that could do this for you, one of our
> mostly retired Netgear WGT634U's.  How long do you need it for?

Probably a few days to a couple of weeks. When I get to it, I'll give 
the laptop option a try. Thanks for the offer, though.



-- 
Regards,

Dick Steffens

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-07-21 Thread Dick Steffens
On 07/20/2016 11:07 PM, Bill Barry wrote:

> What router do you have.  Does it have a wireless bridging mode? One type
> of wireless bridging is WDS, but there are others.

Buffalo WZR-600DHP.


-- 
Regards,

Dick Steffens

___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-07-21 Thread Rich Shepard
On Wed, 20 Jul 2016, Russell Senior wrote:

> It's not totally simple, though there may be off-the-shelf solutions too,

   I wrote to Dick that I have a couple of Rosewill RNX-N-180UBE 802.11 B/G/N
wireless adapters I bought but did not use ... or open. Both are available
for sale at cost.

Rich
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-07-21 Thread Russell Senior
> "Russell" == Russell Senior  writes:

Russell> You could do something similar with a router running OpenWrt in
Russell> place of the laptop, with the radio in client mode, acting as
Russell> the WAN interface.  There, you have the nice advantage that the
Russell> router already has a DHCP server built in.

FWIW, I just built a device that could do this for you, one of our
mostly retired Netgear WGT634U's.  How long do you need it for?


-- 
Russell Senior, President
russ...@personaltelco.net
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-07-21 Thread Russell Senior
> "Russell" == Russell Senior  writes:

> "Dick" == Dick Steffens  writes:
Dick> I may need to be without Comcast for a time. Is there a way to use
Dick> a tablet WiFi hotspot and a laptop to feed my router so I can
Dick> support two desktops?

Dick> We got a small tablet from Verizon before going on a trip in
Dick> June. It works well as a WiFi hotspot to connect our laptops. But
Dick> since our desktops don't have radios, I'm hoping there's a way to
Dick> make one of my laptops serve my router so I can continue to serve
Dick> our desktops. I assume I'll need to install and configure
Dick> something to be a DCHP server so the router can get an address
Dick> from the laptop.

Dick> To save on Verizon data usage, I probably won't leave the tablet
Dick> connected to Verizon all the time. Is there something I'll need to
Dick> do on the laptop so that it doesn't try to connect to the router
Dick> when the tablet is off? Or maybe I don't actually turn the tablet
Dick> off, but just disconnect it from Verizon.

Dick> Advice appreciated.

Oh, and yes (actually reading what you wrote), running it through a
laptop can work.  Laptop wifi connects to your mobile hotspot, ethernet
connects your laptop to the WAN port on a router (or directly to a
switch or desktop machine), give the ethernet interface a static IP on a
different network from the mobile hotspot, e.g. 192.168.11.1/24, then run
the command:

  iptables -t nat -I POSTROUTING -o wlan0 -j MASQUERADE

(where wlan0 is your laptop's wireless interface connecting to the
mobile hotspot).

Then you'll need to run a DHCP server providing leases on the ethernet
interface only, and you are done.

You could do something similar with a router running OpenWrt in place of
the laptop, with the radio in client mode, acting as the WAN interface.
There, you have the nice advantage that the router already has a DHCP
server built in.

The key is to avoid trying to put a client-mode interface into a network
bridge with anything.  That is disaster, don't go there.  Routing works
fine, so use it and MASQUERADE'ing (i.e. NAT).


-- 
Russell Senior, President
russ...@personaltelco.net
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Re: [PLUG] How do I use a tablet WiFi hotspot for my desktop machine?

2016-07-21 Thread Russell Senior
> "Dick" == Dick Steffens  writes:

Dick> I may need to be without Comcast for a time. Is there a way to use
Dick> a tablet WiFi hotspot and a laptop to feed my router so I can
Dick> support two desktops?

Dick> We got a small tablet from Verizon before going on a trip in
Dick> June. It works well as a WiFi hotspot to connect our laptops. But
Dick> since our desktops don't have radios, I'm hoping there's a way to
Dick> make one of my laptops serve my router so I can continue to serve
Dick> our desktops. I assume I'll need to install and configure
Dick> something to be a DCHP server so the router can get an address
Dick> from the laptop.

Dick> To save on Verizon data usage, I probably won't leave the tablet
Dick> connected to Verizon all the time. Is there something I'll need to
Dick> do on the laptop so that it doesn't try to connect to the router
Dick> when the tablet is off? Or maybe I don't actually turn the tablet
Dick> off, but just disconnect it from Verizon.

Dick> Advice appreciated.

Yes, it's possible.  It's not totally simple, though there may be
off-the-shelf solutions too, but if you have an access point that is
supported by OpenWrt/LEDE that also has a USB host port (many modern
ones do), you can install kmod-usbnet and plug your USB dongle or USB
tethered phone into the access point's USB port, and away you go, wifi
and/or wired but with WAN provided over the USB connected device.

PTP has built such things before.  We had one at OSCON a few years ago,
as a party-trick.  Wifi is/was horrible in the exhibit hall, but it worked.


-- 
Russell Senior, President
russ...@personaltelco.net
___
PLUG mailing list
PLUG@lists.pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug