Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Im new to linux but I am an advanced computer user in general.
I just installed the MDK 10.1 distro with KDE and everything works fine except for the internet connection. Im on a LAN and I have set the eth0 to use dhcp.
This is the strange part, it has found the dns servers and even has the correct IP that I get in windows but still I cant connect using konqueror.
If I ping localhost I get 127.0.0.1
Here is the readout from ifconfig:
I thought this would be an easy problem to solve for all you linux gurus?
I can also mention that I had this problem when I tried the red hat distro,
but for some reason it started working after an hour or so and I didn't do anything.
Anyway, as you can see the eth0 has the IP 193.11.59.11 so why cant I connect and why do I get the local IP 127.0.0.1 when I ping localhost instead of the other one?
in /etc/hosts localhost is aliased to 127.0.0.1.. this is standard and is necessary for many programs to work.
since ifconfig reports that you have pulled an IP address properly, and all other information for eth0 looks correct, check to see if /etc/resolv.conf has the correct nameservers in it.
one way to test this is to ping a website by its IP address instead of the URL.
__________________
Their code will be beautiful, even if their desks are buried in 3 feet of crap. - esr
I got it working now. I changed it from dhcp to static and entered the gateway IP and now its working.
Thanks
I have that problem with slackware sometimes with the gateway if I use dhcp. I still have mine set to dhcp but 1 out of 10 times I have to go in and manually input the gateway and it works fine. I think it is a problem with my wireless card because if I plug in it always works fine.
Glad you got it working.
__________________
Some people have told me they don't think a fat penguin really embodies the grace of Linux, which just tells me they have never seen a angry penguin charging at them in excess of 100mph. They'd be a lot more careful about what they say if they had.
-- Linus Torvalds
I have a similar problem (I think). I have a Fedora Core 3 machine, named "frank", running on a network where a Windows 2000 Server machine is the DNS and DHCP server. I can't get it so that Windows boxes can access the FC3 box by frank, in ssh, ping, or http; but they can get to frank by its IP address, plus frank can ping them by their names.
When I set up the FC3 box, I used system-config-network to put the name "frank" in:
- eth0 device hostname (in the DHCP settings part of the General tab) -- I also checked "Automatically obtain DNS information from provider", and I automatically obtain IP address settings with dhcp (checked drop-down list). It appears that I cannot clear the name; it reappears when I go back to this tab after visiting another.
- DNS tab, in the Hostname slot (the primary DNS and the DNS search path were set by DHCP. Putting it in and taking it out afterward appear to have no effect (I do save the configuration and restart the network service).
Any hints as to what I'm doing wrong? And/or is there some setting on the Windows 2000 Server box that I need to change?
I have a similar problem (I think). I have a Fedora Core 3 machine, named "frank", running on a network where a Windows 2000 Server machine is the DNS and DHCP server. I can't get it so that Windows boxes can access the FC3 box by frank, in ssh, ping, or http; but they can get to frank by its IP address, plus frank can ping them by their names.
That sounds normal if you are not runnig DNS server in your FC3 or you explicitly put in the W2K DNS information about 'frank'.. Meaning no body knows about frank except itself.
Quote:
When I set up the FC3 box, I used system-config-network to put the name "frank" in:
- eth0 device hostname (in the DHCP settings part of the General tab) -- I also checked "Automatically obtain DNS information from provider", and I automatically obtain IP address settings with dhcp (checked drop-down list). It appears that I cannot clear the name; it reappears when I go back to this tab after visiting another.
- DNS tab, in the Hostname slot (the primary DNS and the DNS search path were set by DHCP. Putting it in and taking it out afterward appear to have no effect (I do save the configuration and restart the network service).
I do not have FC3 distro and I can not tell about X applications. but you can check always /etc/hosts, /etc/named.conf., /etc/resolve.conf, /var/named/*.db (see your distrubution where it store) and /etc/sysconfig/network/ethXX files.
Do the FC3 resolve itself correctly the name 'frank'? If the answer is YES. Is the FC3 DNS server(named/bind) registered as nameserver in the W2K?. Because if all remainder window boxes have as DNS server the W2K in order to from thiese window boxes resolve the name 'frank' FC3(with name frank) has to be registered by W2k either as a host(A record) or name server(NS record).
I have a similar problem (I think). I have a Fedora Core 3 machine, named "frank", running on a network where a Windows 2000 Server machine is the DNS and DHCP server. I can't get it so that Windows boxes can access the FC3 box by frank, in ssh, ping, or http; but they can get to frank by its IP address, plus frank can ping them by their names.
That sounds normal if you are not runnig DNS server in your FC3 or you explicitly put in the W2K DNS information about 'frank'.. Meaning no body knows about frank except itself.
Correct. DNS is not running in frank.
Quote:
Originally Posted by afrolinux
Quote:
When I set up the FC3 box, I used system-config-network to put the name "frank" in:
- eth0 device hostname (in the DHCP settings part of the General tab) -- I also checked "Automatically obtain DNS information from provider", and I automatically obtain IP address settings with dhcp (checked drop-down list). It appears that I cannot clear the name; it reappears when I go back to this tab after visiting another.
- DNS tab, in the Hostname slot (the primary DNS and the DNS search path were set by DHCP. Putting it in and taking it out afterward appear to have no effect (I do save the configuration and restart the network service).
Do the FC3 resolve itself correctly the name 'frank'? If the answer is YES. Is the FC3 DNS server(named/bind) registered as nameserver in the W2K?. Because if all remainder window boxes have as DNS server the W2K in order to from thiese window boxes resolve the name 'frank' FC3(with name frank) has to be registered by W2k either as a host(A record) or name server(NS record).
I don't know about that since the other sysadmin just put in an entry in The Win2000 server's DHCP for explicitly listing frank. I don't recall if it knew about itself. I don't have frank in /etc/hosts, either. But I'm still looking for a solution so that I can take frank out of the DHCP config.
Could you post 'nslookup frank' output for both FC3 and W2K ?
[root@frank ~]# nslookup frank
Server: 192.168.0.5
Address: 192.168.0.5#53
Name: frank.mycompany.com
Address: 192.168.0.155
C:\>nslookup frank
Server: bigserver.mycompany.com
Address: 192.168.0.5
Name: frank.mycompany.com
Address: 192.168.0.155
My other sysadmin is wondering that somewhere in the above posts (in the network settings) I should have had frank listed as frank.mycompany.com instead of just frank. Does that ring a bell?
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it. subscribe
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe