On Wed, 2014-06-04 at 16:57 +0000, Art Edwards wrote:
> I am running 12.10 on Dell inspiron 14-z, and I'm using the novatel
> M760 over virgin mobile. I still have the problem that the system
> doesn't see the device if I remove, and re-insert it. I have tried the
> solution suggested in #27, and, now, the modem does autoconnect.
> However, it has not solved the re-insertion problem. I note the Bug
> Watch updater that there is a new network-manager as of 2014-05-07. Will
> this be back-ported to 12.10?
>
Try this. It was all that helped me get 12.04 to auto-connect.
sudo gedit /etc/init.d/mobile-broadband-connect
Copy/paste the following script in and where you see 8ta (2 places) you
have to enter your service provider. Then save and close gedit.
then
sudo chmod +x /etc/init.d/mobile-broadband-connect
sudo update-rc.d mobile-broadband-connect defaults
Then reboot and lets hope it works for you too.
Good luck
Miles
#!/bin/sh
# Mobile Broadband Startup Service script v0.1 alpha by The Fan Club -
April 2012
# acts as startup service script for nmcli to fire up Mobile Broadband
Connections
# NOTE: Use the name of the Mobile Connection in the Network Manager as
the 'id'
# USAGE: start|stop|status
#
### BEGIN INIT INFO
# Provides: mobile-broadband-connect
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Autoconnect 3G GSM
### END INIT INFO
NAME="mobile-broadband-connect"
DESC="Autoconnect 3G/4G GSM USB modem at startup"
test -x $DAEMON || exit 0
case "$1" in
start)
echo "Starting Mobile Broadband Connection."
while true; do
# testing...
LC_ALL=C nmcli -t -f TYPE,STATE dev | grep -q "^gsm:disconnected
$"
if [ $? -eq 0 ]; then
break
else
# no GSM modem detected yet, sleeping for a second
sleep 1
fi
done
# Once GSM modem detected, run the script
nmcli -t con up id 8ta
;;
stop)
echo "Stopping Mobile Broadband Connection."
nmcli -t con down id 8ta
nmcli -t nm wwan off
;;
status)
# Check to see if the process is running with nmcli
nmcli -p dev
;;
*)
echo "Mobile Broadband Startup Service"
echo $"Usage: $0 {start|stop|status}"
exit 1
esac
exit 0
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/848164
Title:
Auto connect to 3G network only works after manually enabling mobile
broadband after modem inserted/bootup/resume
Status in NetworkManager:
Fix Released
Status in “network-manager” package in Ubuntu:
Confirmed
Bug description:
NetworkManager does not connect to my 3G provider at login, even
though it is configured for automatic connection.
What I expect:
- When selecting the option "connect automatically" in the network-setting
for a mobile connection, it should connect automatically, like it has until
Ubuntu 11.04.
What happens:
- When I plug in the modem (USB; e.g. "UMTS-Stick"), it appears as available
connection, but does not connect;
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: network-manager 0.9.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.0.0-11.17-generic 3.0.4
Uname: Linux 3.0.0-11-generic x86_64
ApportVersion: 1.22.1-0ubuntu2
Architecture: amd64
CRDA: Error: [Errno 2] No such file or directory
Date: Mon Sep 12 20:32:01 2011
IfupdownConfig:
auto lo
iface lo inet loopback
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
IpRoute:
default via 10.0.0.1 dev wlan0 proto static
10.0.0.0/24 dev wlan0 proto kernel scope link src 10.0.0.6
169.254.0.0/16 dev wlan0 scope link metric 1000
Keyfiles: Error: [Errno 2] No such file or directory
NetworkManager.state:
[main]
NetworkingEnabled=true
WirelessEnabled=true
WWANEnabled=true
ProcEnviron:
PATH=(custom, no user)
LANG=da_DK.UTF-8
SHELL=/bin/bash
SourcePackage: network-manager
UpgradeStatus: Upgraded to oneiric on 2011-09-12 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/848164/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp