Tiny Core Extensions > TCE Q&A Forum

How to get pppsetup to work ?

(1/5) > >>

pema:
Tried a new toy, pppsetup, cant get it to work though. Running from menu gives after a while "cant execute /usr/local/sbin/pppsetup", and calling pppsetup from term gives "./pppsetup not found". Further problems - Im trying to start modem via ppp and following instructions in pppsetup readme: command "grep -i ppp" gives "file not found" and ther is no ppp modules in /lib/modules/2.6xxxtc/kernel. I do have ppp, pppd and pppsetup in my local bin/sbin and tc reports loading pppd and pppsetup at boot from my tce.
Not successfull with establishing modem connection, cant figure out why, /var/log/messages only reporting "connect script failed" 60 seconds(the timeout is 60s in my script) after command "sudo pppd call tre", no more info than that. Also messing with how to add /etc/ppp to my backup (tclocal or mydata.zip ?).
Running rc9 which is described to support usb 3g dongles. This post is continuation of the thread I borrowed "usb-serial" in tc QnA.

^thehatsrule^:
Are you using the extension pppsetup.tc{e,z}?

Jason W:
For starters I forgot to add bash.tce to the .dep file of pppsetup.tce so it would be loaded as pppsetup is a bash script.  I will add it.  Ppp is built into the kernel so kernel modules should not be needed. 

Pppsetup worked for a standard null modem connected to /dev/ttyS0.  I'm sorry I can't be of any help when it comes to USB modems and such.

To back up /etc/ppp, just open /opt/.filetool.lst and add etc/ppp to the list.

pema:
Yes, works when added bash. A minor detail : The script ppp-go is installed at /usr/sbin whilst the other scripts are installed at /usr/local/..., so the ppp-go starting script is not backed up with the others in the tclocal. For the 3g usb dongle I had to hack the scripts but it works.

Jason W:
I thought I had added into the script a check for /usr/local/sbin, creating it if not found, and then moving the finished ppp-go there.  But it seems I didn't.  Thanks for the catch, I added it in.

Navigation

[0] Message Index

[#] Next page

Go to full version