Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
You need to be looking at NAT (network address translation) to masquerade your requests. The Linux box with your ADSL modem on needs iptable rules setting up, so anything coming in from your Windows box is sent out from your Linux machine, and data returned from the Internet is correctly sent back to Windows. Are some easy tutorials on nat + masquearding with iptables if you do a quick search - there's problem something under the 'Answers' section on here.
How many network cards have you installed on your linux machine? I think you need 2. One is connected with your Windows machine, and the other with Internet. If NAT is complex for you, you can use "squid" as a proxy server.
Post your result of "ifconfig" and "route" here, these might help me to find out the problem.
In Yast2 in the Masquerade settings it says i need 2 components in order to set it up... e.g. a Modem and a Lan card... my Lan card is in the list but my modem isnt. i dont see why, i used eciadsl to install the modem and it works fine somehow i gotta get that device into the Device list in the firewall settings.
In your Windows PC, did you setup the DNS address of your ISP?
Can Windows PC ping any Internet IPs and get replies? If yes, that means the Linux PC is sharing the Internet connection. The cause is the DNS address setting in the Windows PC.
In Windows PC, the setting should be:
DNS: the DNS addrsss of your ISP
And if the Linux PC's IP forwarding is working fine, the Windows PC should have access to Internet. This is how my home network works.
If these don't work, I have the second solution, run squid in the Linux PC, in Windows PC's Internet browser, set proxy like this: 192.168.0.1 port 3128. This definitely works, but you need to setup something in squid.conf. If you don't know how, just say.