Koozali.org: home of the SME Server

How to install & setup ISDN card on SME7beta8?

sjugin

How to install & setup ISDN card on SME7beta8?
« on: January 05, 2006, 02:17:24 PM »
Pelase, have anyone tell me how to install and setup ma ISDN card on SME server.

Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
What I must do to isdn card work properly!

Sasa

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: How to install & setup ISDN card on SME7beta8?
« Reply #1 on: January 05, 2006, 11:23:02 PM »
Quote from: "sjugin"
Pelase, have anyone tell me how to install and setup ma ISDN card on SME server.

Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
What I must do to isdn card work properly!


If it is a card which used to work with 6.x, then hopefully it will still work with SME 7. From your report I'd guess that it doesn't work. If that is true, you should report the details of the problem (more than you have provided here), via the Bug Tracker. Somebody might be able to help you there. You should be aware however that as far as I know none of the active developers have any ISDN cards or access to a working ISDN ISP, so their ability to help you will be limited. Hopefully someone else can step in and help to identify the problem or problems.

sjugin

service isdn start
« Reply #2 on: January 06, 2006, 10:02:55 AM »
When I execute this command I have this.

[root@sasa ~]#lspci -v

00:14.0 Network controller: Cologne Chip Designs GmbH ISDN network controller [HFC-PCI] (rev 02)
        Subsystem: Cologne Chip Designs GmbH ISDN Board
        Flags: bus master, medium devsel, latency 16, IRQ 12
        I/O ports at e800 [disabled]
        Memory at e6403000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [40] Power Management version 1

[root@sasa ~]# /etc/init.d/isdn start
Starting ISDN:
 loading modules
FATAL: Module ipchains not found.
/dev/isdnctrl: No such file or directory
 adding account 'isdn' on device 'ippp0'
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
Can't open /dev/isdninfo or /dev/isdn/isdninfo: No such file or directory
SIOCSIFADDR: No such device
ippp0: unknown interface: No such device
SIOCSIFDSTADDR: No such device
ippp0: unknown interface: No such device
ippp0: unknown interface: No such device
In file /etc/ppp/ioptions: unrecognized command /dev/ippp0

What next to do, how to fix this problem?

Thanks.

Sasa

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: service isdn start
« Reply #3 on: January 06, 2006, 04:01:55 PM »
Quote from: "sjugin"

What next to do, how to fix this problem?


As I said above, if you find a problem and you want it to be fixed, you should report the problem via the Bug Tracker.

allsorts

How to install & setup ISDN card on SME7beta8?
« Reply #4 on: April 19, 2006, 03:29:52 PM »
Came across this problem last night with SME7.0rc1, bit of a pain as I use ISDN as backup to broadband... As fas as I could tell last night the only problem is the missing ISDN related devices in /dev. Put them back and all of the ISDN subsystem appears to work again.

The ISDN devices are missing because of the move to using udev to dynamically create devices at boot time and as things are "hot plugged". By default udev does not create the ISDN devices at boot time but it is easy to make it do so.

Use MAKEDEV 3 times with the parameter "isdnctrl", "isdninfo" and "ippp". The creates the required devices in /dev. Copy say the first 16 (0 - 15) of isndctrl and ippp devices along with the isdnctrl symlink and isdninfo to the directory /etc/udev/devices. Reboot, simple as that.  B-)

When the machine boots it calls start_udev (or similar) this copies whatever is in /etc/udev/devices to /dev, thus making sure that they are present before ippp or diald is started.

I'm away for a few days and can't remember my bugzilla password or I would have added a comment to bug 425. Likewise the directory to copy to might be wrong but I don't think it is.

Would a good way of creating these devices in the SME distribution be a template fragment calling MAKEDEV as required? I think there is a command line option (-d or -D) to force MAKEDEV to create the devices in a directory other than /dev, this would better than creating and copying. Mind you MAKEDEV creates *all* the devices, rather more than are really required.

Cheers
Dave.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
How to install & setup ISDN card on SME7beta8?
« Reply #5 on: April 19, 2006, 04:54:48 PM »
Quote from: "allsorts"

The ISDN devices are missing because of the move to using udev to dynamically create devices at boot time and as things are "hot plugged".


I've transcribed this into bugzilla. Any further followup to http://bugs.contribs.org/show_bug.cgi?id=425 please.