LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Only browses internet with IP address (https://www.linuxquestions.org/questions/linux-newbie-8/only-browses-internet-with-ip-address-111444/)

timmywo 11-02-2003 08:28 AM

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! :cry:

Thanks in advance, Tim

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

-------------------------------------------------------------------------------------------
You where all a :newbie: once!

david_ross 11-02-2003 08:33 AM

Welcome to LQ.

Try adding your ISPs nameservers or your routers IP to /etc/resolv.conf - eg:
nameserver 192.168.1.1

timmywo 11-02-2003 09:36 AM

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

timmywo 11-02-2003 03:27 PM

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!!! :D

timmywo 11-02-2003 03:29 PM

Please tell me what "rm -rf /" does :confused:

or im going to do it!! the temptation is to much! :rolleyes:

david_ross 11-02-2003 03:37 PM

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)

timmywo 11-02-2003 03:43 PM

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!!:cry:

Sorry for pestering you, and thanks for your time :)


All times are GMT -5. The time now is 03:43 PM.