please, help...
nothing helps, I tried NetworkManager, wvdial...
I've read on one of many forums I've searched this USB modem should be blocked just after pluging in - to prevent switchnig its mode. How to achieve it? Why does not the tutorial from gentoo-wiki write anything about it?

Oh, maybe I should mention that before everytnig I upgraded modem's firmware to the Reliance3G's which was the only one I could find in the Internet. Maybe this branded firmware has its special features which prevent it from cooperating with linux?

Hi,
I have an Huawai E1831. It work with Network Manager and Wvdial. I installed the usb_modeswitch utilities to be sure the USB stick is in the modem mode. You can have to unload the usbserial and the usb-storage modules to resolv a possible mode conflict. Than you list the vendor and the product ID's of the device with the command

Code:

lsusb -vvv | less

and you use them as parameters for the usbserial module and write this type of line in /etc/modprobe.d/modprobe.conf:

Code:

options usbserial product=0x1446 vendor=0x12d1

Replace with the good ID's. Now you can load the module

Code:

modprobe usbserial

At that point you should have wwan0 network card in plus of /dev/ttyUSB0 to 4. You configure your connexion with

Code:

wvdialconf

and edit the /etc/wvdial.conf file to uncomment the lines for user, password and phone with appropriate name and password that can be dummy and the phone number. Than

Thank you, Logicien.
However there are still problems.
Thirst, I can't unload 'usbserial' without unloading 'opiton' module too, since there is the dependancy of them. So I unloaded the two modules - was it what you meant?

Then I read what lsusb yields, it was:
....
Bus 001 Device 003: ID 12d1:1436 Huawei Technologies Co., Ltd.
so I created the /etc/modprobe.d/modprobe.conf file and enterred the corresponding line there:
options usbserial product=0x1436 vendor=0x12d1

Next, I did 'modprobe usbserial', and then issued 'wvdialconf' command:

~ # wvdial
--> WvDial: Internet dialer version 1.61
--> Warning: section [Dialer Defaults] does not exist in wvdial.conf.
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory
--> Cannot open /dev/modem: No such file or directory

Check if you have the nodes /dev/ttyUSB0 to 4. dummy can be a real username and password instead. You problem can come from the fact that the symbolic link /dev/modem do not exist or do not point to /dev/ttyUSB0. So you have to do it manually almost at every boot or configure Udev to do it for you. Use the real node to the modem /dev/ttyUSB0 is good enough.

Edit: precise the ID of the vendor and product seem's to be facultative. My connexion work without any parameter passed to usbserial. Anyway, if you have more than one USB/Serial devices, Linux have to be able to use all of thems._________________Paul

Check if you have the nodes /dev/ttyUSB0 to 4. dummy can be a real username and password instead. You problem can come from the fact that the symbolic link /dev/modem do not exist or do not point to /dev/ttyUSB0.

No, Logicien, the main trouble of 'wvdial' is about it doesn't read the configuration file '/etc/wvdial.conf' at all!
Whatever is put in the file the 'wvdial' always yields the error it can't find any section, especially [Dialer Defaults]. Perhaps it is a bug, isn't it?
How did you the job not having such error messages?

Last edited by yendy on Wed Nov 30, 2011 10:46 pm; edited 1 time in total

It works at last! I really don't know why but it is good it came to life
Maybe it is because I updated the system, with the 'revdep-rebuld' command, maybe its about the other kernel 'ppp-...' modules I've configured too now (dispite no need of activating them was mentioned in the tutorial)... I really don't know what has happened - as almost no new settings arrived, e.g. the '/etc/conf.d/net file is the same.

The only complaint remains - about modem's probably too long switching on, it takes about 1-2 minutes until the connection really is established. Under MS windows it took 11 seconds.
Is it the issue that, as we can see above, the modem seems to take 3 attempts before it actually connects?

To sum up, it is nice it works at last but it would be even nicer to know why. Any idea, Gentlemen?

Did you ever get it to work? I will need to setup my 3G Dongle as well and I have to say I am worried when looking through the forum post regarding this. My fallback would be to have the 3G dongle as a hardware pass-through on my Windows 7 guest but that will become a problem sooner or later if I cannot use the 3G dongle via Gentoo.

Seems Gentoo picks up mine at least but from there on there does not seem any straight forward way to configure it.