Hi Bert Van Rillaer,
On Mon, 8 Sep 2003 08:46:26 +0200 "Bert Van Rillaer" <[EMAIL PROTECTED]> wrote: > I am having a problem getting my linux RH9 on the internet with a diva adsl > usb modem. I installed everything like it is shown in the documentation > without problems. > > At the end of the "./startmodem" command, I get this: > > Connect Modem ... > Using vpi.vci=8.35 > using channel 4 > Using interface ppp0 > Connect: ppp0 <--> /dev/pts/1 > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1bb39689>] > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1bb39689>] > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1bb39689>] > sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x1bb39689>] > rcvd [LCP ConfRej id=0x1 <asyncmap 0x0>] > sent [LCP ConfReq id=0x2 <magic 0x1bb39689>] > rcvd [LCP ConfAck id=0x2 <magic 0x1bb39689>] > rcvd [LCP ConfReq id=0x21 <mru 1500> <auth chap MD5> <magic 0x4e9552a9>] > sent [LCP ConfAck id=0x21 <mru 1500> <auth chap MD5> <magic 0x4e9552a9>] > rcvd [CHAP Challenge id=0x4 <6d046a129884c44afe5d4c90e88c0e88>, name = > "BAS-LEUVEN"] sent [CHAP Response id=0x4 <9cccc0edbfe69d03951ecb873f1469f3>, > name = "[EMAIL PROTECTED]"] rcvd [CHAP Success id=0x4 "CHAP authentication > success, unit 7107"] Remote message: CHAP authentication success, unit 7107 > sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 > 0.0.0.0>] rcvd [IPCP ConfReq id=0x3f <addr 217.136.136.1>] > sent [IPCP ConfAck id=0x3f <addr 217.136.136.1>] > rcvd [IPCP ConfNak id=0x1 <addr 217.136.136.22> <ms-dns1 195.238.2.21> > <ms-dns3 195.238.2.22>] sent [IPCP ConfReq id=0x2 <addr 217.136.136.22> > <ms-dns1 195.238.2.21> <ms-dns3 195.238.2.22>] rcvd [IPCP ConfAck id=0x2 > <addr 217.136.136.22> <ms-dns1 195.238.2.21> <ms-dns3 195.238.2.22>] local > IP address 217.136.136.22 remote IP address 217.136.136.1 > primary DNS address 195.238.2.21 > secondary DNS address 195.238.2.22 > ... Connect Modem OK > > which is fine. In my ifconfig I get: > > lo Link encap:Local Loopback > inet addr:127.0.0.1 Mask:255.0.0.0 > UP LOOPBACK RUNNING MTU:16436 Metric:1 > RX packets:5803 errors:0 dropped:0 overruns:0 frame:0 > TX packets:5803 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:0 > RX bytes:398753 (389.4 Kb) TX bytes:398753 (389.4 Kb) > > ppp0 Link encap:Point-to-Point Protocol > inet addr:217.136.148.121 P-t-P:217.136.148.1 > Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST > MTU:1500 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 > frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 > collisions:0 txqueuelen:3 > RX bytes:146 (146.0 b) TX bytes:326 (326.0 b) > > so I think the ppp0 is the adsl modem which is OK. > > But when I try to go to e.g. www.hotmail.com in my brower, it says > "www.hotmail.com could not be found. Please check the name and try again" > so I guess there is still something wrong. I adjusted the default gateway > like it is shown in the installation manual by adding the IP-adresses of the > 2 nameservers of my internet provider in the /etc/resolv.conf file. When I > do a "route -n" I get > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface 217.136.148.1 0.0.0.0 255.255.255.255 UH 0 0 > 0 ppp0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 > 0 lo 127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 > lo 0.0.0.0 217.136.148.1 0.0.0.0 UG 0 0 0 > ppp0 > > which is also normal I think. Why is my browser still giving this "unable to > resolve" message? The default route apparently is ok, so I really don't know > what is wrong. A "nslookup www.hotmail.com" command gives > > ;; connection timed out; no servers could be reached > > Does anyone know how to solve this problem? I feel that I'm pretty close, > but not yet there..... Everything seems fine, but you still cannot resolve domain names? DNS problem maybe? Did you try to access an IP instead? Which DNS servers do you use? - have a look at /etc/resolv.conf when PPP is up, and down - check which ones were selected with the eciadsl config tool - look at /var/log/messages for the recommended DNS IPs from your provider - check with: /etc/ppp/options and /etc/ppp/peers/adsl (whose settings override), `man pppd` for more info - look into your pppd config to know if you use the provider dns automatically or the ones set in /etc/resolv.conf before the PPP line is up - `host -t ns wanadoo.fr` (use your provider's domain name instead) or see Q 1.6 of the online FAQ: http://eciadsl.flashtux.org/faq.php?lang=en FYI: the following error could be 'normal' ** ;; connection timed out; no servers could be reached following some specific configuration settings, you won't get any result from the command you tried. Even host -n dn or host -t ns (`man host`) can return such error. Regards, -- wwp =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Driver Linux pour modem ECI ADSL USB: http://eciadsl.flashtux.org Archives de cette liste de diffusion: http://liste.eci.free.fr Pour se desinscrire: mailto:[EMAIL PROTECTED]
