On 08/01/12 08:06, Panayiotis wrote:
> Thanks!
> 
> Well, sometimes the modem won't get recognized at all (nothing in dmesg
> or lsusb), sometimes it will be connected for a while then suddenly
> disconnect. Signal strength is weaker than in Windoze (generally no 3G
> in Linux). 

That makes no sense unless you have it configured so that it is *not*
forced to only use 3G. If you set it up using the Vodaphone software on
Windoof - that's what will have happened.

Install cmgt
# apt-get install cmgt

Find out what devices your modem uses..
eg.:-
$ dmesg | grep GSM | more
[   10.976642] USB Serial support registered for GSM modem (1-port)
[   10.978427] option 1-2.4:1.0: GSM modem (1-port) converter detected
[   10.985660] usb 1-2.4: GSM modem (1-port) converter now attached to
ttyUSB0
[   10.985877] option 1-2.4:1.1: GSM modem (1-port) converter detected
[   10.991062] usb 1-2.4: GSM modem (1-port) converter now attached to
ttyUSB1
[   10.991325] option 1-2.4:1.2: GSM modem (1-port) converter detected
[   10.997840] usb 1-2.4: GSM modem (1-port) converter now attached to
ttyUSB2
[   10.998051] option: v0.7.2:USB Driver for GSM modems

In this case /dev/USBtty0 - 2 are created. Now find out which one it
gets network data from:-
$ cat /dev/USBtty0 (nothing there so kill with Ctrl+C)
^C
$ cat /dev/USBtty1 (bingo!)
+ZPASR: "HSDPA"



+ZPASR: "3G"

<snipped>

Self explanatory.

Edit /usr/bin/sigmon to use that device. There's a backup in /etc/comgt

# nano /usr/bin/sigmon

find the line:-
comgt -d /dev/ttyUSBx sig

and change x to reflect the network port of your device
For this example it's USBtty1

comgt -d /dev/ttyUSB1 sig

save it, then, run sigmon
# sigmon
Use Ctrl/C to terminate monitoring
Signal Quality: 24,99
Signal Quality:R: "3G"
Signal Quality: 24,99
Signal Quality: 24,99
^C

"24" is the value of the relative signal strength.

Give us the information on your modem and I'll tell you how to boost
that signal, and force your modem to *only* use 3G.

> The worst is that when the disconnects happen (which is
> often) I have to plug it out and back in, as NetworkManager can't
> reconnect otherwise. I have also tried wvdial, but it's annoying to have
> to use a different program, and the signal weakness still applies.
> 
> And I have had quite a lot of trouble to get it work at all, including
> having to pull in usbmodeswitch from Wheezy.

That should not be necessary. dmesg will tell us.

> 
> I want a modem that will "just work"... :-)

The problem is often/usually NetworkManager.

> 
> On Σαβ, 2012-01-07 at 21:09 +0200, Andrei Popescu wrote:
>> On Sb, 07 ian 12, 20:07:29, Panayiotis Karabassis wrote:
>>>
>>> To access the internet I have paid for a Vodafone Mobile Internet
>>> Contract. However the provided Huawei usb modem has been nothing but
>>> trouble.
>>
>> Can you provide some more details? I've used two different Huawei modems 
>> on squeeze without problems.
>>
>> Kind regards,
>> Andrei
> 
> 
> 
I've had the same experience as Andrei. With many USB modems.


The relevant lsusb would be nice. :-)


Cheers

-- 
Iceweasel/Firefox extensions for finding answers to Debian questions:-
https://addons.mozilla.org/en-US/firefox/collections/Scott_Ferguson/debian/


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4f08dc5c.6050...@gmail.com

Reply via email to