Subject: ISP Dialin a peck of trouble
To: netbsd user <netbsd-users@netbsd.org>
From: Maurizio Caloro <mauric@gmx.ch>
List: netbsd-users
Date: 09/27/2004 18:15:23
any problem Dialin with netbsd 1.6.2

on my little netbsd machine i have connected 
a lan card (ex0 with dhcp), and on the serial 
connection i have install one external  ISDN Modem "Zyxel omni net D"
after reading many dokus i can connect whery 
inordinate from 10 attemps 1 is ok :-(, 

but if the connections is OK the follwowing error appears
and its not possible to ping any internet site

"Sep 26 02:17:18 pluto pppd[298]: Couldn't add default route: File exists"

i dont have any defaultroute or mygate entries

/usr/sbin/pppd /dev/tty00 crtscts 115200

/etc/ppp/options
connect 'chat -v -f /etc/ppp/chatscript'
defaultroute
nodefaultroute
usepeerdns
mtu 1500
passive
crtscts
bsdcomp 15
#noipdefault
#netmask 255.255.255.0
#lcp-echo-interval 30
#proxyarp

/etc/ppp/chatscript
ABORT   BUSY
ABORT   "NO CARRIER"
ABORT   VOICE
ABORT   "NO DIALTONE"
""      "ATZ"
"OK"    "ATB97"       << X.75
#"OK"   "ATB00"
#"OK"   "AT&J2"
"OK"    "ATDI0840555555"
"ogin:" "sunrise"
"word:" "*******"



here i little cut from var/log/messages
Sep 26 02:17:13 pluto chat[300]: ATZ^M^M
Sep 26 02:17:13 pluto chat[300]: OK
Sep 26 02:17:13 pluto chat[300]:  -- got it
Sep 26 02:17:13 pluto chat[300]: send (ATB94^M)
Sep 26 02:17:13 pluto chat[300]: expect (OK)
Sep 26 02:17:13 pluto chat[300]: ^M
Sep 26 02:17:13 pluto chat[300]: ATB94^M^M
Sep 26 02:17:13 pluto chat[300]: OK
Sep 26 02:17:13 pluto chat[300]:  -- got it
Sep 26 02:17:13 pluto chat[300]: send (ATDI0840555555^M)
Sep 26 02:17:14 pluto chat[300]: expect (ogin:)
Sep 26 02:17:14 pluto chat[300]: ^M
Sep 26 02:17:15 pluto chat[300]: ATDI0840555555^M^M
Sep 26 02:17:15 pluto chat[300]: CONNECT 115200/X.75 64000/LAPD^M
Sep 26 02:17:17 pluto pppd[298]: Connect: ppp0 <--> /dev/tty00
Sep 26 02:17:17 pluto chat[300]: ^M
Sep 26 02:17:17 pluto chat[300]: Welcome to 3Com Total Control HiPer ARC (TM)^M
Sep 26 02:17:17 pluto chat[300]: Networks That Go The Distance (TM)^M
Sep 26 02:17:17 pluto chat[300]: ^M
Sep 26 02:17:17 pluto chat[300]: login:
Sep 26 02:17:17 pluto chat[300]:  -- got it
Sep 26 02:17:17 pluto chat[300]: send (sunrise^M)
Sep 26 02:17:17 pluto chat[300]: expect (word:)
Sep 26 02:17:17 pluto chat[300]:  sunrise^M
Sep 26 02:17:17 pluto chat[300]: Password:
Sep 26 02:17:17 pluto chat[300]:  -- got it
Sep 26 02:17:17 pluto chat[300]: send (freesurf^M)
Sep 26 02:17:17 pluto pppd[298]: Serial connection established.
Sep 26 02:17:17 pluto pppd[298]: Using interface ppp0
Sep 26 02:17:17 pluto pppd[298]: Connect: ppp0 <--> /dev/tty00
Sep 26 02:17:18 pluto pppd[298]: Couldn't add default route: File exists
Sep 26 02:17:18 pluto pppd[298]: local  IP address 194.230.163.178
Sep 26 02:17:18 pluto pppd[298]: remote IP address 194.230.4.14
Sep 26 02:17:18 pluto pppd[298]: Couldn't add default route: File exists
Sep 26 02:17:18 pluto pppd[298]: local  IP address 194.230.163.178
Sep 26 02:17:18 pluto pppd[298]: remote IP address 194.230.4.14 


thanks for any help
best regards 
Maurizio