[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] multiple ppp connections



hi all,

hope you all had a happy new year :-)

well i got my christmas presy - an agenda vr3d....
works a treat except for an irritating issue with pppd.

to connect, i have to run 
/usr/sbin/pppd /dev/ttyS0 10.1.1.2:10.1.1.3 noauth nodetach debug

which is fine... but i also have to modify /etc/options to prevent pppd from 
running in demand (which is how i operate my internet connection) mode and 
from trying to dial-up the vr3 which hangs off the serial port.

my question is......
1) how can i start pppd without editing the /etc/options file
2) how can i run the command as a normal user - pppd complains about not 
being able to change the device when normal users issue the pppd command (i 
have added myself to the pppuser and tty groups already)
3) can i run multiple instances of pppd and if i do, how does the application 
(ie telnet) know which route to take to the device (connected to the serial 
port)

config........
OS - LM7.2
modem - /dev/ttyS1
vr3 - /dev/ttyS0
pppd - version 2.4.0

current /etc/options file........

lock
noauth
defaultroute
/dev/ttyS1
115200
crtscts
passive
asyncmap 0xa0000
noccp
# Next option is for pap or chap authentication
name "ross.h"
ipcp-accept-local
ipcp-accept-remote
0.0.0.0:10.10.10.10
demand
idle 180
chap-restart 10
chap-max-challenge 100
connect "/usr/sbin/chat -v -f /etc/ppp/chat-NTL"

-- 
Thanks,
        Ross
               ross.h [at] ntlworld.com
____________________________________________________________________________
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.