Ok I'm really really close but ...
 
When I dial using pppd all is OK.
 
ie. /usr/local/bin/dial-geordi contains:
 
/usr/sbin/pppd /dev/ttyS1 115200 asyncmap 0 \
    connect "/usr/sbin/chat -v -f /etc/ppp/chat-geordi" \
    crtscts defaultroute -d
 
and my chat-geordi script contains:
 
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'AT S7=60 S0=0 S37=17 M1 L3 V1 X4 &C1 E1 Q0 %E1 %C1'
OK 'ATDT1234567'
CONNECT '\c'
ogin: 'loginname
assword: 'password'
 '' 'ppp'
I'm activating diald by typing:
 
    diald -- -d
 
and diald loads and sits waiting. When I trigger a connection I get the following:
 
Feb 1 21:52:19 elf diald[744]: Calling site 210.23.133.129
[...]
Feb 1 21:52:42 elf diald[744]: Connected to site 210.23.133.129
Feb 1 21:52:42 elf diald[744]: Running pppd (pid = 842).
Feb 1 21:52:43 elf modprobe: can't locate module char-major-108
Feb 1 21:52:43 elf pppd[842]: The remote system is required to authenticate itself but I
Feb 1 21:52:43 elf pppd[842]: couldn't find any secret (password) which would let it use an IP address.
Feb 1 21:52:44 elf diald[744]: start sl0: SIOCSIFMETRIC: Operation not supported
Feb 1 21:52:44 elf diald[744]: start sl0: SIOCADDRT: File exists
Feb 1 21:52:44 elf diald[744]: start sl0: SIOCDELRT: No such process
Feb 1 21:52:45 elf diald[744]: start sl0: SIOCADDRT: File exists
Feb 1 21:52:45 elf diald[744]: Closing /dev/ttyS1
Feb 1 21:52:46 elf diald[744]: Delaying 30 seconds before clear to dial.
 
Why do I get the authentication error with diald and not when I use pppd directly ?
 
Now some general questions"
 
How to other people start up their diald ? ie. what scripts and when are they activated and also the same question for firewalls.
 
Thanks.
 
Wilson Fletcher

Reply via email to