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 recently installed Slackware 8.1 dual boot with Win98. My local network connection seems to be working fine, but I can't get out past my router to the internet.
I can see my NIC initializing fine in the boot sequence, and I can reach other machines on the local network using ping, and http, and ftp. I can also see the gateway, ping it, use http to get to the admin interface. But when I try to reach any outside host with ping or http, I get an "unkown host" message, and that's it.
I thought I configured everything right... Is this something I'm missing about the router, firewall, or something? The router is Linksys BEFSRU31 on a Win2k server. The NIC is Netgear FA510 (PCMCIA) on eth0. I set my IP and subnet mask manually, and set the gateway to match the router (192.168.1.1) in netconfig.
Negative. Browser says "could not connect to host," and ping says "Network is unreachable."
I hate being a dufus when people try to answer my questions, but when "Sounds like you don't have DNS," you mean I would need the Win2k server to be using DNS? Derrrr.... help?
No - I just meant that the linux box sounded like it couldn't translate the names into their valid IP addresses. I hadn't seen anything that said you had set up DNS on the linux box (you might not need to if you are using DHCP).
What output does "route -n" give?
There should be a default entry "0.0.0.0" with a valid gateway for your network.
What fo you mean by a router on a win2k server? That only your win2k server is conencted to the router and that all other machines connect through the server?
What output does "route -n" give?
There should be a default entry "0.0.0.0" with a valid gateway for your network.
Dave,
This is the output.
Code:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 1 0 0 eth0
Based on what you say, it looks good.
Quote:
What fo you mean by a router on a win2k server? That only your win2k server is conencted to the router and that all other machines connect through the server?
Yes, exactly, which means that Linux has to go through the windows network and server to get to the web. This matters somehow, doesn't it...
I'm writing this from Linux on the Konqueror browser. It works!
Problem was solved by entering the server IP address as the name server in netconfig. Not knowing the real meaning of this entry, I had just left it blank.
Thanks to Dave Ross for asking the right questions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.