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.
It seems that using both linux and windows isn't very popular, but here goes ;-)
Setup:
I have a Fedora Core 6 computer hooked up to my Win XP laptop with a crossover cable. The Win XP laptop has a wireless internet connection to a router and has a 192.168.x.xxx IP address through that connection. For the wired connection I gave them both static IPs: 192.169.0.1 and 192.169.0.2 The two computers ping each other fine and the linux computer sees the Windows computer in the network. I've shared the wireless connection in win xp.
The problem is the Linux computer isn't getting to the internet. This setup is preferable to plugging them both into the router because of the way the machines are distributed physically.
Thanks!
You need to use the XP's IP address as the default gateway address, and not the address of the router.
Please post the output of /sbin/route.
Also make sure that the file /etc/resolve.conf contains your ISP's nameserver (DNS) addresses.
The windows <-> linux crossover IP addresses may need to be on a different subnet from the router so Windows can route traffic out the correct interface. You also need to make sure you don't have traffic blocked by a firewall in either machine.
You X'ed out the third octet of your routers IP address. If it is also .0. then the router and the Linux box are on the same subnet. Unless you have a host route, which I don't know how to set up in WindowsXP, this may cause a problem. A 192.168.0.XXX address has two interfaces assigned to it on the Windows box.
Also, you need your IPSs dns addresses listed in /etc/resolv.conf. This is to resolve domain names to IP addresses.
Thanks for the help so far.
Ok, now I added the openDNS IPs to resolv.conf so it now reads:
search localdomain
nameserver 208.67.222.222
nameserver 208.67.220.220
Also the IP address of the XP machine through the wireless connection is 192.168.1.xxx while on the wired NIC is 192.169.0.1
Now, in Firefox, instead of saying "page not found" it goes through the stages of "looking up xxx" and "connecting to xxx" but then stalls indefinitely on "waiting for xxx."
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.