Quick solution that requires no recompilation:
1- create a script at /etc/network/if-up.d/ called usb0 (name doesn't matter)
2- give it the following contents:
#!/bin/sh
logger "running dhcp client on $IFACE to work around modem manager
problem..."
if [ "$IFACE" = "usb0" ]; then
dhclient usb0
fi
3- make it executable
You will see that one the interface gets the IP (that comes apparently
from AT commands) dhclient is started and obtains again an IP, but this
time along with a default gateway.
Of course this is not a "proper" solution. Modem manager should know
which modems need DHCP and which ones do not.
--
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/861282
Title:
19d2:1015 ZTE K3806-Z network connection established, but does not
work
Status in “modemmanager” package in Ubuntu:
Incomplete
Status in “network-manager” package in Ubuntu:
Incomplete
Status in “usb-modeswitch” package in Ubuntu:
Confirmed
Bug description:
usb_modeswitch properly switches from 1013 to 1015
after I set up a mobile broadband connection using networkmanager's gui. The
connection is for Hungary, Vodafone.
the swithc seemingly connects, IP is received, but can't access anything on
the net
could someone help me, please?
I'm running natty on an eeepc x101
$ lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 005: ID 19d2:1015 ONDA Communication S.p.A.
Bus 001 Device 003: ID 13d3:5711 IMC Networks
Bus 001 Device 002: ID 058f:6366 Alcor Micro Corp. Multi Flash Reader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:19 errors:0 dropped:0 overruns:0 frame:0
TX packets:19 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1408 (1.4 KB) TX bytes:1408 (1.4 KB)
usb0 Link encap:Ethernet HWaddr 02:46:82:e2:cb:5a
inet addr:94.44.212.240 Bcast:94.44.212.240 Mask:255.255.255.255
inet6 addr: fe80::46:82ff:fee2:cb5a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:54 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:8742 (8.7 KB)
wlan0 Link encap:Ethernet HWaddr 74:2f:68:8b:82:30
inet6 addr: fe80::762f:68ff:fe8b:8230/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:6195 errors:0 dropped:0 overruns:0 frame:0
TX packets:3709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5353778 (5.3 MB) TX bytes:701868 (701.8 KB)
thanks for any support!
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/modemmanager/+bug/861282/+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