LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-05-2005, 09:43 AM   #1
kevin_hill54
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: fedore 3
Posts: 17

Rep: Reputation: 0
adsl will not connect


Hi all

Could you help me with my new router. I have just installed a Netgear DG834G in place of a single port router which was working on a static IP setup.

I have changed the settings on my FC3 machine to DHCP and it all connected fine.

I can see the wan settings OK and everything is connected and working.

When I try to access a website I get a "could not connect " error.

If I connect my winME notebook with DHCP enabled it logs on to the network fine and can browse the web without a problem.

Any ideas.

Regards

Kevin Hill
 
Old 05-06-2005, 03:00 AM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Have you entered the isp DNS address(es) in /etc/resolv.conf?
 
Old 05-06-2005, 06:24 AM   #3
kevin_hill54
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: fedore 3
Posts: 17

Original Poster
Rep: Reputation: 0
Is it important to enter a DNS for the ISP?

I have just managed to make it work by doing this

Log on as root

ifconfig eth0 up
dhclient
route -n

then ping www.google.com to test the connection

For me this fixed the problem and all is working.

If it hadnī t you then type

route add default gw 192.168.0.1

then

route -n

This should work.

Thanks
 
Old 05-06-2005, 12:09 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Entering DNS depends on whether or not your ISP provides DNS servers over DHCP. It sounds like yours does, so you probably don't need to re-enter them. Can you ping your router from your Linux machine? If not, it is probably not picking up the DHCP information properly. If so, run /sbin/route -n and make sure your router is set as the default route.
 
Old 05-06-2005, 08:15 PM   #5
kevin_hill54
LQ Newbie
 
Registered: Jan 2005
Location: Australia
Distribution: fedore 3
Posts: 17

Original Poster
Rep: Reputation: 0
Yes I can ping the router and the ISP.

All is configured and running well.

I added the DNS into the resolv.conf file and it seems to have sped up the logon to the system.

Thanks for your help.
 
  


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
connect using adsl megadsonic Linux - Newbie 3 02-23-2005 11:37 AM
hacking adsl-connect mangolicious Linux - Networking 0 02-23-2005 11:18 AM
adsl connect in slackware 9.1 paul62 Linux - Software 8 09-19-2004 05:48 PM
I can't connect to the internet with adsl cokebola Linux - Hardware 3 09-10-2004 01:10 AM
RH 8.0 won't connect with my adsl. datamisc Linux - Newbie 2 11-30-2002 04:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:40 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