Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148373 - net-dialup/isdn4k-utils-3.9_pre20060124 - isdn.initd creates wrong number of devices
Summary: net-dialup/isdn4k-utils-3.9_pre20060124 - isdn.initd creates wrong number of ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 07:20 UTC by Robert Wruck
Modified: 2006-09-20 12:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Wruck 2006-09-20 07:20:49 UTC
In /etc/conf.d/isdn you specify the number of channels.
/etc/init.d/isdn then creates devices based on than number. If you specify 2 (for ISDN BRI), the devices are:
/dev/isdnctrl[01]
/dev/isdn[01]
/dev/ippp[01]
/dev/ttyI[01]
BUT:
- There should be only isdnctrl0, since there is only one controller (and one D-channel).
- The number of ttyI devices is independent of the number of controllers (in Germany for instance, you get three MSNs per BRI, so you could start 3 vboxgettys on /dev/ttyI[012])
- The number of ippp devices is independent of the number of controllers, too.
You could configure 64 ippps to dial in to 64 different providers using just one controller.
Although you can actively use only two ttyI / ippp at a time, you should be able to *configure* more than that.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-20 07:35:21 UTC
Which ebuild and version are you talking about?
Comment 2 Robert Wruck 2006-09-20 08:20:43 UTC
Sorry, I forgot to mention the ebuild:
net-dialup/isdn4k-utils-3.9_pre20060124
Seems to be the most recent one.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-09-20 11:22:49 UTC
OK, if you don't reopen next time, changes are noone will ever notice again.
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2006-09-20 12:43:17 UTC
first of all: isdn4k is legay stuff and udev-support will be never implemented anymore. So the device-create-stuff is an ugly hack, but it works for those who still needs it. The option in conf.d is there to limit the number of device-nodes. If you just have 1 or 2 controllers, you don't need all 64 slots.

2nd: you are right what you say about BRI = 2 channels. But if you read the docs, isdn4k uses logical channels. You can indeed map only 1 channel and then you can have something like this:

ctrl 0 = isdn card 0 channel 0
crtl 1 = isdn card 1 channel 0/1
ctrl 2 = isdn card 1 channel 0/1

you will see such strange mappings when you use AVM DSL/ISDN-Combi-Controllers, where the DSL part is connected via CAPI but implements only 1 logical channel (mapped to isdn4k via 'capidrv'). So you *really* need to create all isdnctrlX nodes, even if most of the time 2 ctrl-nodes accesses the same controller. isdn4k is strange, long live CAPI! :-D

btw: if you are not locked with a legacy ISDN-card w/o CAPI/mISDN-support, move to CAPI. I4L will die! Then you can use ordinary PPP with pppcapiplugin and can have as many provider-configs as you like.

well, after this explaination: it's a WONTFIX