LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-21-2006, 09:36 AM   #1
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Rep: Reputation: 30
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
 
Old 01-21-2006, 10:53 AM   #2
zhelezov
Member
 
Registered: Jan 2006
Location: Bulgaria
Distribution: debian, grml, ubuntu
Posts: 69

Rep: Reputation: 15
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-
 
Old 01-21-2006, 11:05 AM   #3
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Original Poster
Rep: Reputation: 30
zhelezov,

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

regards
anindyanuri
 
Old 01-21-2006, 11:21 AM   #4
zhelezov
Member
 
Registered: Jan 2006
Location: Bulgaria
Distribution: debian, grml, ubuntu
Posts: 69

Rep: Reputation: 15
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

Last edited by zhelezov; 01-21-2006 at 11:24 AM.
 
Old 01-21-2006, 12:36 PM   #5
anindyanuri
Member
 
Registered: Jan 2005
Location: India
Distribution: Kubuntu Gutsy
Posts: 450

Original Poster
Rep: Reputation: 30
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slow Internet Connection when Connecting to Internet on Browsers lennysokol Linux - Networking 8 04-09-2011 05:29 PM
Nic card -> cable internet modem no internet connection zeshan_b Mandriva 21 09-26-2004 12:48 PM
Messed up my internet settings (NO internet connection) :( Almazick Linux - Networking 2 09-08-2004 01:05 PM
i can get internet connection in windows but in LINUX there is no connection ruzvay Linux - Networking 2 06-08-2004 08:02 PM
Internet Connection Sharing 'PROTOCOL NOT AVAILABLE' error phoenix07 Linux - Security 3 04-12-2004 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration