Mailinglist Archive: opensuse-isdn-de (228 mails)

< Previous Next >
F: Neue ipppX devices anlegen und ansprechen
  • From: Steffen Wagner <S.Wagner@xxxxxxxxxxxxxxx>
  • Date: Wed, 24 May 2000 11:37:30 +0000 (UTC)
  • Message-id: <392BBE4F.FF533A59@xxxxxxxxxxxxxxx>
Hallo,

ich benötige für syncPPP-Verbindungen außergewöhnlich viele (>70) ippp-devices.
Diese habe ich wie folgt angelegt:

# cd /dev
# mknod ippp70 c 45 199
# ls -l ippp70
crw------- 1 root dialout 45, 199 Apr 17 15:24 ippp70

(habe ich auch noch für isdnxxxxx konfiguriert)

Dann habe ich wie gewohnt dieses device konfiguriert (isdnctrl....) und mit

# /sbin/init.d/i4l start ippp70

gestartet.

JETZT KOMMEN DIE FEHLER :-(

Aus /var/adm/messages

-------schnipp-----------
May 3 19:08:40 host1 ipppd[28062]: Found 1 device: /dev/ippp70
May 3 19:08:40 host1 ipppd[28066]: ipppd i2.2.10 (isdn4linux version of pppd by
MH) sta0
May 3 19:08:40 host1 ipppd[28066]: init_unit: 0
May 3 19:08:40 host1 ipppd[28066]: [0] Failed to open /dev/ippp70: Operation
not supported
May 3 19:08:40 host1 ipppd[28066]: [0] Failed to open /dev/ippp70: Operation
not supported
--------schnapp----------

Müssen die devices irgendwoanders noch bekanntgegeben werden ?

In der i4l Doku hab ich folgendes noch gefunden:

-------schnipp-----------
- There is no limit to the number of ppp devices which you may use. Jim Freeman
has added code to create them upon demand and to re-use the ones which have
been closed. There is no code, nor plans to write code, to remove (delete)
the un-used devices. So, if your system goes to a spurt and uses 256 ppp
devices, it will remain at that level until you next reload the kernel.

If you are using modules then you may use the additional setting of

max_dev=#

where # is the maximum number. The default is set by the define PPP_MAX_DEV
and this define may be altered if you are not using modules.
--------schnapp-----------

Das heißt ja, dass das mit mehreren devices auch funktioniert !!!
In den Kernelsource /usr/src/linux/driver/net/ppp.c steht das auch so schön drin
(256 devices). Ein neuer kernel wurde damit auch kompiliert ;-)

Spreche ich hier nur die ppp-devices an und nicht die ippp's ?

Wenn ich (routing-Eintrag vorhanden) ein telnet auf die entvernte IP mache sehe
dann (klar) folgende Meldung in /var/adm/messages

-------schnipp--------
May 3 18:37:55 host1 kernel: OPEN: 172.20.120.1 -> 172.20.121.70 TCP, port:
4126 -> 23
May 3 18:37:55 host1 kernel: isdn_ppp_bind: Can't find usable ippp device.
-------schnapp--------


Es sieht wohl so aus, das der kernel das nicht kann :-(

Wie kann ich ihm das beibringen ?


Vielen Dank für jeden Tip.

--
Mit freundlichen Grüßen

Steffen Wagner

mailto:S.Wagner@xxxxxxxxxxxxxxx

< Previous Next >