ppp - pripojeni k Inetu, Dial server

Ladislav Šolc solc na apexcomp.cz
Pondělí Květen 10 09:39:59 CEST 1999


DD,
ji nejakou dobu experimentuji s pripojenim pomoci modemu a Linuxem 5.1
Na druhe strane je cisco + PAP autentikace.
Zatim mi to pada pri overovani a to s chybou ve  /var/log/messages

May 10 08:57:17 linux pppd[1009]: pppd 2.3.3 started by root, uid 0
May 10 08:57:18 linux chat[1010]: timeout set to 10 seconds
May 10 08:57:18 linux chat[1010]: abort on (NO CARRIER)
May 10 08:57:18 linux chat[1010]: abort on (BUSY)
May 10 08:57:18 linux chat[1010]: abort on (NO ANSWER\r)
May 10 08:57:18 linux chat[1010]: send (rATZ^M)
May 10 08:57:18 linux chat[1010]: expect (OK)
May 10 08:57:19 linux chat[1010]: ATZ^M^M
May 10 08:57:19 linux chat[1010]: OK
May 10 08:57:19 linux chat[1010]:  -- got it 
May 10 08:57:19 linux chat[1010]: send (AT^M)
May 10 08:57:19 linux chat[1010]: expect (OK)
May 10 08:57:19 linux chat[1010]: ^M
May 10 08:57:19 linux chat[1010]: AT^M^M
May 10 08:57:19 linux chat[1010]: OK
May 10 08:57:19 linux chat[1010]:  -- got it 
May 10 08:57:19 linux chat[1010]: send (AT&F^M)
May 10 08:57:19 linux chat[1010]: expect (OK)
May 10 08:57:19 linux chat[1010]: ^M
May 10 08:57:19 linux chat[1010]: AT&F^M^M
May 10 08:57:19 linux chat[1010]: OK
May 10 08:57:19 linux chat[1010]:  -- got it 
May 10 08:57:19 linux chat[1010]: send (ATX3^M)
May 10 08:57:19 linux chat[1010]: expect (OK)
May 10 08:57:19 linux chat[1010]: ^M
May 10 08:57:19 linux chat[1010]: ATX3^M^M
May 10 08:57:19 linux chat[1010]: OK
May 10 08:57:19 linux chat[1010]:  -- got it 
May 10 08:57:19 linux chat[1010]: send (ATS95=255^M)
May 10 08:57:19 linux chat[1010]: expect (OK)
May 10 08:57:19 linux chat[1010]: ^M
May 10 08:57:19 linux chat[1010]: ATS95=255^M^M
May 10 08:57:19 linux chat[1010]: OK
May 10 08:57:19 linux chat[1010]:  -- got it 
May 10 08:57:19 linux chat[1010]: send (ATM0^M)
May 10 08:57:20 linux chat[1010]: expect (OK)
May 10 08:57:20 linux chat[1010]: ^M
May 10 08:57:20 linux chat[1010]: ATM0^M^M
May 10 08:57:20 linux chat[1010]: OK
May 10 08:57:20 linux chat[1010]:  -- got it 
May 10 08:57:20 linux chat[1010]: send (ATDP9,0326971154^M)
May 10 08:57:20 linux chat[1010]: timeout set to 40 seconds
May 10 08:57:20 linux chat[1010]: expect (CONNECT)
May 10 08:57:20 linux chat[1010]: ^M
May 10 08:57:57 linux chat[1010]: ATDP9,0326971154^M^M
May 10 08:57:57 linux chat[1010]: CONNECT
May 10 08:57:57 linux chat[1010]:  -- got it 
May 10 08:57:57 linux chat[1010]: send (c^M)
May 10 08:57:57 linux pppd[1009]: Serial connection established.
May 10 08:57:58 linux pppd[1009]: Using interface ppp1
May 10 08:57:58 linux pppd[1009]: Connect: ppp1 <--> /dev/ttyS1
May 10 08:57:58 linux pppd[1009]: Warning - secret file /etc/ppp/pap-secrets
has world and/or group access
May 10 08:58:03 linux pppd[1009]: Modem hangup
May 10 08:58:03 linux pppd[1009]: Connection terminated.
May 10 08:58:30 linux pppd[1009]: Terminating on signal 2.
May 10 08:58:30 linux pppd[1009]: Exit.


Soubor /etc/ppp/pap-secrets vypada takto
# Secrets for authentication using PAP
# client		server		secret			IP addresses
jmeno		*		heslo
   jmeno		*		heslo
   "jmeno"	"*"		"heslo"


Nevite co s tim ?
Diky
Hezky den, preje
---------------------------------------------------------------------
Ladislav Solc, MCP
APEX Computer s.r.o.
e-mail: solc na apexcomp.cz
http://www.apexcomp.cz
---------------------------------------------------------------------




Další informace o konferenci Linux