Commit Graph

52 Commits

Author SHA1 Message Date
paul a41dbcbcc2 "status all" would show also non-ISDN interfaces, this is now fixed.
"status active" added, this shows only those interfaces that are connected.
2003-03-11 13:46:56 +00:00
keil cdb8a3d4a3 - don't allow users to change setup 2003-02-24 17:22:22 +00:00
paul 8f0ac2615c Fixed error messages when opening /dev/isdnctrl - /dev/isdn/isdnctrl etc.,
only /dev/isdnctrl was mentioned and people assumed that isdnctrl wasn't
devfs-compliant yet when the open failed due to other reasons.
Zero the phone struct before use.
2002-01-31 19:53:41 +00:00
paul c7b299308d Added 'break' statement after handling data version 5 (otherwise fallthrough
into data version 6 handling!!)
2001-06-11 17:55:58 +00:00
kai 377696f5c9 removed traces of TIMRU. I hope it's been dead for a long enough time now. 2001-05-23 14:59:23 +00:00
kai 0748132381 make isdnctrl independent of the version of installed kernel headers,
we have our own copy now.
2001-05-23 14:48:23 +00:00
kai 4b612cdca0 fixed a stack overflow when using isdnctrl status 2001-03-15 22:02:44 +00:00
paul 10f699ef70 Various patches to fix errors when using the newest glibc,
replaced use of insecure tempnam() function
and to remove warnings etc.
2001-03-01 14:59:11 +00:00
paul 2f7dd69aea Added --version option to display (isdn4k-utils) version,
and fixed a compile warning on alpha.
2000-08-17 09:24:06 +00:00
akool 1c0a68c4e8 - Ported "imontty", "isdnctrl", "isdnlog", "xmonisdn" and "hisaxctrl" to
Linux-2.4 "devfs" ("/dev/isdnctrl" -> "/dev/isdn/isdnctrl")
2000-06-29 17:38:26 +00:00
calle bd2b21798c DriverId can be longer than 8 for "mapping" and "busreject". 2000-04-27 06:32:28 +00:00
detabc f37d9c5cf3 add test for maybe undefined IIOCNETDWRSET define 2000-04-12 21:49:40 +00:00
paul 97a782467b Error messages from addlink/removelink are now userfriendly. 2000-01-27 15:08:09 +00:00
paul 1450b53f32 Made error message for 'status' command clearer if IIOCNETGPN
is not implemented in kernel (e.g. 2.0.x kernels).
1999-11-23 10:17:27 +00:00
detabc dc58d099c8 added netinterface abc-secure-counter reset (clear) support. 1999-11-20 22:23:53 +00:00
detabc 20e332c124 add dwabc-udpinfo-utilitys in isdnctrl 1999-11-07 22:04:05 +00:00
keil 562d5e7062 make phonenumber ioctl compatible for ctrlconf too 1999-11-02 20:41:21 +00:00
keil f73472612b make the phone number struct compatible between NET_DV 5 and 6 1999-10-27 14:36:19 +00:00
fritz 2d39cb2f2e Changed my mail-address. 1999-09-06 08:03:23 +00:00
paul d93ee4f68b isdnctrl.man.in 1999-06-07 19:25:38 +00:00
paul a99a31b913 didn't compile with old kernel source 1998-12-23 12:51:44 +00:00
paul 287c92d045 detect kernel < 2.0.36; warn if dialmode is accessed with older kernels 1998-11-24 18:18:57 +00:00
fritz 917aabdb66 Fixed display of dialmode. 1998-11-18 13:20:07 +00:00
paul f20106de1f isdnctrl.c now compiles with kernel sources without dialmode stuff. 1998-11-17 18:29:31 +00:00
fritz aa0f3b29f1 Make isdnctrl compile without TIMRU in kernel (2.0.36-pre20/21) 1998-11-11 23:53:00 +00:00
paul 7fe274e31f Implemented "dialmode all" mode. 1998-10-28 16:12:18 +00:00
paul ea996d53b5 Implementation of "dialmode" (successor of "status") 1998-10-21 16:18:45 +00:00
keil 01ea633fb3 Make it compiling with older I4L versions 1998-07-22 19:07:13 +00:00
fritz abb82284a8 Misc. Fixes.
Added fallback to libdb for isdnctrl.
Added -V version check in isdnctrl.
1998-06-27 00:35:57 +00:00
detabc 5adb3c91fc cleanup abc 1998-06-12 12:09:51 +00:00
cal a05c712d86 added the command "isdnctrl name ifdefaults": the named device is reset
to some reasonable defaults.

Internally, isdnctrl.c contains a list of functions (defs_fcns []), which
are called one after the other with the interface-name as a patameter.
Each function returns a char* to a string containing iscnctrl-commands
to be executed. Example:

char *
defs_budget(char *id) {
	static char	r [1024];
	char	*p = r;

	p += sprintf(p, "budget %s dial 10 1min\n", id);
	p += sprintf(p, "budget %s charge 100 1day\n", id);
	p += sprintf(p, "budget %s online 8hour 1day\n", id);

	return(r);
}

The advantage of this approach is, that even complex commands can be executed.

PS: The function defs_basic() in isdnctrl.c is not complete.
1998-06-09 18:11:29 +00:00
detabc 34044cfa1d wegen einer einstweiliger verfuegung gegen DW ist zur zeit
die abc-extension bis zur klaerung der rechtslage nicht verfuegbar
1998-06-02 12:17:15 +00:00
paul f2abd95a27 Fixed compiler warnings from egcs. 1998-04-28 08:33:52 +00:00
detabc 8e3c0291a8 modify display of callbackdelay (cbdelay) value to %.1f sec.
if abc-extension is enabled
1998-04-18 17:36:13 +00:00
detabc 823d818ef3 change to use the abc-ext-options -TU on all encapsulations
the option -A (abc-router) will only works with rawip
1998-03-21 17:10:36 +00:00
detabc 7bee63ff09 change define CONFIG_ISDN_WITH_ABC to HAVE_ABCEXT.
HAVE_ABCEXT will be set with the configure utility.
to enable isdnctrl with ABC-Extension-support please make
first a kernelconfig with ABC-Extension enabled.
Thanks
1998-03-19 15:39:02 +00:00
hipp bda193626d Cosmetic. Changed 'addlink' error message. 1998-03-12 15:10:11 +00:00
fritz b7dd948d1b Fix: Did not compile without TIMRU in kernel. 1998-03-08 01:04:14 +00:00
detabc df8551933b include config-support for abc-extension
only isdnctrl encap will be used and only use the options [-ATU]rawip
thanks
1998-03-08 00:18:25 +00:00
cal ab5bf4c91d added support for dynamic timeout-rules vs. 971110 1998-03-07 18:25:52 +00:00
fritz 80b36ccc2a Get rid of including ../.config in Makefile
Now all configuration is done in configure.
1997-10-26 23:12:17 +00:00
fritz da27a3e58c Check for missing triggercps in configuration. 1997-09-26 09:07:13 +00:00
fritz 3586823b5c Bugfix: Tried to get Version-Info on wrong device. 1997-09-11 19:03:32 +00:00
fritz 268ee9c03b Added Version-Checking of NET_DV. 1997-08-21 14:46:58 +00:00
luethje 539a749fd5 the call "isdnctrl pppbind ipppX" will be bound the interface to X 1997-07-30 20:09:24 +00:00
luethje f15626a998 added the option "force" for the commands delif and reset 1997-07-23 20:39:14 +00:00
luethje 32928f3529 isdnrep: Use "&nbsp;" for blanks
isdnctrl: Add the option "reset"
1997-07-22 22:36:08 +00:00
calle 855b4c1d59 isdnctrl trigger was not working. 1997-07-20 16:36:26 +00:00
luethje 73804b5ace isdnctrl can use a config file 1997-06-24 23:35:15 +00:00
fritz 86cb597c87 Added ability to adjust slave triggerlevel. 1997-06-22 11:58:17 +00:00