LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Internet connection error (https://www.linuxquestions.org/questions/linux-software-2/internet-connection-error-406144/)

anindyanuri 01-21-2006 08:36 AM

Internet connection error
 
I am using Fedora Core 4.

Just today I have changed my internet connection and ISP. In my connection I have used `adsl-setup' to set up my connection over my only ethernet card (eth0). During set up I have put the DNS addresses as 66.0.0.5 and 66.0.128.6 as primary and secondary. The connection goes well for a specific web sites like Google, Yahoo, MSN and a few more. Rest of all are not opening and firefox is giving the usual message that `www.thissite.com could not be found, please check the name and try again.'

The Funny thing is that...

When I am using Win (there the setup completed by a .exe file provided by the ISP on a CD) I can browse through all the sites including those which I am not able to browse from Linux. In the network proparties I have observed that the connection uses `Obtain an IP address automatically' and `Obtain DNS server address automatically'. I feel this creates the difference between my Win and Linux systems, and the rest of my experiment is making me more puzzled. Which is as follows,

if I change the DNS addresses as 66.0.0.5 and 66.0.128.6 then I cannot connect from Win and getting error message that remote computer rejected my connection. And if i again change the DNS as `Obtain DNS server address automatically', everything is going well.

Now can anybody please tell me, how do I configure the same from Linux so that my connection will automatically fetch DNS addresses?

Waiting for your suggestion

regards
anindyanuri

zhelezov 01-21-2006 09:53 AM

hi, anindyanuri!

i'm not familiar with your graphical net-config-manager but your interfaces file (that's /etc/network/interfaces maybe) should look similar to let's say:

auto eth0
iface eth0 inet dhcp

also i suppose that DNS servers' addresses may be incorect. are they in /etc/resolv.conf - look at the detailed status of your connection in XP and copy the automaticaly assigned ip-s of the DNS servers (primary and alternative) to resolv.conf.


-vlado-

anindyanuri 01-21-2006 10:05 AM

zhelezov,

can you help me how to find the DNS addresses from win?

regards
anindyanuri

zhelezov 01-21-2006 10:21 AM

pop up the network connection status window - right click on the icon in the sys tray; choose status -> support -> details (or maybe properties, don't remember) and you'll see your DNS IPs somewhere around. after you get them make your resolv.conf look like:

nameserver 66.i.i.i
nameserver 66.j.j.j

it may be different on your distro though -- follow the current format of the file and just change the IPs.

hope this is the problem
if not C U again
-vlado-

Edit: i think that leaving the resolv.conf blank is the same as finding DNS automatically but not sure anyway

anindyanuri 01-21-2006 11:36 AM

Great!!! My friend!!!

Your advice perfectly worked and now I am able to open all the sites. There were also an option to resolv automatic DNS address in `adsl-setup' command, when I run it again, I observed that and did the same maintaining your advice and now everything is going perfectly.

So it is now a resolved thread.

With lots of thanks and regards
anindyanuri


All times are GMT -5. The time now is 01:49 AM.