Lan connection crapped with Windows XP as Internet Gateway
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.
I can't get an IP from my Windows XP Desktop running Internect Connection Sharing.
Thus, I set the static IP but it just prompt up saying the IP is not in correct format. (192.168.0.7) Hence I do it in console:
ifconfig eth0 192.168.0.6 netmask 255.255.255.0 up
But stil, I cant get the browser to browse any website. And when I get into the Mandrake control center, in the "Monitor connections", it just say "Not connected". How can I configure it so it can surf the internet properly? or it doesnt support windows xp as an internet gateway?
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296
Rep:
you need to set your gateway, and nameserver.
route add default gw xxx.xxx.xxx.xxx
then edit /etc/resolv.conf, add
nameserver xxx.xxx.xxx.xxx
make sure you don't have a firewall problem. to make the gateway permanent i believe you need to edit /etc/sysconfig/network-scripts/ifconf-eth0.
hope that helps.
good luck.
But the system is unable to load any web page stil. I have successfully ping the IP of the other computer within the same network but not any outside web url.
I tried to ping www.yahoo.com but it returns
ping: unknown host www.yahoo.com
is there something to deal with dns setting or else?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.