Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Huawei 3G modems and Ubuntu 10.04

  • 08-06-2012 12:52AM
    #1
    Posts: 0


    I am trying to get two different Three 3G modems working with Ubuntu 10.04 to no avail.

    One modem is the older Huawei E122 the other is a newer Huawei E353.

    In both cases the USB modem is detected Ok (you can browse to it in nautilus) but whne I try to add a new Mobile Connection in the Network Connections screen the device is not available.

    Someone mentioned that the usb-modeswitch might need to be configured. The usb-modeswitch version is 1.1.0-2

    Anyone got any thoughts on how I could resolve this.

    The output from /var/log/messages when I connect the E353 is as follows
    Jun 8 00:34:50 philip-jolicloud kernel: [ 8318.056211] usb 1-1: new high speed USB device using ehci_hcd and address 6
    Jun 8 00:34:50 philip-jolicloud kernel: [ 8318.193979] scsi10 : usb-storage 1-1:1.0
    Jun 8 00:34:51 philip-jolicloud kernel: [ 8319.193604] scsi 10:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
    Jun 8 00:34:51 philip-jolicloud kernel: [ 8319.210915] sr0: scsi-1 drive
    Jun 8 00:34:51 philip-jolicloud kernel: [ 8319.219182] sr 10:0:0:0: Attached scsi generic sg1 type 5

    And whne I connect the E122
    Jun 8 00:48:26 philip-jolicloud kernel: [ 9133.954581] usb 1-2: new high speed USB device using ehci_hcd and address 9
    Jun 8 00:48:26 philip-jolicloud kernel: [ 9134.095120] scsi18 : usb-storage 1-2:1.0
    Jun 8 00:48:26 philip-jolicloud kernel: [ 9134.097134] scsi19 : usb-storage 1-2:1.1


    Jun 8 00:48:27 philip-jolicloud usb-modeswitch: switching 12d1:1446 (HUA WEI: Huawei Mobile)
    Jun 8 00:48:27 philip-jolicloud kernel: [ 9135.121711] scsi 19:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
    Jun 8 00:48:27 philip-jolicloud kernel: [ 9135.143494] sd 19:0:0:0: Attached scsi generic sg1 type 0
    Jun 8 00:48:27 philip-jolicloud kernel: [ 9135.168746] sd 19:0:0:0: [sdb] Attached SCSI removable disk
    Jun 8 00:48:28 philip-jolicloud kernel: [ 9135.840907] usb 1-2: USB disconnect, address 9
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.124191] usb 1-2: new high speed USB device using ehci_hcd and address 10
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.257532] usb 1-2: config 1 interface 1 altsetting 0 bulk endpoint 0x85 has invalid maxpacket 256
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.257553] usb 1-2: config 1 interface 1 altsetting 0 bulk endpoint 0x5 has invalid maxpacket 256
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.257571] usb 1-2: config 1 interface 2 altsetting 0 bulk endpoint 0x86 has invalid maxpacket 256
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.257587] usb 1-2: config 1 interface 2 altsetting 0 bulk endpoint 0x6 has invalid maxpacket 256
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.270019] scsi23 : usb-storage 1-2:1.3
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.271284] scsi24 : usb-storage 1-2:1.4
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.344755] option: Unknown symbol usb_wwan_ioctl (err 0)
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.349417] option: Unknown symbol usb_wwan_ioctl (err 0)
    Jun 8 00:48:32 philip-jolicloud kernel: [ 9140.359396] option: Unknown symbol usb_wwan_ioctl (err 0)
    Jun 8 00:48:33 philip-jolicloud usb-modeswitch: switched to 12d1:1001 (HUA WEI: Huawei Mobile)
    Jun 8 00:48:33 philip-jolicloud kernel: [ 9141.259169] option: Unknown symbol usb_wwan_ioctl (err 0)
    Jun 8 00:48:33 philip-jolicloud kernel: [ 9141.269233] scsi 24:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
    Jun 8 00:48:33 philip-jolicloud kernel: [ 9141.269990] scsi 23:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
    Jun 8 00:48:33 philip-jolicloud kernel: [ 9141.275441] sd 24:0:0:0: Attached scsi generic sg1 type 0
    Jun 8 00:48:33 philip-jolicloud kernel: [ 9141.289917] sr0: scsi-1 drive
    Jun 8 00:48:33 philip-jolicloud kernel: [ 9141.290817] sr 23:0:0:0: Attached scsi generic sg2 type 5
    Jun 8 00:48:33 philip-jolicloud kernel: [ 9141.303860] sd 24:0:0:0: [sdb] Attached SCSI removable disk
    Jun 8 00:48:44 philip-jolicloud kernel: [ 9151.709410] sr: Sense Key : Hardware Error [current]
    Jun 8 00:48:44 philip-jolicloud kernel: [ 9151.709426] sr: Add. Sense: No additional sense information


Comments

  • Registered Users, Registered Users 2 Posts: 851 ✭✭✭human 19


    I would assume that it is because you are using an old (ancient :)) distro.
    I use a 353 and it is recognised straightaway.

    As drivers are in the kernel, I dont know if you can fix this without d/loading an external driver which may not be compatible with 10.04 anyway.

    time to upgrade methinks

    alternatively....when's the last time you upgraded to the latest available kernel via the repo ? I used Mint 9 up to a few months ago and the 353 was recognised. forget what kernel I was on.

    EDIT: Isnt it very amusing that in the Windows world a 2 year old OS is actually still current...whereas in Linux, 10.04 seems ancient?


  • Posts: 0 [Deleted User]


    human 19 wrote: »
    I would assume that it is because you are using an old (ancient :)) distro.
    I use a 353 and it is recognised straightaway.

    As drivers are in the kernel, I dont know if you can fix this without d/loading an external driver which may not be compatible with 10.04 anyway.

    time to upgrade methinks

    alternatively....when's the last time you upgraded to the latest available kernel via the repo ? I used Mint 9 up to a few months ago and the 353 was recognised. forget what kernel I was on.

    EDIT: Isnt it very amusing that in the Windows world a 2 year old OS is actually still current...whereas in Linux, 10.04 seems ancient?

    Oh I'd love to upgrade the distro all right.

    Thing is it's running on a acer net-book that I had real trouble getting any OS to work well on when I first got hold of it from friend.

    The only thing that worked well was JoilOS 1.2 which uses 10.04 LTS.

    I'll keep trying stuff, there is a good bit of info out there about it, it just takes time to get it all together and try out different things

    By the way what version of usb-modeswitch does your OS have ?


  • Registered Users, Registered Users 2 Posts: 634 ✭✭✭loldog


    Perhaps it's read/write permissions on the USB device? They should work right out of the box for you normally.


  • Registered Users, Registered Users 2 Posts: 851 ✭✭✭human 19


    Oh I'd love to upgrade the distro all right.

    Thing is it's running on a acer net-book that I had real trouble getting any OS to work well on when I first got hold of it from friend.

    The only thing that worked well was JoilOS 1.2 which uses 10.04 LTS.

    I'll keep trying stuff, there is a good bit of info out there about it, it just takes time to get it all together and try out different things

    By the way what version of usb-modeswitch does your OS have ?
    version 1.2.3

    what kernel version are you on?


  • Registered Users, Registered Users 2 Posts: 13 joezie


    Hey,

    I use Ubuntu, and have had no problems using those Huawei modems. The trick is to put the sim into a mobile phone, and disable the pin.

    Then it'll work outta the box. No tinkering needed at all.


  • Advertisement
  • Registered Users, Registered Users 2 Posts: 62 ✭✭LiamOSullivan


    I used this guide with my Huawei modem(Can't remember the model) back when I used 10.04 and O2.
    I'd seriously consider using a derivative of 12.04; I'd recommend Lubuntu as it's extremely light and very well equipped. I've never had any problems with 3G modems under 12.04, and neither has anybody I know.


Advertisement