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.
I installed Xubuntu 6.06 on a slightly older computer. My problem is that I cannot connect to the internet.
My ethernet card is detected.
I have DHCP enabled and I guess I am getting an IP address.
Some exit from my ifconfig command (I'va coppied it and some are missing):
Link ancap ethernet HWaddr 00:80:48:B6:5B:BC
inet addr:192.168.1.4 BCast:192.168.1.255 Mask 255.255.255.0
inet6 addr fe80::280:48ff:feb6:5bbc/64 etc
UP BROADCAST RUNNING MULTICAST
I uses ifconfig down (I think this is the command) and setup DHCP again and then ifconfig again up.
I am using a computer connected to a LAN with win98 mainly through a router.
I don't know how to configure my connection. My cables are fine since my win98 connection to the same computer (dual boot) works fine.
I don't have samba but I think I need an internet access to download it.
It appears that DHCP provides you with an IP address but this is not all that is required. Gateway setting and DNS has to be set upp correctly and also proxy if you're router also acts as a proxy. The DNS setting can be examined by looking at /etc/resolv.conf Take a look what's in there and try to ping the addresses. The gateway should be provided by DHCP. Do a "netstat -nr" in a terminal window and see if you can ping the gateway address. If things go wrong try to resest the network by doing "sudo /etc/init.d/networking restart" in a terminal window. Also take a look at the following URLs: http://ubuntuguide.org/wiki/Dapper#H...rk_connections http://www.debianhelp.co.uk/network.htm
Your router 192.168.1.1 apparently also acts as the DNS-server but unless the router is a fully equipped server it's unlikely that it has the capacity to resolve any addresses but those contained in a local cache.
I don't quite understand your setup. Does your win98 machine act as a router or is the router a separate machine?
If your win98 machine also accesses Internet through the router do
"ipconfig /all"
in a terminal window on the win98-box (run-> cmd will give you the terminal window). Then you will see the correct settings for gateway, DNS and the rest provided that the internet connection works. Use that information together with that contained in the URLs.
Machine 1 is dual booted with win98 and xubuntu. Others are win98 (usually).
I have tried Damn Small Linux LIve CD and I had internet access just fine. They both come from debian and I supposed it will work also.
I assume now that your Internet connection looks like this:
Internet-->Hardware Router-->win98/xubuntu (and that you also have other machines connected to the router)
This together with your routing table (netstat -nr) makes me pretty certain that as I've suggested above the problem is that your DNS setting for the router is not mapped through to your linux box. Since the router (192.168.1.1) is also by ubuntu taken to be the DNS server then for this to work the router has to be able to answer DNS requests which apparently it doesn't. Take a look at the router manual and see how DNS requests are handled. Or do as I've also suggested: take a look at the correct settings by looking at how your win98-installation gets its settings (ipconfig /all) and then manually edit the /etc/resolv.conf to reflect the info "ipconfig /all" on the windows machine gives you. What you want are the ip addresses for DNS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.