I am looking to do the reverse of the usual network sharing set-up.

I want my Raspberry to give internet connection to my PC, how could that be achieved without using GUI (i.e clicking the check box to share the current network)?

My pi will be connected via usb WiFi Dongle, so the Eth interface will be free.

Sorry if this has already been answered, but almost all questions I found ware for giving access to the Pi from the PC and all involve 'checking the box that says: "Share network connectivity"' which is useless if you are running without GUI

  • Model B
  • With headless raspbian


The PC is running fresh(2-3 days old) installation of Fedora 21 updated to latest packages

  • I'm not sure anyone's going to bother with an answer without knowing the operating system you have running on the PC. – joan May 1 '15 at 15:55
  • @joan Just did. I thought it would be irrelevant, but I guess I was wrong – DaGhostman Dimitrov May 1 '15 at 16:20
  • What's irrelevant is the fact that one of these computers is a pi. You have two GNU/Linux systems and you want to route an internet connection from one to the other with an ethernet cable. It doesn't matter if they're laptops, robots, blade servers, whatever -- you are best of asking about this on U&L, but I haven't migrated it there directly because 1) Hopefully there's a clue here about the fact that you aren't "looking to do the reverse of the usual", you're looking to do the usual, so maybe you already have an answer, or... – goldilocks May 1 '15 at 17:37
  • 2) If you do want to ask on U&L, you should generalize the question, since the specific make and model of computer A and computer B is irrelevant. Remember, if A = B then B = A ;) – goldilocks May 1 '15 at 17:38
  • 1
    Relevant to the RPi, network throughput is poor compared to most router products. With a wifi-wired connection, using both bridged and NAT configurations, I found the RPi cut my Internet speeds by more than half under the best circumstances. – bobstro May 1 '15 at 17:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.