2009-04-28 10:02:48     Error when launching a script

Document created by Aaronwu Employee on Aug 15, 2013
Version 1Show Document
  • View in full screen mode

2009-04-28 10:02:48     Error when launching a script

Aymen Abdelwahed (TUNISIA)

Message: 73371   

 

Hi guys!!

 

I'm trying to execute a PPP's script which helps to launch a GPRS connection using GSM/GPRS module .(the command is : pppd call gprs). This works under Debian distribution but not under uClinux.

 

I have the following error :

 

___________________

 

ELF   : not found

Connect script failed

 

___________________

 

- Before lauching this script I enabled the PPP and the CHAT programs, I added the script to romfs directory and finally I re-compiled uClinux.

 

This is the script

 

____________________

 

lcp-echo-failure 0

lcp-echo-interval 0

nodetach

debug

show-password

connect /etc/ppp/peers/gprs-connect-chat

disconnect /etc/ppp/peers/gprs-disconnect-chat

/dev/ttyBF0

9600

crtscts

local

:10.0.0.1

noipx

noipdefault

ipcp-accept-local

defaultroute

usepeerdns

novj

nobsdcomp

novjccomp

nopcomp

noaccomp

noauth

asyncmap 0

nomagic

ipparam gprs

____________________

 

I can't understand the error's meaning..

 

With my best regards.

 

- Aymen

TranslateQuoteReplyEditDelete

 

 

2009-04-28 11:08:45     Re: Error when launching a script

Robin Getz (UNITED STATES)

Message: 73378   

 

Aymen:

 

It typically means a ELF library is not there.

 

run it through strace - and see what file is really missing.

 

-Robin

QuoteReplyEditDelete

 

 

2009-04-28 11:59:28     Re: Error when launching a script

Mike Frysinger (UNITED STATES)

Message: 73387   

 

scripts need the shebang as the first line

QuoteReplyEditDelete

 

 

2009-04-29 11:40:50     Re: Error when launching a script

Aymen Abdelwahed (TUNISIA)

Message: 73435   

 

Hi Mike!!

 

- This script is executed by the PPPDaemon(Point to Point Protocol), so the structure of this script should be understandable by the PPP. As I know, I shouldn't use a shebang at the beginning of the script.

 

I tested this script using Ubuntu and this works perfectly and connect to GPRS network.

 

I also tried this script by adding a shebang as you said and I have the same error.

 

With my best regards.

TranslateQuoteReplyEditDelete

 

 

2009-04-29 11:43:28     Re: Error when launching a script

Aymen Abdelwahed (TUNISIA)

Message: 73436   

 

HI!!

 

I executed "strace pppd call gprs" and I have the following as a result :

___________________________________________________________________________________

 

root:/> strace pppd call gprs

ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 opost isig icanon echo ...}) = 0

ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 opost isig icanon echo ...}) = 0

socket(PF_FILE, SOCK_DGRAM, 0)          = 3                                  

connect(3, {sa_family=AF_FILE, path="/dev/log"}, 10) = 0                     

uname({sys="Linux", node="blackfin", ...}) = 0                               

umask(0777)                             = 022                                

umask(022)                              = 0777                               

getuid32()                              = 0                                  

getgroups32(65536, [])                  = 0                                  

gettimeofday({2002277, 10293}, NULL)    = 0                                  

getpid()                                = 286                                

geteuid32()                             = 0                                  

open("/etc/ppp/options", O_RDONLY)      = 4                                  

ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x35964ac) = -1 ENOTTY (Inappropriate ioctl for device)                                                               

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_ANONYMOUS|0x4000000, 0, 0) = 0x319e000                                                                 

read(4, "lock\n", 256)                  = 5                                   

read(4, "", 256)                        = 0                                   

close(4)                                = 0                                   

getuid32()                              = 0                                   

open("/etc/passwd", O_RDONLY)           = 4                                   

ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x3596c70) = -1 ENOTTY (Inappropriate ioctl for device)                                                               

read(4, "root:C7O0oWtNuGHNE:0:0:root:/roo"..., 256) = 66                      

close(4)                                = 0                                   

geteuid32()                             = 0                                   

getuid32()                              = 0                                   

setresuid32(-1, 0, -1)                  = 0                                   

open("/root/.ppprc", O_RDONLY)          = -1 ENOENT (No such file or directory)

setresuid32(-1, 0, -1)                  = 0                                   

geteuid32()                             = 0                                   

getuid32()                              = 0                                   

setresuid32(-1, 0, -1)                  = 0                                   

open("/etc/ppp/peers/gprs", O_RDONLY)   = 4                                   

ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x3596418) = -1 ENOTTY (Inappropriate ioctl for device)                                                               

setresuid32(-1, 0, -1)                  = 0                                   

read(4, "lcp-echo-failure 0\r\nlcp-echo-int"..., 256) = 256                   

stat("/dev/ttyBF0", {st_mode=S_IFCHR|0660, st_rdev=makedev(204, 64), ...}) = 0

stat("/dev/ttyBF0", {st_mode=S_IFCHR|0660, st_rdev=makedev(204, 64), ...}) = 0

stat("/dev/9600", 0x3595410)            = -1 ENOENT (No such file or directory)

stat("/dev/:10.0.0.1", 0x3595410)       = -1 ENOENT (No such file or directory)

read(4, "ute\r\n#replacedefaultroute\r\nusepe"..., 256) = 196                 

read(4, "", 256)                        = 0                                   

close(4)                                = 0                                   

geteuid32()                             = 0                                   

open("/etc/ppp/options.ttyBF0", O_RDONLY) = -1 ENOENT (No such file or directory)                                                                             

geteuid32()                             = 0                                   

uname({sys="Linux", node="blackfin", ...}) = 0                                

open("/dev/ppp", O_RDWR)                = 4                                   

close(4)                                = 0                                   

fstat(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0            

fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0            

open("/dev/null", O_RDWR)               = 4                                   

socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 5                                   

open("/var/run/pppd2.tdb", O_RDWR|O_CREAT, 0644) = 6                          

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=1}) = 0       

read(6, "TDB file\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 168) = 168

fstat(6, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0                       

mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_SHARED, 6, 0) = -1 ENOMEM (Cannot allocate memory)                                                                

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=1}) = 0       

getpid()                                = 286                                 

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=508, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0000\35\0\0\f\0\0\0\7\0\0\0\315\310ZWf\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

write(6, "\0\0\0\0\30\0\0\0\f\0\0\0\7\0\0\0\315\310ZW\231\31\1&", 24) = 24    

lseek(6, 740, SEEK_SET)                 = 740                                 

write(6, "0\0\0\0", 4)                  = 4                                   

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "\30\35\0\0", 4)               = 4                                   

lseek(6, 740, SEEK_SET)                 = 740                                 

read(6, "0\0\0\0", 4)                   = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0\30\0\0\0\f\0\0\0\7\0\0\0\315\310ZW\231\31\1&", 24) = 24     

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "\30\35\0\0", 4)               = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 744, SEEK_SET)                 = 744                                 

write(6, "\0\0\0\0\0\35\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\350\2\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

write(6, "\0\0\0\0\30\0\0\0\7\0\0\0\v\0\0\0\\a\200\217\231\31\1&"..., 24) = 24

lseek(6, 720, SEEK_SET)                 = 720                                 

write(6, "pppd286ORIG_UID=0\0", 18)     = 18                                  

lseek(6, 512, SEEK_SET)                 = 512                                 

write(6, "\270\2\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=508, len=1}) = 0     

open("/etc/passwd", O_RDONLY)           = 7                                   

ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, 0x3596c98) = -1 ENOTTY (Inappropriate ioctl for device)                                                               

read(7, "root:C7O0oWtNuGHNE:0:0:root:/roo"..., 256) = 66                      

close(7)                                = 0                                   

rt_sigaction(SIGPIPE, {0x352134c, [], 0}, {SIG_IGN}, 8) = 0                   

time([2002277])                         = 2002277                             

getpid()                                = 286                                 

write(3, "<29>Jan 24 04:11:17 pppd[286]: p"..., 65) = 65                      

rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0                                 

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=508, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0\30\0\0\0\7\0\0\0\v\0\0\0\\a\200\217\231\31\1&"..., 24) = 24 

lseek(6, 720, SEEK_SET)                 = 720                                 

read(6, "pppd286", 7)                   = 7                                   

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0\30\0\0\0\7\0\0\0\v\0\0\0\\a\200\217\231\31\1&"..., 24) = 24 

lseek(6, 720, SEEK_SET)                 = 720                                 

read(6, "pppd286", 7)                   = 7                                   

fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=696, len=1}) = 0      

fcntl(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=696, len=1}) = 0      

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 512, SEEK_SET)                 = 512                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 740, SEEK_SET)                 = 740                                 

write(6, "0\0\0\0", 4)                  = 4                                   

lseek(6, 744, SEEK_SET)                 = 744                                 

read(6, "\0\0\0\0\0\35\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24 

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\350\2\0\0", 4)                = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "H\35\0\0", 4)                 = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

write(6, "\0\0\0\0000\35\0\0\7\0\0\0\v\0\0\0\\a\200\217f\346\376"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\270\2\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0000\35\0\0\7\0\0\0\v\0\0\0\\a\200\217f\346\376"..., 24) = 24 

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

write(6, "\0\0\0\0(\0\0\0\7\0\0\0\v\0\0\0\\a\200\217\231\31\1&", 24) = 24     

lseek(6, 756, SEEK_SET)                 = 756                                 

write(6, "@\0\0\0", 4)                  = 4                                   

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "\10\35\0\0", 4)               = 4                                   

lseek(6, 756, SEEK_SET)                 = 756                                 

read(6, "@\0\0\0", 4)                   = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0(\0\0\0\7\0\0\0\v\0\0\0\\a\200\217\231\31\1&", 24) = 24      

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "\10\35\0\0", 4)               = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 760, SEEK_SET)                 = 760                                 

write(6, "\0\0\0\0\360\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\370\2\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

write(6, "\0\0\0\0(\0\0\0\7\0\0\0\33\0\0\0\\a\200\217\231\31\1&", 24) = 24    

lseek(6, 720, SEEK_SET)                 = 720                                 

write(6, "pppd286ORIG_UID=0;PPPLOGNAME=roo"..., 34) = 34                      

lseek(6, 512, SEEK_SET)                 = 512                                 

write(6, "\270\2\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=508, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=376, len=1}) = 0     

lseek(6, 380, SEEK_SET)                 = 380                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 380, SEEK_SET)                 = 380                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\370\2\0\0", 4)                = 4                                   

lseek(6, 760, SEEK_SET)                 = 760                                 

read(6, "\0\0\0\0\360\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

lseek(6, 760, SEEK_SET)                 = 760                                 

write(6, "\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\231\31\1&", 24) = 24        

lseek(6, 812, SEEK_SET)                 = 812                                 

write(6, "8\0\0\0", 4)                  = 4                                   

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "\320\34\0\0", 4)              = 4                                   

lseek(6, 812, SEEK_SET)                 = 812                                 

read(6, "8\0\0\0", 4)                   = 4                                   

lseek(6, 760, SEEK_SET)                 = 760                                 

read(6, "\0\0\0\0 \0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\231\31\1&", 24) = 24         

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "\320\34\0\0", 4)              = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

write(6, "\0\0\0\0\270\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "0\3\0\0", 4)                  = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 380, SEEK_SET)                 = 380                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 760, SEEK_SET)                 = 760                                 

write(6, "\0\0\0\0 \0\0\0\22\0\0\0\7\0\0\0\5\366k\355\231\31\1&", 24) = 24    

lseek(6, 784, SEEK_SET)                 = 784                                 

write(6, "DEVICE=/dev/ttyBF0pppd286", 25) = 25                                

lseek(6, 380, SEEK_SET)                 = 380                                 

write(6, "\370\2\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=376, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=508, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0(\0\0\0\7\0\0\0\33\0\0\0\\a\200\217\231\31\1&", 24) = 24     

lseek(6, 720, SEEK_SET)                 = 720                                 

read(6, "pppd286", 7)                   = 7                                   

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0(\0\0\0\7\0\0\0\33\0\0\0\\a\200\217\231\31\1&", 24) = 24     

lseek(6, 720, SEEK_SET)                 = 720                                 

read(6, "pppd286", 7)                   = 7                                   

fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=696, len=1}) = 0      

fcntl(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=696, len=1}) = 0      

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 512, SEEK_SET)                 = 512                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 756, SEEK_SET)                 = 756                                 

write(6, "@\0\0\0", 4)                  = 4                                   

lseek(6, 760, SEEK_SET)                 = 760                                 

read(6, "\0\0\0\0 \0\0\0\22\0\0\0\7\0\0\0\5\366k\355\231\31\1&", 24) = 24     

lseek(6, 756, SEEK_SET)                 = 756                                 

write(6, "@\0\0\0", 4)                  = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "0\3\0\0", 4)                   = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

write(6, "0\3\0\0(\0\0\0\7\0\0\0\33\0\0\0\\a\200\217f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\270\2\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "0\3\0\0(\0\0\0\7\0\0\0\33\0\0\0\\a\200\217f\346\376\331"..., 24) = 24

lseek(6, 816, SEEK_SET)                 = 816                                 

read(6, "\0\0\0\0\270\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 696, SEEK_SET)                 = 696                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

write(6, "\0\0\0\0<\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\231\31\1&", 24) = 24        

lseek(6, 896, SEEK_SET)                 = 896                                 

write(6, "T\0\0\0", 4)                  = 4                                   

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "|\34\0\0", 4)                 = 4                                   

lseek(6, 896, SEEK_SET)                 = 896                                 

read(6, "T\0\0\0", 4)                   = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

read(6, "\0\0\0\0<\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\231\31\1&", 24) = 24         

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "|\34\0\0", 4)                 = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 900, SEEK_SET)                 = 900                                 

write(6, "\270\2\0\0d\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\204\3\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

write(6, "\0\0\0\0<\0\0\0\7\0\0\0.\0\0\0\\a\200\217\231\31\1&", 24) = 24      

lseek(6, 840, SEEK_SET)                 = 840                                 

write(6, "pppd286ORIG_UID=0;PPPLOGNAME=roo"..., 53) = 53                      

lseek(6, 512, SEEK_SET)                 = 512                                 

write(6, "0\3\0\0", 4)                  = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=508, len=1}) = 0     

getpid()                                = 286                                 

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=428, len=1}) = 0     

lseek(6, 432, SEEK_SET)                 = 432                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 432, SEEK_SET)                 = 432                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\204\3\0\0", 4)                = 4                                   

lseek(6, 900, SEEK_SET)                 = 900                                 

read(6, "\270\2\0\0d\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\270\2\0\0", 4)               = 4                                   

lseek(6, 900, SEEK_SET)                 = 900                                 

write(6, "\270\2\0\0\30\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\231\31\1&", 24) = 24    

lseek(6, 944, SEEK_SET)                 = 944                                 

write(6, "0\0\0\0", 4)                  = 4                                   

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "L\34\0\0", 4)                 = 4                                   

lseek(6, 944, SEEK_SET)                 = 944                                 

read(6, "0\0\0\0", 4)                   = 4                                   

lseek(6, 900, SEEK_SET)                 = 900                                 

read(6, "\270\2\0\0\30\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\231\31\1&", 24) = 24     

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "L\34\0\0", 4)                 = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

write(6, "\270\2\0\0004\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24                                                                             

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\264\3\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 432, SEEK_SET)                 = 432                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 900, SEEK_SET)                 = 900                                 

write(6, "\0\0\0\0\30\0\0\0\f\0\0\0\7\0\0\0\245\233\27\274\231\31"..., 24) = 24

lseek(6, 924, SEEK_SET)                 = 924                                 

write(6, "PPPD_PID=286pppd286", 19)     = 19                                  

lseek(6, 432, SEEK_SET)                 = 432                                 

write(6, "\204\3\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=428, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=508, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "0\3\0\0", 4)                   = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

read(6, "\0\0\0\0<\0\0\0\7\0\0\0.\0\0\0\\a\200\217\231\31\1&", 24) = 24       

lseek(6, 840, SEEK_SET)                 = 840                                 

read(6, "pppd286", 7)                   = 7                                   

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "0\3\0\0", 4)                   = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

read(6, "\0\0\0\0<\0\0\0\7\0\0\0.\0\0\0\\a\200\217\231\31\1&", 24) = 24       

lseek(6, 840, SEEK_SET)                 = 840                                 

read(6, "pppd286", 7)                   = 7                                   

fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=816, len=1}) = 0      

fcntl(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=816, len=1}) = 0      

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "0\3\0\0", 4)                   = 4                                   

lseek(6, 512, SEEK_SET)                 = 512                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 896, SEEK_SET)                 = 896                                 

write(6, "T\0\0\0", 4)                  = 4                                   

lseek(6, 900, SEEK_SET)                 = 900                                 

read(6, "\0\0\0\0\30\0\0\0\f\0\0\0\7\0\0\0\245\233\27\274\231\31"..., 24) = 24

lseek(6, 812, SEEK_SET)                 = 812                                 

read(6, "8\0\0\0", 4)                   = 4                                   

lseek(6, 760, SEEK_SET)                 = 760                                 

read(6, "\0\0\0\0 \0\0\0\22\0\0\0\7\0\0\0\5\366k\355\231\31\1&", 24) = 24     

lseek(6, 896, SEEK_SET)                 = 896                                 

write(6, "T\0\0\0", 4)                  = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

write(6, "\264\3\0\0<\0\0\0\7\0\0\0.\0\0\0\\a\200\217f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "0\3\0\0", 4)                  = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "0\3\0\0", 4)                   = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

read(6, "\264\3\0\0<\0\0\0\7\0\0\0.\0\0\0\\a\200\217f\346\376\331"..., 24) = 24

lseek(6, 948, SEEK_SET)                 = 948                                 

read(6, "\270\2\0\0004\34\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 816, SEEK_SET)                 = 816                                 

write(6, "\270\2\0\0", 4)               = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

write(6, "\270\2\0\0H\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\231\31\1&", 24) = 24      

lseek(6, 1040, SEEK_SET)                = 1040                                

write(6, "`\0\0\0", 4)                  = 4                                   

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "\354\33\0\0", 4)              = 4                                   

lseek(6, 1040, SEEK_SET)                = 1040                                

read(6, "`\0\0\0", 4)                   = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

read(6, "\270\2\0\0H\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\231\31\1&", 24) = 24       

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "\354\33\0\0", 4)              = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "0\3\0\0", 4)                   = 4                                   

lseek(6, 1044, SEEK_SET)                = 1044                                

write(6, "0\3\0\0\324\33\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\24\4\0\0", 4)                = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\0\0\0\0", 4)                  = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

write(6, "\0\0\0\0H\0\0\0\7\0\0\0;\0\0\0\\a\200\217\231\31\1&", 24) = 24      

lseek(6, 972, SEEK_SET)                 = 972                                 

write(6, "pppd286ORIG_UID=0;PPPLOGNAME=roo"..., 66) = 66                      

lseek(6, 512, SEEK_SET)                 = 512                                 

write(6, "\264\3\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=508, len=1}) = 0     

rt_sigaction(SIGHUP, {0x35016b0, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0   

rt_sigaction(SIGINT, {0x3501654, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0   

rt_sigaction(SIGTERM, {0x3501654, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGCHLD, {0x3501620, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGUSR1, {0x35011a4, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGUSR2, {0x35015ec, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGABRT, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGALRM, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGFPE, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0   

rt_sigaction(SIGILL, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0   

rt_sigaction(SIGPIPE, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGQUIT, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGSEGV, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGBUS, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0   

rt_sigaction(SIGIO, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0    

rt_sigaction(SIGPROF, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGSYS, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0   

rt_sigaction(SIGTRAP, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGVTALRM, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0

rt_sigaction(SIGXCPU, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGXFSZ, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, NULL, 8) = 0  

rt_sigaction(SIGPIPE, {SIG_IGN}, {0x3501588, [HUP INT USR2 TERM CHLD], 0}, 8) = 0                                                                             

getpid()                                = 286                                 

gettimeofday({2002277, 309165}, NULL)   = 0                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=508, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

read(6, "\0\0\0\0H\0\0\0\7\0\0\0;\0\0\0\\a\200\217\231\31\1&", 24) = 24       

lseek(6, 972, SEEK_SET)                 = 972                                 

read(6, "pppd286", 7)                   = 7                                   

lseek(6, 979, SEEK_SET)                 = 979                                 

write(6, "ORIG_UID=0;PPPLOGNAME=root;DEVIC"..., 59) = 59                      

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=508, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=508, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

read(6, "\0\0\0\0H\0\0\0\7\0\0\0;\0\0\0\\a\200\217\231\31\1&", 24) = 24       

lseek(6, 972, SEEK_SET)                 = 972                                 

read(6, "pppd286", 7)                   = 7                                   

lseek(6, 979, SEEK_SET)                 = 979                                 

write(6, "ORIG_UID=0;PPPLOGNAME=root;DEVIC"..., 59) = 59                      

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=508, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=508, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

read(6, "\0\0\0\0H\0\0\0\7\0\0\0;\0\0\0\\a\200\217\231\31\1&", 24) = 24       

lseek(6, 972, SEEK_SET)                 = 972                                 

read(6, "pppd286", 7)                   = 7                                   

lseek(6, 979, SEEK_SET)                 = 979                                 

write(6, "ORIG_UID=0;PPPLOGNAME=root;DEVIC"..., 59) = 59                      

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=508, len=1}) = 0     

open("/var/lock/LCK..ttyBF0", O_RDWR|O_CREAT|O_EXCL, 0644) = 7                

getpid()                                = 286                                 

write(7, "       286\n", 11)            = 11                                  

close(7)                                = 0                                   

open("/dev/ttyBF0", O_RDWR|O_NONBLOCK)  = 7                                   

fcntl(7, F_GETFL)                       = 0x802 (flags O_RDWR|O_NONBLOCK)     

fcntl(7, F_SETFL, O_RDWR)               = 0                                   

ioctl(7, TIOCMBIS, [TIOCM_DTR])         = 0                                   

ioctl(7, SNDCTL_TMR_TIMEBASE or TCGETS, {B9600 -opost -isig -icanon -echo ...}) = 0                                                                           

ioctl(7, SNDCTL_TMR_CONTINUE or TCSETSF, {B9600 -opost -isig -icanon -echo ...}) = 0                                                                          

dup(4)                                  = 8                                   

close(8)                                = 0                                   

pipe([8, 9])                            = 0                                   

vfork()                                 = 287                                 

close(9)                                = 0                                   

read(8, "", 1)                          = 0                                   

close(8)                                = 0                                   

wait4(287, ELF: not found                                                     

[{WIFEXITED(s) && WEXITSTATUS(s) == 255}], 0, NULL) = 287                     

--- SIGCHLD (Child exited) @ 0 (0) ---                                        

rt_sigreturn(0)                         = 287                                 

rt_sigaction(SIGPIPE, {0x352134c, [], 0}, {SIG_IGN}, 8) = 0                   

socket(PF_FILE, SOCK_DGRAM, 0)          = 8                                   

connect(8, {sa_family=AF_FILE, path="/dev/log"}, 10) = 0                      

time([2002277])                         = 2002277                             

write(8, "<11>Jan 24 04:11:17 syslog: Conn"..., 50) = 50                      

rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0                                 

write(1, "Connect script failed", 21Connect script failed)   = 21             

write(1, "\n", 1                                                              

)                       = 1                                                   

unlink("/var/lock/LCK..ttyBF0")         = 0                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=508, len=1}) = 0     

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

read(6, "\0\0\0\0H\0\0\0\7\0\0\0;\0\0\0\\a\200\217\231\31\1&", 24) = 24       

lseek(6, 972, SEEK_SET)                 = 972                                 

read(6, "pppd286", 7)                   = 7                                   

fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=948, len=1}) = 0      

fcntl(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=948, len=1}) = 0      

lseek(6, 512, SEEK_SET)                 = 512                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 512, SEEK_SET)                 = 512                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 1040, SEEK_SET)                = 1040                                

write(6, "`\0\0\0", 4)                  = 4                                   

lseek(6, 1044, SEEK_SET)                = 1044                                

read(6, "0\3\0\0\324\33\0\0\0\0\0\0\0\0\0\0\0\0\0\0f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\24\4\0\0", 4)                 = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "0\3\0\0", 4)                  = 4                                   

lseek(6, 944, SEEK_SET)                 = 944                                 

read(6, "0\0\0\0", 4)                   = 4                                   

lseek(6, 900, SEEK_SET)                 = 900                                 

read(6, "\0\0\0\0\30\0\0\0\f\0\0\0\7\0\0\0\245\233\27\274\231\31"..., 24) = 24

lseek(6, 8188, SEEK_SET)                = 8188                                

write(6, "L\34\0\0", 4)                 = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "0\3\0\0", 4)                   = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

write(6, "0\3\0\0004\34\0\0\7\0\0\0;\0\0\0\\a\200\217f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\264\3\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=508, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=376, len=1}) = 0     

lseek(6, 380, SEEK_SET)                 = 380                                 

read(6, "\370\2\0\0", 4)                = 4                                   

lseek(6, 760, SEEK_SET)                 = 760                                 

read(6, "\0\0\0\0 \0\0\0\22\0\0\0\7\0\0\0\5\366k\355\231\31\1&", 24) = 24     

lseek(6, 784, SEEK_SET)                 = 784                                 

read(6, "DEVICE=/dev/ttyBF0", 18)       = 18                                  

fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=760, len=1}) = 0      

fcntl(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=760, len=1}) = 0      

lseek(6, 380, SEEK_SET)                 = 380                                 

read(6, "\370\2\0\0", 4)                = 4                                   

lseek(6, 380, SEEK_SET)                 = 380                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 812, SEEK_SET)                 = 812                                 

write(6, "8\0\0\0", 4)                  = 4                                   

lseek(6, 816, SEEK_SET)                 = 816                                 

read(6, "\270\2\0\0<\0\0\0\7\0\0\0.\0\0\0\\a\200\217f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

read(6, "0\3\0\0", 4)                   = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

write(6, "\270\2\0\0", 4)               = 4                                   

lseek(6, 756, SEEK_SET)                 = 756                                 

read(6, "@\0\0\0", 4)                   = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

read(6, "\0\0\0\0(\0\0\0\7\0\0\0\33\0\0\0\\a\200\217f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

read(6, "\270\2\0\0", 4)                = 4                                   

lseek(6, 948, SEEK_SET)                 = 948                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

lseek(6, 896, SEEK_SET)                 = 896                                 

write(6, "\314\0\0\0", 4)               = 4                                   

lseek(6, 168, SEEK_SET)                 = 168                                 

read(6, "\264\3\0\0", 4)                = 4                                   

lseek(6, 696, SEEK_SET)                 = 696                                 

write(6, "\264\3\0\0\264\0\0\0\22\0\0\0\7\0\0\0\5\366k\355f\346\376"..., 24) = 24                                                                             

lseek(6, 168, SEEK_SET)                 = 168                                 

write(6, "\270\2\0\0", 4)               = 4                                   

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=376, len=1}) = 0     

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=428, len=1}) = 0     

lseek(6, 432, SEEK_SET)                 = 432                                 

read(6, "\204\3\0\0", 4)                = 4                                   

lseek(6, 900, SEEK_SET)                 = 900                                 

read(6, "\0\0\0\0\30\0\0\0\f\0\0\0\7\0\0\0\245\233\27\274\231\31"..., 24) = 24

lseek(6, 924, SEEK_SET)                 = 924                                 

read(6, "PPPD_PID=286", 12)             = 12                                  

fcntl(6, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=900, len=1}) = 0      

fcntl(6, F_SETLK, {type=F_UNLCK, whence=SEEK_SET, start=900, len=1}) = 0      

lseek(6, 432, SEEK_SET)                 = 432                                 

read(6, "\204\3\0\0", 4)                = 4                                   

lseek(6, 432, SEEK_SET)                 = 432                                 

write(6, "\0\0\0\0", 4)                 = 4                                   

fcntl(6, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=164, len=1}) = 0     

lseek(6, 944, SEEK_SET)                 = 944

write(6, "0\0\0\0", 4)                  = 4

lseek(6, 948, SEEK_SET)                 = 948

read(6, "\0\0\0\0004\34\0\0\7\0\0\0;\0\0\0\\a\200\217f\346\376\331"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168

read(6, "\270\2\0\0", 4)                = 4

lseek(6, 696, SEEK_SET)                 = 696

read(6, "\264\3\0\0", 4)                = 4

lseek(6, 696, SEEK_SET)                 = 696

write(6, "\0\0\0\0", 4)                 = 4

lseek(6, 896, SEEK_SET)                 = 896

read(6, "\314\0\0\0", 4)                = 4

lseek(6, 696, SEEK_SET)                 = 696

read(6, "\0\0\0\0\264\0\0\0\22\0\0\0\7\0\0\0\5\366k\355f\346\376"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168

read(6, "\270\2\0\0", 4)                = 4

lseek(6, 168, SEEK_SET)                 = 168

write(6, "\0\0\0\0", 4)                 = 4

lseek(6, 8188, SEEK_SET)                = 8188

write(6, "H\35\0\0", 4)                 = 4

lseek(6, 168, SEEK_SET)                 = 168

read(6, "\0\0\0\0", 4)                  = 4

lseek(6, 696, SEEK_SET)                 = 696

write(6, "\0\0\0\0000\35\0\0\f\0\0\0\7\0\0\0\245\233\27\274f\346"..., 24) = 24

lseek(6, 168, SEEK_SET)                 = 168

write(6, "\270\2\0\0", 4)               = 4

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=164, len=1}) = 0

fcntl(6, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=428, len=1}) = 0

rt_sigaction(SIGPIPE, {0x352134c, [], 0}, {SIG_IGN}, 8) = 0

time([2002277])                         = 2002277

write(8, "<14>Jan 24 04:11:17 syslog: Exit"..., 34) = 34

rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0

_exit(8)                                = ?

Process 286 detached

___________________________________________________________________________________________

 

I think I have a problem with the UART!! In my case I configured the baudrate of the GSM/GPRS module to 9600. but uClinux works with 57600. Can this cause any problem when executing PPP Daemon??

 

Is /dev/ttyBF0 the default port used by uClinux?? Am I using the correct file??

 

Really thanks for all your helps and answers.

 

With my best regards.

 

-Aymen

TranslateQuoteReplyEditDelete

 

 

2009-04-29 13:20:56     Re: Error when launching a script

Mike Frysinger (UNITED STATES)

Message: 73445   

 

there is no such thing as "the default port" under Linux.  i dont know what the correct serial device is for your setup since *you're the one who set it up*.  you need to configure ppp to match whatever UART setup you've created.

 

what version of software (toolchain/kernel/dist/etc...) are you using exactly ?

QuoteReplyEditDelete

 

 

2009-04-30 06:59:03     Re: Error when launching a script

Aymen Abdelwahed (TUNISIA)

Message: 73484   

Hi Mike!

 

I'm using the version "2008 Release 1.5 RC3" for both of uClinux distribution and toolchain. My the Kernel's version is 2.6.

I created only one UART port for my uClinux.

 

As I know in uClinux, the "/dev/ttyBF0" matchs the first UART port. And in Debian distribution we use /dev/ttyS0 to indicate that we are going to use COM1. For this reason, I'm using the /dev/ttyBF0 port in the ppp script, but this doesn't work

 

Can uClinux lock this port for its owner use??

 

-Ayman

TranslateQuoteReplyEditDelete

 

 

2009-04-30 09:42:21     Re: Error when launching a script

Robin Getz (UNITED STATES)

Message: 73485   

 

Ayman:

 

I don't think you have have console= and ppp use the same UART.

 

we have run ppp on ttyBF0 - and it works well.

 

https://docs.blackfin.uclinux.org/doku.php?id=uclinux-dist:ppp

 

-Robin

Attachments

    Outcomes