The script seems to work
don't know why it fails then:
Quote:
daemon.warn pppd[88]: tcflush failed: Bad file escriptor
daemon.warn pppd[88]: tcsetattr: Invalid argument (line 1001)
|
look at the systems log-files for more info
add "
debug" to
/etc/ppp/options
if there is no useful info to be found in the logs
add te option "
noauth" to
/etc/ppp/options
because your provider will very likely not authenticate itself to you...
Or: use
wvdial (set up "stupid mode") to connect
my script (
/etc/wvdial.conf ) looks like this:
Code:
[Dialer Defaults]
Modem = /dev/rfcomm0
Stupid Mode = 1
DialCommand = ATDT
Init1 = AT&FE0V1&D2&C1S0=0
Init2 = AT+CGDCONT=1,"IP","internet.eplus.de"
Phone = *99***1#
Username = eplus
Password = gprs
adapt to your device
(I'm using /dev/rfcomm0 because I connect using bluetooth...),
your modem-init-string ( the Init1 )
and provider ( the Init2 ) as well as username and password.