It is currently Thu, 20 Jan 2022 04:51:46 GMT



 
Author Message
 wierd permissions problem running pppd

Hey there -

I have a little script to run for connecting to my ISP. It basically just calls
pppd, with the chat argument. But, it doesn't work. If I type in the pppd command,
everything is fine, but when I run my script, for some reason, the pppd script
doesn't work. The script is basically:

----- Start of script ------
echo "Calling ISP"

pppd yada yada `chat yada yada` more stuff

echo "ISP called up"
----- End of script -------

The two messages come up on the screen, but nothing else happens. As it is now,
I cat the script to the screen and use the mouse to copy the command to the
command line so that I don't have to manually type it, but that is getting
old...

Any thoughts?

andy

--
Andy Wallace                 If my employer wanted to say this stuff,
Palo Alto, CA                  they would, with no help from me.
e-mail: an...@informix.com    web: the SCROOMtimes!!!  www.scroom.com

                Linux - Genetic Mandate, or Lifestyle Choice?



 Tue, 14 Sep 1999 03:00:00 GMT   
 wierd permissions problem running pppd

<snip>

I'd tend to blame chat. Is your chat script on the pppd command line,
or do you call chat with a -f parameter?? Is your script split over
multiple lines?. Try going online, and to a tail -f /var/log/messages
on a different VC. Do this with the script, and from the command line,
and see where the differences are, then you can start to try and
troubleshoot this.

HTH

Mike.



 Wed, 15 Sep 1999 03:00:00 GMT   
 wierd permissions problem running pppd

hmm, you want that script be executed by a shell? shouldn't the first
line be
#!/bin/sh
then?
or did i miss sth?

Mahlzeit,
--
Eberhard Burr         eMail Eberhard.B...@stud.uni-karlsruhe.de



 Fri, 24 Sep 1999 03:00:00 GMT   
 
   [ 3 post ] 

Similar Threads

1. Wierd pppd problem

2. NFS, mail and file permissions, wierd problem...

3. HELP - wierd directory permission problem!

4. Wierd sendmail problems, running FreeBSD 3.2 Release!

5. pppd permissions problem

6. pppd permission problems

7. pppd problem with permissions

8. wierd file permissions

9. Permissions problem running a website on linux


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software