I use a script to reconnect my ONDA 3G modem, because the solution above doesn't work for me. My script is executed by cron, every 5 minutes.
#!/bin/bash MCHECK=`lsusb | grep ONDA` if ! [ -n "$MCHECK" ]; then echo "3G/GPRS modem not in use, ignoring..." exit 0 fi NCHECK=`/sbin/ifconfig ppp` NCHECK1=`echo $NCHECK | cut -d " " -f 1` if [ "$NCHECK1" = "ppp0" ]; then echo "Connection up, reconnect not required..." exit 0 else echo "Connection down, reconnecting..." #/etc/init.d/networking restart killall modem-manager modem-manager killall NetworkManager fi -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/566812 Title: USB Modem wont connect after modem hangup To manage notifications about this bug go to: https://bugs.launchpad.net/modemmanager/+bug/566812/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs