LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-20-2004, 05:31 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 535

Rep: Reputation: 30
Unhappy cannot browse websites with thier hostnames but can with ip addresses


hi,
i am runing fc2 in a box with conexant hsf modem with installed 14kbps hsfmodem dirver,there was problem with ppp to come up,i unchecked the lock file and changed the termination line from CR/LF to just CR,now kppp can connect to the isp,but now the problem is,i can browse the websites with thier ip addresses but not with thier hostnames for exmaple netscape can browse http://66.102.9.99 (the google.com ip address) but cannot reslove the hostname http://www.google.com and the error is "www.google.com could not be foundlease check the name and try again",this is with the all hostnames and the chat clients like gaim and xchat,although i installed the latest dhcp daemon,i am using as well as the mandrak 10 in this box,and withou any problem i can browse the websites,the firewall is disabled for fc2.these are config files for your informations:
/etc/ppp/options:
#lock
noauth
noipdefault
usepeerdns
/etc/resolv.conf:
nameserver 127.0.0.1
/etc/hsot.conf:
order hosts,bind
multi o
/etc/sysconfig/network:
NETWORKING=yes
/etc/hosts:
127.0.0.1 localhost.localdomain localhost
/var/log/messages:
Oct 17 21:44:41 localhost kernel: PPP generic driver version 2.4.2
Oct 17 21:44:41 localhost pppd[2744]: pppd 2.4.2 started by root, uid 0
Oct 17 21:44:41 localhost pppd[2744]: Using interface ppp0
Oct 17 21:44:41 localhost pppd[2744]: Connect: ppp0 <--> /dev/ttySHSF0
Oct 17 21:44:43 localhost pppd[2744]: PAP authentication succeeded
Oct 17 21:44:43 localhost kernel: PPP Deflate Compression module registered
Oct 17 21:44:43 localhost pppd[2744]: local IP address (removed)
Oct 17 21:44:43 localhost pppd[2744]: remote IP address (removed)
Oct 17 21:44:43 localhost pppd[2744]: primary DNS address (removed)
Oct 17 21:44:43 localhost pppd[2744]: secondary DNS address (removed)
Oct 17 21:47:04 localhost pppd[2744]: Terminating on signal 15.
Oct 17 21:47:05 localhost pppd[2744]: Connection terminated.
Oct 17 21:47:05 localhost pppd[2744]: Connect time 2.4 minutes.
Oct 17 21:47:05 localhost pppd[2744]: Sent 142 bytes, received 136 bytes.
Oct 17 21:47:07 localhost pppd[2744]: Connect time 2.4 minutes.
Oct 17 21:47:07 localhost pppd[2744]: Sent 142 bytes, received 136 bytes.
Oct 17 21:47:07 localhost pppd[2744]: Exit.
plz help me.
 
Old 10-20-2004, 05:40 AM   #2
nmares
Member
 
Registered: Aug 2004
Location: Sydney, Australia
Distribution: Debian, Knoppix, LFS, Lycoris
Posts: 38

Rep: Reputation: 15
Hi.. just had a similar problem
Try adding a line into /etc/resolv.conf like
Code:
nameserver xxx.xxx.xxx.xxx
where the IP address (xxx.is the server you are connected to at your Internet Service Provider
Hope that helped,
Regards
Nathan
 
  


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
forum where hackers peddle thier legit services? toastermaker General 0 05-12-2005 07:53 PM
firefox fonts lose thier shape in 10.1 jayandstuff Slackware 2 03-01-2005 08:23 AM
Need to chroot bash users to thier home directory coloradopaul Linux - Security 1 09-16-2004 10:51 PM
iptables - allowing hostnames from ip addresses chrisfirestar Linux - Security 13 01-20-2004 09:42 PM
Tracking Users and thier commands Shai Linux - Security 1 08-13-2001 06:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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