LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 09-17-2013, 02:58 AM   #1
ThemePark
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Rep: Reputation: Disabled
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?
 
Old 09-17-2013, 04:23 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.
 
Old 09-17-2013, 06:57 AM   #3
ThemePark
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-17-2013, 08:40 AM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
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.
 
Old 09-17-2013, 09:31 AM   #5
ThemePark
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-17-2013, 09:38 PM   #6
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

Quote:
Originally Posted by ThemePark View Post
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.
 
Old 09-17-2013, 11:53 PM   #7
ThemePark
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-18-2013, 01:08 AM   #8
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,

Quote:
Originally Posted by ThemePark View Post
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.
 
Old 09-18-2013, 05:07 PM   #9
ThemePark
LQ Newbie
 
Registered: Sep 2013
Posts: 12

Original Poster
Rep: Reputation: Disabled
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.
 
Old 09-18-2013, 08:10 PM   #10
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Hi,
Quote:
Originally Posted by ThemePark View Post
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?
Code:
route
ifconfig -a
(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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to share internet connection through a crossover cable. Inkit Linux - General 6 03-07-2011 08:08 PM
FC6 to win xp w/ crossover cable internet share dla-nor Linux - Networking 5 01-03-2007 11:15 PM
cisco aironet on windows and trying to share internet though crossover cable cyberwizard Linux - Networking 0 03-21-2006 06:03 PM
how to share internet with a cable modem? zovres Linux - Networking 1 03-23-2004 08:44 AM
Share internet between windows and linux over serial cable Nemlet Linux - Software 3 09-14-2003 12:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration