[ LUGOS ] ISDN ... kje sem naredil napako???

Bostjan Strumbelj Bostjan.Strumbelj na delo.si
Sob Avg 14 19:12:15 CEST 1999


Ziv!

Doma nekako poskusam zopet vzpostaviti ISDN povezavo, pa ne gre.
Konfiguriral sem po Jakatovih navodilih in prvic je delovalo.
Potem je pa crknil disk in sedaj z enakimi nastavitvami ne deluje.

Konfiguracija je nakako taka (nobenih script, step-by-step-by hand):

/etc/ppp/ioptions
	defaultroute
	user username
	noipdefault
	
/etc/ppp/chap-secrets
	username 	*	geslo

/etc/ppp/pap-secrets
	username 	*	geslo

--------------------------------------------------------------------------------------------

[root na flea /root]# isapnp /etc/isapnp.conf
Board 1 has Identity 99 00 00 00 56 88 16 75 06:  ASU1688 Serial No 86
[checksum 99] 
[root na flea /root]# modprobe hisax.o io=0x100 irq=5 type=12 protocol=2
[root na flea /root]# cat /proc/modules
hisax                 315824   0 (unused)
isdn                  101644   0 [hisax]
slhc                    4360   0 [isdn]
-[snip]

[root na flea /root]# isdnctrl readconf /etc/isdn/isdn.conf
ippp0 added
EAZ/MSN for ippp0 is 1615045
Security for ippp0 is off
Dialmax for ippp0 is 5 times.
Hangup-Timeout for ippp0 is 60 sec.
Incoming-Hangup for ippp0 is on
Charge-Hangup for ippp0 is off
Layer-2-Protocol for ippp0 is hdlc
Layer-3-Protocol for ippp0 is trans
Encapsulation for ippp0 is syncppp
ISDN Configuration read from /etc/isdn/isdn.conf.                                             

[root na flea /root]# ifconfig ippp0 192.168.33.5 pointopoint 192.168.33.10
metric 1
[root na flea /root]# route add default ippp0 
[root na flea /root]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:10:4B:9A:96:55
          inet addr:192.168.0.151  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          Interrupt:9 Base address:0xd400
 
ippp0     Link encap:Point-to-Point Protocol
          inet addr:192.168.33.5  P-t-P:192.168.33.10 Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:30
 
lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
                                                                                              
[root na flea /root]# ipppd ippp0
[root na flea /root]# ps ax
-[snip]
  642 ?        S      0:00 ipppd ippp0  

[root na flea /root]# isdnctrl dial ippp0
Dialing of ippp0 triggered                                                                    

 ... in potem se zacne zabava ...

[root na flea /root]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.33.10   0.0.0.0         255.255.255.255 UH        0 0          0
ippp0
192.168.0.151   0.0.0.0         255.255.255.255 UH        0 0          0
eth0
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0
eth0
127.0.0.0       0.0.0.0         255.0.0.0       U         0 0          0
lo
0.0.0.0         0.0.0.0         0.0.0.0         U         0 0          0
ippp0
0.0.0.0         192.168.0.254   0.0.0.0         UG        0 0          0
eth0                 

 ... izsek iz /var/log/messages ...

Aug 14 18:01:00 flea kernel: ISDN subsystem Rev:
1.75/1.63/1.84/1.47/1.13/1.2 loaded
Aug 14 18:01:00 flea kernel: HiSax: Linux Driver for passive ISDN cards
Aug 14 18:01:00 flea kernel: HiSax: Version 3.1a (module)
Aug 14 18:01:00 flea kernel: HiSax: Layer1 Revision 2.31
Aug 14 18:01:00 flea kernel: HiSax: Layer2 Revision 2.16
Aug 14 18:01:00 flea kernel: HiSax: TeiMgr Revision 2.11
Aug 14 18:01:00 flea kernel: HiSax: Layer3 Revision 2.8
Aug 14 18:01:00 flea kernel: HiSax: LinkLayer Revision 2.25
Aug 14 18:01:00 flea kernel: HiSax: Approval certification valid
Aug 14 18:01:00 flea kernel: HiSax: Approved with ELSA Quickstep series 
cards
Aug 14 18:01:00 flea kernel: HiSax: Approval registration numbers:
Aug 14 18:01:00 flea kernel: HiSax: German D133361J CETECOM ICT Services
GmbH
Aug 14 18:01:00 flea kernel: HiSax: EU (D133362J) CETECOM ICT Services
GmbH
Aug 14 18:01:00 flea kernel: HiSax: Card 1 Protocol EDSS1 Id=HiSax (0)
Aug 14 18:01:00 flea kernel: HiSax: Asuscom ISDNLink driver Rev. 1.5
Aug 14 18:01:00 flea kernel: ISDNLink: ISAC version (0): 2086/2186 V1.1
Aug 14 18:01:00 flea kernel: ISDNLink: HSCX version A: V2.1  B: V2.1
Aug 14 18:01:00 flea kernel: ISDNLink: resetting card
Aug 14 18:01:00 flea kernel: ISDNLink: IRQ 5 count 0
Aug 14 18:01:00 flea kernel: ISDNLink: IRQ 5 count 3
Aug 14 18:01:00 flea kernel: HiSax: DSS1 Rev. 2.12
Aug 14 18:01:00 flea kernel: HiSax: 2 channels added
Aug 14 18:01:00 flea kernel: HiSax: module installed
Aug 14 18:04:47 flea ipppd[641]: Found 1 device: /dev/ippp0
Aug 14 18:04:47 flea ipppd[642]: ipppd i2.2.10 (isdn4linux version of pppd
by MH) started
Aug 14 18:04:47 flea ipppd[642]: init_unit: 0
Aug 14 18:04:47 flea ipppd[642]: Connect[0]: /dev/ippp0, fd: 7
Aug 14 18:05:48 flea kernel: ippp0: dialing 1 1737960...
Aug 14 18:05:50 flea ipppd[642]: Local number: 1615045, Remote number:
1737960, Type: outgoing
Aug 14 18:05:50 flea ipppd[642]: PHASE_WAIT -> PHASE_ESTABLISHED, ifunit:
0,linkunit: 0, fd: 7
Aug 14 18:05:50 flea kernel: isdn_net: ippp0 connected
Aug 14 18:05:50 flea ipppd[642]: MPPP negotiation, He: No We: No
Aug 14 18:05:50 flea ipppd[642]: CCP enabled! Trying CCP.
Aug 14 18:05:50 flea ipppd[642]: CCP: got ccp-unit 0 for link 0 (protocol:
0x80fd)
Aug 14 18:05:50 flea ipppd[642]: ccp_resetci!
Aug 14 18:05:50 flea ipppd[642]: Kernel check for LZS failed
Aug 14 18:06:21 flea ipppd[642]: IPCP: timeout sending Config-Requests
Aug 14 18:06:51 flea ipppd[642]: IPCP: timeout sending Config-Requests                        

--------------------------------------------------------------------------------------------
Kolikor sem videl je med mojim ispisom in Jakatovim razlika le pri ippp0,
kjer sem jaz dobil netmask 255.255.255.255, Jaka pa Mask:255.255.255.0

Ce prav razumem se ob konektu moja defaultroute ne preusmeri na ippp0
ampak se nekje izgubi. Se pravi imam nekaj napacno ali pa sploh
nekonfigurirano. 

Kernel je "stock" 2.2.9-md  - Mandrake linux 6.0 z isdn4linux, ki je v tej
distribuciji. In da pridem na net moram nekako usposobiti to kar imam ...

Pa se to, en kanal na ISDN TA je skurjen in cakam Telekom, da se kaj
oglasi. Mislim, da to ni ovira. Uff ...

Bostjan
---
========================================================
Bostjan Strumbelj		     NeXTmail & MIMEmail
Slovenija                                    jan na delo.si
========================================================




Dodatne informacije o seznamu Starilist