Jump to content

Karma = No Internet


whitehat
 Share

Recommended Posts

From command line run

echo 1 > /proc/sys/net/ipv4/ip_forward

That should correct your Internet sharing issue.

For real? Sweet! I wish I had it on me to give it a try, but I'll be back to it in 8 - 12 hours. What's going on there? I thought echo just printed (showed) anything you type after it?

Link to comment
Share on other sites

You are correct in the statement that echo will just state whatever you type after it, however you are then using the > character to force the echo statement into the file /proc/sys/net/ipv4/ip_forward

Linux reviews the /proc/sys/net/ipv4/ip_forward file to determine if forwarding of the internet interface should be allowed. When set to 1 then you will not only receive internet on the pineapple but also on any clients. When set to 0 then only the pineapple will have internet, no clients will.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...