[PLUG] How do I use a tablet WiFi hotspot for my desktop machine?
Russell Senior
russell at personaltelco.net
Mon Jul 25 23:01:06 UTC 2016
>>>>> "Dick" == Dick Steffens <dick at dicksteffens.com> writes:
Dick> 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.
Dick> 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.
Dick> First I tried:
Dick> rsteff at ThinkPad-X200-Tablet:~$ sudo echo 1 >
Dick> /proc/sys/net/ipv4/conf/all/forwarding bash:
Dick> /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
Dick> rsteff at ThinkPad-X200-Tablet:~$
Dick> Note that I was not asked for a password.
Dick> Then I tried it without sudo:
Dick> rsteff at ThinkPad-X200-Tablet:~$ echo 1 >
Dick> /proc/sys/net/ipv4/conf/all/forwarding bash:
Dick> /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
Dick> rsteff at ThinkPad-X200-Tablet:~$
Yeah, try sudo -s first to get a root shell, then the echo command.
--
Russell Senior, President
russell at personaltelco.net
More information about the PLUG
mailing list