LinuxQuestions.org
Visit the LQ Articles and Editorials section
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-24-2004, 07:36 AM   #1
malikk
LQ Newbie
 
Registered: May 2004
Posts: 3

Rep: Reputation: 0
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
 
Old 05-24-2004, 07:50 AM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
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.
 
Old 05-24-2004, 08:01 AM   #3
malikk
LQ Newbie
 
Registered: May 2004
Posts: 3

Original Poster
Rep: Reputation: 0
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...
 
Old 05-24-2004, 11:57 AM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
have a look here

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

good luck.
 
  


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
Unkown symbol Error shogun1234 Linux - General 1 08-17-2005 05:45 AM
xdm error : Cannot convert Internet address to host name lovelinux Linux - Networking 2 06-01-2005 10:31 PM
Unkown Host CloudBuilder Linux - Networking 3 05-08-2005 10:39 AM
i m getting the error unknown host while im pinging with the host name gunjan thakkar Linux - General 2 12-14-2004 02:19 PM
Get_Hostbyname: Unkown host with Samba atari303 Linux - Newbie 3 07-25-2001 11:37 AM


All times are GMT -5. The time now is 11:09 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration