Dennis Wicks wrote:

> Can anyone point me to a tutorial on defining network devices on
> debian? (woody version)

The only difference on Debian is that /etc/chandev.conf is
auto-generated by update-modules from /etc/modutils/*.chandev.
So you should enter your chandev settings in e.g.
/etc/modutils/ctc.chandev and run /sbin/update-modules. Then either
reboot or send your CTC chandev settings to /proc/chandev using echo. An
example for the chandev settings is "ctc0,0x0100,0x0101" where 0x100 is
your read device numer and 0x101 your write device number. See chapter 9
of "Device Drivers and Installation Commands" from developerWorks for
more details about the CTC chandev parameters.

The alias for ctc0 is already in /etc/modules.conf so the module gets
loaded when you type "ifconfig ctc0 ...". To make your IP settings
permanent, create an entry for ctc0 in /etc/network/interfaces (see "man
interfaces" for the syntax).

>      ctc0: ERROR while getting interface flags: No such device

This means that you CTC device numbers were not detected when the CTC
module was loaded. /var/log/kern.log should also tell you this. As a
first test, remove the ctc module ("rmmod ctc"), set the chandev
parameters for ctc (e.g. "echo ctc0,0x0100,0x0101 > /proc/chandev",
replace 0x0100 and 0x0101 with your CTC device numbers) and load the ctc
module again ("modprobe ctc"). If this does not work for you, please
send me the last few lines from /var/log/kern.log and the contents of
/proc/chandev, /proc/subchannels, /etc/modules.conf and /etc/chandev.conf.

Greetings,
Stefan Gybas

Reply via email to