hi :-) first of all, great work, Daniele! a such a great progressrate for a one-man-project is really amazing :-))
1) while trying a bit with the [EMAIL PROTECTED] distribution, i missed the requirement for udev 051; with the attached is a patch, this should not happen again to somebody ;-) 2) i saw, that the tcpdump/libpcap cvs holds at least parts of your modifications; whats the state with integration in the ethereal cvs? didn“t found any hints, that this has happend 3) vgsm exists there any non NDA infos about that hardware? the voismart homepage is italien and i think that there is no detailed information available hope that gets applied; mfg hermann
--- visdn_configurator 2006-02-13 13:31:45.000000000 +0100
+++ visdn_configurator-mrq1 2006-02-13 13:42:41.000000000 +0100
@@ -8,6 +8,8 @@
#VISDNCTL="echo visdnctl"
VISDNCTL=${exec_prefix}/sbin/visdnctl
+UDEVMINVERSION="051"
+
modprobe visdn-netdev
modprobe visdn-streamport
modprobe visdn-ppp
@@ -20,6 +22,15 @@
NETDEV_CONTROL_DEVICE="/dev/visdn/netdev-control"
CXC_CONTROL_DEVICE="/dev/visdn/cxc-control"
+function check_udev()
+{
+ if [ `udevinfo -V | sed "s/.*\([0-9][0-9][0-9]\)/\1/"` -lt
"$UDEVMINVERSION" ] ; then
+ echo "udev is to old!"
+ echo "you need at least udev-$UDEVMINVERSION for vISDN"
+ exit 1
+ fi
+}
+
function check_device()
{
if [ ! -c "$FILENAME" ]; then
@@ -49,6 +60,7 @@
done
echo "timeout (ensure udev is configured correctly)"
+ echo "you need at least udev-$UDEVMINVERSION for vISDN"
exit 1
fi
@@ -266,6 +278,7 @@
echo "Unexpected EOF in netdev block"
}
+check_udev
wait_for_device $NETDEV_CONTROL_DEVICE
wait_for_device $CXC_CONTROL_DEVICE
pgpPKJya0IbzT.pgp
Description: PGP signature
_______________________________________________ Visdn-hackers mailing list [email protected] https://mailman.uli.it/mailman/listinfo/visdn-hackers
