LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-02-2003, 08:28 AM   #1
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Rep: Reputation: 15
Unhappy Only browses internet with IP address


Hi all, im new to this. Only been using Linux for over a week, looked every where for an answer to this, but could not find anything.

My setup...

Redhat 9 with GNOME

Internet...

ADSL Internet > ADSL Router > 8 port switch > Linux/Win Boxs

The ADSL Router connects via Ethernet to the switch and so does everything come to think about it! The ADSL Router has "Use Auto Discovered DNS Servers Only" (I take it it gets this info from BT) set. The Win boxs has their gateway set to the Router and they can browse the internet fine. The Linux box has the same gateway setup but it can only browse the internet via IP address. I take it this problem is something to do with DNS, but the Linux box should leave this up to the Router. When i first installed Linux (start of the week, i now have reinstailed it now) i had the same problem, but after a few reboots it sorted itself out.

Any idea guys? Im sure this is a simple one, but i dont no what to do!

Thanks in advance, Tim

(O yeah, all boxes have their own IP address and can see and uses each other)

-------------------------------------------------------------------------------------------
You where all a once!
 
Old 11-02-2003, 08:33 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Welcome to LQ.

Try adding your ISPs nameservers or your routers IP to /etc/resolv.conf - eg:
nameserver 192.168.1.1
 
Old 11-02-2003, 09:36 AM   #3
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Thanks for your quick reply, i think you posted it before i finished posted mine! I will try that, im away from my computer right now. If anyone else has any ideas will be welcome!

Thanks
 
Old 11-02-2003, 03:27 PM   #4
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Talking YOU ARE A STAR!

Thanks david! So simple, but would not of found that one out!

Could you please explain why you think that Linux sorted it self out the first time?

Please could you let me no. i am trying to learn as much as possible!

Thanks!!!
 
Old 11-02-2003, 03:29 PM   #5
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Question

Please tell me what "rm -rf /" does

or im going to do it!! the temptation is to much!
 
Old 11-02-2003, 03:37 PM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
NO idea why it worked the first time - either you set it up or maybe it got picked up by dhcp.


rm=remove (delete)
r=recursively (everything below the directory given)
f=force (without asking you)
/=root (the base directory of your system)
 
Old 11-02-2003, 03:43 PM   #7
timmywo
Member
 
Registered: Nov 2003
Location: London UK
Distribution: CentOS 5
Posts: 68

Original Poster
Rep: Reputation: 15
Talking

How could i have set it up before, i never did edit that file. The router does have DHCP enabled but i dont use it.

Thanks for letting me no what it does, i will be reinstalling Linux again!!

Sorry for pestering you, and thanks for your time
 
  


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
Could not look up internet address for x1-6-00-02-e3-0b-39-3f MichaelD Linux - Newbie 4 05-23-2005 09:23 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Could not look up internet address for Doug.Gentry Linux - Networking 5 02-29-2004 06:02 PM
Internet Address jimthing2001 Linux - General 2 01-05-2004 09:24 PM
Should i use the eth0 ip address of my internet ip address when applying iptables ForumKid Linux - Security 2 01-03-2002 08:54 AM

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

All times are GMT -5. The time now is 08:12 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
Open Source Consulting | Domain Registration