Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-17-2013, 02:58 AM
|
#1
|
LQ Newbie
Registered: Sep 2013
Posts: 12
Rep:
|
How to share internet through ethernet cable?
On my laptop, I use a USB dongle with mobile broadband to connect to the internet. I also have a GuruPlug, which I have connected to my laptop with both the JTag and an ethernet cable, so I can access the plug through Putty. Now I wish to share my laptop's internet with my Guruplug, but what do I need to do to succeed with that?
|
|
|
09-17-2013, 04:23 AM
|
#2
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
welcome to LQ.
There are various ways to do this. The best/easiest way depends on what distro you are running. So what distro and version are you using?
Evo2.
|
|
|
09-17-2013, 06:57 AM
|
#3
|
LQ Newbie
Registered: Sep 2013
Posts: 12
Original Poster
Rep:
|
Well, using cat /proc/version (which is the only command I could find for this, that worked), I get Red Hat 4.1.2-33.fa1, I hope that answers your question well enough.
Last edited by ThemePark; 09-17-2013 at 07:15 AM.
|
|
|
09-17-2013, 08:40 AM
|
#4
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
this is a litle bit unusual, that is normally more of a server OS (and an older version). Did you install it on the laptop yourself?
Evo2.
|
|
|
09-17-2013, 09:31 AM
|
#5
|
LQ Newbie
Registered: Sep 2013
Posts: 12
Original Poster
Rep:
|
No no, it's the GuruPlug that has Redhat on it, my laptop has Windows 7. But yes, since I bricked my GuruPlug I had to install everything from scratch. And updating it is exactly the reason why I need to get the internet working on it.
|
|
|
09-17-2013, 09:38 PM
|
#6
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by ThemePark
No no, it's the GuruPlug that has Redhat on it, my laptop has Windows 7.
|
Sorry, I have no idea how to do any sort of network configuration on a windows box. You might do better asking in a windows forum.
Evo2.
|
|
|
09-17-2013, 11:53 PM
|
#7
|
LQ Newbie
Registered: Sep 2013
Posts: 12
Original Poster
Rep:
|
You are missing the point entirely. It's my laptop that HAS internet already, and the GuruPlug that needs to be set up to access that internet, through the ethernet cable I have connected. This has nothing to do with Windows, OR my laptop.
|
|
|
09-18-2013, 01:08 AM
|
#8
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by ThemePark
You are missing the point entirely. It's my laptop that HAS internet already, and the GuruPlug that needs to be set up to access that internet, through the ethernet cable I have connected.
|
Sorry but it seems that you are missing the point. The guruplug has network b/w it and your laptop. You need to configure your laptop to bridge that traffic to the outside world.
Quote:
This has nothing to do with Windows, OR my laptop.
|
Then why did you say:
Quote:
Now I wish to share my laptop's internet with my Guruplug, but what do I need to do to succeed with that?
|
The guruplug has network b/w it and your laptop. Your laptop has a 2nd network interface to the outside world:
Quote:
I use a USB dongle with mobile broadband to connect to the internet.
|
You need to configure your laptop to bridge the traffic it receives on its ethernet port to the usb dongle. How is this not about your laptop? And how has configuring it got nothing to do with the OS it is running? If you were running linux on your laptop I could describe how to do this with either a tun interface or firewall rules or by using a gui like networkmanager.
If what I describe is not the situation, please restate the problem.
Evo2.
|
|
|
09-18-2013, 05:07 PM
|
#9
|
LQ Newbie
Registered: Sep 2013
Posts: 12
Original Poster
Rep:
|
Because my laptop is already set up to do that. But the image I installed onto the Guruplug is basic, and has not had the connection set up properly, therefore I need to change some settings on the Guruplug itself, not on my laptop.
|
|
|
09-18-2013, 08:10 PM
|
#10
|
LQ Guru
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726
|
Hi,
Quote:
Originally Posted by ThemePark
Because my laptop is already set up to do that.
|
Have you confirmed this using some other device?
Quote:
But the image I installed onto the Guruplug is basic, and has not had the connection set up properly, therefore I need to change some settings on the Guruplug itself, not on my laptop.
|
Ok earlier you said you were using the ethernet cable and putty to connect to the guru plug, meaning you do have a network connection to the guruplug. So, how is the network configured on the guruplug? What is the output of the following commands?
(these may not be in your path if you are not root).
How did you do the installation and setup? Did you follow some set of instructions? Is so, which instructions?
Evo2.
|
|
|
All times are GMT -5. The time now is 11:53 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|