[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

diald konfiguration ('s helvede)



nu bliver jeg snart vanvittig!...

jeg har (ved hjælp af sslugs arkiver) fået diald sat op, og lavet connect
script...
og en "pppd /dev/ttyS1 connect /etc/ppp/chatscript user xxxxxx" virker da
også fint!

men jeg har altså stadigvæk en del problemer.

Diald riger godt nok op, men kaster lige så hurtigt røret på igen... her er
hvad der smutter ud i loggen :
	Apr 14 16:42:57 thryx chat[1328]: CONNECT
	Apr 14 16:42:57 thryx chat[1328]:  -- got it 
	Apr 14 16:42:57 thryx pppd[1326]: Serial connection established.
	Apr 14 16:42:57 thryx pppd[1326]: Using interface ppp0
	Apr 14 16:42:57 thryx pppd[1326]: Connect: ppp0 <--> /dev/ttyS1
	Apr 14 16:43:09 thryx pppd[1326]: local  IP address 195.249.118.195
	Apr 14 16:43:09 thryx pppd[1326]: remote IP address 195.249.0.178
	Apr 14 16:44:36 thryx diald[1303]: Connect script timed out. Killing
script.
	Apr 14 16:44:36 thryx pppd[1326]: Terminating on signal 2.
	Apr 14 16:44:36 thryx pppd[1326]: Connection terminated.
	Apr 14 16:44:36 thryx pppd[1326]: Connect time 1.7 minutes.
	Apr 14 16:44:36 thryx pppd[1326]: Sent 528 bytes, received 653
bytes.

Min opsætning er som følger...

eth0 : 192.168.200.37 / 255.255.255.248 (192.168.200.32/29)
på mit ethernet har jeg en Cisco 803 ISDN->LAN router, som laver Dial On
Demand til et 172.29.0.0 netværk.

diald.conf :
	mode ppp
	connect /etc/diald/connect
	device /dev/ttyS1
	speed 115200
	modem
	lock
	crtscts
	local 192.168.0.1
	remote 192.168.0.2
	dynamic
	defaultroute
	include /usr/lib/diald/standard.filter
	accounting-log /var/log/diald.log
	connect-timeout 120
	disconnect-timeout 240

chatscript (tyvstjålet fra arkivet):
	PHONE=87256900
	chat -v -r/var/log/ppp-chat.log \
	REPORT 'CONNECT' \
	REPORT 'OK' \
	REPORT 'BUSY' \
	REPORT 'NO CARRIER' \
	REPORT 'NO DIALTONE' \
	TIMEOUT 5 \
	'' 'AT&F&C1&D2&B1&H1&R2&K1S7=120S10=50&W' \
	OK ATDT$PHONE \
	ABORT 'NO CARRIER' \
	ABORT 'BUSY' \
	ABORT 'NO DIALTONE' \
	ABORT 'WAITING' \
	TIMEOUT 60 \
	CONNECT

/etc/diald/connect :
	#!/bin/sh
	DEVICEOUT=/dev/ttyS1
	PPPUSER=XXXXXXXXXXXX
	SPEED=115200
	DIALERSCRIPT=/etc/ppp/chatscript
	pppd $DEVICEOUT $SPEED connect $DIALERSCRIPT user $PPPUSER 

/etc/ppp/options :
	noauth
	modem
	crtscts
	lock


Hvad gør jeg forkert ???...

Jeg har prøvet at pille ved diverse timeout værdier uden større success
:(...

Mit modem er et US Robotice Sportster Voice 33.6

/Jimmy


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 21:38 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *