Linux - NetworkingThis 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.
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.
My wife uses one PC with Win98/NT and I use now a seperate PC with just Linux.
We both use the computers frequently and have only one ADSL connection but what do we need to get the two connected onto the same ADSL line.
Someone told me to buy an Intel InBusiness 5 port Hub and that would solve the problem and after asking the salesman and then taking it home, setting it up and having only one light come on which is the connection from my Ethernet card to the Hub (I'm using my wife's PC) I still cannot connect to the Internet, I noticed from the very graphic setup process that it only mentions file sharing and printer sharing but no mention of Internet connection.
You can do this quite easily, just setup the ADSL device on the linux box, connect the linux and win boxes on a network and setup masqurading on the linux box. Then you setup windows networking to use your linux box as the default gateway and presto! Internet on both boxes.
If you dont understand what the hell I'm talking about, then try to answer the following...
What kind of ADSL device do you have and what country are you in?
Can you set it up on the linux box, and get internet traffic?
Have you connected both pc's to the hub and can ping the your pc's from each other?
If you can do all this, then all you need to do is type this line into a shell on the linux box...
ipchains -A forward -s xxx.xxx.xxx.xxx/0 -j MASQ
where xxx.xxx.xxx.xxx is the IP address of your windows machine.
you can inprove this line by researching masqurading but this will get you up and running.
Easy way just buy 70 dollar linksys 5 port router which can connect directly to DSL ISP and run as DHCP also. You can connect 4 computers to internet and no need to keep all of them running just the one you need to work is enough.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.