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 16:40:52 +1100
 
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]