LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unkown Host Error- internet (https://www.linuxquestions.org/questions/linux-newbie-8/unkown-host-error-internet-185151/)

malikk 05-24-2004 06:36 AM

Unkown Host Error- internet
 
Hello,

I've installed Demian. I managed to set up my ip address as follows:

ip address: 192.168.0.19
subnet mask: 255.255.255.0
default gateway: 192.168.0.2 <--- where firewall (smoothwall) is

I can ping to the internet. When I open the browser (mozilla), i can access web pages only if i type the ip address. Eg 196.41.47.1 not the url name.

If i type url name, it gives error - host unknown. But if i type 196.41.47.1, the web page loads.

What am I doing wrong? How can i set up so that i can browse by typing names instead of ip address?

Any help will be greatly appreciated. Thanks!

Malik

Peacedog 05-24-2004 06:50 AM

sounds like you need a nameserver, if your smoothwall box is the gateway, and it's resolving names on your network, have a look at /etc/resolv.conf and add

nameserver 192.168.0.2

good luck.

malikk 05-24-2004 07:01 AM

i dont see that file in /etc.

If it helps, i have windows machines that are connected to the net through the firewall and are working fine.

I'm trying linux for the 1st time. Its only my linux machine that cant connect to the net with url names...

Peacedog 05-24-2004 10:57 AM

have a look here

http://www.debian.org/doc/manuals/re...dns-resolvconf

good luck.


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