[ LUGOS ] PPP DialUp

MadDave maddave na elite-linux.net
Tor Jul 20 23:12:55 CEST 1999


Se0s !!!

Imam en roblem s ppp povezavo na internet:
Priredil sem si skripte iz /usr/don/ppp-XXX/scripts/
Ko se poskusim povezati se mi po nekem casu povezana prekine, v logih pa
najdem tole:

Jul 19 21:18:31 Killer pppd[642]: pppd 2.3.7 started by root, uid 0
Jul 19 21:18:32 Killer chat[643]: timeout set to 3 seconds
Jul 19 21:18:32 Killer chat[643]: abort on (\nBUSY\r)
Jul 19 21:18:32 Killer chat[643]: abort on (\nNO ANSWER\r)
Jul 19 21:18:32 Killer chat[643]: abort on (\nRINGING\r\n\r\nRINGING\r)
Jul 19 21:18:32 Killer chat[643]: send (rATX0^M)
Jul 19 21:18:32 Killer chat[643]: expect (OK)
Jul 19 21:18:33 Killer chat[643]: rATX0^M^M
Jul 19 21:18:33 Killer chat[643]: OK
Jul 19 21:18:33 Killer chat[643]:  -- got it
Jul 19 21:18:33 Killer chat[643]: send (ATH0^M)
Jul 19 21:18:33 Killer chat[643]: timeout set to 30 seconds
Jul 19 21:18:33 Killer chat[643]: expect (OK)
Jul 19 21:18:33 Killer chat[643]: ^M
Jul 19 21:18:33 Killer chat[643]: ATH0^M^M
Jul 19 21:18:33 Killer chat[643]: OK
Jul 19 21:18:33 Killer chat[643]:  -- got it
Jul 19 21:18:33 Killer chat[643]: send (ATDT300300^M)
Jul 19 21:18:33 Killer chat[643]: expect (CONNECT)
Jul 19 21:18:33 Killer chat[643]: ^M
Jul 19 21:18:52 Killer chat[643]: ATDT300300^M^M
Jul 19 21:18:52 Killer chat[643]: CONNECT
Jul 19 21:18:52 Killer chat[643]:  -- got it
Jul 19 21:18:52 Killer chat[643]: send (^M)
Jul 19 21:18:52 Killer pppd[642]: Serial connection established.
Jul 19 21:18:52 Killer pppd[642]: Using interface ppp0
Jul 19 21:18:52 Killer pppd[642]: Connect: ppp0 <--> /dev/ttyS0
Jul 19 21:19:13 Killer pppd[642]: Hangup (SIGHUP)
Jul 19 21:19:13 Killer pppd[642]: Modem hangup
Jul 19 21:19:13 Killer pppd[642]: Connection terminated.
Jul 19 21:19:13 Killer pppd[642]: Connect time 0.4 minutes.
Jul 19 21:19:14 Killer pppd[642]: Exit.

Cetudi imam v skripti parameter defaultroute dobim:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.1     *               255.255.255.255 UH    0      0        0 eth0
192.168.0.0     *               255.255.255.0   U     0      0        0 eth0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo

In pa v logih poazim: Connect: ppp0 <--> /dev/ttyS0
ceprav z ifconfigom dobim: 
[root na Killer network-scripts]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:C0:DF:EB:49:B7
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:10 Base address:0xe400

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

kaj naredo wrong ????

TnX

lp MadDave




Dodatne informacije o seznamu Starilist