Diald

Rafael Noas noas na msd.cz
Pátek Říjen 20 13:12:37 CEST 2000


Dobry den,

Chci pouzivat Diald ale nejak se mi nedari, vsechno vypada ze je ok ale
ne a ne fungovat.
Kdyz pustim primo primo pppd tak funguje ok:

pppd /dev/ttyS0 noauth user username ... connect chat_script

ale kdyz pouziju Diald ten vytaci, pripoji se a pak spusti pppd ale ten
za par vterin umre. Tady je vypis:

...
Oct 20 12:59:12 xl266 diald[1695]: Proxy device established on interface
tap0
Oct 20 12:59:12 xl266 diald[1695]: running '/sbin/ifconfig tap0
127.0.0.5 pointopoint 127.0.0.4 broadcast 0.0.0.0 netmask 255.255.255.0
metric 1 mtu 1500 up'
Oct 20 12:59:12 xl266 diald[1695]: start tap0: SIOCSIFMETRIC: Operation
not supported 
Oct 20 12:59:12 xl266 diald[1695]: SIGCHLD[1]: pid 1696 system, status
256
Oct 20 12:59:12 xl266 diald[1695]: start tap0: Establishing routes for
tap0
Oct 20 12:59:12 xl266 diald[1695]: running '/sbin/route add 127.0.0.4
metric 1  dev tap0'
Oct 20 12:59:12 xl266 diald[1695]: SIGCHLD[2]: pid 1697 system, status 0
Oct 20 12:59:12 xl266 diald[1695]: running '/sbin/route del 127.0.0.4
metric 0  dev tap0'
Oct 20 12:59:12 xl266 diald[1695]: start tap0: SIOCDELRT: No such
process 
Oct 20 12:59:12 xl266 diald[1695]: SIGCHLD[3]: pid 1698 system, status
1792
Oct 20 12:59:12 xl266 diald[1695]: running '/sbin/route add default
metric 1  netmask 0.0.0.0 dev tap0'
Oct 20 12:59:12 xl266 diald[1695]: SIGCHLD[4]: pid 1699 system, status 0
Oct 20 12:59:12 xl266 diald[1695]: Changed snoop device to tap0
Oct 20 12:59:12 xl266 diald[1695]: Diald initial setup completed.
Oct 20 12:59:12 xl266 diald[1695]: FIFO closed
Oct 20 12:59:32 xl266 diald[1695]: filter accepted rule 25 proto
538131488 len 66 packet 172.16.1.16,1025 => 198.32.64.12,53
Oct 20 12:59:32 xl266 diald[1695]: Trigger: udp       172.16.1.16/1025
198.32.64.12/53   
Oct 20 12:59:32 xl266 diald[1695]: new state CONNECT action 0x12000f680
timeout 120
Oct 20 12:59:32 xl266 diald[1695]: Calling site 127.0.0.4 
Oct 20 12:59:33 xl266 diald[1695]: running '/etc/diald/volny.connect'
Oct 20 12:59:33 xl266 diald[1695]: filter accepted rule 25 proto
538131488 len 66 packet 172.16.1.16,1025 => 198.32.64.12,53
Oct 20 12:59:33 xl266 diald[1695]: filter accepted rule 2 proto tcp len
60 seq 5cab354e ack 0 flags  SYN packet 172.16.1.16,1027 =>
195.250.155.29,80
Oct 20 12:59:33 xl266 chat[1705]: abort on (BUSY)
Oct 20 12:59:33 xl266 chat[1705]: abort on (NO CARRIER)
Oct 20 12:59:33 xl266 chat[1705]: abort on (VOICE)
Oct 20 12:59:33 xl266 chat[1705]: abort on (NO DIALTONE)
Oct 20 12:59:33 xl266 chat[1705]: abort on (NO ANSWER)
Oct 20 12:59:33 xl266 chat[1705]: send (ATZ^M)
Oct 20 12:59:33 xl266 chat[1705]: expect (OK)
Oct 20 12:59:33 xl266 chat[1705]: ATZ^M^M
Oct 20 12:59:33 xl266 chat[1705]: OK
Oct 20 12:59:33 xl266 chat[1705]:  -- got it 
Oct 20 12:59:33 xl266 chat[1705]: send
(ATQ0V1E1S0=0&C1&D2S11=55+FCLASS=0^M)
Oct 20 12:59:34 xl266 chat[1705]: expect (OK)
Oct 20 12:59:34 xl266 chat[1705]: ^M
Oct 20 12:59:34 xl266 chat[1705]: ATQ0V1E1S0=0&C1&D2S11=55+FCLASS=0^M^M
Oct 20 12:59:34 xl266 chat[1705]: OK
Oct 20 12:59:34 xl266 chat[1705]:  -- got it 
Oct 20 12:59:34 xl266 chat[1705]: send (ATDT0,0971200555^M)
Oct 20 12:59:34 xl266 chat[1705]: expect (CONNECT)
Oct 20 12:59:34 xl266 chat[1705]: ^M
Oct 20 13:00:03 xl266 chat[1705]: ATDT0,0971200555^M^M
Oct 20 13:00:03 xl266 chat[1705]: CONNECT
Oct 20 13:00:03 xl266 chat[1705]:  -- got it 
Oct 20 13:00:03 xl266 chat[1705]: send (\d)
Oct 20 13:00:04 xl266 diald[1695]: SIGCHLD[5]: pid 1704 dial, status 0
Oct 20 13:00:04 xl266 diald[1695]: new state START_LINK action
0x12000fbe0 timeout 120
Oct 20 13:00:04 xl266 diald[1695]: Connected to site 127.0.0.4 
Oct 20 13:00:04 xl266 diald[1708]: Running pppd: /usr/sbin/pppd
-defaultroute -detach modem crtscts mtu 1500 mru 1500 netmask
255.255.255.0 debug noauth user username 
Oct 20 13:00:04 xl266 diald[1695]: Running pppd (pid = 1708).
Oct 20 13:00:04 xl266 kernel: CSLIP: code copyright 1989 Regents of the
University of California 
Oct 20 13:00:04 xl266 kernel: PPP: version 2.3.7 (demand dialling) 
Oct 20 13:00:04 xl266 kernel: PPP line discipline registered. 
Oct 20 13:00:04 xl266 kernel: registered device ppp0 
Oct 20 13:00:28 xl266 diald[1695]: SIGCHLD[6]: pid 1708 link, status 1
Oct 20 13:00:28 xl266 diald[1695]: child process 1708 terminated with
signal 1
Oct 20 13:00:28 xl266 diald[1695]: running '/sbin/ifconfig tap0
127.0.0.5 pointopoint 127.0.0.4 broadcast 0.0.0.0 netmask 255.255.255.0
metric 1 mtu 1500 up'
Oct 20 13:00:28 xl266 diald[1695]: start tap0: SIOCSIFMETRIC: Operation
not supported 
Oct 20 13:00:28 xl266 diald[1695]: SIGCHLD[7]: pid 1713 system, status
256
Oct 20 13:00:28 xl266 diald[1695]: start tap0: Establishing routes for
tap0
Oct 20 13:00:28 xl266 diald[1695]: running '/sbin/route add 127.0.0.4
metric 1  dev tap0'
Oct 20 13:00:28 xl266 diald[1695]: start tap0: SIOCADDRT: File exists 
Oct 20 13:00:28 xl266 diald[1695]: SIGCHLD[8]: pid 1714 system, status
1792
Oct 20 13:00:28 xl266 diald[1695]: running '/sbin/route del 127.0.0.4
metric 0  dev tap0'
Oct 20 13:00:28 xl266 diald[1695]: start tap0: SIOCDELRT: No such
process 
Oct 20 13:00:28 xl266 diald[1695]: SIGCHLD[9]: pid 1715 system, status
1792
Oct 20 13:00:28 xl266 diald[1695]: running '/sbin/route add default
metric 1  netmask 0.0.0.0 dev tap0'
Oct 20 13:00:28 xl266 diald[1695]: start tap0: SIOCADDRT: File exists 
Oct 20 13:00:28 xl266 diald[1695]: SIGCHLD[10]: pid 1716 system, status
1792
Oct 20 13:00:28 xl266 diald[1695]: new state DISCONNECT action
0x1200102c0 timeout 60
Oct 20 13:00:28 xl266 diald[1695]: new state CLOSE action 0x1200103e0
timeout -1
Oct 20 13:00:28 xl266 diald[1695]: Disconnected. Call duration 24
seconds. 
Oct 20 13:00:28 xl266 diald[1695]: IP transmitted 2838 bytes and
received 0 bytes. 
Oct 20 13:00:28 xl266 diald[1695]: Closing /dev/ttyS0
Oct 20 13:00:29 xl266 diald[1695]: Delaying 60 seconds before clear to
dial.
...


Ma nekdo napad co s tim?


Dik.

Rafael Noas.


Další informace o konferenci Linux