you were rigth: there were no entries in my /etc/resolv.conf file because I thougth that if I used
usepeerdns I wouldn't need any entries in /etc/resolv.conf
You have been much helpfull...
Vasco
From: Alexey Fadyushin <fab@xxxxxxxxxxxx>
Reply-To: Discussion of the Fedora Legacy Project <fedora-legacy-list@xxxxxxxxxx>
To: Discussion of the Fedora Legacy Project <fedora-legacy-list@xxxxxxxxxx>
Subject: Re: DNS Error
Date: Thu, 24 Feb 2005 16:10:16 +0300
You have a problem with DNS name resolution. Most probably there are no nameserver records in the /etc/resolv.conf file on your computer. When you use option 'usepeerdns' in /etc/ppp/options PPP daemon will accept list of DNS servers from your provider and put appropriate 'nameserver' records in file /etc/ppp/resolv.conf. Therefore, you need to copy that file to /etc/resolv.conf when connection is established (you also may use a symbolic link instead of copying the file). If your ISP does not transmit DNS server addresses when your computer connects to ISP, you can ask your ISP about those addresses and manually put them into /etc/reslov.conf. Alternatively, you could run your own DNS server (caching only) on your computer.
Alexey Fadyushin Brainbench MVP for Linux. http://www.brainbench.com
Vasco Dionísio wrote:
Hello,
I installed a ADSL Modem that uses unicorn chipset (IceData500), compiled the drivers, and configured pppoe to connect to my ISP Provider. I am using Red Hat 7.3. Everything went fine and I am able to connect to my ISP (when I do a ifconfig I can see the connection and I am able to ping the DNS servers of the ISP). My problem is that if I do a ping with a name I get an error message saying "host unknow". For instance, if I do ping www.google.com I get the error message but if I do ping xxx.xxx.xxx.xxx for the DNS address of the ISP everything goes fine. Could anyone give some hints please. I am new to linux...
Thanks in advance, Vasco
Here's my /etc/ppp/options
lock ipparam ppp0 noipdefault noauth defaultroute user "user@xxxxxxxxxx" noaccomp noccp nobsdcomp nodeflate nopcomp novj lcp-echo-interval 20 lcp-echo-failure 3 maxfail 25 updetach usepeerdns holdoff 4 persist
Here's how I connect
#modprobe unicorn_usb_eth PROTOCOL=pppoe ActivationMode=1 VPI=0 VCI=35 ENCAPS=llc-encaps
#ifconfig dsl0 up #pppd pty 'pppoe -I dsl0 -m 1452'
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
-- fedora-legacy-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-legacy-list
-- fedora-legacy-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-legacy-list
-- fedora-legacy-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-legacy-list