[PLUG] How do I use a tablet WiFi hotspot for my desktop machine?
Dick Steffens
dick at dicksteffens.com
Mon Jul 25 03:24:19 UTC 2016
On 07/24/2016 06:03 PM, Russell Senior wrote
> Dick> Done. Is that something that goes away when the laptop is shut
> Dick> down?
>
> If you just type it manually, and shutdown means reboot, then yes.
That's what I thought. I don't expect to shut the laptop down once it's
set up, but I should probably create a shell script file for it.
> Dick> <...> but I can't reach the Internet from the other
> Dick> laptop connected to the router.
>
> The other laptop is connected to the Buffalo or the mobile hotspot?
The Buffalo router. It's address is 192.168.0.221
> >From your routing laptop (the one you are using to connect the buffalo
> to the hotspot), send me the output of:
>
> ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UP group default qlen 1000
link/ether 00:26:2d:fd:c9:73 brd ff:ff:ff:ff:ff:ff
inet 10.253.0.1/24 brd 10.253.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::226:2dff:fefd:c973/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP
group default qlen 1000
link/ether 00:26:c6:ca:75:40 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.48/24 brd 192.168.1.255 scope global wlan0
valid_lft forever preferred_lft forever
inet6 fe80::226:c6ff:feca:7540/64 scope link
valid_lft forever preferred_lft forever
> ip r
default via 192.168.1.1 dev wlan0 proto static
10.253.0.0/24 dev eth0 proto kernel scope link src 10.253.0.1
169.254.0.0/16 dev eth0 scope link metric 1000
192.168.1.0/24 dev wlan0 proto kernel scope link src 192.168.1.48
metric 9
> and
>
> iptables -v -t nat -L
Chain PREROUTING (policy ACCEPT 3300 packets, 227K bytes)
pkts bytes target prot opt in out source destination
Chain INPUT (policy ACCEPT 29 packets, 5435 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 1289 packets, 88566 bytes)
pkts bytes target prot opt in out source destination
Chain POSTROUTING (policy ACCEPT 464 packets, 31746 bytes)
pkts bytes target prot opt in out source destination
825 56820 MASQUERADE all -- any wlan0 anywhere anywhere
> >From the other devices, including the buffalo (you should be able to ssh
> in), try pinging the various addresses of significance, and see what
> replies. That should provide some clues.
I tried pinging 8.8.8.8 from the second laptop and from the router
(using ssh) and got no return. I get a return when pinging from the X200
laptop.
--
Regards,
Dick Steffens
More information about the PLUG
mailing list