RSS Forums RSS
Please support our Shell Scripting advertiser: Programming Forums
Views: 2235 | Replies: 1
Reply
Join Date: Jun 2005
Posts: 1
Reputation: shantanu is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
shantanu shantanu is offline Offline
Newbie Poster

problem in using pppd in shell script

  #1  
Jun 13th, 2005
hi...

I am trying to put the following command in shell script...
but am not able to do it...

can anyone help:



$ pppd pty "pptp --debug --nolaunchpppd 192.168.3.67" updetach user tunnel debug noauth require-mppe-128


thanks
AddThis Social Bookmark Button
Reply With Quote  
Join Date: May 2005
Posts: 215
Reputation: shanenin is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
shanenin shanenin is offline Offline
Posting Whiz in Training

Re: problem in using pppd in shell script

  #2  
Jun 13th, 2005
Does the command work if you type it? if so you just need to put it in a script like this, I am assuming you want to use bash
#!/bin/bash
pppd pty "pptp --debug --nolaunchpppd 192.168.3.67" updetach user tunnel debug noauth require-mppe-128

then you need need to make it executable, use this command
chmod +x /location/of/script
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:23 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC