Marco d'Itri wrote:

> > When using the 'persist' option, this version of ppp doesn't appear to 
> > re-try dialing the connection even though 'persist' is set in the 
> > configuration. I use pppoe and a dsl connection. Package version 
> > ppp_2.4.2+20040428-6 does act normally with persist.
> This is interesting, but I could not find anything obvious in the
> changelog. I wonder if this has been caused by an upstream change.
> persist works for me, but I does not use the pty option.

It doesn't work here neither (with 2.4.3-20041231+[12]), while back with 
2.4.2+20040428-6 everything is fine (with the same kernel and rest). 

It's an old DSL device connected through a serial port (here disgusied 
as /dev/his), so I need no pty option.

I straced working and non working version while recovering from
power failure. Here is relevant, I think, part of the 'bad one':

open("/dev/his", O_RDWR|O_NONBLOCK)     = 8
fcntl64(8, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK 
fcntl64(8, F_SETFL, O_RDWR)             = 0
ioctl(8, TIOCMBIS, [TIOCM_DTR])         = 0
ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff83c) = -1 ENXIO (No such device 
or address) 
                                                         ^^^^^ I cannot
                                                         see this in
                                                         a working one

Both straces with more context are included as well as logs from real power
failure with 2.4.3 and simulated one with 2.4.2.

options: 
--------
/dev/his 115200
modem 
defaultroute 
lock 
crtscts 
noauth 
persist
lcp-echo-interval 6
lcp-echo-failure 3
user indis
maxfail 0


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-ac2-amd
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2) (ignored: LC_ALL set to 
pl_PL)

Versions of packages ppp depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpam-modules              0.76-22      Pluggable Authentication Modules f
ii  libpam-runtime              0.76-22      Runtime support for the PAM librar
ii  libpam0g                    0.76-22      Pluggable Authentication Modules l
ii  libpcap0.7                  0.7.2-7      System interface for user-level pa
ii  libssl0.9.7                 0.9.7e-3     SSL shared libraries
ii  makedev                     2.3.1-76     creates device files in /dev
ii  netbase                     4.20         Basic TCP/IP networking system
ii  procps                      1:3.2.5-1    /proc file system utilities

-- 
Jacek Kawa  **Freedom's just another word for nothing left too loose [J.J.]**
11:37:54 kernel: eth0: link down <---- power down
11:37:54 pppd[23601]: Hangup (SIGHUP)
11:37:54 pppd[23601]: Modem hangup
11:37:54 pppd[23601]: Connect time 2551.6 minutes.
11:37:54 pppd[23601]: Sent 98310576 bytes, received 552118436 bytes.
11:37:54 pppd[23601]: Connection terminated.
11:37:54 postfix/postfix-script: refreshing the Postfix mail system
11:37:54 postfix/master[7414]: reload configuration

11:38:21 pppd[23601]: Couldn't get channel number: Input/output error <---- 
power back, I guess
11:38:22 pppd[23601]: tcgetattr: No such device or address (line 909) <---- ??? 
absent in 2.4.2
11:38:22 kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1      <---- 
power is surely up
11:38:23 pppd[23601]: Exit. 

17:35:41 pppd[29112]: pppd 2.4.3 started by root, uid 0 <---- "restart"
17:35:41 pppd[29112]: Using interface ppp0
17:35:41 pppd[29112]: Connect: ppp0 <--> /dev/his
17:35:44 pppd[29112]: PAP authentication succeeded
17:35:44 pppd[29112]: local  IP address xxx.xx.xxx.xxx
17:35:44 pppd[29112]: remote IP address xxx.xx.xxx.xxx
17:35:44 postfix/postfix-script: refreshing the Postfix mail system
18:11:23 pppd[574]: Hangup (SIGHUP)
18:11:23 pppd[574]: Modem hangup
18:11:23 pppd[574]: Connect time 8.3 minutes.
18:11:23 pppd[574]: Sent 298871 bytes, received 757433 bytes.
18:11:23 pppd[574]: Connection terminated.
18:11:23 postfix/postfix-script: refreshing the Postfix mail system
18:11:23 postfix/master[7414]: reload configuration
18:11:23 pppd[574]: Hangup (SIGHUP)
 <- modem power down -> 
18:12:22 pppd[574]: Couldn't get channel number: Input/output error
18:12:44 pppd[574]: Using interface ppp0
18:12:44 pppd[574]: Connect: ppp0 <--> /dev/his
18:12:47 pppd[574]: Connection terminated.
18:12:48 pppd[574]: Using interface ppp0
18:12:48 pppd[574]: Connect: ppp0 <--> /dev/his
18:12:51 pppd[574]: PAP authentication succeeded
18:12:51 pppd[574]: local  IP address xxx.xx.xxx.xxx
18:12:51 pppd[574]: remote IP address xxx.xx.xxx.xxx
18:12:51 postfix/postfix-script: refreshing the Postfix mail system
18:12:51 postfix/master[7414]: reload configuration
18:13:21 pppd[574]: CCP: timeout sending Config-Requests 
gettimeofday({1111057125, 115953}, NULL) = 0
gettimeofday({1111057125, 120214}, NULL) = 0
read(8, "\300!\n\20\0\10\225\202\236\374", 1502) = 10
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057125, 154347}, NULL) = 0
select(10, [8 9], NULL, [8 9], {5, 961606}) = 2 (in [8 9], left {3, 706000})
--- SIGHUP (Hangup) @ 0 (0) ---
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
--- SIGCONT (Continued) @ 0 (0) ---
gettimeofday({1111057127, 428032}, NULL) = 0
time([1111057127])                      = 1111057127
getpid()                                = 30843
rt_sigaction(SIGPIPE, {0xb7f1e240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 11:58:47 pppd[30843]"..., 49, 0) = 49
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
read(8, "", 1502)                       = 0
time([1111057127])                      = 1111057127
getpid()                                = 30843
rt_sigaction(SIGPIPE, {0xb7f1e240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<149>Mar 17 11:58:47 pppd[30843]"..., 46, 0) = 46
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
ioctl(5, SIOCDEVPRIVATE, 0xbffff7d0)    = 0
gettimeofday({1111057127, 478783}, NULL) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=1288, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1288, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=1288, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1288, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=1288, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1288, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
ioctl(9, JFFS_PRINT_HASH or PPPIOCGFLAGS, 0xbffff868) = 0
ioctl(9, PPPIOCSFLAGS, 0xbffff868)      = 0
time([1111057127])                      = 1111057127
getpid()                                = 30843
rt_sigaction(SIGPIPE, {0xb7f1e240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 11:58:47 pppd[30843]"..., 59, 0) = 59
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111057127])                      = 1111057127
getpid()                                = 30843
rt_sigaction(SIGPIPE, {0xb7f1e240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 11:58:47 pppd[30843]"..., 73, 0) = 73
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
ioctl(9, PPPIOCSNPMODE, 0xbffff888)     = 0
ioctl(5, SIOCGIFFLAGS, {ifr_name="ppp0", 
ifr_flags=IFF_UP|IFF_POINTOPOINT|IFF_RUNNING|IFF_NOARP|IFF_MULTICAST}) = 0
ioctl(5, SIOCSIFFLAGS, 0xbffff870)      = 0
ioctl(5, SIOCDELRT, 0xbffff800)         = -1 ESRCH (No such process)
ioctl(5, SIOCSIFADDR, 0xbffff870)       = 0
stat64("/etc/ppp/ip-down", {st_mode=S_IFREG|0755, st_size=1729, ...}) = 0
dup(4)                                  = 10
close(10)                               = 0
pipe([10, 11])                          = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7e492e8) = 31064
close(11)                               = 0
read(10, "", 1)                         = 0
close(10)                               = 0
time([1111057127])                      = 1111057127
getpid()                                = 30843
rt_sigaction(SIGPIPE, {0xb7f1e240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<149>Mar 17 11:58:47 pppd[30843]"..., 56, 0) = 56
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
unlink("/var/run/ppp0.pid")             = 0
close(8)                                = 0
close(9)                                = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=356, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=1036, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1036, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=356, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
gettimeofday({1111057127, 661964}, NULL) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
open("/var/lock/LCK..his", O_RDWR|O_CREAT|O_EXCL, 0644) = -1 EEXIST (File 
exists)
open("/var/lock/LCK..his", O_RDONLY)    = 8
read(8, "     30843\n", 11)             = 11
close(8)                                = 0
getpid()                                = 30843
open("/dev/his", O_RDWR|O_NONBLOCK)     = 8
--- SIGHUP (Hangup) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
--- SIGCONT (Continued) @ 0 (0) ---
fcntl64(8, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(8, F_SETFL, O_RDWR)             = 0
ioctl(8, TIOCMBIS, [TIOCM_DTR])         = -1 EIO (Input/output error)
ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff83c) = -1 EIO (Input/output 
error)




open("/dev/his", O_RDWR)                = ? ERESTARTSYS (To be restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
open("/dev/his", O_RDWR)                = 9
close(9)                                = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
ioctl(8, TIOCEXCL, 0)                   = -1 EIO (Input/output error)
ioctl(8, TIOCSETD, [3])                 = -1 EIO (Input/output error)
ioctl(8, PPPIOCGCHAN, 0x808d744)        = -1 EIO (Input/output error)
time([1111057139])                      = 1111057139
getpid()                                = 30843
rt_sigaction(SIGPIPE, {0xb7f1e240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<147>Mar 17 11:58:59 pppd[30843]"..., 81, 0) = 81
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
ioctl(8, TIOCSETD, [0])                 = -1 EIO (Input/output error)
ioctl(8, TIOCMBIC, [TIOCM_DTR])         = -1 EIO (Input/output error)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x8050d30, [HUP INT USR2 TERM CHLD], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff89c) = -1 EIO (Input/output 
error)
ioctl(8, SNDCTL_TMR_CONTINUE or TCSETSF, {B115200 -opost -isig -icanon -echo 
...}) = -1 EIO (Input/output error)
close(8)                                = 0
unlink("/var/lock/LCK..his")            = 0
gettimeofday({1111057141, 8581}, NULL)  = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
open("/var/lock/LCK..his", O_RDWR|O_CREAT|O_EXCL, 0644) = 8
getpid()                                = 30843
write(8, "     30843\n", 11)            = 11
close(8)                                = 0
open("/dev/his", O_RDWR|O_NONBLOCK)     = 8
fcntl64(8, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(8, F_SETFL, O_RDWR)             = 0
ioctl(8, TIOCMBIS, [TIOCM_DTR])         = 0
ioctl(8, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff83c) = -1 ENXIO (No such device 
or address)



time([1111057141])                      = 1111057141
getpid()                                = 30843
rt_sigaction(SIGPIPE, {0xb7f1e240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<147>Mar 17 11:59:01 pppd[30843]"..., 81, 0) = 81
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
ioctl(8, TIOCMBIC, [TIOCM_DTR])         = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x8050d30, [HUP INT USR2 TERM CHLD], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
close(8)                                = 0
unlink("/var/lock/LCK..his")            = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=1288, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1288, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=480, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=648, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=696, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=696, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=648, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=276, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=876, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=876, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=276, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=240, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=1228, len=1}) = 0
fcntl64(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=1228, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=240, len=1}) = 0
time([1111057142])                      = 1111057142
getpid()                                = 30843
rt_sigaction(SIGPIPE, {0xb7f1e240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 11:59:02 pppd[30843]"..., 39, 0) = 39
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
exit_group(1)                           = ?
Process 30843 detached
gettimeofday({1111057213, 737441}, NULL) = 0
gettimeofday({1111057213, 737469}, NULL) = 0
read(8, 0x8087562, 1502)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(9, 0x8087562, 1502)                = -1 EAGAIN (Resource temporarily 
unavailable)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057213, 737670}, NULL) = 0
select(10, [8 9], NULL, [8 9], {2, 956521}) = 2 (in [8 9], left {0, 190000})
--- SIGHUP (Hangup) @ 0 (0) ---
--- SIGCONT (Continued) @ 0 (0) ---
time([1111057216])                      = 1111057216
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 12:00:16 pppd[31215]"..., 49, 0) = 49
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
gettimeofday({1111057216, 513223}, NULL) = 0
read(8, "", 1502)                       = 0
time([1111057216])                      = 1111057216
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<149>Mar 17 12:00:16 pppd[31215]"..., 46, 0) = 46
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
ioctl(5, SIOCDEVPRIVATE, 0xbffff7e0)    = 0
gettimeofday({1111057216, 548368}, NULL) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
ioctl(9, JFFS_PRINT_HASH or PPPIOCGFLAGS, 0xbffff878) = 0
ioctl(9, PPPIOCSFLAGS, 0xbffff878)      = 0
time([1111057216])                      = 1111057216
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 12:00:16 pppd[31215]"..., 59, 0) = 59
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
time([1111057216])                      = 1111057216
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 12:00:16 pppd[31215]"..., 73, 0) = 73
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
ioctl(9, PPPIOCSNPMODE, 0xbffff898)     = 0
ioctl(5, SIOCGIFFLAGS, {ifr_name="ppp0", 
ifr_flags=IFF_UP|IFF_POINTOPOINT|IFF_RUNNING|IFF_NOARP|IFF_MULTICAST}) = 0
ioctl(5, SIOCSIFFLAGS, 0xbffff880)      = 0
ioctl(5, SIOCDELRT, 0xbffff810)         = -1 ESRCH (No such process)
ioctl(5, SIOCSIFADDR, 0xbffff880)       = 0
stat64("/etc/ppp/ip-down", {st_mode=S_IFREG|0755, st_size=1729, ...}) = 0
pipe([10, 11])                          = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7d4a5a8) = 31311
close(11)                               = 0
read(10, "", 1)                         = 0
close(10)                               = 0
time([1111057216])                      = 1111057216
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<149>Mar 17 12:00:16 pppd[31215]"..., 56, 0) = 56
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
unlink("/var/run/ppp0.pid")             = 0
close(8)                                = 0
close(9)                                = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
ioctl(7, TIOCMBIC, [TIOCM_DTR])         = -1 EIO (Input/output error)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x8050950, [HUP INT USR2 TERM CHLD], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0


nanosleep({1, 0}, 0xbffff7b4)           = ? ERESTART_RESTARTBLOCK (To be 
restarted)
--- SIGCHLD (Child exited) @ 0 (0) ---
sigreturn()                             = ? (mask now [])
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff8cc) = -1 EIO (Input/output 
error)
ioctl(7, SNDCTL_TMR_CONTINUE or TCSETSF, {B115200 -opost -isig -icanon -echo 
...}) = -1 EIO (Input/output error)
close(7)                                = 0
unlink("/var/lock/LCK..his")            = 0
open("/var/lock/LCK..his", O_RDWR|O_CREAT|O_EXCL, 0644) = 7
getpid()                                = 31215
write(7, "     31215\n", 11)            = 11
close(7)                                = 0
open("/dev/his", O_RDWR|O_NONBLOCK)     = 7
--- SIGHUP (Hangup) @ 0 (0) ---
time([1111057216])                      = 1111057216
--- SIGCONT (Continued) @ 0 (0) ---
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 12:00:16 pppd[31215]"..., 49, 0) = 49
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
sigreturn()                             = ? (mask now [])
fcntl64(7, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR)             = 0
ioctl(7, TIOCMBIS, [TIOCM_DTR])         = -1 EIO (Input/output error)
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff86c) = -1 EIO (Input/output 
error)
open("/dev/his", O_RDWR)                = 8


close(8)                                = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
ioctl(7, TIOCEXCL, 0)                   = -1 EIO (Input/output error)
ioctl(7, TIOCSETD, [3])                 = -1 EIO (Input/output error)
ioctl(7, PPPIOCGCHAN, 0x8085504)        = -1 EIO (Input/output error)
time([1111057223])                      = 1111057223
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<147>Mar 17 12:00:23 pppd[31215]"..., 81, 0) = 81
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
ioctl(7, TIOCSETD, [0])                 = -1 EIO (Input/output error)
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
ioctl(7, TIOCMBIC, [TIOCM_DTR])         = -1 EIO (Input/output error)
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x8050950, [HUP INT USR2 TERM CHLD], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
close(7)                                = 0
unlink("/var/lock/LCK..his")            = 0
open("/var/lock/LCK..his", O_RDWR|O_CREAT|O_EXCL, 0644) = 7
getpid()                                = 31215
write(7, "     31215\n", 11)            = 11
close(7)                                = 0
open("/dev/his", O_RDWR|O_NONBLOCK)     = 7
fcntl64(7, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR)             = 0
ioctl(7, TIOCMBIS, [TIOCM_DTR])         = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo 
...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo 
...}) = 0
ioctl(7, SNDCTL_TMR_CONTINUE or TCSETSF, {B115200 -opost -isig -icanon -echo 
...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo 
...}) = 0
open("/dev/his", O_RDWR)                = 8
close(8)                                = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
ioctl(7, TIOCEXCL, 0)                   = 0
ioctl(7, TIOCSETD, [3])                 = 0
ioctl(7, PPPIOCGCHAN, 0x8085504)        = 0
open("/dev/ppp", O_RDWR)                = 8
fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0
ioctl(8, PPPIOCATTCHAN, 0x8085504)      = 0
fcntl64(8, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(8, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
open("/dev/ppp", O_RDWR)                = 9
fcntl64(9, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
ioctl(9, PPPIOCNEWUNIT, 0x8087c48)      = 0
ioctl(8, PPPIOCCONNECT, 0x8087c48)      = 0
ioctl(9, PPPIOCSDEBUG, 0xbffff940)      = 0
ioctl(8, JFFS_PRINT_HASH or PPPIOCGFLAGS, 0xbffff948) = 0
ioctl(8, PPPIOCSFLAGS, 0xbffff948)      = 0
getpid()                                = 31215
time([1111057245])                      = 1111057245
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 12:00:45 pppd[31215]"..., 54, 0) = 54
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
getpid()                                = 31215
open("/var/run/ppp0.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe6000
write(10, "31215\n", 6)                 = 6
close(10)                               = 0
munmap(0xb7fe6000, 4096)                = 0
getpid()                                = 31215
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
time([1111057245])                      = 1111057245
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<149>Mar 17 12:00:45 pppd[31215]"..., 61, 0) = 61
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
gettimeofday({1111057245, 24596}, NULL) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
ioctl(8, PPPIOCSXASYNCMAP, 0x808db60)   = 0
ioctl(8, PPPIOCSASYNCMAP, 0xbffff934)   = 0
ioctl(8, JFFS_PRINT_HASH or PPPIOCGFLAGS, 0xbffff8f8) = 0
ioctl(8, PPPIOCSFLAGS, 0xbffff8f8)      = 0
ioctl(8, PPPIOCSMRU, 0xbffff930)        = 0
ioctl(9, PPPIOCSMRU, 0xbffff930)        = 0
ioctl(8, PPPIOCSRASYNCMAP, 0xbffff934)  = 0
open("/etc/ppp/pap-secrets", O_RDONLY)  = 10
fstat64(10, {st_mode=S_IFREG|0600, st_size=1728, ...}) = 0
fstat64(10, {st_mode=S_IFREG|0600, st_size=1728, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe6000
read(10, "#\n# /etc/ppp/pap-secrets\n#\n# Thi"..., 4096) = 1728
read(10, "", 4096)                      = 0
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0xb7fe6000, 4096)                = 0
open("/etc/ppp/chap-secrets", O_RDONLY) = 10
fstat64(10, {st_mode=S_IFREG|0600, st_size=78, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe6000
read(10, "# Secrets for authentication usi"..., 4096) = 78
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0xb7fe6000, 4096)                = 0
open("/etc/ppp/srp-secrets", O_RDONLY)  = -1 ENOENT (No such file or directory)
write(8, "\300!\1\6\0\24\2\6\0\0\0\0\5\6q\20\7\256\7\2\10\2", 22) = 22
gettimeofday({1111057245, 25704}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057245, 25779}, NULL) = 0
waitpid(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], WNOHANG) = 31311
waitpid(-1, 0xbffff938, WNOHANG)        = -1 ECHILD (No child processes)
read(8, 0x8087562, 1502)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(9, 0x8087562, 1502)                = -1 EAGAIN (Resource temporarily 
unavailable)
write(8, "\300!\5\7\0\20User request", 18) = 18
gettimeofday({1111057245, 25900}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057245, 25969}, NULL) = 0
select(10, [8 9], NULL, [8 9], {2, 999931}) = 1 (in [8], left {2, 974000})
gettimeofday({1111057245, 51357}, NULL) = 0
read(8, "\300!\1\1\0\34\1\4\6x\2\6\0\0\0\0\3\4\300#\5\6I\246\344"..., 1502) = 30
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057245, 52659}, NULL) = 0
select(10, [8 9], NULL, [8 9], {2, 973241}) = 1 (in [8], left {0, 956000})
gettimeofday({1111057247, 73186}, NULL) = 0
read(8, "\300!\1\2\0\34\1\4\6x\2\6\0\0\0\0\3\4\300#\5\6\244\\\225"..., 1502) = 
30
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057247, 74499}, NULL) = 0
select(10, [8 9], NULL, [8 9], {0, 951401}) = 0 (Timeout)
gettimeofday({1111057248, 28995}, NULL) = 0
write(8, "\300!\5\10\0\20User request", 18) = 18
gettimeofday({1111057248, 29119}, NULL) = 0
gettimeofday({1111057248, 29147}, NULL) = 0
read(8, 0x8087562, 1502)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(9, 0x8087562, 1502)                = -1 EAGAIN (Resource temporarily 
unavailable)
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057248, 29349}, NULL) = 0
select(10, [8 9], NULL, [8 9], {2, 999770}) = 1 (in [8], left {2, 977000})
gettimeofday({1111057248, 51903}, NULL) = 0
read(8, "\300!\6\10\0\20User reqerer", 1502) = 18
time([1111057248])                      = 1111057248
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<149>Mar 17 12:00:48 pppd[31215]"..., 56, 0) = 56
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
unlink("/var/run/ppp0.pid")             = 0
ioctl(8, JFFS_PRINT_HASH or PPPIOCGFLAGS, 0xbffff970) = 0
ioctl(7, TCFLSH, 0x2)                   = 0
ioctl(7, TIOCSETD, [0])                 = 0
ioctl(7, TIOCNXCL, 0)                   = 0
close(8)                                = 0
close(9)                                = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
ioctl(7, TIOCMBIC, [TIOCM_DTR])         = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {0x8050950, [HUP INT USR2 TERM CHLD], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({1, 0}, {1, 0})               = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo 
...}) = 0
ioctl(7, SNDCTL_TMR_CONTINUE or TCSETSF, {B115200 -opost -isig -icanon -echo 
...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo 
...}) = 0
close(7)                                = 0
unlink("/var/lock/LCK..his")            = 0
open("/var/lock/LCK..his", O_RDWR|O_CREAT|O_EXCL, 0644) = 7
getpid()                                = 31215
write(7, "     31215\n", 11)            = 11
close(7)                                = 0
open("/dev/his", O_RDWR|O_NONBLOCK)     = 7
fcntl64(7, F_GETFL)                     = 0x802 (flags O_RDWR|O_NONBLOCK)
fcntl64(7, F_SETFL, O_RDWR)             = 0
ioctl(7, TIOCMBIS, [TIOCM_DTR])         = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo 
...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo 
...}) = 0
ioctl(7, SNDCTL_TMR_CONTINUE or TCSETSF, {B115200 -opost -isig -icanon -echo 
...}) = 0
ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B115200 -opost -isig -icanon -echo 
...}) = 0
open("/dev/his", O_RDWR)                = 8
close(8)                                = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1020, len=1}) = 0
ioctl(7, TIOCEXCL, 0)                   = 0
ioctl(7, TIOCSETD, [3])                 = 0
ioctl(7, PPPIOCGCHAN, 0x8085504)        = 0
open("/dev/ppp", O_RDWR)                = 8
fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0
ioctl(8, PPPIOCATTCHAN, 0x8085504)      = 0
fcntl64(8, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(8, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
open("/dev/ppp", O_RDWR)                = 9
fcntl64(9, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(9, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
ioctl(9, PPPIOCNEWUNIT, 0x8087c48)      = 0
ioctl(8, PPPIOCCONNECT, 0x8087c48)      = 0
ioctl(9, PPPIOCSDEBUG, 0xbffff940)      = 0
ioctl(8, JFFS_PRINT_HASH or PPPIOCGFLAGS, 0xbffff948) = 0
ioctl(8, PPPIOCSFLAGS, 0xbffff948)      = 0
getpid()                                = 31215
time([1111057249])                      = 1111057249
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<150>Mar 17 12:00:49 pppd[31215]"..., 54, 0) = 54
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1284, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
getpid()                                = 31215
open("/var/run/ppp0.pid", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 10
fstat64(10, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe6000
write(10, "31215\n", 6)                 = 6
close(10)                               = 0
munmap(0xb7fe6000, 4096)                = 0
getpid()                                = 31215
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1020, len=1}) = 0
time([1111057249])                      = 1111057249
getpid()                                = 31215
rt_sigaction(SIGPIPE, {0xb7e1f240, [], 0}, {SIG_IGN}, 8) = 0
send(3, "<149>Mar 17 12:00:49 pppd[31215]"..., 61, 0) = 61
rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
gettimeofday({1111057249, 156254}, NULL) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=1328, len=1}) = 0
fcntl64(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=1328, len=1}) = 0
ioctl(8, PPPIOCSXASYNCMAP, 0x808db60)   = 0
ioctl(8, PPPIOCSASYNCMAP, 0xbffff934)   = 0
ioctl(8, JFFS_PRINT_HASH or PPPIOCGFLAGS, 0xbffff8f8) = 0
ioctl(8, PPPIOCSFLAGS, 0xbffff8f8)      = 0
ioctl(8, PPPIOCSMRU, 0xbffff930)        = 0
ioctl(9, PPPIOCSMRU, 0xbffff930)        = 0
ioctl(8, PPPIOCSRASYNCMAP, 0xbffff934)  = 0
open("/etc/ppp/pap-secrets", O_RDONLY)  = 10
fstat64(10, {st_mode=S_IFREG|0600, st_size=1728, ...}) = 0
fstat64(10, {st_mode=S_IFREG|0600, st_size=1728, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe6000
read(10, "#\n# /etc/ppp/pap-secrets\n#\n# Thi"..., 4096) = 1728
read(10, "", 4096)                      = 0
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0xb7fe6000, 4096)                = 0
open("/etc/ppp/chap-secrets", O_RDONLY) = 10
fstat64(10, {st_mode=S_IFREG|0600, st_size=78, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fe6000
read(10, "# Secrets for authentication usi"..., 4096) = 78
read(10, "", 4096)                      = 0
close(10)                               = 0
munmap(0xb7fe6000, 4096)                = 0
open("/etc/ppp/srp-secrets", O_RDONLY)  = -1 ENOENT (No such file or directory)
write(8, "\300!\1\t\0\24\2\6\0\0\0\0\5\6z\201\361G\7\2\10\2", 22) = 22
gettimeofday({1111057249, 157024}, NULL) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057249, 157097}, NULL) = 0
select(10, [8 9], NULL, [8 9], {2, 999927}) = 1 (in [8], left {2, 975000})
gettimeofday({1111057249, 181718}, NULL) = 0
read(8, "\300!\1\1\0\34\1\4\6x\2\6\0\0\0\0\3\4\300#\5\6\261P\30"..., 1502) = 30
write(8, "\300!\4\1\0\10\27\4\0\0", 10) = 10
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057249, 186144}, NULL) = 0
select(10, [8 9], NULL, [8 9], {2, 970880}) = 1 (in [8], left {2, 971000})
gettimeofday({1111057249, 215286}, NULL) = 0
read(8, "\300!\1\2\0\30\1\4\6x\2\6\0\0\0\0\3\4\300#\5\6\261P\30"..., 1502) = 26
write(8, "\300!\2\2\0\30\1\4\6x\2\6\0\0\0\0\3\4\300#\5\6\261P\30"..., 26) = 26
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigprocmask(SIG_BLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [HUP INT USR2 TERM CHLD], NULL, 8) = 0
gettimeofday({1111057249, 219435}, NULL) = 0
select(10, [8 9], NULL, [8 9], {2, 937589}

Reply via email to