[PLUG] How do I use a tablet WiFi hotspot for my desktop machine?
Dick Steffens
dick at dicksteffens.com
Mon Jul 25 21:35:03 UTC 2016
On 07/25/2016 09:48 AM, Russell Senior wrote:
>
>>> Aha! I remember now, you need to turn on forwarding on the X200.
>>>
>>> Check "cat /proc/sys/net/ipv4/conf/all/forwarding" ... it is probably 0.
It is.
>>> If so, "echo 1 > /proc/sys/net/ipv4/conf/all/forwarding" will turn it
>>> on. You can add this to your script with the iptables rule.
First I tried:
rsteff at ThinkPad-X200-Tablet:~$ sudo echo 1 >
/proc/sys/net/ipv4/conf/all/forwarding
bash: /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
rsteff at ThinkPad-X200-Tablet:~$
Note that I was not asked for a password.
Then I tried it without sudo:
rsteff at ThinkPad-X200-Tablet:~$ echo 1 >
/proc/sys/net/ipv4/conf/all/forwarding
bash: /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
rsteff at ThinkPad-X200-Tablet:~$
--
Regards,
Dick Steffens
More information about the PLUG
mailing list