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

Current USB 3G modem support?

Discussion in 'Tomato Firmware' started by occamsrazor, Oct 6, 2011.

  1. occamsrazor

    occamsrazor Network Guru Member

    I've been away from the forum for a while because, well, my E3000 router just worked perfectly and didn't feel the need to change anything. But now I've moved to a place where the only internet is via 3G. I'm currently using

    I remember reading about a few people who'd got USB 3G modems working... but can't seem to find the threads.

    Can anyone tell me what is the current state of support for USB 3G modems used as a WAN? Specifically I have the Huawei E173 modem, but could probably get others if they were better supported.

    Currently I'm using the E173 connected to a TP-Link TL-MR3420 3G router.... but the router is wimpy and generally sucks. I'd love to use my E3000 with the usb modem.

    Thanks,
    Ben
     
  2. shibby20

    shibby20 Network Guru Member

  3. occamsrazor

    occamsrazor Network Guru Member

    Cool, I'm actually using your AIO build at the moment, though an older version.
    I guess I'd be dreaming to ask if there is a GUI for the modem configuration?
    If not could you kindly point me to any documentation or threads that indicate how to set it up?
    Thanks a lot....
     
  4. shibby20

    shibby20 Network Guru Member

    its fully integraded with GUI ;)
     

    Attached Files:

    • 3g.png
      3g.png
      File size:
      30.2 KB
      Views:
      596
  5. occamsrazor

    occamsrazor Network Guru Member

    Sweet, will try it as soon as I can and report back. Regards, Ben
     
  6. occamsrazor

    occamsrazor Network Guru Member

    Flashed the firmware and the router is recognising the modem, but not getting a connection.
    Any pointers as to the settings?
    Currently am using:

    Type: 3G Modem
    Modem Device: /dev/ttyUSB0
    PIN Code: (Blank - its disabled on SIM)
    Modem init string: *99#
    APN: In normal 3G modem software it is "safaricom" with username "saf" and password "data" so have tried just safaricom and also saf:data@safaricom, neither worked.
    Connect Mode: Keep Alive
    Check Interval: 30
    MTU: Tried 1492 and 1500


    Here's some logs in case they help:

    Code:
    Jan  1 02:06:47 Tomato user.notice root: 3G MODEM ready - 12d1:1436
    Jan  1 02:06:47 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
    Jan  1 02:06:47 Tomato user.info kernel: option 1-1:1.0: GSM modem (1-port) converter detected
    Jan  1 02:06:47 Tomato user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
    Jan  1 02:06:47 Tomato user.info kernel: option 1-1:1.3: GSM modem (1-port) converter detected
    Jan  1 02:06:47 Tomato user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
    Jan  1 02:06:47 Tomato user.info kernel: option 1-1:1.4: GSM modem (1-port) converter detected
    Jan  1 02:06:47 Tomato user.info kernel: usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
    Jan  1 02:06:47 Tomato user.info kernel: usbcore: registered new interface driver option
    Jan  1 02:06:47 Tomato user.info kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2
    Jan  1 02:06:47 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
    Jan  1 02:06:47 Tomato user.info kernel: usbcore: registered new interface driver sierra
    Jan  1 02:06:47 Tomato user.info kernel: drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.0
    Jan  1 02:06:48 Tomato user.err kernel:  CIFS VFS: Error connecting to IPv4 socket. Aborting operation
    Jan  1 02:06:48 Tomato user.err kernel:  CIFS VFS: cifs_mount failed w/return code = -148
    Jan  1 02:06:50 Tomato user.notice root: 3G MODEM ready - using option module
    Jan  1 02:07:07 Tomato user.info redial[2302]: WAN down. Reconnecting... 
    
    


    Code:
    
    Jan  1 02:08:32 Tomato daemon.notice pppd[2722]: pppd 2.4.5 started by root, uid 0
    Jan  1 02:08:32 Tomato user.notice root: 3G MODEM already found - using option module
    Jan  1 02:09:12 Tomato user.info redial[2723]: WAN down. Reconnecting...
    Jan  1 02:09:12 Tomato local2.err chat[2751]: SIGTERM
    Jan  1 02:09:12 Tomato daemon.warn pppd[2722]: Child process /usr/sbin/chat -V -t 60 -f /tmp/ppp/connect.chat (pid 2750) terminated with signal 15
    Jan  1 02:09:12 Tomato daemon.err pppd[2722]: Connect script failed
    Jan  1 02:09:13 Tomato daemon.info pppd[2722]: Exit.
    
    
     
  7. occamsrazor

    occamsrazor Network Guru Member

    Ignore last post.... it is working now. Must have just been a glitch with the flaky 3G network.
    Am very happy to have my beloved Tomato back :)
    One question.... in your screenshot I see you've set the MTU to 1436. Normally I'd use 1492 or 1500. Is there a reason for this?
     
  8. shibby20

    shibby20 Network Guru Member

    i calculated MTU for my DSL. Please ignore it. But i recommend you set "Check Interval" to 10sec. Reconnect will be faster :)
     
  9. occamsrazor

    occamsrazor Network Guru Member

    Just wanted to report back and say that so far Tomato with USB 3G modem it has been working great. Can't say the same for the 3G network here... it goes down completely from time to time, but so long as the network is up Tomato has been online. It did happen once that it didn't reconnect properly after a network outage, which required a manual reconnect from the admin page, but that was just once. All in all very happy. The only other issue I've noticed is that unlike adsl it's hard to set any kind of reliable QoS rules because you never know what the current maximum bandwidth of the 3G network is - it can vary a lot - but that's nothing to do with Tomato. Thanks again...
     
  10. gijs73

    gijs73 LI Guru Member

    Is there USB 3g Modem support for the K24 builds? I am looking for 3G modem and Samba support for my ASUS WL-520GU. I tried using Oleg which has 3g Modem support but oleg's firmware sometimes has issues with USB mounting.
     
  11. shibby20

    shibby20 Network Guru Member

    i didnt add 3G support in K24 builds yet. Maybe i will it the future but i cant say when.
     
  12. Hackerivs

    Hackerivs Networkin' Nut Member

    shibby could you please answer my PM when you have time?
    thanks in advance
     
  13. Citygott

    Citygott Networkin' Nut Member

    Hi guys!
    I have a linksys 610n v2
    i try to run it with my 3g stick but ill get no connection!
    My stick: T-mobile webNwalk Stick (Qualcomm 3G CDMA Model:GI0225)
    i use "tomato-K26USB-1.28.905xRAF-EN-MIPSR2-076V-AIO.trx" from shibby

    this is my log:

    Jan 1 09:11:30 unknown user.info redial[27365]: Started. Time: 10
    Jan 1 09:11:30 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
    Jan 1 09:11:30 unknown user.info kernel: usbcore: registered new interface driver option
    Jan 1 09:11:30 unknown user.info kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2
    Jan 1 09:11:30 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
    Jan 1 09:11:30 unknown user.info kernel: usbcore: registered new interface driver sierra
    Jan 1 09:11:30 unknown user.info kernel: drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.0
    Jan 1 09:11:32 unknown user.notice root: 3G MODEM not found by option and sierra module. Trying usbserial ...
    Jan 1 09:11:32 unknown user.info kernel: usbcore: deregistering interface driver sierra
    Jan 1 09:11:32 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Sierra USB modem
    Jan 1 09:11:32 unknown user.info kernel: usbcore: deregistering interface driver option
    Jan 1 09:11:32 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver GSM modem (1-port)
    Jan 1 09:11:32 unknown user.info kernel: usbcore: deregistering interface driver usbserial_generic
    Jan 1 09:11:32 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    Jan 1 09:11:32 unknown user.info kernel: usbcore: deregistering interface driver usbserial
    Jan 1 09:11:32 unknown user.info kernel: usbcore: registered new interface driver usbserial
    Jan 1 09:11:32 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    Jan 1 09:11:32 unknown user.info kernel: usbcore: registered new interface driver usbserial_generic
    Jan 1 09:11:32 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Jan 1 09:11:32 unknown user.notice root: 3G MODEM not found ... sorry

    Any help?

    THX Guys!
     
  14. maurer

    maurer LI Guru Member

    @citygot - you need HSO module - but not sure how to load it
     
  15. xemino

    xemino Addicted to LI Member

    can this be a added as failover method?
    i'd like to use mobile internet as backup, should the DSL have issues.
     
  16. occamsrazor

    occamsrazor Network Guru Member

    +1 That would be awesome. I have another non-Tomato TP-Link 3G router which does this (although it sucks in most other regards).
    You get 4 options along the lines of "3G only. WAN only. 3G Preferred. WAN Preferred."
     
  17. occamsrazor

    occamsrazor Network Guru Member

    Has anyone using a 3G modem successfully mounted a micro-SD card that you can put in the modem? I'd like to use it to store bandwidth stats and some binaries. I have Huawei E173 and have put a FAT-formatted 2GB micro-SD card in it. On my laptop it just mounts as mass-storage. On the router's USB support page it is listed as "HUAWEI SD Storage". I have Automount box ticked, but it shows up as unmounted. When I click "Mount" I get a pop-up warning saying "Failed to mount. Verify the device is plugged in, and try again." Any ideas? Am running " Tomato Firmware 1.28.0905 MIPSR2-079V K26 USB Mega-VPN"
     
  18. Toink

    Toink Network Guru Member

    Shibby, is there a list of 3G USB modems supported by your firmware? And does all your builds support the 3G USB modem or only a specific one?

    I think I want to try this out with my WL-520GU and one of my E3000.

    Thanks!
     
  19. smnrock

    smnrock Networkin' Nut Member

    Is there any way to send AT commands to the USB modems? I would like to run USSD commands to see my balance and other stuffs!
     
  20. qingz

    qingz Network Guru Member

    Does it support Android smartphone USB tethering? Instead of 3G Modem, can I just connect my 3G USB tethering enabled smartphone to the router with a USB cable?
    If it is possible, how do I set it up?

    Thanks!
     
  21. occamsrazor

    occamsrazor Network Guru Member

    Anyone know about how viable this might be? My (uninformed) thoughts are that it would not require a full "Dual-WAN" implementation - right? As you wouldn't need two WANs simultaneously.... just the ability to automatically switch between two WAN configurations based on whether you had internet connectivity. Or am I wrong?
     
  22. shibby20

    shibby20 Network Guru Member

    All K26USB builds have 3G modem support.
     
  23. occamsrazor

    occamsrazor Network Guru Member

    Is anyone else with an E3000 and USB 3G modem not having the "internet" status light work to indicate WAN connection status? As per this thread...
     
  24. occamsrazor

    occamsrazor Network Guru Member

    Just to update on this - I switched from Shibby's Mega-VPN build to the latest (082) BT-VPN build, which contains the CIFS module. Now the SD card in the modem is mounting fine and I am using it to save bandwidth stats to and run some binaries from.
     
  25. panikmic

    panikmic Guest

    Can someone help me in setting up my UM-175 3g Modem in Shibby's Mod. The log file keeps giving me 3G MODEM not found ... sorry
     
  26. occamsrazor

    occamsrazor Network Guru Member

    Is everyone using 3G modem getting all the "Bandwidth" stats properly? I am getting Realtime and Last-24-hours correctly but not Daily, Weekly, Monthly in "Bandwidth". In "IP Traffic" everything is correct too. I'm saving stats to a micro-SD card in the USB modem. Perhaps it may be linked to my post #23 above
     
  27. occamsrazor

    occamsrazor Network Guru Member

    Hi,

    So my Huawei 3G modem has been working fine with Tomato - rock solid in fact. But now I am trying to switch to a different network that is much faster. But they use a different modem and so far I have not been able to get it to work. Details of the new modem as follows:

    Carrier - Orange
    Modem - ZTE MF192
    Vendor/Product ID - 19d2:1517

    Log showing it not working:

    Code:
    Jan 1 03:06:10 Tomato daemon.err pppd[5135]: In file /tmp/ppp/options: unrecognized option '/dev/ttyUSB0'
    Jan 1 03:06:10 Tomato user.info redial[5136]: Started. Time: 10
    Jan 1 03:06:10 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
    Jan 1 03:06:10 Tomato user.info kernel: usbcore: registered new interface driver option
    Jan 1 03:06:10 Tomato user.info kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2
    Jan 1 03:06:10 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
    Jan 1 03:06:10 Tomato user.info kernel: usbcore: registered new interface driver sierra
    Jan 1 03:06:10 Tomato user.info kernel: drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.0
    Jan 1 03:06:12 Tomato user.notice root: 3G MODEM not found by option and sierra module. Trying usbserial ...
    Jan 1 03:06:12 Tomato user.info kernel: usbcore: deregistering interface driver sierra
    Jan 1 03:06:12 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Sierra USB modem
    Jan 1 03:06:12 Tomato user.info kernel: usbcore: deregistering interface driver option
    Jan 1 03:06:12 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver GSM modem (1-port)
    Jan 1 03:06:12 Tomato user.info kernel: usbcore: deregistering interface driver usbserial_generic
    Jan 1 03:06:12 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    Jan 1 03:06:12 Tomato user.info kernel: usbcore: deregistering interface driver usbserial
    Jan 1 03:06:12 Tomato user.info kernel: usbcore: registered new interface driver usbserial
    Jan 1 03:06:12 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    Jan 1 03:06:12 Tomato user.info kernel: usbcore: registered new interface driver usbserial_generic
    Jan 1 03:06:12 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Jan 1 03:06:12 Tomato user.info kernel: usbcore: deregistering interface driver usbserial_generic
    Jan 1 03:06:12 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    Jan 1 03:06:12 Tomato user.info kernel: usbcore: deregistering interface driver usbserial
    Jan 1 03:06:13 Tomato user.info kernel: usbcore: registered new interface driver usbserial
    Jan 1 03:06:13 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    Jan 1 03:06:13 Tomato user.info kernel: usbcore: registered new interface driver usbserial_generic
    Jan 1 03:06:13 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Jan 1 03:06:13 Tomato user.info kernel: usbcore: deregistering interface driver usbserial_generic
    Jan 1 03:06:13 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    Jan 1 03:06:13 Tomato user.info kernel: usbcore: deregistering interface driver usbserial
    Jan 1 03:06:13 Tomato user.info kernel: usbcore: registered new interface driver usbserial
    Jan 1 03:06:13 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    Jan 1 03:06:13 Tomato user.info kernel: usbcore: registered new interface driver usbserial_generic
    Jan 1 03:06:13 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Jan 1 03:06:13 Tomato user.notice root: 3G MODEM not found ... sorry
    
    I found one or two links about this modem here:

    http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?t=766 (see 3rd post from end for someone getting it working)

    ...but I don't really understand and maybe it's not useful for Tomato anyway.

    Anyone any ideas on whether this is currently supported or whether it could be supported, and if so how I can help to make it work?

    Thanks
     
  28. shibby20

    shibby20 Network Guru Member

    please try to switch modem manually:
    usb_modeswitch -v 0x19d2 -p 0x1517 -V 0x19d2 -P 0x1519 -M "5553424312345678000000000000061e000000000000000000000000000000"

    and look info dmesg
     
  29. occamsrazor

    occamsrazor Network Guru Member

  30. occamsrazor

    occamsrazor Network Guru Member

    Thanks for your help Shibby. I ran the following command:

    usb_modeswitch -v 0x19d2 -p 0x1517 -V 0x19d2 -P 0x1519 -M "5553424312345678000000000000061e000000000000000000000000000000"

    Which gave this result:

    Code:
    Looking for target devices ...
    No devices in target mode or class found
    Looking for default devices ...
    Found devices in default mode, class or configuration (1)
    Accessing device 002 on bus 001 ...
    Getting the current device configuration ...
    OK, got current device configuration (1)
    Using endpoints 0x01 (out) and 0x81 (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
    OK, driver found ("dummy")
    OK, driver "dummy" detached
    SCSI inquiry data (for identification)
    -------------------------
    Vendor String: ZTE
    Model String: USB SCSI CD-ROM
    Revision String: 0001
    -------------------------
    USB description data (for identification)
    -------------------------
    Manufacturer: ZTE
    Product: MF192
    Serial No.: CCC07A6611CD6BD7B2DA6CD95E07ABE3ACEE9370
    -------------------------
    Setting up communication with interface 0
    Using endpoint 0x01 for message sending ...
    Trying to send message 1 to endpoint 0x01 ...
    OK, message successfully sent
    Resetting response endpoint 0x81
    Resetting message endpoint 0x01
    Device is gone, skipping any further commands
    -> Run lsusb to note any changes. Bye.
    
    Then ran Lsusb:

    Code:
    Bus 001 Device 002: ID 19d2:1517
    Bus 002 Device 001: ID 1d6b:0001
    Bus 001 Device 001: ID 1d6b:0002
    
    Then ran Dmesg, which gave these relevant parts:

    Code:
    Jan 1 03:14:12 Tomato daemon.notice pppd[9901]: pppd 2.4.5 started by root, uid 0
    Jan 1 03:14:12 Tomato daemon.err pppd[9901]: Failed to open /dev/ttyUSB0: No such device
    Jan 1 03:14:12 Tomato user.info redial[9906]: Started. Time: 10
    Jan 1 03:14:12 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
    Jan 1 03:14:12 Tomato user.info kernel: usbcore: registered new interface driver option
    Jan 1 03:14:12 Tomato user.info kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2
    Jan 1 03:14:12 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
    Jan 1 03:14:12 Tomato user.info kernel: usbcore: registered new interface driver sierra
    Jan 1 03:14:12 Tomato user.info kernel: drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.0
    Jan 1 03:14:14 Tomato user.notice root: 3G MODEM not found by option and sierra module. Trying usbserial ...
    Jan 1 03:14:14 Tomato user.info kernel: usbcore: deregistering interface driver sierra
    Jan 1 03:14:14 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Sierra USB modem
    Jan 1 03:14:14 Tomato user.info kernel: usbcore: deregistering interface driver option
    Jan 1 03:14:14 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver GSM modem (1-port)
    Jan 1 03:14:14 Tomato user.notice root: 3G MODEM FOUND - already switched - Last know 19d2:1517
    Jan 1 03:14:14 Tomato user.notice root: 3G MODEM - loading module
    Jan 1 03:14:14 Tomato user.info kernel: usbcore: deregistering interface driver usbserial_generic
    Jan 1 03:14:14 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    Jan 1 03:14:15 Tomato user.info kernel: usbcore: deregistering interface driver usbserial
    Jan 1 03:14:15 Tomato user.info kernel: usbcore: registered new interface driver usbserial
    Jan 1 03:14:15 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    Jan 1 03:14:15 Tomato user.info kernel: usbserial_generic 1-1:1.0: generic converter detected
    Jan 1 03:14:15 Tomato user.info kernel: usb 1-1: generic converter now attached to ttyUSB0
    Jan 1 03:14:15 Tomato user.info kernel: usbcore: registered new interface driver usbserial_generic
    Jan 1 03:14:15 Tomato user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Jan 1 03:14:32 Tomato user.info redial[9906]: WAN down. Reconnecting… 
    
    And later:

    Code:
    Jan 1 03:20:26 Tomato daemon.notice pppd[12543]: pppd 2.4.5 started by root, uid 0
    Jan 1 03:20:26 Tomato user.info redial[12545]: Started. Time: 10
    Jan 1 03:20:26 Tomato user.notice root: 3G MODEM already found - using usbserial module
    Jan 1 03:20:46 Tomato user.info redial[12545]: WAN down. Reconnecting...
    Jan 1 03:20:46 Tomato local2.err chat[12572]: SIGTERM
    Jan 1 03:20:46 Tomato daemon.warn pppd[12543]: Child process /usr/sbin/chat -V -t 60 -f /tmp/ppp/connect.chat (pid 12571) terminated with signal 15
    Jan 1 03:20:46 Tomato daemon.err pppd[12543]: Connect script failed
    Jan 1 03:20:47 Tomato daemon.info pppd[12543]: Exit.
    
    So it seems like we're getting closer, but it's not connecting....
     
  31. occamsrazor

    occamsrazor Network Guru Member

    I also have a TP-Link router that does support this modem. Unfortunately I can't ssh into it to run anything. But on the offchance it helps, here is the connect log from it (please note the log runs un reverse from bottom to top chronologically):

    Code:
    123Jan 11 10:41:08 3G NOTICE 3G connected
    122Jan 11 10:41:05 DDNS WARNINGUpdate failed.
    121Jan 11 10:41:03 PPP INFO rcvd [IPCP Ack addr=10.53.8.xxx]
    120Jan 11 10:41:03 PPP INFO sent [IPCP Req addr=10.53.8.xxx]
    119Jan 11 10:41:03 PPP INFO rcvd [IPCP Nak addr=10.53.8.xxx]
    118Jan 11 10:41:03 PPP INFO sent [IPCP Ack addr=10.0.0.1]
    117Jan 11 10:41:03 PPP INFO rcvd [IPCP Req addr=10.0.0.1]
    116Jan 11 10:41:03 PPP INFO sent [IPCP Req addr=0.0.0.0]
    115Jan 11 10:41:03 PPP INFO rcvd [IPCP Rej compress VJ 0f 01]
    114Jan 11 10:41:03 PPP INFO sent [IPCP Ack addr=10.0.0.1]
    113Jan 11 10:41:03 PPP INFO rcvd [IPCP Req addr=10.0.0.1]
    112Jan 11 10:41:00 PPP INFO sent [IPCP Req compress VJ 0f 01 addr=0.0.0.0]
    111Jan 11 10:41:00 PPP INFO rcvd [PAP AuthAck "Icera PPP - Password Verified OK"]
    110Jan 11 10:41:00 PPP INFO sent [LCP code=0xc]
    109Jan 11 10:41:00 PPP INFO sent [PAP AuthReq user="orange" password=(hidden)]
    108Jan 11 10:41:00 PPP INFO sent [LCP Ack mru=1600 auth=pap magic=0x37bfa025 asyncmap=0x0]
    107Jan 11 10:41:00 PPP INFO rcvd [LCP Req mru=1600 auth=pap magic=0x37bfa025 asyncmap=0x0]
    106Jan 11 10:41:00 PPP INFO rcvd [LCP Ack mru=1480 asyncmap=0x0 magic=0x7b1604eb]
    105Jan 11 10:41:00 PPP INFO sent [LCP Rej pcomp accomp]
    104Jan 11 10:41:00 PPP INFO rcvd [LCP Req mru=1600 auth=pap magic=0x37bfa025 asyncmap=0x0 pcomp accomp]
    103Jan 11 10:41:00 PPP INFO rcvd [LCP ProtRej]
    102Jan 11 10:41:00 PPP INFO sent [LCP Req mru=1480 asyncmap=0x0 magic=0x7b1604eb]
    101Jan 11 10:40:57 3G INFO Run 3G dial cmd: pppd /dev/ttyACM0 115200 connect "chat -s -v -f /etc/ppp/conn-s
    100Jan 11 10:40:57 PPP NOTICE Standard authentication.
    99Jan 11 10:40:57 3G NOTICE 3G start connecting...
    
     
  32. Hackerivs

    Hackerivs Networkin' Nut Member

    any commands to get option icon225 working?
     
  33. shibby20

    shibby20 Network Guru Member

    create a file /tmp/zte and write inside:
    change Wan type to dhcp or disabled (no 3g modem). We dont want connect 3g for now. Connect ZTE modem and run:
    usb_modeswitch -c /tmp/zte

    give me result and dmesg :)
     
  34. occamsrazor

    occamsrazor Network Guru Member

    Thanks a lot Shibby! But I am a bit useless at using the command line to copy/move files (am using Mac OS X). Is there a way I can create this file all from the System > Tools command line? Or via SSH? If not I'll work out how to do it some way...

    EDIT: Ignore this, I managed to copy the file. Will let you know as soon as I am able to test it with the modem later today.
     
  35. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Adding 3G/4G modem support to Tomato able routers so the USB port can be used would be a most excellent development.
     
  36. occamsrazor

    occamsrazor Network Guru Member

    Shibby's builds already support some USB 3G modems. I've been running a Huawei E173 3G modem for some time and it's been rock-solid. The recent posts above are just trying to get a specific new modem I have (ZTE MF-192) working.
     
  37. jsmiddleton4

    jsmiddleton4 Network Guru Member

    "All K26USB builds have 3G modem support. "

    So its in the K26USB's that Toastman has produced, etc.? Or all of your, Shibby's, builds?

    When you say "support" I'm thinking that is not plug n play as in plug in the modem, it is recognized, and you can connect to the 3G/4G networks. I'm thinking "support" means, as has been in this thread, you can add modules, etc., config commands, so that the usb modem will work.

    What I am hoping for is more along the line of plug n play as we are starting to see with several 3G/4G USB modem capable routers.
     
  38. shibby20

    shibby20 Network Guru Member

  39. occamsrazor

    occamsrazor Network Guru Member

    Hi Shibby,

    When I plugged in the modem I noticed this in the log:

    Code:
    Jan 1 03:01:43 Tomato user.debug hotplug[1852]: Attached USB device 1-1:1.0 [INTERFACE=8/6/80 PRODUCT=19d2/1517/1]
    
    Then when I ran the command you said, the result was this:

    Code:
    Looking for target devices ...
    No devices in target mode or class found
    Looking for default devices ...
    Found devices in default mode, class or configuration (1)
    Accessing device 002 on bus 001 ...
    Getting the current device configuration ...
    OK, got current device configuration (1)
    Using endpoints 0x01 (out) and 0x81 (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
    OK, driver found ("dummy")
    OK, driver "dummy" detached
    SCSI inquiry data (for identification)
    -------------------------
    Vendor String: ZTE
    Model String: USB SCSI CD-ROM
    Revision String: 0001
    -------------------------
    USB description data (for identification)
    -------------------------
    Manufacturer: ZTE
    Product: MF192
    Serial No.: CCC07A6611CD6BD7B2DA6CD95E07ABE3ACEE9370
    -------------------------
    Setting up communication with interface 0
    Using endpoint 0x01 for message sending ...
    Trying to send message 1 to endpoint 0x01 ...
    OK, message successfully sent
    Reading the response to message 1 (CSW) ...
    OK, response successfully read (13 bytes).
    Trying to send message 2 to endpoint 0x01 ...
    OK, message successfully sent
    Reading the response to message 2 (CSW) ...
    OK, response successfully read (13 bytes).
    Resetting response endpoint 0x81
    Could not reset endpoint (probably harmless): -4
    Resetting message endpoint 0x01
    Could not reset endpoint (probably harmless): -4
    Device is gone, skipping any further commands
    Checking for mode switch (max. 20 times, once per second) ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Found target device, now opening
    Found correct target device
    Mode switch succeeded. Bye.
    
    I noticed that after this was done, the flashing orange light on the modem changed to flashing blue (normal - seeing signal but not connected I think)

    Dmesg gave the following

    Code:
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    vlan2: del 33:33:00:00:00:02 mcast address from vlan interface
    vlan2: del 33:33:00:00:00:02 mcast address from master interface
    vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    vlan2: del 33:33:00:00:00:01 mcast address from vlan interface
    vlan2: del 33:33:00:00:00:01 mcast address from master interface
    vlan2: Setting MAC address to c0 c1 c0 1c a5 a7.
    vlan2: add 01:00:5e:00:00:01 mcast address to master interface
    vlan2: add 33:33:00:00:00:02 mcast address to master interface
    vlan2: add 33:33:00:00:00:01 mcast address to master interface
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    vlan2: del 33:33:00:00:00:01 mcast address from vlan interface
    vlan2: del 33:33:00:00:00:01 mcast address from master interface
    vlan2: del 33:33:00:00:00:02 mcast address from vlan interface
    vlan2: del 33:33:00:00:00:02 mcast address from master interface
    vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    br0: port 3(eth2) entering disabled state
    br0: port 2(eth1) entering disabled state
    br0: port 1(vlan1) entering disabled state
    br0: topology change detected, propagating
    vlan1: del 33:33:00:00:00:02 mcast address from vlan interface
    vlan1: del 33:33:00:00:00:02 mcast address from master interface
    vlan1: del 01:00:5e:00:00:01 mcast address from vlan interface
    vlan1: del 01:00:5e:00:00:01 mcast address from master interface
    vlan1: del 33:33:00:00:00:01 mcast address from vlan interface
    vlan1: del 33:33:00:00:00:01 mcast address from master interface
    device vlan1 left promiscuous mode
    br0: port 1(vlan1) entering disabled state
    device eth1 left promiscuous mode
    br0: port 2(eth1) entering disabled state
    device eth2 left promiscuous mode
    br0: port 3(eth2) entering disabled state
    br0: starting userspace STP failed, starting kernel STP
    vlan1: add 33:33:00:00:00:01 mcast address to master interface
    vlan1: add 01:00:5e:00:00:01 mcast address to master interface
    device eth1 entered promiscuous mode
    device eth2 entered promiscuous mode
    br0: topology change detected, propagating
    br0: port 3(eth2) entering forwarding state
    br0: topology change detected, propagating
    br0: port 2(eth1) entering forwarding state
    br0: topology change detected, propagating
    br0: port 1(vlan1) entering forwarding state
    vlan2: Setting MAC address to c0 c1 c0 1c a5 a7.
    usb 1-1: new high speed USB device using ehci_hcd and address 2
    usb 1-1: configuration #1 chosen from 1 choice
    scsi0 : SCSI emulation for USB Mass Storage devices
    scsi 0:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 0001 PQ: 0 ANSI: 0
    scsi 0:0:0:1: Direct-Access ZTE MMC 0001 PQ: 0 ANSI: 0
    sd 0:0:0:1: [sda] Attached SCSI removable disk
    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
    scsi1 : SCSI emulation for USB Mass Storage devices
    scsi 1:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 0001 PQ: 0 ANSI: 0
    scsi 1:0:0:1: Direct-Access ZTE MMC 0001 PQ: 0 ANSI: 0
    sd 1:0:0:1: [sda] Attached SCSI removable disk
    
    When I try to initiate a connection I get:

    Code:
    Jan 1 03:10:35 Tomato daemon.notice pppd[3124]: pppd 2.4.5 started by root, uid 0
    Jan 1 03:10:35 Tomato user.info redial[3125]: Started. Time: 10
    Jan 1 03:10:35 Tomato user.notice root: 3G MODEM already found - using usbserial module
    Jan 1 03:10:38 Tomato daemon.err nmbd[2722]: Samba name server TOMATO is now a local master browser for workgroup WORKGROUP on subnet 192.168.0.1
    Jan 1 03:10:39 Tomato daemon.info pppd[3124]: Serial connection established.
    Jan 1 03:10:39 Tomato daemon.info pppd[3124]: Using interface ppp0
    Jan 1 03:10:39 Tomato daemon.notice pppd[3124]: Connect: ppp0 <--> /dev/ttyUSB2
    Jan 1 03:10:40 Tomato daemon.info pppd[3124]: Remote message: Icera PPP - Password Verified OK
    Jan 1 03:10:40 Tomato daemon.notice pppd[3124]: PAP authentication succeeded
    Jan 1 03:10:43 Tomato daemon.notice pppd[3124]: local IP address 10.53.5.190
    Jan 1 03:10:43 Tomato daemon.notice pppd[3124]: remote IP address 10.0.0.1
    Jan 1 03:10:43 Tomato daemon.notice pppd[3124]: primary DNS address 212.49.70.22
    Jan 1 03:10:43 Tomato daemon.notice pppd[3124]: secondary DNS address 212.49.70.23
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[2668]: reading /etc/resolv.dnsmasq
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[2668]: using nameserver 208.67.222.222#53
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[2668]: using nameserver 208.67.220.220#53
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[2668]: exiting on receipt of SIGTERM
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: started, version 2.57 cachesize 1500
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP TFTP no-IDN
    Jan 1 03:10:43 Tomato daemon.warn dnsmasq[3182]: warning: interface tap21 does not currently exist
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: asynchronous logging enabled, queue limit is 5 messages
    Jan 1 03:10:43 Tomato daemon.info dnsmasq-dhcp[3182]: DHCP, IP range 192.168.0.2 -- 192.168.0.51, lease time 1d
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: reading /etc/resolv.dnsmasq
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: using nameserver 208.67.222.222#53
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: using nameserver 208.67.220.220#53
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: read /etc/hosts - 2 addresses
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: read /etc/dnsmasq/hosts/hosts - 19 addresses
    Jan 1 03:10:43 Tomato daemon.info dnsmasq-dhcp[3182]: read /etc/dnsmasq/dhcp/dhcp-hosts
    Jan 1 03:10:43 Tomato user.info rcheck[3213]: Time not yet set. Only "all day, everyday" restrictions will be activated.
    Jan 1 03:10:46 Tomato user.info rcheck[3399]: Time not yet set. Only "all day, everyday" restrictions will be activated.
    Jan 1 03:10:46 Tomato daemon.info pppd[3124]: LCP terminated by peer (0024: Normal Termination by NCP)
    Jan 1 03:10:46 Tomato daemon.info pppd[3124]: Connect time 0.1 minutes.
    Jan 1 03:10:46 Tomato daemon.info pppd[3124]: Sent 134 bytes, received 0 bytes.
    
    So the connection did not succeed. However the modem is now out of data credit (!) so I need to buy some more before I can test the connection properly. Do you think from looking at the logs that the modem is working properly? Thanks for all your help...
     
  40. occamsrazor

    occamsrazor Network Guru Member

    Hi Shibby,

    When I plugged in the modem I noticed this in the log:

    Code:
    Jan 1 03:01:43 Tomato user.debug hotplug[1852]: Attached USB device 1-1:1.0 [INTERFACE=8/6/80 PRODUCT=19d2/1517/1]
    
    Then when I ran the command you said, the result was this:

    Code:
    Looking for target devices ...
    No devices in target mode or class found
    Looking for default devices ...
    Found devices in default mode, class or configuration (1)
    Accessing device 002 on bus 001 ...
    Getting the current device configuration ...
    OK, got current device configuration (1)
    Using endpoints 0x01 (out) and 0x81 (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
    OK, driver found ("dummy")
    OK, driver "dummy" detached
    SCSI inquiry data (for identification)
    -------------------------
    Vendor String: ZTE
    Model String: USB SCSI CD-ROM
    Revision String: 0001
    -------------------------
    USB description data (for identification)
    -------------------------
    Manufacturer: ZTE
    Product: MF192
    Serial No.: CCC07A6611CD6BD7B2DA6CD95E07ABE3ACEE9370
    -------------------------
    Setting up communication with interface 0
    Using endpoint 0x01 for message sending ...
    Trying to send message 1 to endpoint 0x01 ...
    OK, message successfully sent
    Reading the response to message 1 (CSW) ...
    OK, response successfully read (13 bytes).
    Trying to send message 2 to endpoint 0x01 ...
    OK, message successfully sent
    Reading the response to message 2 (CSW) ...
    OK, response successfully read (13 bytes).
    Resetting response endpoint 0x81
    Could not reset endpoint (probably harmless): -4
    Resetting message endpoint 0x01
    Could not reset endpoint (probably harmless): -4
    Device is gone, skipping any further commands
    Checking for mode switch (max. 20 times, once per second) ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Found target device, now opening
    Found correct target device
    Mode switch succeeded. Bye.
    
    I noticed that after this was done, the flashing orange light on the modem changed to flashing blue (normal - seeing signal but not connected I think)


    Dmesg gave the following

    Code:
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    vlan2: del 33:33:00:00:00:02 mcast address from vlan interface
    vlan2: del 33:33:00:00:00:02 mcast address from master interface
    vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    vlan2: del 33:33:00:00:00:01 mcast address from vlan interface
    vlan2: del 33:33:00:00:00:01 mcast address from master interface
    vlan2: Setting MAC address to c0 c1 c0 1c a5 a7.
    vlan2: add 01:00:5e:00:00:01 mcast address to master interface
    vlan2: add 33:33:00:00:00:02 mcast address to master interface
    vlan2: add 33:33:00:00:00:01 mcast address to master interface
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    vlan2: del 33:33:00:00:00:01 mcast address from vlan interface
    vlan2: del 33:33:00:00:00:01 mcast address from master interface
    vlan2: del 33:33:00:00:00:02 mcast address from vlan interface
    vlan2: del 33:33:00:00:00:02 mcast address from master interface
    vlan2: del 01:00:5e:00:00:01 mcast address from vlan interface
    vlan2: del 01:00:5e:00:00:01 mcast address from master interface
    br0: port 3(eth2) entering disabled state
    br0: port 2(eth1) entering disabled state
    br0: port 1(vlan1) entering disabled state
    br0: topology change detected, propagating
    vlan1: del 33:33:00:00:00:02 mcast address from vlan interface
    vlan1: del 33:33:00:00:00:02 mcast address from master interface
    vlan1: del 01:00:5e:00:00:01 mcast address from vlan interface
    vlan1: del 01:00:5e:00:00:01 mcast address from master interface
    vlan1: del 33:33:00:00:00:01 mcast address from vlan interface
    vlan1: del 33:33:00:00:00:01 mcast address from master interface
    device vlan1 left promiscuous mode
    br0: port 1(vlan1) entering disabled state
    device eth1 left promiscuous mode
    br0: port 2(eth1) entering disabled state
    device eth2 left promiscuous mode
    br0: port 3(eth2) entering disabled state
    br0: starting userspace STP failed, starting kernel STP
    vlan1: add 33:33:00:00:00:01 mcast address to master interface
    vlan1: add 01:00:5e:00:00:01 mcast address to master interface
    device eth1 entered promiscuous mode
    device eth2 entered promiscuous mode
    br0: topology change detected, propagating
    br0: port 3(eth2) entering forwarding state
    br0: topology change detected, propagating
    br0: port 2(eth1) entering forwarding state
    br0: topology change detected, propagating
    br0: port 1(vlan1) entering forwarding state
    vlan2: Setting MAC address to c0 c1 c0 1c a5 a7.
    usb 1-1: new high speed USB device using ehci_hcd and address 2
    usb 1-1: configuration #1 chosen from 1 choice
    scsi0 : SCSI emulation for USB Mass Storage devices
    scsi 0:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 0001 PQ: 0 ANSI: 0
    scsi 0:0:0:1: Direct-Access ZTE MMC 0001 PQ: 0 ANSI: 0
    sd 0:0:0:1: [sda] Attached SCSI removable disk
    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
    scsi1 : SCSI emulation for USB Mass Storage devices
    scsi 1:0:0:0: CD-ROM ZTE USB SCSI CD-ROM 0001 PQ: 0 ANSI: 0
    scsi 1:0:0:1: Direct-Access ZTE MMC 0001 PQ: 0 ANSI: 0
    sd 1:0:0:1: [sda] Attached SCSI removable disk
    
    When I try to initiate a connection I get:

    Code:
    Jan 1 03:10:35 Tomato daemon.notice pppd[3124]: pppd 2.4.5 started by root, uid 0
    Jan 1 03:10:35 Tomato user.info redial[3125]: Started. Time: 10
    Jan 1 03:10:35 Tomato user.notice root: 3G MODEM already found - using usbserial module
    Jan 1 03:10:38 Tomato daemon.err nmbd[2722]: Samba name server TOMATO is now a local master browser for workgroup WORKGROUP on subnet 192.168.0.1
    Jan 1 03:10:39 Tomato daemon.info pppd[3124]: Serial connection established.
    Jan 1 03:10:39 Tomato daemon.info pppd[3124]: Using interface ppp0
    Jan 1 03:10:39 Tomato daemon.notice pppd[3124]: Connect: ppp0 <--> /dev/ttyUSB2
    Jan 1 03:10:40 Tomato daemon.info pppd[3124]: Remote message: Icera PPP - Password Verified OK
    Jan 1 03:10:40 Tomato daemon.notice pppd[3124]: PAP authentication succeeded
    Jan 1 03:10:43 Tomato daemon.notice pppd[3124]: local IP address 10.53.5.190
    Jan 1 03:10:43 Tomato daemon.notice pppd[3124]: remote IP address 10.0.0.1
    Jan 1 03:10:43 Tomato daemon.notice pppd[3124]: primary DNS address 212.49.70.22
    Jan 1 03:10:43 Tomato daemon.notice pppd[3124]: secondary DNS address 212.49.70.23
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[2668]: reading /etc/resolv.dnsmasq
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[2668]: using nameserver 208.67.222.222#53
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[2668]: using nameserver 208.67.220.220#53
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[2668]: exiting on receipt of SIGTERM
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: started, version 2.57 cachesize 1500
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-I18N DHCP TFTP no-IDN
    Jan 1 03:10:43 Tomato daemon.warn dnsmasq[3182]: warning: interface tap21 does not currently exist
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: asynchronous logging enabled, queue limit is 5 messages
    Jan 1 03:10:43 Tomato daemon.info dnsmasq-dhcp[3182]: DHCP, IP range 192.168.0.2 -- 192.168.0.51, lease time 1d
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: reading /etc/resolv.dnsmasq
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: using nameserver 208.67.222.222#53
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: using nameserver 208.67.220.220#53
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: read /etc/hosts - 2 addresses
    Jan 1 03:10:43 Tomato daemon.info dnsmasq[3182]: read /etc/dnsmasq/hosts/hosts - 19 addresses
    Jan 1 03:10:43 Tomato daemon.info dnsmasq-dhcp[3182]: read /etc/dnsmasq/dhcp/dhcp-hosts
    Jan 1 03:10:43 Tomato user.info rcheck[3213]: Time not yet set. Only "all day, everyday" restrictions will be activated.
    Jan 1 03:10:46 Tomato user.info rcheck[3399]: Time not yet set. Only "all day, everyday" restrictions will be activated.
    Jan 1 03:10:46 Tomato daemon.info pppd[3124]: LCP terminated by peer (0024: Normal Termination by NCP)
    Jan 1 03:10:46 Tomato daemon.info pppd[3124]: Connect time 0.1 minutes.
    Jan 1 03:10:46 Tomato daemon.info pppd[3124]: Sent 134 bytes, received 0 bytes.
    

    So the connection did not succeed. However the modem is now out of data credit (!) so I need to get some more before I can test the connection. Do you think from looking at the logs that the modem is working properly? Thanks for all your help...
     
  41. jsmiddleton4

    jsmiddleton4 Network Guru Member

    "Just plug USB modem, modem will be detected automatically, change WAN type to 3G, set APN, username and password and done."

    I don't have those options in my drop down choices with Toastman's version. Do they only show up if a usb modem is plugged in?
     
  42. occamsrazor

    occamsrazor Network Guru Member

    I don't think Toastman has implemented the 3G option yet (but I could be wrong), you need one of Shibby's builds. Then you go Basic > Network > WAN Type and choose "3G modem"
     
  43. occamsrazor

    occamsrazor Network Guru Member

    Shibby, It's working using your commands in post #33 above! Thanks so much. Now my question is how can I turn this into a permanent solution i.e. one that works at every reboot. I'm guessing that I could store the file somewhere else that doesn't get erased at reboot (i.e. not /tmp ) and then add the modeswitch command into the admin scripts.... or is there a better way? Anyway thanks again, this has really helped me out.....
     
  44. shibby20

    shibby20 Network Guru Member

    @occamsrazor, of course :) Please tell me, which of firmware you are using, then i will compile new version for you.

    @jsmiddleton4, toastman didn`t implement my 3G support feature to his firmwares.
     
  45. Toastman

    Toastman Super Moderator Staff Member Member

    I did post a version with 3G support as a test build with a request for feedback. There appeared to be no interest in it, so I never took it any further. I see now about 20 people did download the test version though.
     
  46. occamsrazor

    occamsrazor Network Guru Member

    Sweet! I'm away for the weekend so won't be able to test until Monday morning. Am currently using Tomato Firmware 1.28.0000 MIPSR2-083V K26 USB Big-VPN.
    Basically I need to have VPN and CIFS, I don't really use the BT stuff anymore. If you could incorporate your recent UPS module as well that would be fantastic, as I'll be able to test both the new modem and the UPS together. Many thanks indeed.
     
  47. shibby20

    shibby20 Network Guru Member

  48. jsmiddleton4

    jsmiddleton4 Network Guru Member

    "I did post a version with 3G support as a test build with a request for feedback. "

    I'm going to say that is a chicken egg situation. I'm interested in going to a 3g/4g system but not going to do so if it means buying a new router, etc., and additional expense. I've looked at other makes of 3G/4G routers, some very nice and quite stable, but again not going to put money into something when I already have a working setup.

    So its a matter of timing, which is going to come first, etc.
     
  49. occamsrazor

    occamsrazor Network Guru Member

    Shibby's build has been rock solid on 3G for me. You just need to know which modem you'll be using to know if it will be compatible.
     
  50. jsmiddleton4

    jsmiddleton4 Network Guru Member

  51. jsmiddleton4

    jsmiddleton4 Network Guru Member

  52. jsmiddleton4

    jsmiddleton4 Network Guru Member

    So for now I'd be looking at Shibby's version, which is fine as it is outstanding as well as Toastmans, and trying one of these Verizon modems?
     
  53. occamsrazor

    occamsrazor Network Guru Member

    Hi Shibby, I tried to flash this on my E3000 but it bricked it. I managed to unbrick it and when I did I could see that the new firmware had been successfully flashed but the settings had been reset. One thing I noticed was that it was reporting:

    Total / Free NVRAM:32.00 KB / 9680 (29.54%)

    On an E3000 the total should be 60K I think, right? So am guessing the build you made is not an NVRAM60K one, and my existing settings were more than 30K.

    PS if anyone else needs to unbrick an E3000, this worked for me
     
  54. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Going to save that link. I keep forgetting about maintenance mode....
     
  55. shibby20

    shibby20 Network Guru Member

    ehm i didn`t know, that you need for E300 ;) will compile new firmware for you.
     
  56. shibby20

    shibby20 Network Guru Member

  57. occamsrazor

    occamsrazor Network Guru Member

    Very nice indeed. Both the ZTE modem and UPS work. Many, many thanks for your help.

    Only issue I have now - unrelated to the firmware - is that the E3000 only has 1 USB port, while I need one for the modem and one for the UPS. I tried an unpowered USB hub, but then neither USB device was visible, however it is a pretty cheap hub so I will try another. In general, are there any issues regarding the use of USB hubs and Tomato firmware?
     
  58. shibby20

    shibby20 Network Guru Member

    any "active" hub (with external powersuply) will be works.
     
  59. jsmiddleton4

    jsmiddleton4 Network Guru Member

    Since I have E3000's on which I will be trying a Verizon USB modem I should d/l the linked version or are other E3000 versions on their way?
     
  60. smnrock

    smnrock Networkin' Nut Member

    #Shibby, #occamsrazor, is the recent firmware has options for forcing 2G or 3G only mode before making connection or option for AT commands setting like in oleg?
     
  61. occamsrazor

    occamsrazor Network Guru Member

    Not that I'm aware of, but Shibby would know better...
     
  62. maurer

    maurer LI Guru Member

  63. smnrock

    smnrock Networkin' Nut Member

    #maurer, just tried shibby's latest build(083V). No option for additional AT commands in the UI as of now like in Oleg :(
    #shibby20, Do you've a plan of supporting this?
     
  64. shibby20

    shibby20 Network Guru Member

    I can add this option
     
    HitheLightz and smnrock like this.
  65. smnrock

    smnrock Networkin' Nut Member

    ^Thats great and now i will be waiting for your next build :D
     
  66. nosense

    nosense Networkin' Nut Member

    Hi everyone.

    I'm currently using the "tomato-K26USB-1.28.RT5x-MIPSR1-085V-VPN" in my Asus WL500gpV2.
    I'm trying to use this setup to share my 3G broadband connection (ZTE K3806-Z) but it is not working.

    Based in what I've read (across this forum) it seems that the device is stuck in "storage mode".
    I've already tryied to manually change its state by doing:

    Code:
    root# usb_modeswitch -W -c /etc/usb_modeswitch.d/19d2:1013
    But it simply stops with the following output:

    Code:
    Reading config file: /etc/usb_modeswitch.d/19d2:1013
     
    * usb_modeswitch: handle USB devices with multiple modes
    * Version 1.1.9 (C) Josua Dietze 2011
    * Based on libusb0 (0.1.12 and above)
     
    ! PLEASE REPORT NEW CONFIGURATIONS !
     
    DefaultVendor=  0x19d2
    DefaultProduct= 0x1013
    TargetVendor=  0x19d2
    TargetProduct=  0x1015
    TargetClass=    not set
    TargetProductList=""
     
    DetachStorageOnly=0
    HuaweiMode=0
    SierraMode=0
    SonyMode=0
    GCTMode=0
    KobilMode=0
    SequansMode=0
    MobileActionMode=0
    CiscoMode=0
    MessageEndpoint=  not set
    MessageContent="5553424312345678000000000000061b000000020000000000000000000000"
    NeedResponse=1
    ResponseEndpoint= not set
    Interface=0x00
     
    InquireDevice enabled (default)
    Success check enabled, max. wait time 20 seconds
    System integration mode disabled
     
     
    Looking for target devices ...
      searching devices, found USB ID 19d2:1013
      found matching vendor ID
      searching devices, found USB ID 0424:2502
      searching devices, found USB ID 1d6b:0002
    No devices in target mode or class found
    Looking for default devices ...
      searching devices, found USB ID 19d2:1013
      found matching vendor ID
      found matching product ID
      adding device
      searching devices, found USB ID 0424:2502
      searching devices, found USB ID 1d6b:0002
    Found devices in default mode, class or configuration (1)
    Accessing device 005 on bus 001 ...
    Getting the current device configuration ...
    libusb:error [handle_events] backend handle_events failed with error -99
    libusb:error [libusb_cancel_transfer] cancel transfer failed error -5
    In dmesg output nothing new appears during this procedure.

    Summing up, no 3G for me =D
    Thanks in advance for any help.
     
  67. occamsrazor

    occamsrazor Network Guru Member

    If you take a look at Shibby's main forum thread he mentions in answer to a question of mine that modeswitch and 3G support got broken in version 085, something he's trying to fix. But for now I suggest your first step is to roll back to version 083 and try that.
     
  68. nosense

    nosense Networkin' Nut Member

    I missed it. Sorry for the question.

    With version 083 the "usb_modeswitch" command works. Thanks!
    Nevertheless, I'm still not capable to successfully connect.
    This is the "dmesg" output when I try to connect:

    Code:
    Jan  1 00:07:31 unknown user.debug kernel: vlan1: del 33:33:00:00:00:01 mcast address from vlan interface
    Jan  1 00:07:31 unknown user.debug kernel: vlan1: del 33:33:00:00:00:01 mcast address from master interface
    Jan  1 00:07:31 unknown user.debug kernel: vlan1: del 01:00:5e:00:00:01 mcast address from vlan interface
    Jan  1 00:07:31 unknown user.debug kernel: vlan1: del 01:00:5e:00:00:01 mcast address from master interface
    Jan  1 00:07:31 unknown user.warn kernel: vlan1: Setting MAC address to  e0 cb 4e 1b 97 f6.
    Jan  1 00:07:31 unknown user.debug kernel: vlan1: add 01:00:5e:00:00:01 mcast address to master interface
    Jan  1 00:07:31 unknown user.debug kernel: vlan1: add 33:33:00:00:00:01 mcast address to master interface
    Jan  1 00:07:32 unknown daemon.notice pppd[7551]: pppd 2.4.5 started by root, uid 0
    Jan  1 00:07:32 unknown user.info redial[7552]: Started. Time: 10
    Jan  1 00:07:33 unknown user.notice root: 3G MODEM already found - using usbserial module
    Jan  1 00:07:52 unknown user.info redial[7552]: WAN down. Reconnecting...
    Jan  1 00:07:53 unknown local2.err chat[7579]: SIGTERM
    Jan  1 00:07:53 unknown daemon.warn pppd[7551]: Child process /usr/sbin/chat -V -t 60 -f /tmp/ppp/connect.chat (pid 7578) terminated with signal 15
    Jan  1 00:07:53 unknown daemon.err pppd[7551]: Connect script failed
    Jan  1 00:07:54 unknown daemon.info pppd[7551]: Exit.
    Does anyone experienced the same?
    Thanks in advance.
     
  69. shibby20

    shibby20 Network Guru Member

  70. epikos

    epikos Networkin' Nut Member

    I would LOVE to have my E3000 with Toastman and support for USB tethering.
    I'm using Tomato Firmware v1.28.7494 MIPSR2-Toastman-RT K26 Std now. Having a drop-down in the WAN section and being able to select USB as a WAN method would be fantastic. Even more fantastic would be 3g +wan with wan preferred and 3g + wan with 3g preferred.

    I don't want an extra router and I'm extremely happy with my toastman build. But occasionally my cable ISP will have problems and it would be nice to be able to plug in my rooted Android and use it as a backup connection for the house. OOH, maybe be able to set up WAN specific rules so if I fail over to 3g/USB that I can block everything but ports 80 and 443? You know, just so the backup connection is used for essential services like gmail and basic web browsing while blocking Netflix and Hulu until the cable connection comes back online.

    If you want to continue development on a toastman 3g/usb enabled firmware, I'll be the first to download it. Just tell me where!
     
  71. Toastman

    Toastman Super Moderator Staff Member Member

  72. shibby20

    shibby20 Network Guru Member

  73. EVERMIND2

    EVERMIND2 LI Guru Member

    If anyone else is having problems with orange austria ZTE MF192.
    [INTERFACE=8/6/80 PRODUCT=19d2/146/1]
    Bus 001 Device 003: ID 19d2:0146
    7293E451CEF8AC7283B19BBE56C0D4E5C57D04C0

    Remove pin-code and add this to hotplug/init scripts (if you unplug you need to restart router):
    Code:
    sleep 5
    usb_modeswitch -W -v 19d2 -p 0146 -M "5553424312345679000000000000061b000000020000000000000000000000"
    
    it will change to Device-ID 19d2:0143 and work.

    thanks for your builds shibby.
     
  74. occamsrazor

    occamsrazor Network Guru Member

    Recently I've been having problems with disconnects on my E3000 with 3G modem. It's running Shibby build 1.28.0000 MIPSR2-092 K26 USB Big-VPN, though I think I had similar proplems with previous builds. The 3G network isn't great and does have outages so it doesn't surprise me that I get disconnects, but what I've noticed is that the router frequently does not reconnect automatically. For example it will sit there in disconnected state without reconnecting but if you do a manual reboot it reconnects straight away. Connect mode is set to Keep Alive, with Check Interval 10 secs. The log file when it's not reconnecting properly shows this, in case it's of any help in troubleshooting:

    Code:
    May  8 23:56:37 Tomato user.info redial[5165]: Started. Time: 10
    May  8 23:56:37 Tomato user.notice root: 3G MODEM already found - using usbserial module
    May  8 23:56:57 Tomato user.info redial[5165]: WAN down. Reconnecting...
    May  8 23:56:57 Tomato local2.err chat[5194]: SIGTERM
    May  8 23:56:57 Tomato daemon.warn pppd[5162]: Child process /usr/sbin/chat -V -t 60 -f /tmp/ppp/connect.chat (pid 5193) terminated with signal 15
    May  8 23:56:57 Tomato daemon.err pppd[5162]: Connect script failed
    May  8 23:56:58 Tomato daemon.info pppd[5162]: Exit.
    
    
    Any ideas?
     
  75. Bobby Arnold

    Bobby Arnold Networkin' Nut Member

    Shibby20,

    I trying to convert my RNDIS_HOST.sh shell script to a WAN option like your recent 3g modem.

    Do you have any advice or web links I could use?

    I was hoping to add a similar interface option like openwrt...
    http://farm6.static.flickr.com/5221/5746152599_b612a54142.jpg

    Thanks,

    Here's how it works if anyone is interested.

    insmod mii.ko
    insmod usbnet.ko
    insmod cdc_ether.ko
    insmod rndis_host.ko
    <enable usb tethering>
    ifconfig usb0 up
    udhcpc -i usb0
    <begin output>
    udhcpc (v1.18.5) started
    Sending discover...
    Sending select for 192.168.42.xxx... <---this is your usb0 address>
    Lease of 192.168.42.xxx obtained, lease time 3600
    <end output>
    ifconfig usb0 192.168.42.xxx netmask 255.255.255.0 broadcast 192.168.42.255
    route add default gw 192.168.42.yyy usb0 <---you can get your gateway when you tether from your laptop>
    iptables --table nat --append POSTROUTING --out-interface usb0 -j MASQUERADE
     
  76. kasic

    kasic Serious Server Member

    hi
    today flashed E3000 with tomato-E3000USB-NVRAM60K-1.28.RT-MIPSR2-092-Big-VPN.bin
    i'm using 3G modem Huawei E1820, it's ok

    Is is possible to make 3G settings like "Force 3G" or "Only 3G"?
     
  77. occamsrazor

    occamsrazor Network Guru Member

    AFAIK, currently there is no failover mode to select one WAN when the other is down eg. 3G when ethernet WAN is down, or ethernet WAN when 3G is down. It would be nice to have for sure. Is this what you mean? Or are you talking about telling the modem to only use 3G and not for example EDGE?
     
  78. kasic

    kasic Serious Server Member

    i mean 2G and 3G :)
     
  79. occamsrazor

    occamsrazor Network Guru Member

    There was some talk on the forum about support for issuing AT commands to do such things, try searching for that....
     
    kasic likes this.
  80. deccauncut

    deccauncut Serious Server Member

    Hi,

    I have recently purchased a Huawei ec1261-2 CDMA/EVDO modem and am struggling to make a connection with it. I have checked to make sure the device works by testing with my windows based laptop.

    examination of dmesg and /tmp/var/log/messages and lsusb output suggest that the device has been detected and switched correctly, but connect fails with an error in the chat script 'daemon.err pppd[14887]: Connect script failed'

    inspection of ppp-connect-errors shows 'COMMAND NOT SUPPORT'

    I think it may be a problem with the init string "AT&FE0V1X1&D2&C1S0=0" [edit: also 'AT+CGDCONT=1,"IP","SMART"' returns a 'COMMAND NOT SUPPORT'].

    Unfortunately I am not so familiar with init string or debugging such problems and so my only way to think to troubleshoot this was to try search some chat script for this modem on the internet and try some modifications to /tmp/ppp/connect.chat. unfortunately my modifications seem to not persist long enough to see if they are working as the file seems to get reset by the wan connect process somehow.

    Please can anyone offer any advice as to best way for me to troubleshoot this problem?
     
  81. Arun Mathew

    Arun Mathew Serious Server Member

    I recently bought an asus wl 520gu. I would like connect my 3g modem (Huawei E1550) to it and share the connection over wifi. I hardly need any other feature. Can anyone suggest me a stable build that will do my work??
     
  82. helander.info

    helander.info Serious Server Member

    Hi! I'm using Shibby's tomato-Netgear-3500Lv2-K26USB-1.28.RT-N5x--097-AIO (on a Netgear WNR3500L v2) and I like it a lot!

    Unfortunately I can't get my 3G modem to work as WAN and I wonder if somebody could help me solve that issue.
    Perhaps even shibby20 ...? :)

    My modem is a Huawei E220 and it is recognized (using usbserial module) by tomato but it will not connect.
    Hardware is fine – I've tried it on my computer – there is no PIN Code on SIM, no username/password required and I've entered the correct APN.

    I'd be really grateful for any assistance!

    Here's a log of one connection attempt:
    Code:
    Jan  1 00:31:12 RT-4C60DE3D607A user.info redial[7851]: Started. Time: 10
    Jan  1 00:31:12 RT-4C60DE3D607A user.notice root: 3G MODEM already found - using usbserial module
    Jan  1 00:31:32 RT-4C60DE3D607A user.info redial[7851]: WAN down. Reconnecting...
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.info dnsmasq[7793]: exiting on receipt of SIGTERM
    Jan  1 00:31:32 RT-4C60DE3D607A user.debug init[1]: 182: pptp peerdns disabled
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.info dnsmasq[7884]: started, version 2.61 cachesize 1500
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.info dnsmasq[7884]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.info dnsmasq[7884]: asynchronous logging enabled, queue limit is 5 messages
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.info dnsmasq-dhcp[7884]: DHCP, IP range 192.168.1.0 -- 192.168.1.0, lease time 1d
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.warn dnsmasq[7884]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.info dnsmasq[7884]: read /etc/hosts - 2 addresses
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.info dnsmasq[7884]: read /etc/dnsmasq/hosts/hosts - 3 addresses
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.info dnsmasq-dhcp[7884]: read /etc/dnsmasq/dhcp/dhcp-hosts
    Jan  1 00:31:32 RT-4C60DE3D607A local2.err chat[7878]: SIGTERM
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.warn pppd[7849]: Child process /usr/sbin/chat -V -t 60 -f /tmp/ppp/connect.chat (pid 7877) terminated with signal 15
    Jan  1 00:31:32 RT-4C60DE3D607A daemon.err pppd[7849]: Connect script failed
    Jan  1 00:31:33 RT-4C60DE3D607A daemon.info pppd[7849]: Exit.
    
    Thanx!
     
  83. shibby20

    shibby20 Network Guru Member

    please try to set username and password the same as APN, check and tell me please.
     
  84. Arun Mathew

    Arun Mathew Serious Server Member

    Attached Files:

  85. shibby20

    shibby20 Network Guru Member

    i can try but this will be only one release. I will not reselase this build regulary. I will have to remove many features to make K26USB build for 4MB flash.
     
  86. Arun Mathew

    Arun Mathew Serious Server Member

    @SHIBBY..Thank you very much..eagerly waiting for the build..
     
  87. leandroong

    leandroong Addicted to LI Member

    My Huawei E353, which is 4G, is already supported and did managed download of close to 17Mbps, maximum capability is 21Mbps. Maybe, it's time to rename it to "4G modem".
    There is one thing that I find confusing, under "USB and NAS->USB Support", there is checkbox for "USB 3G Modem support". Do we need it? Frankly I don't use it. After 3G modem usage, I changed WAN type to "DHCP", save, shutdown router and remove USB 3G modem. Then, power on router for normal DHCP internet connection.
     
  88. kuduku

    kuduku Serious Server Member

    Hi
    I am on Tomato Firmware 1.28.0000 MIPSR2-100 K26 USB Nocat-VPN on Belkin Play Max / N600 HD (F7D4301/F7D8301)
    I am trying to connect EVDO modem Sierra Wireless 595U and use the 3G .
    I have put WAN to 3G ,Modem recognized at ttyUSB0 , init string #777 . When i connect it is hung on connecting and not connected . Sierra module is getting loaded as per log
    Relevant log file after reboot and connect command to connect 3G . Full log attached
    lsusb command output
    Bus 002 Device 002: ID 1199:0120
    Bus 002 Device 001: ID 1d6b:0001
    Bus 001 Device 001: ID 1d6b:0002
    Dmesg output
    serial8250: ttyS0 at MMIO 0xb8000300 (irq = 8) is a 16550A PPP generic driver version 2.4.2 MPPE/MPPC encryption/compression module registered NET: Registered protocol family 24 PPPoL2TP kernel driver, V0.17 PPTP driver version 0.8.5 Amd/Fujitsu Extended Query Table at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness. empty_blocks 0, bad_blocks 0, c->nr_blocks 8 usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb Registered led device: usb-led SCSI subsystem initialized Initializing USB Mass Storage driver... usbcore: registered new interface driver usb-storage USB Mass Storage support registered. ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver PCI: Setting latency timer of device 0000:00:04.1 to 64 ehci_hcd 0000:00:04.1: EHCI Host Controller ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:04.1: irq 5, io mem 0x18004000 ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 2 ports detected uhci_hcd: USB Universal Host Controller Interface driver ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver PCI: Setting latency timer of device 0000:00:04.0 to 64 ohci_hcd 0000:00:04.0: OHCI Host Controller ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2 ohci_hcd 0000:00:04.0: irq 5, io mem 0x18009000 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 2 ports detected usb 2-2: new full speed USB device using ohci_hcd and address 2 usb 2-2: configuration #1 chosen from 1 choice 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 sierra 2-2:1.0: Sierra USB modem converter detected usb 2-2: Sierra USB modem converter now attached to ttyUSB0 usb 2-2: Sierra USB modem converter now attached to ttyUSB1 usb 2-2: Sierra USB modem converter now attached to ttyUSB2 usbcore: registered new interface driver sierra drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems:



    I have enable usb support and jiffs . Jiffs also seems to giving lots of errors . Any pointers
    dmseg not formatting correctly check the attachment
    Thanks
     

    Attached Files:

  89. kuduku

    kuduku Serious Server Member

    Hi solved the jifs error , restored to default settings started again but still not able to connect . It seems it is looking for a 3G GSM modem where as i am trying to connect with an EVDO modem Sierra Wireless 595U

    Relevant error log is
    Code:
    Jan 1 01:01:19 unknown daemon.err pppd[771]: In file /tmp/ppp/wanoptions: unrecognized option '/dev/ttyUSB0'
    Jan 1 01:01:19 unknown user.info redial[780]: Started. Time: 10
    Jan 1 01:01:20 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
    Jan 1 01:01:20 unknown user.info kernel: usbcore: registered new interface driver option
    Jan 1 01:01:20 unknown user.info kernel: drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.2
    Jan 1 01:01:20 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for Sierra USB modem
    Jan 1 01:01:20 unknown user.info kernel: usbcore: registered new interface driver sierra
    Jan 1 01:01:20 unknown user.info kernel: drivers/usb/serial/sierra.c: USB Driver for Sierra Wireless USB modems: v.1.7.0
    Jan 1 01:01:21 unknown daemon.info dnsmasq-dhcp[721]: DHCPREQUEST(br0) 192.168.1.11 e8:4e:06:08:88:35
    Jan 1 01:01:21 unknown daemon.info dnsmasq-dhcp[721]: DHCPACK(br0) 192.168.1.11 e8:4e:06:08:88:35 Vijay-Lappy
    Jan 1 01:01:22 unknown user.notice root: 3G MODEM not found by option and sierra module. Trying usbserial ...
    Jan 1 01:01:22 unknown user.info kernel: usbcore: deregistering interface driver sierra
    Jan 1 01:01:22 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver Sierra USB modem
    Jan 1 01:01:22 unknown user.info kernel: usbcore: deregistering interface driver option
    Jan 1 01:01:22 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver GSM modem (1-port)
    Jan 1 01:01:22 unknown user.info kernel: usbcore: deregistering interface driver usbserial_generic
    Jan 1 01:01:22 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    Jan 1 01:01:22 unknown user.info kernel: usbcore: deregistering interface driver usbserial
    Jan 1 01:01:22 unknown user.info kernel: usbcore: registered new interface driver usbserial
    Jan 1 01:01:22 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    Jan 1 01:01:22 unknown user.info kernel: usbcore: registered new interface driver usbserial_generic
    Jan 1 01:01:22 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Jan 1 01:01:22 unknown user.info kernel: usbcore: deregistering interface driver usbserial_generic
    Jan 1 01:01:22 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial deregistering driver generic
    Jan 1 01:01:22 unknown user.info kernel: usbcore: deregistering interface driver usbserial
    Jan 1 01:01:22 unknown user.info kernel: usbcore: registered new interface driver usbserial
    Jan 1 01:01:22 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
    Jan 1 01:01:22 unknown user.info kernel: usbcore: registered new interface driver usbserial_generic
    Jan 1 01:01:22 unknown user.info kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
    Jan 1 01:01:22 unknown user.notice root: 3G MODEM not found ... sorry
    Dmesg is
    Code:
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core
    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
    usbcore: registered new interface driver usbserial_generic
    drivers/usb/serial/usb-serial.c: USB Serial Driver core 
    any pointer how to give it correct drivers ?
     
  90. kthaddock

    kthaddock Network Guru Member

    Pls put your logs in CODE tag it's easyier to read too people.
     
  91. kuduku

    kuduku Serious Server Member

    done , thanks for guiding
     
  92. kuduku

    kuduku Serious Server Member

    Tried another thing
    In modem profile i configured it to auto dial whenever connected to a usb port . When connected the modem LED blinks thus showing connected and while during disconnected LED is stable green . After connecting it to router usb port it blinks for 5 seconds than again stable for 10 seconds and again blinks . So modem is auto dialling but router is disconnecting the connection . Now how to ensure that this autodial is transferred to WAN and in WAN which setting to use ? . It cannot be 3G modem as there is no dialling . I tried it in DHCP but that didnt work out also . So there are 2 issues now
    first using 3G modem in WAN it loads the driver then says 3G modem not available
    or
    When modem auto dials how to configure WAN to enable internet through LAN and wireless .

    I have disabled WAN , the LED blinking is more than non blinking . Its continuously trying to connect (modem is in auto dial ) . I have tried to ping google when blinking is on but its time out
    seems need to switch modem correctly like here http://www.linksysinfo.org/index.php?threads/current-usb-3g-modem-support.35574/page-2#post-177047
    but how ?
     
  93. kuduku

    kuduku Serious Server Member

    Another update , tried with a Huawei E1731 3G GSM card it work beautifully no issues , simple apn settings and its connected . tried with a powered usb hub and it still works connected immediately with the exception that auto dial didnt take place and i had to manually connect it . Once connected no issues .Then I tested it with ZTE AC30 which is a dual band modem GSM and EVDO both . It doesnt work with it in GSM mode . Again modem switching error it seems
     
  94. kuduku

    kuduku Serious Server Member

    Shibby
    I tried this with my ZTE AC30 ( Verizon Fivespot )
    the command
    usb_modeswitch -v 0x19d2 -p 0x0144 -V 0x19d2 -P 0x1519 -M "5553424312345678000000000000061e000000000000000000000000000000"
    works correctly with log
    Code:
    Looking for target devices ...
    No devices in target mode or class found
    Looking for default devices ...
    Found devices in default mode, class or configuration (1)
    Accessing device 002 on bus 001 ...
    Getting the current device configuration ...
    OK, got current device configuration (1)
    Using endpoints 0x01 (out) and 0x81 (in)
    Not a storage device, skipping SCSI inquiry
     
    USB description data (for identification)
    -------------------------
    Manufacturer: ZTE Incorporated
        Product: ZTE WCDMA HSUSB DEVICE
      Serial No.: xxxxxxx
    -------------------------
    Looking for active driver ...
    OK, driver found ("")
    Driver "" detach failed with error -5. Trying to continue
    Setting up communication with interface 0
    Using endpoint 0x01 for message sending ...
    Trying to send message 1 to endpoint 0x01 ...
    OK, message successfully sent
    Resetting response endpoint 0x81
    Resetting message endpoint 0x01
    -> Run lsusb to note any changes. Bye. 
    I have made the file zte in tmp and added the lines after changing my product id . WAN set to DHCP . When i run
    usb_modeswitch -c /tmp/zte error is
    Mode switching failed
    Code:
    Looking for target devices ...
    No devices in target mode or class found
    Looking for default devices ...
    Found devices in default mode, class or configuration (1)
    Accessing device 002 on bus 001 ...
    Getting the current device configuration ...
    OK, got current device configuration (1)
    Using endpoints 0x01 (out) and 0x81 (in)
    Not a storage device, skipping SCSI inquiry
     
    USB description data (for identification)
    -------------------------
    Manufacturer: ZTE Incorporated
        Product: ZTE WCDMA HSUSB DEVICE
      Serial No.: xxxxxx
    -------------------------
    Looking for active driver ...
    OK, driver found ("")
    Driver "" detach failed with error -5. Trying to continue
    Setting up communication with interface 0
    Using endpoint 0x01 for message sending ...
    Trying to send message 1 to endpoint 0x01 ...
    OK, message successfully sent
    Reading the response to message 1 (CSW) ...
    Response reading got error -7
    Device is gone, skipping any further commands
     
    Checking for mode switch (max. 20 times, once per second) ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    No new devices in target mode or class found
     
    Mode switch has failed. Bye. 
    log is
    Code:
    Jan  1 05:42:08 unknown user.info redial[3791]: Started. Time: 10
    Jan  1 05:42:08 unknown user.notice root: 3G MODEM already found - using option module
    Jan  1 05:42:18 unknown daemon.err pppd[3788]: Failed to open /dev/ttyUSB0: No such device
    Jan  1 05:42:28 unknown daemon.err pppd[3788]: Failed to open /dev/ttyUSB0: No such device
    Jan  1 05:42:29 unknown user.info redial[3791]: WAN down. Reconnecting...
    Jan  1 05:42:29 unknown daemon.info dnsmasq[3732]: exiting on receipt of SIGTERM
    Jan  1 05:42:29 unknown user.debug init[1]: 182: pptp peerdns disabled
    Jan  1 05:42:29 unknown daemon.info dnsmasq[3855]: started, version 2.61 cachesize 1500
    Jan  1 05:42:29 unknown daemon.info dnsmasq[3855]: compile time options: IPv6 GNU-getopt no-RTC no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack
    Jan  1 05:42:29 unknown daemon.info dnsmasq[3855]: asynchronous logging enabled, queue limit is 5 messages
    Jan  1 05:42:29 unknown daemon.info dnsmasq-dhcp[3855]: DHCP, IP range 192.168.1.2 -- 192.168.1.51, lease time 1d
    Jan  1 05:42:29 unknown daemon.warn dnsmasq[3855]: no servers found in /etc/resolv.dnsmasq, will retry
    Jan  1 05:42:29 unknown daemon.info dnsmasq[3855]: read /etc/hosts - 2 addresses
    Jan  1 05:42:29 unknown daemon.info dnsmasq[3855]: read /etc/dnsmasq/hosts/hosts - 3 addresses
    Jan  1 05:42:29 unknown daemon.info dnsmasq-dhcp[3855]: read /etc/dnsmasq/dhcp/dhcp-hosts
    Jan  1 05:42:29 unknown daemon.info pppd[3788]: Terminating on signal 15
    Jan  1 05:42:29 unknown daemon.info pppd[3788]: Exit.
    Please advise how to switch it correctly and make it permanent auto dial script like you did for occamsrazor

    dmesg is
    Code:
    Linux version 2.6.22.19 (root@tomato) (gcc version 4.2.4) #16 Sat Aug 11 13:13:55 CEST 2012
    CPU revision is: 00019740
    Determined physical RAM map:
    memory: 04000000 @ 00000000 (usable)
    On node 0 totalpages: 16384
      Normal zone: 128 pages used for memmap
      Normal zone: 0 pages reserved
      Normal zone: 16256 pages, LIFO batch:3
    Built 1 zonelists.  Total pages: 16256
    Kernel command line: root=/dev/mtdblock2 noinitrd console=ttyS0,115200
    Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
    Primary data cache 32kB, 4-way, linesize 32 bytes.
    Synthesized TLB refill handler (20 instructions).
    Synthesized TLB load handler fastpath (32 instructions).
    Synthesized TLB store handler fastpath (32 instructions).
    Synthesized TLB modify handler fastpath (31 instructions).
    PID hash table entries: 256 (order: 8, 1024 bytes)
    CPU: BCM4716 rev 1 pkg 10 at 453 MHz
    Using 226.500 MHz high precision timer.
    console [ttyS0] enabled
    Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
    Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Memory: 61860k/65536k available (33k kernel code, 3612k reserved, 2726k data, 116k init, 0k highmem)
    Calibrating delay loop... 226.09 BogoMIPS (lpj=1130496)
    Mount-cache hash table entries: 512
    NET: Registered protocol family 16
    PCI: Using membase 8000000
    PCI: Initializing host
    PCI: Reset RC
    PCI: Fixing up bus 0
    PCI: Fixing up bridge
    PCI: Setting latency timer of device 0000:01:00.0 to 64
    PCI: Fixing up bridge
    PCI: Setting latency timer of device 0000:01:00.1 to 64
    PCI: Enabling device 0000:01:00.1 (0004 -> 0006)
    PCI: Fixing up bus 1
    NET: Registered protocol family 2
    Time: MIPS clocksource has been installed.
    IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
    TCP established hash table entries: 2048 (order: 2, 16384 bytes)
    TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
    TCP: Hash tables configured (established 2048 bind 2048)
    TCP reno registered
    squashfs: version 3.0 (2006/03/15) Phillip Lougher
    io scheduler noop registered (default)
    HDLC line discipline: version $Revision: 4.8 $, maxframe=4096
    N_HDLC line discipline registered.
    Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
    serial8250: ttyS0 at MMIO 0xb8000300 (irq = 8) is a 16550A
    PPP generic driver version 2.4.2
    MPPE/MPPC encryption/compression module registered
    NET: Registered protocol family 24
    PPPoL2TP kernel driver, V0.17
    PPTP driver version 0.8.5
    Physically mapped flash: Found 1 x16 devices at 0x0 in 8-bit bank
    Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
    Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0
    Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
    Amd/Fujitsu Extended Query Table at 0x0040
    number of CFI chips: 1
    cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
    Flash device: 0x800000 at 0x1c000000
    Creating 5 MTD partitions on "Physically mapped flash":
    0x00000000-0x00030000 : "pmon"
    0x00030000-0x007f0000 : "linux"
    0x00117800-0x00770000 : "rootfs"
    0x00770000-0x007f0000 : "jffs2"
    0x007f0000-0x00800000 : "nvram"
    Found a 0MB  serial flash
    sflash: found no supported devices
    u32 classifier
        OLD policer on 
    Netfilter messages via NETLINK v0.30.
    nf_conntrack version 0.5.0 (512 buckets, 4096 max)
    ip_tables: (C) 2000-2006 Netfilter Core Team
    ipt_account 0.1.21 : Piotr Gasidlo <quaker@barbara.eu.org>, http://www.barbara.eu.org/~quaker/ipt_account/
    net/ipv4/netfilter/tomato_ct.c [Aug 11 2012 12:18:59]
    NET: Registered protocol family 1
    NET: Registered protocol family 10
    ip6_tables: (C) 2000-2006 Netfilter Core Team
    NET: Registered protocol family 17
    802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
    All bugs added by David S. Miller <davem@redhat.com>
    VFS: Mounted root (squashfs filesystem) readonly.
    Freeing unused kernel memory: 116k freed
    Warning: unable to open an initial console.
    emf: module license 'Proprietary' taints kernel.
    PCI: Setting latency timer of device 0000:00:02.0 to 64
    eth0: Broadcom BCM47XX 10/100/1000 Mbps Ethernet Controller 5.10.147.0
    PCI: Setting latency timer of device 0000:00:01.0 to 64
    eth1: Broadcom BCM4329 802.11 Wireless Controller 5.10.147.0
    PCI: Enabling device 0000:01:01.0 (0000 -> 0002)
    PCI: Setting latency timer of device 0000:01:01.0 to 64
    eth2: Broadcom BCMa8d8 802.11 Wireless Controller 5.10.147.0
    Algorithmics/MIPS FPU Emulator v1.5
    JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    usbcore: registered new interface driver usbfs
    usbcore: registered new interface driver hub
    usbcore: registered new device driver usb
    Registered led device: usb-led
    SCSI subsystem initialized
    Initializing USB Mass Storage driver...
    usbcore: registered new interface driver usb-storage
    USB Mass Storage support registered.
    ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    PCI: Setting latency timer of device 0000:00:04.1 to 64
    ehci_hcd 0000:00:04.1: EHCI Host Controller
    ehci_hcd 0000:00:04.1: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:04.1: irq 5, io mem 0x18004000
    ehci_hcd 0000:00:04.1: USB 0.0 started, EHCI 1.00
    usb usb1: configuration #1 chosen from 1 choice
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 2 ports detected
    vlan1: add 33:33:00:00:00:01 mcast address to master interface
    vlan1: add 01:00:5e:00:00:01 mcast address to master interface
    vlan1: dev_set_allmulti(master, 1)
    vlan1: dev_set_promiscuity(master, 1)
    device eth0 entered promiscuous mode
    device vlan1 entered promiscuous mode
    usb 1-2: new high speed USB device using ehci_hcd and address 2
    usb 1-2: configuration #1 chosen from 1 choice
    device eth1 entered promiscuous mode
    device eth2 entered promiscuous mode
    br0: port 3(eth2) entering forwarding state
    br0: port 2(eth1) entering forwarding state
    br0: port 1(vlan1) entering forwarding state
    vlan2: Setting MAC address to  94 44 52 bd ca ec.
    vlan2: add 33:33:00:00:00:01 mcast address to master interface
    vlan2: add 01:00:5e:00:00:01 mcast address to master interface 
    lsusb is
    Bus 001 Device 002: ID 19d2:0144
    Bus 001 Device 001: ID 1d6b:0002

    Thanks
     
  95. leandroong

    leandroong Addicted to LI Member

    @kudoku, it seems that ZTE AC30 is not yet on shibby "usb_modeswitch.d".

    Take a look here for listing, http://repo.or.cz/w/tomato.git/tree...rc/router/usbmodeswitch/data/usb_modeswitch.d

    RE: usb_modeswitch -v 0x19d2 -p 0x0144 -V 0x19d2 -P 0x1519 -M
    Code:
    ....
    -rw-r--r--    247    19d2:1514    blob | blame | history | raw
    -rw-r--r--    363    19d2:1517    blob | blame | history | raw
    -rw-r--r--    524    19d2:2000    blob | blame | history | raw
    -rw-r--r--    282    19d2:bccd    blob | blame | history | raw
    -rw-r--r--    288    19d2:ffe6    blob | blame | history | raw
    -rw-r--r--    276    19d2:fff5    blob | blame | history | raw
    -rw-r--r--    268    19d2:fff6    blob | blame |
    ...
    Recommendation: PM Shibby or wait Shibby read this
     
  96. kuduku

    kuduku Serious Server Member

    got that will pm shibby with this
    thanks

    Another thing with cdrom disabled its
    19d2:2000
    which is present .
    With cdrom enabled and manual modem switch its 19d2:0144 or 19d2:0145
    Now what to do ?
     
  97. kuduku

    kuduku Serious Server Member

    See here for my Sierra 595U 1199:0120
    http://repo.or.cz/w/tomato.git/blob...usbmodeswitch/data/usb_modeswitch.d/1199:0fff
    Code:
    #######################################################
    2 # Sierra devices (specific driver)
    3
    4 DefaultVendor= 0x1199
    5 DefaultProduct= 0x0fff
    6
    7 TargetVendor= 0x1199
    8 TargetProductList="0017,0018,0019,0020,0021,0022,0024,0026,0027,0028,0029,0112,0120,0218,0220,0224,6802,6803,6804,6805,6808,6809,6812,6813,6815,6816,6820,6821,6822,6832,6833,6834,6835,6838,6839,683a,683b,683c,683d,683e,6850,6851,6852,6853,6855,6856,6859,685a"
    9
    10 SierraMode=1
    11
    12 CheckSuccess=10
    13
    14 NoDriverLoading=1
    Its fully supported , it should work without any issues ....
    I will test it again in all modes including NDIS and modem both .
     
  98. leandroong

    leandroong Addicted to LI Member

    @kudoku,
    1.) There is dialing on overview for 3G modem, connect/disconnect" buttons.
    2.) When using it, this what i do:
    - plug in USB 3g modem
    - set WAN to 3g modem
    - Shutdown router
    - Power on router
    3.) To unplug 3g modem
    - set WAN type to DHCP or disable
    - router shutdown
    - remove 3g modem
    - power on router
     
  99. kuduku

    kuduku Serious Server Member

    Its kuduku
    I tried all these also but alas no success . After each setting change I followed it up with reboot
     
  100. heebo1974

    heebo1974 Serious Server Member

    I wonder if Huawei E392 4G is supported ?
     

Share This Page