Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Huawei e353 usb stick wont connect to internet (SOLVED)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Pulie
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2004
Posts: 103
Location: Finland

PostPosted: Tue Sep 17, 2013 6:41 pm    Post subject: Huawei e353 usb stick wont connect to internet (SOLVED) Reply with quote

I have been trough all the installation wikis and i still cant connect. Usb_modeswitch complains about wrong interface, tried to conf it with several settings. Allthough lsusb recognises the huawei device ok. Networkmanager stays inactive all the time. nm-applet shows but stays dead although tried to conf mobile broadband to it. Asking for advice kindly...

Last edited by Pulie on Thu Sep 19, 2013 10:45 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54098
Location: 56N 3W

PostPosted: Tue Sep 17, 2013 7:14 pm    Post subject: Reply with quote

Pulie,

Play with wvdial, so you can see whats going on.

I can post my Vodafone UK wvdial setup but its not on the system I'm using right now.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Pulie
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2004
Posts: 103
Location: Finland

PostPosted: Tue Sep 17, 2013 10:20 pm    Post subject: Reply with quote

Thanks for the quick reply. I tried wvdialconf, it says there is no modem found. Dmesg detects huawei as well as lsusb. Udev doesn't seem to react if I unplug/plug the device, no changes in /dev/.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Tue Sep 17, 2013 11:51 pm    Post subject: Reply with quote

This site give information on how you can use usb_modeswitch to change your Huawei USB stick from a mass storage device to a serial GSM modem device and than use the modem device product and vendor id's to parameter the usbserial module.

Of course, you need the appropriate kernel configuration including the option module who drive the GSM modems. When your USB stick is turned to a modem, you should have /dev/ttyUSB0, 1, 2, 3 and 4 in the /dev directory.

With those devices files, wvdialconf should be able to find a serial device, probably ttyUSB0, that wvdial can use to send and receive AT commands to connect to the mobile network. /etc/wvdial.conf need to be edit to set dummy username and password.

Booting after a complete power shutdown is the best way to reinitialise the stick memory from a previous configuration, or unplug and plug it again. I was always using usb_modeswitch after the boot was finish to succeed to switch the key from a mass storage device to a GSM modem device.

I have a Huawei E1831 that I do not use anymore. Things can be different with your Huawei E353.
_________________
Paul
Back to top
View user's profile Send private message
Pulie
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2004
Posts: 103
Location: Finland

PostPosted: Wed Sep 18, 2013 10:33 am    Post subject: Reply with quote

Many thanks for the helpfull advice. Well usb_modeswitch works i guess. Dmesg recognises it as usb_probe_device, not as storage. By the way I never noticed it as anything else. There is still no ttyUSB. Tried to symlink tty12 as ttyUSB0. No luck. Wvdial cant find modem. Maybe i should try with different kernel. Im using 3.8.3-ck now. Ipv6 is complaining about eth0: link is not ready. Dont know if that has anything to do with this.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54098
Location: 56N 3W

PostPosted: Wed Sep 18, 2013 12:40 pm    Post subject: Reply with quote

Pulie,

You need the module called option for your kernel.
This should get you /dev/ttyUSBx Normally /dev/ttyUSB0 is the modem, /dev/ttyUSB1 and /dev/ttyUSB2 (if you have it/them) are for other things that are not supported in Linux.

kernel search:
  x Symbol: USB_SERIAL_OPTION [=m]                                           x 
  x Type  : tristate                                                         x 
  x Prompt: USB driver for GSM and CDMA modems                               x 
  x   Location:                                                              x 
  x     -> Device Drivers                                                    x 
  x       -> USB support (USB_SUPPORT [=y])                                  x 
  x (1)     -> USB Serial Converter support (USB_SERIAL [=m])                x 
  x   Defined at drivers/usb/serial/Kconfig:606                              x 
  x   Depends on: USB_SUPPORT [=y] && USB [=y] && USB_SERIAL [=m]            x 
  x   Selects: USB_SERIAL_WWAN [=m]   

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Pulie
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2004
Posts: 103
Location: Finland

PostPosted: Wed Sep 18, 2013 2:27 pm    Post subject: Reply with quote

Hmm. Tried that before, the usb drivers (usbserial and option) are as modules currently.

Last edited by Pulie on Thu Sep 19, 2013 10:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Pulie
Tux's lil' helper
Tux's lil' helper


Joined: 05 May 2004
Posts: 103
Location: Finland

PostPosted: Wed Sep 18, 2013 2:28 pm    Post subject: Reply with quote

after three days of mindbreaking frustration, i got a new modem, Huawei E367, plugged it in and everything just started working.

guess somethings are not mean to be, as with the E353.

Thanks for all the helpfull messages, really good feedback!


Last edited by Pulie on Thu Sep 19, 2013 10:41 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum