Re: Mobile broadband connects to wrong USB device
- From: Ben <ben benjamin it>
- To: Jerone Young <jerone young canonical com>
- Cc: networkmanager-list gnome org
- Subject: Re: Mobile broadband connects to wrong USB device
- Date: Tue, 06 Jan 2009 13:57:58 +1100
Ahh OK thanks. Here is the output when I select the connection:
NetworkManager: <info> Activation (ttyUSB4) starting connection 'Vodafone'
NetworkManager: <info> (ttyUSB4): device state change: 3 ->
4
NetworkManager: <info> Activation (ttyUSB4) Stage 1 of 5 (Device
Prepare) scheduled...
NetworkManager: <info> Activation (ttyUSB4) Stage 1 of 5 (Device
Prepare) started...
NetworkManager: <debug> [1231210578.256890] nm_serial_device_open():
(ttyUSB4) opening device...
NetworkManager: <info> Activation (ttyUSB4) Stage 1 of 5 (Device
Prepare) complete.
NetworkManager: <WARN> init_done(): Modem initialization failed
NetworkManager: <info> (ttyUSB4): device state change: 4 -> 9
NetworkManager: <debug> [1231210578.418451] nm_serial_device_close():
Closing device 'ttyUSB4'
NetworkManager: <info> Marking connection 'Vodafone' invalid.
NetworkManager: <info> Activation (ttyUSB4) failed.
NetworkManager: <info> (ttyUSB4): device state change: 9 -> 3
NetworkManager: <info> (ttyUSB4): deactivating device (reason: 0).
NetworkManager: nm_system_device_flush_ip4_routes_with_iface: assertion
`iface_idx >= 0' failed
NetworkManager: nm_system_device_flush_ip4_addresses_with_iface:
assertion `iface_idx >= 0' failed
Is it possible that it's trying to open ttyUSB4 instead of /dev/ttyUSB4 ?
Jerone Young wrote:
You can look in /var/log/daemon.log.
You can also run Network Manager in debug mode (as root):
1) /etc/init.d/network-manager stop
2) NetworkManager --no-daemon
You will see debug message in the Window.
On Tue, 2009-01-06 at 13:36 +1100, Ben wrote:
Hmmm no if I change the int to a 4 and reboot, it tries to connect but
about half a second later it instantly connects back to what it had
originally connected to (LAN or whatever). There is nothing in the log
(/var/log/messages) about what it's doing so it's hard to say. But if I
set int to be 3 for example and then connect, it says it's trying to
dial ttyUSB3, so setting it to 4 I am assuming it is trying to connect
to ttyUSB4.
Any other suggestions? Is there any other place where it could be
logging failed attempts? I read somewhere that it could put info in
/var/log/networkmanager but I don't have that file.
Thanks for the help.
Jerone Young wrote:
Ok I might have screwed it up. You can hack your local copy easily
though. First back it up. Then edit
/usr/share/hal/fdi/information/10freedesktop/10-modem.fdi
line 334
You will see
<match key="@info.parent:usb.interface.number" int="0">
Change this to
<match key="@info.parent:usb.interface.number" int="4">
Let us know if that works.
On Tue, 2009-01-06 at 12:24 +1100, Ben wrote:
Thanks for the suggestion. I tried your fix however when I copied this
file over the original one (made backup first) and then reboot, I can
create a connection but now I no longer see it in the connection list.
I'm using NetworkManager applet 0.7.0.
Jerone Young wrote:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]