The interfaces are configured in:
An example configuration looks like:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) # The loopback interface # automatically added when upgrading auto lo iface lo inet loopback # The first network card - this entry was created during the # Debian installation automatically added when upgrading auto eth0 iface eth0 inet static address 192.168.1.1 netmask 255.255.255.
Use man interfaces for more options.
Use ifup to activate an interface and ifdown to stop it. Like:
The hostname configuration can be found in:
apt-get install isdn-bare ipppd isdnlog isdnlog-data
The Debian ISDN configuration can be found in:
Start modconf and select isdn to configure isdn then select the module (e.g. isdn/hisax).
The isdnlog configuration needs a country code (like 31, for The Netherlands) and an areacode without the leading 0. Amsterdam would be 20 in stead of 020.
In /etc/isdn/isdn.conf the PRESELECT is set to 55, which is KPN if you would like another preselect carrier change it here.
In isdn.isdnctrl0 set monitor=yes to be able to use e.g. imon to see what is if lines are dialing.
Run isdnconfig and select for each device: select 1 ippp0, names ippp0
Default ippp0 sets the default route within Debian. To prevent this from happening you could adjust several sripts, but it is far easier to not use ippp0, but start at ippp1 if you don't want the default route to be set by ISDN.
isdnctrl dial ippp0
to force the dialing of ippp1, then use imon and /var/log/messages to monitor what is going on.
This is completely provider dependend.
Check with ping if all network interfaces are active and setup allright.
ping -c 2 <em>ip-address