← Back to team overview

sslug-teknik team mailing list archive

Re: Diald PAP problem

 

> plz... er der ikke nogen som har en løsning.

Denne her posting er lang..... :o)

Jeg ved ikke om det er en løsning, men her er min diald.conf:

# Diald's LOG file
accounting-log /var/log/diald.log

# Diald's PID file
pidfile diald.pid

# Diald's FIFO file
fifo /var/run/diald.fifo

# We use dynamic IP
dynamic

# Local IP address (Has to be defined eventhough we use dynamic IP)
local 192.168.5.100

# Remote IP address, use 0.0.0.0 for unknown (Has to be defined eventhough we use dynamic IP)
remote 0.0.0.0

netmask 255.255.255.224

# Speed.
speed 115200

# Amount of retrys to perform before giving up.
retry-count 2

# Modem device.
device /dev/ttyS0

# Connect mode [ppp|slip|cslip|slip6|cslip6|aslip|dev].
mode ppp

# If the connection gets broken from the ISP, redial only if there's outgoing traffic from our side.
two-way

# When the link's up, change routes to point to the real link
# instead of the proxy.
#reroute

# Diald should set a default route to the proxy SLIP link.
defaultroute

# Scripts used to bring up/shut down the serial line.
connect "chat -f /etc/chatscripts/CyberCity"
#disconnect "killall pppd"

# Do UUCP locking.
lock

# We connect through a modem.
modem

# This enable hardware flow control.
crtscts

# Connect timeout.
connect-timeout 10

# Disconnect timeout.
disconnect-timeout 10

# Redial timeout.
redial-timeout 0

# This turns on full debugging.
#debug 31

# These two scripts must be executable and will be executed when the link comes up/down.
#ip-up /etc/diald/ip-up
#ip-down /etc/diald/ip-down

# Let diald hold the line open all the time.
#up

# Let diald hold the line closed all the time.
#down

# Files to include, for example filters.
include /etc/diald/diald.filter

#pppd-options user:

pppd-options user xxxyyy noipdefault

og mit chatscript:

ABORT BUSY ABORT 'NO CARRIER' ABORT VOICE ABORT 'NO DIALTONE' ABORT 'NO DIAL TONE' ABORT 'NO ANSWER'
# modeminit
'' AT&FB40
# ispnumber
OK-AT-OK ATDT103333361333
# ispconnect
CONNECT
# prelogin

#Mark




References