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 17:40:12 +1100
Yeah, I just saw that that was where you change the init string before.
After compiling this, it got passed the error and a it tried to do a few
more things which all were successful. Then it comes up with an error:
Invalid byte sequence in conversion input
Well actually after a reboot and trying again (running the
/usr/local/sbin/NetworkManager which is the newly installed one) I get:
symbol lookup error: NetworkManager: undefined symbol:
nm_setting_connection_get_autoconnect
So that's not good, looks like a library hasn't installed correctly or
something.
Jerone Young wrote:
Before you decide to do that. What is the output if you swith it back
to ttyUSB0?
To change the initialization commands you can start in
src/nm-gsm-device.c
On Tue, 2009-01-06 at 16:40 +1100, Ben wrote:
Is there a way to change the init string? When I run:
NM_SERIAL_DEBUG=1 /usr/sbin/NetworkManager --no-daemon
I can see that it's trying to send an init string that is different to
the one that I'm using in my /etc/wvdial.conf file. Then, an error gets
returned saying that it couldn't initialise the modem. I'm pretty sure
that if I change this init string in NetworkManager that it will work.
Ben.
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]