Tiny Core Extensions > TCE Q&A Forum
How to get pppsetup to work ?
alex:
Ok, now works!! I think bash.tce file was corrupted.
Thanks!
mcewanw:
Though the default modem initialisation string worked fine for my hardware 56K modem on /dev/ttyS0, it didn't work at all with my pcmcia modem on /dev/ttyS1
I described my difficulties (and details of the changes I needed to make) in my post here:
http://forum.tinycorelinux.net/index.php?topic=311.msg5816#msg5816
In brief, I used the modem initialisation string which I discovered is used by default in Puppy Linux version 2.17.1, which I repeat here for your convenience (in the form expected by the pppsetup script):
--- Code: ---ATZ OK "ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0" OK
--- End code ---
Please visit the above link to my earlier post for more details along with a solution to another unexpected problem I had with my ISPs ppp negotiation requirements.
NOTE: Since the above modem initialisation string seems to work with a large variety of modems, I hope you will modify pppsetup to use that by default rather than the modem string currently suggested (which didn't play nicely with my pcmcia modem on /dev/ttyS1 at all).
Please also remember to include bash as one of the dependencies for pppsetup to run successfully.
Jason W:
Though I had made the pppsetup extension and got it to work with a standard null modem, it has been years since I've used dialup ( I have forgotton so much of ppp on Linux ) and I really don't have the means to do much testing with. Since you are fluent in ppp and have the hardware to test the configurations on, it would be a great service if you would modify what is needed to the pppsetup extension and submit it.
mcewanw:
--- Quote from: Jason W on April 04, 2009, 07:42:31 PM ---Since you are fluent in ppp and have the hardware to test the configurations on, it would be a great service if you would modify what is needed to the pppsetup extension and submit it.
--- End quote ---
Actually, I wouldn't claim to know much about ppp setup at all. But the main temporary problem I have with your otherwise absolutely reasonable request is that I have only really just started using tc in a major way, so I know nothing as yet about how to produce extensions myself (though I gather that the process is relatively painless). Once I have time to check that out, however, I'll certainly submit what I can (assuming no one else has done so by that time). I would only change the modem default init string in pppsetup anyway; the other -am pppd option is probably best left to be done manually since most users probably don't need it or want it.
mcewanw:
Using TC version 2.0rc1
pppset basically works in TC version 2.0rc1 as described above for TC version 1.x.
However, I after setting up my local eth0 ethernet card to 192.168.0.1 using netcardconf (from cpanel) the ppp-go output screen connected but with the following problem indicated:
"not removing default route through 192.168.0.254"
netcardconf had automatically used a "Gateway" IP of 192.168.0.254
Solution seems to be: when setting up the eth0 ethernet card, manually enter the value: ppp0 for the "Gateway".
[An alternative way of getting ppp-go to work correctly was first to open a terminal and enter:
sudo route delete default
However, entering ppp0 as the Gateway whilst configuring netcardconf in cpanel is less cumbersome]
I'm wondering netcardconf's behaviour is a bug in TC 2.0rc1; I can't remember having such an issue with TC 1.x; could netcardconf be modified such that it doesn't create a default route of 192.168.0.254?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version