Open GoogleCodeExporter opened 9 years ago
Hi,
I think that the pppd must be called by the script inside etc/pppd. Can you do
it and
try again?
Original comment by michaelt...@gmail.com
on 9 Jan 2010 at 10:54
Can you try this patch?
Original comment by michaelt...@gmail.com
on 9 Jan 2010 at 11:02
Attachments:
Hi,
just calling the script from the shell did not work for me
# /etc/ppp/init.gprs-pppd
/etc/ppp/init.gprs-pppd: permission denied
# /system/bin/sh /etc/ppp/init.gprs-pppd
FIX ME! implement ttyname() bionic/libc/bionic/stubs.c:360
/system/xbin/pppd: no device specified and stdin is not a tty
next i will try the patch.
Original comment by stefan-s...@web.de
on 9 Jan 2010 at 11:38
chmod +x
Original comment by michaelt...@gmail.com
on 9 Jan 2010 at 5:57
# ls -l /etc/ppp
-rw-r--r-- root root 453 2010-01-07 15:48 init.gprs-pppd
-r-xr-xr-x root root 279 2010-01-07 15:48 ip-up
# chmod +x /etc/ppp/init.gprs-pppd
Bad mode
# chmod 755 /etc/ppp/init.gprs-pppd
Unable to chmod /etc/ppp/init.gprs-pppd: Read-only file system
the patch works, but the pppd still gets a connection timeout sometimes and is
not
restarted. i would use the pppd option "persist", but it is not used in
/data/ppp/options.gprs. where do i find the state machine controlling the gprs
connection?
Original comment by stefan-s...@web.de
on 9 Jan 2010 at 9:39
Ok,
you must change the freerunner-ril.c file and add to the function
static void writePppOptions(int channel, const char *tty_path,
const char *username, const char *password)
the persits flag
Michael
Original comment by michaelt...@gmail.com
on 10 Jan 2010 at 11:30
Original comment by hmu...@gmail.com
on 24 Jan 2010 at 10:50
Hi,
can you try this change?
Original comment by michaelt...@gmail.com
on 2 Feb 2010 at 3:47
Attachments:
Hi,
Still an issue in RC1.
Thx
Original comment by v4mpyr8...@gmail.com
on 15 Mar 2010 at 12:24
What is the ttyname.. I get the same error when running pppd and pppd-ril,
abybody knows why??
Original comment by jpv...@gmail.com
on 27 Apr 2010 at 10:23
What is the ttyname.. I get the same error when running pppd and pppd-ril,
abybody knows why??
What does this mean:
# ls -l /etc/ppp/peers/
lrwxrwxrwx root root 2010-04-27 17:56 pppd-ril.options ->
/sdcard/pppd-ril.options
Original comment by jpv...@gmail.com
on 27 Apr 2010 at 10:26
Why Do I get:
# ls -l etc/ppp/peers/
-rw-rw-rw- shell shell 589 2010-04-27 19:55 pppd-ril.options
How can I change the shell to root??
Original comment by jpv...@gmail.com
on 29 Apr 2010 at 12:56
Hi,
Can you post all the steps you took in order to make ppp work on your plateform
please?
Original comment by ferre.ad...@gmail.com
on 1 Jun 2011 at 9:41
For me the GPRS connection is also very unstable and does almost never work.
init.gta02.rc executes
/system/etc/ppp/init.gprs-pppd debug file /data/ppp/options.gprs
the device is /dev/pts/1 as given in /data/ppp/options.gprs
But just executing this line does not reestablish the GPRS connection.
The only solution is restarting the device several times until it works (for a
short time)
Original comment by patbue...@gmail.com
on 19 Jul 2011 at 10:09
Original issue reported on code.google.com by
stefan-s...@web.de
on 8 Jan 2010 at 1:49Attachments: