LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   odd "pppd call" behaviour in bash on fc3 (https://www.linuxquestions.org/questions/linux-networking-3/odd-pppd-call-behaviour-in-bash-on-fc3-354963/)

kijoma 08-19-2005 02:03 PM

odd "pppd call" behaviour in bash on fc3
 
Hi,

I have a couple of machines using Fedora Core 3 and one has an annoying problem that if i place the pppd call for the ADSL modem card inside an executable bash text file it fails with an error.

if i type it by hand its fine (both executed as root).

e.g. pppd call adsl

will work fine at the prompt.

stick it in a file and chmod it +x then execute the file and pppd bombs out with an error.

it only does it on one machine, not the other ?!? both running the same kernel with Selinux disabled.

i basically want it to run from rc.local but any file it refuses to play ball.

i tried all sorts of things with adding paths and other stuff.

cheers for any ideas on this.

Bill

peter_robb 08-19-2005 05:57 PM

Have you tried using the /etc/sysconfig/network-scripts/ifcfg-ppp0 file
and ifup ppp0...

What is the error code you get?
They are detailed in man pppd.


All times are GMT -5. The time now is 08:09 PM.