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.
Hi! i'm currently stuck in a rut here. I've 2 computers in my home network and would want to access the internet with both no matter which OS is running on either.
PC1 Windows XP pro ( gateway )
PC2 Mandrake LINUX 10/Windows XP pro ( client )
What I've done:
is that i've set up ICS on the windows XP gateway. The network works fine if it is WIndows XP to Windows XP. However, if it is Windows XP to Mandrake Linux, it doesn't seem to work.
in the Mandrake Linux Control Center, I have added, checked, double checked, triple, quadruple... basically, i've been at this for a few weeks now. I have made both computer's IP addresses static, at
192.168.0.1 (Gateway)
192.168.0.2 (Client)
that works with the Windows XP to Windows XP set up. Although it doesn't seem to with WIndows XP to Mandrake Linux.
Quite oddly, on the Mandrake Linux, I tried pinging the IP addresses. The 127.0.0.1 and that would work fine. Although pinging itself (192.168.0.2) would gather me a result of "Network cannot be reached" That has kept me running around in circles for weeks for that same configuration worked fine with Windows XP.
In any case, nothing would work until I found a couple of commands while i was browsing this site and a book i bought.
first, i found this thread here that mentioned the command 'ifconfig'. So i tried that out. after setting my IP configuration, i was able to ping the gateway sucessfully! (FINALLY!) Although it is quite annoying that as I tried the "connect" button at the "Monitor Connections" within the "Mandrake Control Center", it wouldn't connect still. And worse, it would reset the configuration in a way that I couldn't ping the gateway anymore until i changed the IP addresses back using the 'ifconfig' command.
So i decided to try bypassing the Mandrake Control Center to connect to the internet. I was able to set the IP config using the 'ifconfig' command. Yet, i still wasn't able to connect to the internet until i tried changing settings using the 'route' command.
It was one big EUREKA for me (for i've been at this for months!) that i was at last able to access google, this site, and all the rest after doing so. My only and BIGGEST QUALM with that is that i have to register ALL the sites i want to visit with in the 'Kernel IP Routing Table". I'd rather much not go through all that.
My Issue
OK, so my issue is, is there a simpler way to get connected? how come my Mandrake Linux can't seem to connect unless i go command line coding?
my Linux system runs on:
Mandrake 10
kernel 2.4.??
(although, i've had this problem regardless of the kernel being 2.4.??/2.6.3)
unfortunately, yes, i've done that. I've set the nameserver to the DNS address of my ISP as well as the DNS 127.0.0.1 (which was there by default). Although I shall try tinkering with that again.
i have at the Mandrake Control Center and it doesn't seem to work.
If i set the ip addresses at the 'ifconfig', only then does it work. It seems to me that there is something wrong with the Mandrake Control Center then.
Worst part is that it sets the configuration to those values when I boot so I have to keep changing the values to connect.
Hi!
I've found a way to shorten my methods of access. I should've done this before!
ifconfig eth0 down
ifconfig eth0 192.168.0.2 netmask 255.255.255.0 up
route add default gw 192.168.0.1
and i could surf anywhere! altough my remaining qualm would be that i'd need to configure this manually each time i boot. would therebe a shorter way to do this?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.