sud_crow Posted July 31, 2003 Report Share Posted July 31, 2003 Here is all the information i could find in my system refering to the problem im having with wvdial. For what i see, it should be working. But it isnt, after running "wvdial", i get that pin # thing, and thats it, so i try to use a browser, and it says it "cant find the host" the first i had for console was Lynx, now i downloaded -links, elinks, dillo- to see if it was a browser problem, it wasnt, or all of them suffer of the same illness ;) So, i hope all this compilation of information helps and someone can see where i screwed up... I have this problem with Mandrake also, but i didnt had all this info at that point. With mandrake it goes even further, becouse i had to copy the wvdial.conf file to it from the LFS system becouse MDKs wvdialconf didnt even find the modem ---------------------------------------------------------------------- Content of "/etc/wvdial.conf": [Dialer Defaults] Modem = /dev/ttyS0 Baud = 57600 #Init1 = ATDP Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 #init2 = AT S11=50 Init3 = ATM0 Auto DNS = on Modem Type = Analog Modem Phone = phonenumber Username = username Password = password Stupid mode = yes ------------------------------------------------------------------------ The content of "/etc/ppp/resolv.conf" is zero. -its an empty file- ------------------------------------------------------------------------ The content of "/etc/ppp/options" lock noauth usepeerdns noipdefault ------------------------------------------------------------------------- Running "wvdial": root]# wvdial --> WvDial: Internet dialer version 1.53 --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Sending: ATM0 ATM0 OK --> Modem initialized. --> Sending: ATDT06102227638 --> Waiting for carrier. ATDT06102227638 CONNECT 57600 --> Carrier detected. Starting PPP immediately. --> Starting pppd at Wed Jul 30 23:01:40 2003 --> pid of pppd: 194 ---------------------------------------------------------------------- Looking at the log: # tail -f /var/log/sys.log Jul 30 22:56:38 lfs pppd[171]: rcvd [IPCP ConfNak id=0x1 <addr 200.82.14.112> <ms-dns1 200.45.191.35> <ms-dns3 200.45.191.40>] Jul 30 22:56:38 lfs pppd[171]: sent [IPCP ConfReq id=0x2 <addr 200.82.14.112> <compress VJ 0f 01> <ms-dns1 200.45.191.35> <ms-dns3 200.45.191.40>] Jul 30 22:56:38 lfs pppd[171]: rcvd [LCP ProtRej id=0x6 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] Jul 30 22:56:38 lfs pppd[171]: rcvd [IPCP ConfAck id=0x2 <addr 200.82.14.112> <compress VJ 0f 01> <ms-dns1 200.45.191.35> <ms-dns3 200.45.191.40>] Jul 30 22:56:38 lfs pppd[171]: local IP address 200.82.14.112 Jul 30 22:56:38 lfs pppd[171]: remote IP address 200.43.17.13 Jul 30 22:56:38 lfs pppd[171]: primary DNS address 200.45.191.35 Jul 30 22:56:38 lfs pppd[171]: secondary DNS address 200.45.191.40 Jul 30 22:56:38 lfs pppd[171]: Script /etc/ppp/ip-up started (pid 173) Jul 30 22:56:38 lfs pppd[171]: Script /etc/ppp/ip-up finished (pid 173), status = 0x0 -------- after CTRL+C (disconnect) --------- Jul 30 22:59:14 lfs pppd[171]: Terminating on signal 15. Jul 30 22:59:14 lfs pppd[171]: Script /etc/ppp/ip-down started (pid 183) Jul 30 22:59:14 lfs pppd[171]: sent [LCP TermReq id=0x2 "User request"] Jul 30 22:59:14 lfs pppd[171]: rcvd [LCP TermAck id=0x2] Jul 30 22:59:14 lfs pppd[171]: Connection terminated. Jul 30 22:59:14 lfs pppd[171]: Connect time 2.8 minutes. Jul 30 22:59:14 lfs pppd[171]: Sent 327 bytes, received 354 bytes. Jul 30 22:59:14 lfs pppd[171]: Waiting for 1 child processes... Jul 30 22:59:14 lfs pppd[171]: script /etc/ppp/ip-down, pid 183 Jul 30 22:59:14 lfs pppd[171]: Script /etc/ppp/ip-down finished (pid 183), status = 0x0 Jul 30 22:59:14 lfs pppd[171]: Exit. --------------------------------------------------------------------- NETSTAT & IFCONFIG Disconnected [root@ ~]# netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 4 [ ] DGRAM 327 /dev/log unix 2 [ ] DGRAM 519 unix 2 [ ] DGRAM 415 Active IPX sockets Proto Recv-Q Send-Q Local Address Foreign Address State [root@lfs ~]# [root@ ~]# ifconfig 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:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:860 (860.0 b) TX bytes:860 (860.0 b) Connected [root@ ~]# netstat Active Internet connections (w/o servers) Proto Recv-Q Send-Q Local Address Foreign Address State Active UNIX domain sockets (w/o servers) Proto RefCnt Flags Type State I-Node Path unix 5 [ ] DGRAM 327 /dev/log unix 2 [ ] DGRAM 626 unix 3 [ ] STREAM CONNECTED 625 unix 3 [ ] STREAM CONNECTED 624 unix 2 [ ] DGRAM 519 unix 2 [ ] DGRAM 415 Active IPX sockets Proto Recv-Q Send-Q Local Address Foreign Address State [root@ ~]# [root@ ~]# ifconfig 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:12 errors:0 dropped:0 overruns:0 frame:0 TX packets:12 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:860 (860.0 b) TX bytes:860 (860.0 b) ppp0 Link encap:Point-to-Point Protocol inet addr:200.82.14.44 P-t-P:200.43.17.13 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1524 Metric:1 RX packets:4 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:114 (114.0 b) TX bytes:127 (127.0 b) ---------------------------------------------------------------------- Quote Link to comment Share on other sites More sharing options...
bvc Posted July 31, 2003 Report Share Posted July 31, 2003 At the very least, something has to be in /etc/resolv.conf but put the same in /etc/ppp/resolv.conf ppp can't find your DNS if it can't find your provider. My isp is MyLinuxISP, so I have search mylinuxisp.com Quote Link to comment Share on other sites More sharing options...
sud_crow Posted August 1, 2003 Author Report Share Posted August 1, 2003 Hi bvc. well, as i sayd before its actually a peer DNS, so the server has to send them and then somehow, the conection begins to use them on mandrake my /etc/resolv.conf says the following domain localdomain #kppp temp entry nameserver 200.45.191.35 #kppp temp entry nameserver 200.45.191.40 #kppp temp entry the one on /etc/ppp does not have the kppp temp comments neither the domain localdomain so im guessing that i cant get wvdial to work with peer DNS... but why! well, im going to try those address, and see. also im going to see if i can get some static DNS. i will post later. thnx for the help Quote Link to comment Share on other sites More sharing options...
sud_crow Posted August 2, 2003 Author Report Share Posted August 2, 2003 Hey, I was going to try the above DNS as they where with the ones i thought i was connected, any way, it seems it works with several DNS, so i called my ISP and asked what where the ones that they knew it should always work, and they gave the 2 of them So i replaced the others with the ones i got, and everything seems to work. Now all i have left, is to compile Mozilla, and XWvDial, so i can use them on Fluxbox. Im not going to do anything on MDK, as i was thinking that i wont be using it in console mode much, so if the need arises, i will try, but for now, im OK. Thanks very much bvc, i know you sayd it was the DNS and resolv.conf long ago when the problem appeared, but i couldnt understand why, neither i do it now... Mostly due to Kppp working without having one. I guess that would be all with that.... thnx again. Quote Link to comment Share on other sites More sharing options...
bvc Posted August 2, 2003 Report Share Posted August 2, 2003 Great! Glad you got it going. BTW, though I didn't try very hard, I couldn't get XWvDial to work, which I thought was strange. I figured it was a more graphical ModemLights in gnome and just used wvdial. Seems it is its own 'wvdial, if that makes sense. Let me know if it works. I might try it again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.