ISDN Dial-up II
Summary:- ISDN For Users
- Dial On Demand
- Troubleshooting
- An ISDN-Dialer
ISDN For Users
So far, only 'root' can open and close connections. This may be a bit awkward, so let's change this.As 'root' create a new user group, called 'net' (or any other name). Use Linuxconf via ~DrakConf ('User accounts' - 'Group definitions' - 'Add'. Enter the new group name and the accounts which should be able to dial-out). Or simply edit '/etc/group': old: radio:x:83: nobody:x:99: new: radio:x:83: net:x:84:tom nobody:x:99: Now you need to change some permissions: chgrp net /dev/isdninfo /dev/isdnctrl* /sbin/isdnctrl chmod g=rw /dev/isdninfo /dev/isdnctrl To test this you either need to login again (since '/etc/group' is only read at login) or you issue the command
newgrp net
/sbin/isdnctrl dial ippp0
- Right-click on desktop. Choose 'New' - 'Application'
- Enter a name for the kdelnk-file (e.g. dial.kdelnk)
- In the new box, labeled 'kfm', go to the 'Execute' tab and enter the complete command line.
- (Optionally) Klick on the icon and choose an icon.
- Repeat for hangup.
Dial On Demand
You will note that setting the dial mode to 'auto' in '/etc/isdn/profile/link/myisp' alone doesn't turn 'dial on demand' on.This is because there is no default route yet via which network packages are sent. They can't find the ippp0 interface and therefore don't trigger a dial.
You can change this by setting the default route with
route add default ippp0chmod +x
Troubleshooting
Scan '/var/log/messages' for ipppd entries. Generate more verbose logs:- Run . The output goes to '/var/log/messages'.
isdnctrl verbose 3
- Edit '/etc/syslog.conf' and add:
subscribe isdn4linux {your email address}
List languages are English and German. Visit the 'Links' page on the isdn4linux home page. It lists further international resources. section index
An ISDN-Dialer
Apart from making your own 'Connect/Disconnect' icons or menu entries, there is at least one dedicated dialer, wmisdn. 'wmisdn' can be run as a 'dockapp' in Window Maker or Afterstep, or as a standalone program. It dials and hangs up with a simple mouse click and shows the current connection status. Despite its low version number it compiles and runs flawlessly. The programmer suggests to run it 'setuid root' (read the pages on permissions, if you don't know what that is). But if you've set up the permissions like I've explained, you don't need to do that. section indexRelated Resources:
isdn4linux FAQman isdnctrl
Sample files in /usr/share/doc/isdn4net-{...}
isdn4linux website Revision / Modified: June 21, 2001
Author: Tom Berger Legal: This page is covered by the GNU Free Documentation License. Standard disclaimers of warranty apply. Copyright LSTB and Mandrakesoft.
ISDN Dial-up II
Version 1.3 last modified by AdminWiki on 22/03/2004 at 09:44
Version 1.3 last modified by AdminWiki on 22/03/2004 at 09:44
Document data
- Lost account?
- Join the community, be part of the Club: it's free!
- Get the PWP Download Subscription!
Mandriva.com
Store
Club

