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

Debian 1.3.1 PPP connection problems



Hello,
I can not connect to my ISP with linux, can anyone help me?

Right now I connect through windows 3.1 & trumped winsock, my IP is
dynamically given to me, and I use PPP.

I am trying to get diald and PPPD to do the same under linux (Debian 1.3.1).

here are some of  my config and log files:

diald.log:
Tue Jan 19 19:26:03 1999 EST: Calling site 192.168.0.2.
Tue Jan 19 19:26:26 1999 EST: Connected to site 192.168.0.2.
Tue Jan 19 19:26:58 1999 EST: Disconnected. Call duration 32 seconds.
      IP transmitted 176 bytes and received 0 bytes.

ppp.log:
Jan 19 19:23:05 Zeek diald[104]: FIFO: full monitor connection to monitor
/tmp/dctrl.195-1 requested
Jan 19 19:26:04 Zeek diald[104]: Running connect (pid = 203).
Jan 19 19:26:05 Zeek connect: Initializing Modem
Jan 19 19:26:05 Zeek connect: Dialing system
Jan 19 19:26:25 Zeek connect: Connected
Jan 19 19:26:25 Zeek connect: Loggin in
Jan 19 19:26:26 Zeek connect: Protocol started
Jan 19 19:26:26 Zeek diald[104]: Running pppd (pid = 212).
Jan 19 19:26:26 Zeek diald[212]: Running pppd: /usr/sbin/pppd -detach modem
crtscts mtu 1500 mru 1500 
Jan 19 19:26:26 Zeek pppd[212]: pppd 2.2.0 started by root, uid 0
Jan 19 19:26:26 Zeek pppd[212]: Using interface ppp0
Jan 19 19:26:26 Zeek pppd[212]: Connect: ppp0 <--> /dev/ttyS1
Jan 19 19:26:56 Zeek pppd[212]: LCP: timeout sending Config-Requests
Jan 19 19:26:56 Zeek pppd[212]: Connection terminated.
Jan 19 19:26:56 Zeek pppd[212]: Receive serial link is not 8-bit clean:
Jan 19 19:26:56 Zeek pppd[212]: Problem: all had bit 7 set to 0
Jan 19 19:26:56 Zeek pppd[212]: Exit.
Jan 19 19:26:59 Zeek diald[104]: Delaying 30 seconds before clear to dial.
Jan 19 19:27:37 Zeek diald[104]: SIGHUP: modem got hung up on.


diald.options:
mode ppp
accounting-log /var/log/diald.log
fifo /var/run/diald.fifo
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 /etc/diald/standard.filter



diald's "connect" file( password, modem init, etc all clipped, all of that
works)

PROTOCOL_START="ppp"

START_ACK="Entering PPP mode."

# Pass a message on to diald and the system logs.
function message () {
[ $FIFO ] && echo "message $*" >$FIFO
logger -p local2.info -t connect "$*"
}

*** cut the dialing loop & login  stuff from here too, it works***

# We logged in, try to start up the protocol (provided that the
# user has specified how to do this)

if [ $PROMPT ]; then
    message "Starting Comm Protocol"
    chat TIMEOUT 15 $PROMPT $PROTOCOL_START
    if [ $? != 0 ]; then
        message "Prompt not received"
        exit 1
    fi
fi

if [ $START_ACK ]; then
    chat TIMEOUT 15 $START_ACK ""
    if [ $? != 0 ]; then
	message "Failed to start Protocol"
	exit 1
    fi
fi

# Success!
message "Protocol started"



The options that are activated in my PPPD options file  are:
asyncmap 0
lcp-echo-interval 30
lcp-echo-failure 4



here's what I see when running dctrl from X:

says "interface from    to    in state down"

I go to a terminal, startup a telnet (to a server at school)

dctrl says   "interface from    to    in state connect"

dctrl says    "interface from    to    in state start_link"

then it says "interface sl0 from 192.168.0.1 to 192.168.0.2 in state
Disconnect"

then switches to  "interface sl0 from 192.168.0.1 to 192.168.0.2 in state
Close"

finally goes to "interface sl0 from 192.168.0.1 to 192.168.0.2 in state Down"

(first time I went through this the modem hungup at this point, second time
the modem stays online so I forced a quit then ran minicom to hang up the
modem)


If this is any help since windows/winsock can connect, I made Trumped
winsock do a trace on PPP and got the following:

GW-Saco>ppp
PPP mode selected.  Will try to negotiate IP address.

Script completed
PPP ENABLED
PPP[C021] SND CONFREQ ID=02 LEN=24 MRU(05DC) ACCM(00000000) MAGIC(004CF61F)
PFC ACFC
PPP[C021] state = reqsent
PPP frame check error, 17
PPP frame check error, 26
PPP[C021] SND CONFREQ ID=03 LEN=24 MRU(05DC) ACCM(00000000) MAGIC(004D026F)
PFC ACFC
PPP[C021] RCV CONFACK ID=03 LEN=24 MRU(05DC) ACCM(00000000) MAGIC(004D026F)
PFC ACFC
PPP[C021] state = ackrcvd
PPP[C021] RCV CONFREQ ID=02 LEN=20 ACCM(000A0000) MAGIC(D8706B96) PFC ACFC
PPP[C021] SND CONFACK ID=02 LEN=20 ACCM(000A0000) MAGIC(D8706B96) PFC ACFC
PPP[C021] state = opened
PPP[8021] SND CONFREQ ID=01 LEN=16 IPCP(002D0F01) IPADDR(826F8D67)
PPP[8021] state = reqsent
PPP[8021] RCV CONFREQ ID=01 LEN=16 IPCP(002D0F00) IPADDR(826F8D01)
PPP[8021] SND CONFACK ID=01 LEN=16 IPCP(002D0F00) IPADDR(826F8D01)
PPP[8021] state = acksent
PPP[8021] RCV CONFNAK ID=01 LEN=10 IPADDR(826F8D66)
My IP address = 130.111.141.102
PPP[8021] SND CONFREQ ID=02 LEN=16 IPCP(002D0F01) IPADDR(826F8D66)
PPP[8021] RCV CONFACK ID=02 LEN=16 IPCP(002D0F01) IPADDR(826F8D66)
PPP[8021] state = opened



I am sorry if this mail is too long I cut out what I thought I could, I
don't know all that much of the inner working's of PPP, even though I have
been throught the man pages, the options for pppd are some what confusing
to me.  

Thank you for your time , any help is greatly appreciated,

	Ken


Reply to: