LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-19-2005, 02:03 PM   #1
kijoma
LQ Newbie
 
Registered: Apr 2004
Location: Sussex, england
Distribution: Fedora Core 1
Posts: 2

Rep: Reputation: 0
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
 
Old 08-19-2005, 05:57 PM   #2
peter_robb
Senior Member
 
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 47
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash script: using "select" to show multi-word options? (like "option 1"/"o zidane_tribal Programming 6 03-21-2013 10:35 AM
Benoit's Alcatel - pppd call adsl "command not found" GM287 Linux - Networking 5 04-04-2004 09:56 AM
bash-2.05b# Xlib: extension "XFree86-DRI" missing on display ":0.0". citrus Linux - General 8 02-22-2004 10:43 AM
"Function not implemented" error in call to "sem_open()" Krishnendu8 Linux - Newbie 1 06-07-2003 02:52 AM
"Function not imlemented" error in call to "sem_open()" Krishnendu8 Linux - Networking 0 06-07-2003 02:19 AM


All times are GMT -5. The time now is 03:02 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration