download the script ppp-off from http://www.uni-mannheim.de/rumlocal/netze/modem/linux.html
and execute it to disconnect the ppp. turn off the modem with the commands setbits -p b -b 7 -s 1 setbits -p b -b 7 -s 0 i hope this will help you greez --- In [email protected], "cchechio" <[EMAIL PROTECTED]> wrote: > > fox lx 416 > fox gm > > in C language i type > > system("/etc/ppp/ppp-start") > > to connect. > ... > Jan 1 01:41:42 myfox pppd[328]: local IP address 217.201.130.125 > Jan 1 01:41:42 myfox pppd[328]: remote IP address 192.168.202.16 > > All ok , now the web server answer. > > My question is : how can i disconnect ? > > i have used in C language > system("/etc/ppp/gprs-disconnect") > but i receive: > > /etc/ppp/gprs-disconnect: 1: ABORT: not found > /etc/ppp/gprs-disconnect: 2: ABORT: not found > /etc/ppp/gprs-disconnect: 3: ABORT: not found > /etc/ppp/gprs-disconnect: 4: TIMEOUT: not found > /etc/ppp/gprs-disconnect: 5: : Permission denied > /etc/ppp/gprs-disconnect: 6: SAY: not found > /etc/ppp/gprs-disconnect: 7: NO CARRIER: not found > /etc/ppp/gprs-disconnect: 8: SAY: not found > /etc/ppp/gprs-disconnect: 9: OK: not found > /etc/ppp/gprs-disconnect: 10: SAY: not found > /etc/ppp/gprs-disconnect: 11: OK: not found > /etc/ppp/gprs-disconnect: 12: SAY: not found > > > what is the problem ? >
