sslug-teknik team mailing list archive
-
sslug-teknik team
-
Mailing list archive
-
Message #17344
Re: Zyxel omninet lcd ppp (igen)
On Sun, Jan 16, 2000 at 12:25:37 +0100, Jesper Bunch wrote:
> Well... Jeg prøvede med PAP og så kommer forbindelsen igennem, men den får
> aldrig lavet authentication :(
> Jan 16 03:04:07 firewall chat[2373]: CONNECT
> Jan 16 03:04:07 firewall chat[2373]: -- got it
> Jan 16 03:04:07 firewall pppd[2372]: Serial connection established.
> Jan 16 03:04:07 firewall pppd[2372]: Using interface ppp0
> Jan 16 03:04:07 firewall pppd[2372]: Connect: ppp0 <--> /dev/ttyS1
> Jan 16 03:04:19 firewall pppd[2372]: Hangup (SIGHUP)
> Jan 16 03:04:19 firewall pppd[2372]: Modem hangup
> Jan 16 03:04:19 firewall pppd[2372]: Connection terminated.
> Jan 16 03:04:19 firewall pppd[2372]: Connect time 0.2 minutes.
> Jan 16 03:04:20 firewall pppd[2372]: Exit.
Prøv evt. at sætte lidt mere debug på i log filen.
I pppd er det "-d" option eller "debug" i options filen.
Hvad har du i options, brug f.eks, "egrep -v '^$|^#' /etc/ppp/options"
for at få det listet uden kommentarer.
Du har checket at pap-secrets er ok, med indhold og rettigheder ?
-rw------- 1 root root 1860 nov 4 09:43 /etc/ppp/pap-secrets
pap-secrets:
.....
# OUTBOUND connections
# Here you should add your userid password to connect to your providers via
# pap. The * means that the password is to be used for ANY host you connect
# to. Thus you do not have to worry about the foreign machine name. Just
# replace password with your password.
# If you have different providers with different passwords then you better
# remove the following line.
# user server secret addrs
#-----------------------------------------------------
mit_login_hos_isp * mit_password_hos_isp
Jeg starter så pppd med (fra ppp-on script eller diald ) :
pppd /dev/ttyS0 115200 connect /etc/ppp/mit_chatscript user mit_login_hos_isp noauth
chatscriptet er et eksekverbar shellscript der kaldet chat.
--
mvh Frank Damgaard | http://home3.inet.tele.dk/frda/
Follow ups
References