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

How to connect with 3G modem?

Discussion in 'Tomato Firmware' started by Bird333, Dec 19, 2012.

  1. Bird333

    Bird333 Network Guru Member

    This is on an E3000 running Shibby's latest. I am trying to use an AT&T 3G modem as the internet connection. The router keeps rebooting with the modem attached. This is what I got from 'dmesg'
    Code:
    root@unknown:/dev# dmesg |grep usb
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    usbcore: registered new interface driver usb-storage
    usb usb1: configuration #1 chosen from 1 choice
    usbcore: registered new interface driver usblp
    usblp: USB Printer Device Class driver
    usb 1-1: new high speed USB device using ehci_hcd and address 2
    usb 1-1: configuration #1 chosen from 1 choice
    usb 1-1: USB disconnect, address 2
    usb 1-1: new high speed USB device using ehci_hcd and address 3
    usb 1-1: configuration #1 chosen from 1 choice
    usb-storage: probe of 1-1:1.0 failed with error -5
    usb-storage: probe of 1-1:1.1 failed with error -5
    usb-storage: probe of 1-1:1.2 failed with error -5
    usb-storage: probe of 1-1:1.3 failed with error -5
    usb-storage: probe of 1-1:1.4 failed with error -5
    usb-storage: probe of 1-1:1.5 failed with error -5
    usb-storage: probe of 1-1:1.6 failed with error -5
    usbcore: registered new interface driver usbserial
    drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
    usbcore: registered new interface driver option
    drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2
    drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
    usbcore: registered new interface driver sierra
    drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.0
    usbcore: deregistering interface driver sierra
    drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Sierra USB modem
    usbcore: deregistering interface driver option
    drivers/usb/serial/usb-serial.c: USB Serial deregistering driver GSM modem (1-port)
    usbcore: deregistering interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    usbcore: deregistering interface driver usbserial
    usbcore: registered new interface driver usbserial
    drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    usbserial_generic 1-1:1.0: generic converter detected
    usb 1-1: generic converter now attached to ttyUSB0
    usbserial_generic 1-1:1.1: generic converter detected
    usb 1-1: generic converter now attached to ttyUSB1
    usbserial_generic 1-1:1.2: generic converter detected
    usb 1-1: generic converter now attached to ttyUSB2
    usbserial_generic 1-1:1.3: generic converter detected
    usb 1-1: generic converter now attached to ttyUSB3
    usbserial_generic 1-1:1.4: generic converter detected
    usb 1-1: generic converter now attached to ttyUSB4
    usbserial_generic 1-1:1.5: generic converter detected
    usb 1-1: generic converter now attached to ttyUSB5
    usbserial_generic 1-1:1.6: generic converter detected
    usb 1-1: generic converter now attached to ttyUSB6
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    [EMAIL]root@unknown:/dev#[/EMAIL]
    I think this is the id of the modem VID 0AF0 PID 7A05 Is this device supported? Can anyone help get this going?
     
  2. shibby20

    shibby20 Network Guru Member

    modem was detected by usbserial driver

    You have six devices (from ttyUSB0 to ttyUSB6). Now you have to check with one is your 3G modem data interface. Just set devices to ttyUSB0, set correct ATM (its very important), username&password (if needed) and save and look logs. If modem will not connent, then change device to USB1, USB2, USB3... My tomato mod will not support a higher devices but i`m pretty sure you should use USB0 or USB2 and it should works.

    Please let me know if i will or will not works.
    Best Regards.
     
  3. Bird333

    Bird333 Network Guru Member

    Well I am still getting random reboots. I also on the last few tries I only have these devices ttyUSB0, ttyUSB1, ttyUSB2, ttyUSB3, ttyACM0. The log says this about /dev/ttyACM0.
    Code:
    Jan  1 01:02:40 unknown daemon.err pppd[1205]: In file /tmp/ppp/wanoptions: unrecognized option '/dev/ttyACM0'
    How long should I wait for a connection before I try the next device? Also, I don't see a ATM option in the gui. Is there a different modem init string I can try?
     
  4. shibby20

    shibby20 Network Guru Member

    you cant use ACM0 device because this device does not exists! You have ttyUSB0 ... ttyUSB6. If you can`t connect on ttyUSB0, 1, 2 or 3, then it`s a little chance to try connect using 4, 5 or 6 tyUSB device...

    But first of all you have to be sure, you can`t connect usung 0-3 ttyUSB devices and your ATM, username, password and number (modem init scring) are correct!
     
  5. Bird333

    Bird333 Network Guru Member

    1. About the ACM0, I won't try to use it but I just want you to know that it is showing up as one of the choices. Also 4, 5, & 6 are not showing up in the drop down list anymore.
    2. Where is the ATM setting?
    3. Do you know common modem init strings I can try or do you know how I can find out this modem's string?

    Also what is really concerning is that the router seems to want to reboot alot when the usb modem is connected.
     
  6. Bird333

    Bird333 Network Guru Member

  7. Bird333

    Bird333 Network Guru Member

  8. shibby20

    shibby20 Network Guru Member

    ah not ATM but APN :) APN, unsername, password and modem init string you should be able to get from your 3G provider.
     
  9. Bird333

    Bird333 Network Guru Member

    I am trying to get this going for my mom. :) I went back to v101 because I read on the forum that there seemed to be some USB modem problems after that version, but it still doesn't work. I am starting to wonder if the right driver is being used for this considering that it keeps rebooting. I found this page (http://www.pharscape.org/hso.html) that describes how to compile a 'hso.ko' for this modem. At the bottom of the page it specifically mentions that if the option driver tries to create /dev/ttyUSB?, then it needs to be blacklisted so that the hso.ko can be used. Here is some additional info http://www.pharscape.org/forum/index.php/topic,827.0.html
    http://www.pharscape.org/forum/index.php/topic,821.0.html Can you (or some developer) compile a hso.ko module to work with Tomato so that it can be tried out?
     
  10. kyrios

    kyrios Serious Server Member

    try to connect using ttyUSB1.
    I have 3G dongle which behave like yours.
    What its vid : pid?
     
  11. Bird333

    Bird333 Network Guru Member

    It's in the op. What firmware are you running?
     
  12. kyrios

    kyrios Serious Server Member

    E4200v1 Toastman 0501.2
     
  13. Bird333

    Bird333 Network Guru Member

    Can some knowledge person please compile a hso.ko module?
     

Share This Page