1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changes USB 3G dongle to 4G , 3G still present in Attached Devices

Discussion in 'Tomato Firmware' started by Mitro, May 16, 2014.

  1. Mitro

    Mitro Reformed Router Member

    Hi guys,

    I'm currently using the victek's latest Build v1.28.9014 MIPSR2-RAF-v1.3d K26 USB and currently facing the following issue.

    I was using K3770 Huawei 3G dongle to test the 3G possibilities of the router. This was working fine and now i am trying to get the 4G ZTE K5008-Z (vodafone) working.

    The following problems occur:

    if i perform lsusb while the new 4G usb is connected it provides me with the following result:

    Bus 001 Device 003: ID 12d1:14c9
    Bus 001 Device 001: ID 1d6b:0002

    12d1:14c9 indicates (i think) that the 3G dongle is still somehow (mounted/present) in the configuration.

    Eventhough i disconnected the 3G dongle it's still present in USB as attached device

    Attached Devices
    TypeHostDescriptionMounted?
    Storage1Vodafone CD ROM (Huawei)No
    [ Mount ]

    I find out what the usb_modeswitch is for the 4G dongle and is it possible to add it to the usb_modeswitch folder (it's not present yet there)?

    PS:

    This is the data for 4G dongle: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=3&t=1730

    I hope that some of you experts can help me with fixing this issue.

    Thanks in advance!

    Igor
     
  2. Thomas Persson

    Thomas Persson Network Newbie Member

    I have a WNR3500Lv2 netgear router and use tomato-Netgear-3500Lv2-K26USB-1.28.RT-N5x--117-AIO.
    I live in Sweden and have a 3G modem from 3 www.tre.se I have connected the modem to the usb port but it is not found. I have tryd to use all the different usb ports in the software. And i have lookd for aswers inforums but there havent been any yet.

    Best Regards Thomas

    Enhetsnamn:E3131
    IMEI:862571028907084
    IMSI:240029803548745
    Mitt nummer:Okänd
    Maskinvara, version:CH2E303SM
    Programvara, version:22.158.13.00.21
    Webb-UI-version:12.012.02.03.21
    WAN-IP-adress:37.250.217.30

    http://www.huaweidevice.com.eg/Product-Description/Data-cards-E3131.php
     
  3. Mitro

    Mitro Reformed Router Member

    Anyone?
     
  4. PetervdM

    PetervdM Network Guru Member

    it seems like the emulated cd inside the dongle - which contains software and drivers - is still being mounted.
    you might try to uncheck the automount box in "usb and nas", "usb support", and reboot. if needed check the automount box and reboot. any other mount command on this page, or under "administration", "scripts" ?
     
  5. Mitro

    Mitro Reformed Router Member

    Hi Peter,

    I did the full reset of the router and now i can see the 4g dongle coming up in the attached devices. It's not mounted so that's a good thing i think.

    I think right now it's missing the right usb_modeswitch configuration.

    this is the error in the log file:

    May 19 09:23:31 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
    May 19 09:23:31 unknown user.info kernel: usbcore: registered new interface driver option
    May 19 09:23:31 unknown user.info kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2
    May 19 09:23:31 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
    May 19 09:23:31 unknown user.info kernel: usbcore: registered new interface driver sierra
    May 19 09:23:31 unknown user.info kernel: drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.40
    May 19 09:23:34 unknown user.notice root: 3G MODEM not found by cdc-acm, option or sierra module. Trying usbserial ...
    May 19 09:23:34 unknown user.info kernel: usbcore: deregistering interface driver sierra
    May 19 09:23:34 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Sierra USB modem
    May 19 09:23:34 unknown user.info kernel: usbcore: deregistering interface driver option
    May 19 09:23:34 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver GSM modem (1-port)
    May 19 09:23:34 unknown user.info kernel: usbcore: deregistering interface driver usbserial_generic
    May 19 09:23:34 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    May 19 09:23:34 unknown user.info kernel: usbcore: deregistering interface driver usbserial
    May 19 09:23:34 unknown user.info kernel: usbcore: registered new interface driver usbserial
    May 19 09:23:34 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    May 19 09:23:34 unknown user.err kernel: usbserial_generic 1-1:1.0: Generic device with no bulk out, not allowed.
    May 19 09:23:34 unknown user.warn kernel: usbserial_generic: probe of 1-1:1.0 failed with error -5
    May 19 09:23:34 unknown user.err kernel: usbserial_generic 1-1:1.1: Generic device with no bulk out, not allowed.
    May 19 09:23:34 unknown user.warn kernel: usbserial_generic: probe of 1-1:1.1 failed with error -5
    May 19 09:23:34 unknown user.info kernel: usbcore: registered new interface driver usbserial_generic
    May 19 09:23:34 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    May 19 09:23:34 unknown user.info kernel: usbcore: deregistering interface driver usbserial_generic
    May 19 09:23:34 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    May 19 09:23:34 unknown user.info kernel: usbcore: deregistering interface driver usbserial
    May 19 09:23:34 unknown user.info kernel: usbcore: registered new interface driver usbserial
    May 19 09:23:34 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    May 19 09:23:34 unknown user.info kernel: usbcore: registered new interface driver usbserial_generic
    May 19 09:23:34 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    May 19 09:23:34 unknown user.notice root: 3G MODEM not found ... sorry

    I have the usb_modeswitch data for the 4G dongle. Can someone please explain to me how to upload it to modeswitch.d folder. If i use root user in WinSCP it gives me error that this folder is Read-Only.

    Thanks in advance!

    Igor
     
  6. PetervdM

    PetervdM Network Guru Member

    you can't! / is a read-only filesystem. however there is a /tmp filesystem which is read-write and has a logical /tmp/etc/usb_modeswitch.d folder that points towards the /rom/etc/usb_modeswitch.d folder
    you might try to delete the logical link /tmp/etc/usb_modeswitch.d, create it again as a normal folder, copy the contents from /rom/etc/usb_modeswitch.d to it, add your data, set the rights straight and activate the command for using it.
    this will not survive a reboot, unless you add the commands to the init script.
     
  7. Mitro

    Mitro Reformed Router Member

  8. PetervdM

    PetervdM Network Guru Member

    you can ask the devs. or you can edit and compile your own version of tomato.
     
  9. Thomas Persson

    Thomas Persson Network Newbie Member

    it seems like the emulated cd inside the dongle - which contains software and drivers - is still being mounted.
    you might try to uncheck the automount box in "usb and nas", "usb support", and reboot. if needed check the automount box and reboot. any other mount command on this page, or under "administration", "scripts" ?

    Hi i have tryd that i could but no change. I have uploaded 2 files so you can see.
    From the usb scrip in the link in posting abowe me i can find my usb modem.
    {0x12d1, 0x151d, "option", "3", "0", 2, NULL, "Huawei E3131 (modem)"}, // ncm & mbim able
     

    Attached Files:

    • 1.jpg
      1.jpg
      File size:
      518.9 KB
      Views:
      18
    • 2.jpg
      2.jpg
      File size:
      489.6 KB
      Views:
      20
    Last edited: May 21, 2014
  10. Mitro

    Mitro Reformed Router Member

    Anyone else?

    I would be much obliged if someone could help me out?

    Thanks!
     

Share This Page