0.6 - Giovanni Di Stasi <giovanni.distasi@unina.it>
-* More than a sliver allowed to use the UMTS interface (one at a time)
+
+* More than a sliver allowed to use the umts interface (one at a time)
+* Removed init.umts at startup - gcom is called when "umts start" is issued
0.4 - Giovanni Di Stasi <giovanni.distasi@unina.it>
* Destinations added with "umts add ..." affect only the umts sliver
* Added an iproute2 table (umts_table)
* Implemented a better umts device discovery mechanism (using udev)
-* Added a check on the ip address provided by the user
+* Added a security check on the ip addresses provided by the user
========================================================================
-3G-UMTS-TOOLS
+PLANETLAB-UMTS-TOOLS
========================================================================
These tools give to users of a sliver the possibility to control a PPP
-0.6
-* Support more providers
+0.7
+* Do not call conn_off when umts start fails
+* Better error handling
+
all: umts
-umts: umts.c umts.h
+umts: umts.c
gcc -g umts.c -o umts
clean:
#include <errno.h>
-#include "umts.h"
-
// vsys frontend
//#define DEBUG
+++ /dev/null
-//#define DEBUG
-
-const char * ok="OK\n";
-const char * fail="Failed\n";
-
-const char * connected="Connected\n";
-const char * disconnected="Disconnected\n";
-const char * wrong_cmd="Wrong command\n";
+++ /dev/null
-#!/bin/bash
-# chkconfig: - 87 30
-# description: Loads modules needed for the umts connection and uses gcom
-
-. /usr/lib/umts_functions
-
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-case "$1" in
- start)
- echo "Initializing the umts component..."
- if init_umts; then echo "Done."; fi
- ;;
-
- *)
- echo "usage: $0 start"
- ;;
-
-esac
-
-exit 0
-
rest=`echo ${line#* }`
case "$command" in
- #init)
- #logger "Initialitation of the UMTS inteface requested by $sliver"
- #init_umts $sliver;
- #
- #if [[ $? != 0 ]] ; then
- # echo "Failed"
- #fi
- #;;
-
start)
logger "Starting the umts connection for $sliver"
start_umts $sliver;
esac
-#sleep 1
+sleep 1
echo "EOF"