Diva Server 4BRI (dlhe konfiguracia + logy)

Marek Blasko bl na mavipet.sk
Pondělí Duben 28 16:13:42 CEST 2003


Dobri den!

Mam problem zo $SUB. mam RedHat linux 7.3 a ovladace mam stiahnute z 
www.econ.com pre tuto distribuciu. Pocitac bude pouzivani ako dial-in 
server.

Instalacia a uvodne rozchodenie bolo vcelkom bez problemou (drivre, 
mgetty, ppp) Jediny problem je z prichadzajucimi volaniamy od inich ISDN 
modemou.

Skusane spojenia medzi jednotlivymi portamy karty idu bez problemou ci 
uz analogove ci ISDN. pri pokuse pripojit sa zo vzdialeneho ISDN modemu 
je sanca ze sa spoja velmi mala (iked sa mi podarilo zvysit sance ale 
stale je to hlboko neuspokojive)

Moja konfiguracia:
(mgetty)
mgetty.conf:
--------------------------
debug 4
speed 38400
init-chat "" AT&F9V1 OK ATS0=0 OK AT#CID=9 OK
data-only y
blocking no
toggle-dtr no
modem-type data
modem-check-time 0
autobauding no
answer-chat-timeout 180
--------------------------

login.conf
--------------------------
/AutoPPP/ -     a_ppp   /usr/sbin/pppd
--------------------------

(ppp)
options
--------------------------
lock
modem
lcp-echo-interval 10
lcp-echo-failure 5
ipcp-accept-remote
ipcp-accept-local
noccp
nodeflate
debug 4
netmask 255.255.255.224
refuse-chap
require-pap
login
proxyarp
ms-dns A.B.C.D
--------------------------

options.ttyds01
--------------------------
A.B.C.E:A.B.C.F
--------------------------

--------------------------------
chat stringy pouzivane pre skusanie spojenia medzi jednotlivymi portamy 
(obe sa bez problemou spoja):
Anologove spojenie:
--------------------------------
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'AT&F5v1#CID=9'
'OK' 'ATDT1234567890'
'CONNECT'
--------------------------------
Digitalne spojenie:
--------------------------------
'ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'ABORT' 'Invalid Login'
'ABORT' 'Login incorrect'
'' 'AT&F9v1#CID=9'
'OK' 'ATDT1234567890'
'CONNECT'
--------------------------------

Vypis z messages:
ISDN pripojenie (jeden port z druhym) (log volanej i volajucej strany):
Apr 25 15:07:11 dial chat[5814]: abort on (BUSY)
Apr 25 15:07:11 dial chat[5814]: abort on (ERROR)
Apr 25 15:07:11 dial chat[5814]: abort on (NO CARRIER)
Apr 25 15:07:11 dial chat[5814]: abort on (NO DIALTONE)
Apr 25 15:07:11 dial chat[5814]: abort on (Invalid Login)
Apr 25 15:07:11 dial chat[5814]: abort on (Login incorrect)
Apr 25 15:07:11 dial chat[5814]: send (AT&F9v1#CID=9^M)
Apr 25 15:07:11 dial chat[5814]: expect (OK)
Apr 25 15:07:11 dial chat[5814]: AT&F9v1#CID=9^M^M
Apr 25 15:07:11 dial chat[5814]: OK
Apr 25 15:07:11 dial chat[5814]:  -- got it
Apr 25 15:07:11 dial chat[5814]: send (ATDT1234567890^M)
Apr 25 15:07:11 dial chat[5814]: expect (CONNECT)
Apr 25 15:07:11 dial chat[5814]: ^M
Apr 25 15:07:12 dial chat[5814]: ^M
Apr 25 15:07:12 dial chat[5814]: CONNECT
Apr 25 15:07:12 dial chat[5814]:  -- got it
Apr 25 15:07:12 dial pppd[5788]: Serial connection established.
Apr 25 15:07:12 dial pppd[5788]: Using interface ppp0
Apr 25 15:07:12 dial pppd[5788]: Connect: ppp0 <--> /dev/ttyds02
Apr 25 15:07:12 dial /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 25 15:07:13 dial mgetty[5333]: data dev=ttyds01, pid=5333, 
caller='1234567891', conn='64000', name='', cmd='/usr/sbin/pppd', 
user='/AutoPPP/'
Apr 25 15:07:13 dial pppd[5333]: pppd 2.4.1 started by a_ppp, uid 0
Apr 25 15:07:13 dial pppd[5333]: speed 4 not supported
Apr 25 15:07:13 dial pppd[5333]: Using interface ppp1
Apr 25 15:07:13 dial pppd[5333]: Connect: ppp1 <--> /dev/ttyds01
Apr 25 15:07:13 dial /etc/hotplug/net.agent: assuming ppp1 is already up
Apr 25 15:07:16 dial ppp(pam_unix)[5333]: session opened for user ras by 
a_ppp(uid=0)
Apr 25 15:07:16 dial pppd[5333]: user ras logged in
Apr 25 15:07:16 dial pppd[5788]: Remote message: Success
Apr 25 15:07:16 dial pppd[5333]: found interface eth0 for proxy arp
Apr 25 15:07:16 dial pppd[5333]: local  IP address A.B.C.D
Apr 25 15:07:16 dial pppd[5333]: remote IP address A.B.C.D
Apr 25 15:07:16 dial pppd[5788]: found interface eth0 for proxy arp
Apr 25 15:07:16 dial pppd[5788]: local  IP address A.B.C.D
Apr 25 15:07:16 dial pppd[5788]: remote IP address A.B.C.D
----------------------------------------------------

anlog pripojenie (jeden port z druhym) (log volanej i volajucej strany):
----------------------------------------------------
Apr 24 13:32:03 dial chat[3172]: abort on (BUSY)
Apr 24 13:32:03 dial chat[3172]: abort on (ERROR)
Apr 24 13:32:03 dial chat[3172]: abort on (NO CARRIER)
Apr 24 13:32:03 dial chat[3172]: abort on (NO DIALTONE)
Apr 24 13:32:03 dial chat[3172]: abort on (Invalid Login)
Apr 24 13:32:03 dial chat[3172]: abort on (Login incorrect)
Apr 24 13:32:03 dial chat[3172]: send (AT&F5v1#CID=9^M)
Apr 24 13:32:03 dial chat[3172]: expect (OK)
Apr 24 13:32:03 dial chat[3172]: AT&F5v1#CID=9^M^M
Apr 24 13:32:03 dial chat[3172]: OK
Apr 24 13:32:03 dial chat[3172]:  -- got it
Apr 24 13:32:03 dial chat[3172]: send (ATDT1234567890^M)
Apr 24 13:32:04 dial chat[3172]: expect (CONNECT)
Apr 24 13:32:04 dial chat[3172]: ^M
Apr 24 13:32:17 dial chat[3172]: ATDT1234567890^M^M
Apr 24 13:32:17 dial chat[3172]: CONNECT
Apr 24 13:32:17 dial chat[3172]:  -- got it
Apr 24 13:32:17 dial pppd[3146]: Serial connection established.
Apr 24 13:32:17 dial pppd[3146]: Using interface ppp0
Apr 24 13:32:17 dial pppd[3146]: Connect: ppp0 <--> /dev/ttyds02
Apr 24 13:32:18 dial /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 24 13:32:19 dial mgetty[3073]: data dev=ttyds01, pid=3073, 
caller='1234567891', conn='33600', name='', cmd='/usr/sbin/pppd', 
user='/AutoPPP/'
Apr 24 13:32:19 dial pppd[3073]: pppd 2.4.1 started by a_ppp, uid 0
Apr 24 13:32:19 dial pppd[3073]: speed 4 not supported
Apr 24 13:32:19 dial pppd[3073]: Using interface ppp1
Apr 24 13:32:19 dial pppd[3073]: Connect: ppp1 <--> /dev/ttyds01
Apr 24 13:32:19 dial /etc/hotplug/net.agent: assuming ppp1 is already up
Apr 24 13:32:22 dial ppp(pam_unix)[3073]: session opened for user ras by 
a_ppp(uid=0)
Apr 24 13:32:22 dial pppd[3073]: user ras logged in
Apr 24 13:32:22 dial pppd[3146]: Remote message: Success
Apr 24 13:32:22 dial pppd[3073]: found interface eth0 for proxy arp
Apr 24 13:32:22 dial pppd[3073]: local  IP address A.B.C.D
Apr 24 13:32:22 dial pppd[3073]: remote IP address A.B.C.D
Apr 24 13:32:22 dial pppd[3146]: found interface eth0 for proxy arp
Apr 24 13:32:22 dial pppd[3146]: local  IP address A.B.C.D
Apr 24 13:32:22 dial pppd[3146]: remote IP address A.B.C.D
--------------------------------------------

ISDN pripojenie iny stroj (nevydarene spojenie):
--------------------------------------------
Apr 25 13:53:33 dial mgetty[5332]: data dev=ttyds01, pid=5332, 
caller='2222221', conn='64000', name='', cmd='/usr/sbin/pppd', 
user='/AutoPPP/'
Apr 25 13:53:33 dial pppd[5332]: pppd 2.4.1 started by a_ppp, uid 0
Apr 25 13:53:33 dial pppd[5332]: speed 4 not supported
Apr 25 13:53:49 dial pppd[5332]: Hangup (SIGHUP)
Apr 25 13:53:49 dial pppd[5332]: Couldn't set tty to PPP discipline: 
Interrupted system call
Apr 25 13:53:49 dial pppd[5332]: Exit.
--------------------------------------------

ISDN pripojenie iny stroj (vydarene spojenie):
--------------------------------------------
Apr 25 13:52:10 dial mgetty[5296]: data dev=ttyds01, pid=5296, 
caller='2222221', conn='64000', name='', cmd='/usr/sbin/pppd', 
user='/AutoPPP/'
Apr 25 13:52:10 dial pppd[5296]: pppd 2.4.1 started by a_ppp, uid 0
Apr 25 13:52:10 dial pppd[5296]: speed 4 not supported
Apr 25 13:52:10 dial pppd[5296]: Using interface ppp0
Apr 25 13:52:10 dial pppd[5296]: Connect: ppp0 <--> /dev/ttyds01
Apr 25 13:52:10 dial /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 25 13:52:13 dial ppp(pam_unix)[5296]: session opened for user ras by 
a_ppp(u
id=0)
Apr 25 13:52:13 dial pppd[5296]: user ras logged in
Apr 25 13:52:13 dial pppd[5296]: Unsupported protocol 'Compression 
Control Proto
col' (0x80fd) received
Apr 25 13:52:13 dial pppd[5296]: found interface eth0 for proxy arp
Apr 25 13:52:13 dial pppd[5296]: local  IP address A.B.C.D
Apr 25 13:52:13 dial pppd[5296]: remote IP address A.B.C.E
--------------------------------------------

analog pripojenie iny stroj (conn rychlost sa vyskytuje v roznych verziach):
--------------------------------------------
Apr 25 13:47:16 dial mgetty[5158]: data dev=ttyds01, pid=5158, 
caller='2222221', conn='46666', name='', cmd='/usr/sbin/pppd', 
user='/AutoPPP/'
Apr 25 13:47:16 dial pppd[5158]: pppd 2.4.1 started by a_ppp, uid 0
Apr 25 13:47:16 dial pppd[5158]: speed 4 not supported
Apr 25 13:47:16 dial pppd[5158]: Using interface ppp0
Apr 25 13:47:16 dial pppd[5158]: Connect: ppp0 <--> /dev/ttyds01
Apr 25 13:47:16 dial /etc/hotplug/net.agent: assuming ppp0 is already up
Apr 25 13:47:19 dial ppp(pam_unix)[5158]: session opened for user ras by 
a_ppp(u
id=0)
Apr 25 13:47:19 dial pppd[5158]: user ras logged in
Apr 25 13:47:19 dial pppd[5158]: Unsupported protocol 'Compression 
Control Proto
col' (0x80fd) received
Apr 25 13:47:20 dial pppd[5158]: found interface eth0 for proxy arp
Apr 25 13:47:20 dial pppd[5158]: local  IP address A.B.C.D
Apr 25 13:47:20 dial pppd[5158]: remote IP address A.B.C.E
---------------------------------------------

-- 
Powell: Iraq HAS weapons of mass destruction!
Reporter: How can you know?
Powell: We kept the receipts



Další informace o konferenci Linux