install:
install -D umts_functions ${prefix}/usr/lib/umts_functions
- install -D umts_backend ${prefix}/vsys/umts_backend
+ install -D umtsd ${prefix}/vsys/umtsd
install -D 96-umts-tools.rules ${prefix}/etc/udev/rules.d/96-umts-tools.rules
#install -D umts.init ${prefix}/etc/rc.d/init.d/umts
manage the 3G umts/hsdpa interface. Then, you have to add the vsys
attribute to the slivers you want to grant the access to the umts/hsdpa
interface. The value of this attribute ("vsys") has to be set to
-"umts_backend"
+"umtsd"
Please read README.user for further explanations on how the 3G
umts/hsdpa interface is supported.
int ret;
-char * vsys_in="/vsys/umts_backend.in";
-char * vsys_out="/vsys/umts_backend.out";
+char * vsys_in="/vsys/umtsd.in";
+char * vsys_out="/vsys/umtsd.out";
fd_set set;
char lineread[BUFSIZE];
#/sbin/chkconfig umts off
%files
-/vsys/umts_backend
+/vsys/umtsd
/usr/lib/umts_functions
/etc/udev/rules.d/96-umts-tools.rules
#/etc/rc.d/init.d/umts
-#/etc/chatscripts/vodaphone-it
+
%defattr(-,root,root)
%doc AUTHORS TODO
DESTS_FILE="/tmp/umts_dest_file"
FILE_TEMP_NID="/tmp/umts_temp_nid"
FILE_UMTS_INT="/tmp/umts_dev"
-LOCK_DIR="/var/run/umts_lock"
-FILE_LOCK_SLIVER="/var/run/umts_locking_sliver"
+LOCK_DIR="/tmp/umts_lock_d"
+FILE_LOCK_SLIVER="/tmp/umts_locking_sliver"
PPP_INT="ppp0"
PPPD="pppd"
CHAT_SCRIPTS="/etc/chatscripts"
ATD$NUM CONNECT ''" > $LOGF &
- #exec /usr/sbin/pppd nodetach `get_umts_dev` 460800 \
- # 0.0.0.0:0.0.0.0 \
- # connect "/usr/sbin/chat -f ${CHAT_SCRIPTS}/vodaphone-it" > $LOGF &
-
echo $! > $PPPD_PIDFILE
sleep 5s; #waiting for the interface to establish the link