[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to get Bell Canada 3G USB network up?





On 11-06-11 20:19, Christian Jaeger wrote:
option                 12918  2
usb_wwan                6147  1 option
usbserial              21120  7 option,usb_wwan


I am worried about this 'usb_wwan', it seems to do exactly what 'option' is
supposed to do. rmmod usb_wwan ? Is it nm doing this ?

As you can see from the lsmod output, usb_wwan is required by option.


I was a bit stupid there. ( I have linux-sources installed and was looking into these files. )

I suggest that you go back to the beginning, probably a clean, fresh
install of
Squeeze, stick the modem in and see what happens. Or a live cd, or, ..

So I've done that now (fresh squeeze install on my netbook). It's just
like in the Ubuntu live system: the modem is being recognized and
usb-modeswitched out of the box (some of the times), configuring the
country/provider makes it work, but same story: (1) half the times I
plug in the modem, it won't work at all (modeswitching works and it
shows up in the nm menu, but choosing 'activate' just spins for a
couple seconds but does nothing); (2) if (1) worked, then just as with
my hand hacked older Debian setup, after 20 seconds it will loose
connection about in half of the cases.

BTW lately I've cared to observe the exact moment when it 'crashes'.
It is 20 seconds after connection initiation and really exactly when
it switches from "U" (umts) to "H" (HSPA).


So this must be your problem.

I do not know how to help here.

( I see you have another answer that may help )

<snip>


The second stage is the loading of the proper module which makes the device
accessible. ( presence of /dev/ttyUSB* )

Now we can 'talk' to this thing. It works like an old fashioned
telephoneline-modem with 'AT-' commands, we can tell it to 'dial',
disconnect, scan for available networks, measure signalstrength etc.
One might use 'minicom' to play with it.

Yeah I know, I used those a bit in the old 56k telephone modem times.
But I haven't really tried to find a command list for 3G modems.

I have something here:
http://rjnoe.home.xs4all.nl/0/linux/3g/at-commands/


(Also, I'm not sure what to do: how would I bring ppp up in such a
manual scenario, i.e. from minicom? Also, in the old times, once ppp
is up, the computer normally wouldn't send AT commands to the modem,
except to interrupt ppp stream to bring it down. Since nowadays modems
need to transmit state changes like the change from UMTS to HSPA, I
wonder how that happens. In any case, I've got no idea what to look
out for, and also, even if I knew to pinpoint it down to a particular
feature, I'd have to observe what nm is doing, too, to know what else
to try.)

It has multiple entries in /dev : /dev/ttyUSB0 , /dev/ttyUSB1 , /dev/ttyUSB2 . One of them is for 'control'.



Or use 'chat', which is part of the package 'ppp', to write scripts that
manipulate the modem.


How do you connect, using nm or something else?

I avoid nm like the plague, but that said, if it is ready it might be
beautiful. I prefer low-level tools.

Yeah I tried to go with the low-level tools too, at first, then after
being unsuccessful gave in and went with nm. (I might try to find the
mails I sent during that time; after unsuccessfully trying ppp, I also
tried to go that "option" (iirc) route (the one that supercedes ppp),
w/o success either.)


I don't get that, 'option' is the driver, ppp or whatever else ( NM, wvdial ) will rely on it. Unless you replace 'option' with 'usbserial' which, I think, is a mistake.


Like wvdial. Run 'wvdialconf' -if- the modem is accessible. And then tweak
/etc/wvdial.conf .

I didn't try wvdial. Hm, I'll have to surf around to figure out how to tweak it.

Christian.



Sometime ago I wrote some scripts, playing with a 'hso' modem. They are here: http://rjnoe.home.xs4all.nl/0/linux/3g/
I think you can replace 'hso' with 'usb' in some places.

--Jasper.


Reply to: