ibrokeit Posted March 31, 2013 Share Posted March 31, 2013 (edited) I've been lurking here for a few years now and this is the first problem I've run in to I couldn't fix myself by searching. I'm trying to get my Novatel mifi5792 to tether with my MKIV. In searching I've found "how" to add a 3g modem, however, I don't have the right configuration settings. VId : pid 1410:b009 Novatel Wireless *1410:b009*) echo "Novatel Mifi5792 detected. Attempting mode switch"uci delete network.wan2 uci set network.wan2=interface uci set network.wan2.ifname=ppp0 uci set network.wan2.proto=3g uci set network.wan2.service= #what goes here for AT&T? I've tried umts, cdma...uci set network.wan2.device=/dev/ttyUSB0 uci set network.wan2.apn= # same question: pta, wap.cingular. etc...uci set network.wan2.username= #blankuci set network.wan2.password= #blankuci set network.wan2.defaultroute=1 uci commit network usb_modeswitch -v 1410 -p b009 -V 1410 -P b009 -M 5553424312345678000000000000061b000000020000000000000000000000 -n 1 -s 20 #unsure if this line is correct. and what is that long number? sleep 10; rmmod usbserialsleep 3; insmod usbserial vendor=0x1410 product=0xb009 #unsure of this linesleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stoplogger "3G: firewall stopped"iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADEiptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT I'm not looking to be spoon fed. I'd be satisfied with someone just pointing me in the right direction. At this point, I'm just throwing rocks in the dark. Edited March 31, 2013 by ibrokeit Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted March 31, 2013 Share Posted March 31, 2013 Are you on 2.8.0? If not upgrade to that, its got a shizzle load of USB updates. -Foxtrot Quote Link to comment Share on other sites More sharing options...
ibrokeit Posted March 31, 2013 Author Share Posted March 31, 2013 I'm on the current firmware. Still no USB love... Quote Link to comment Share on other sites More sharing options...
headros Posted April 1, 2013 Share Posted April 1, 2013 Can you please paste the log output here (Click LOGS in the menu), its lodes easier to help diagnose driver issues. Set the 3G script to autostart and reboot first before pasting log. Quote Link to comment Share on other sites More sharing options...
Foxtrot Posted April 1, 2013 Share Posted April 1, 2013 Can you please paste the log output here (Click LOGS in the menu), its lodes easier to help diagnose driver issues. Set the 3G script to autostart and reboot first before pasting log. But use the spoiler tags. Please. -Foxtrot Quote Link to comment Share on other sites More sharing options...
ibrokeit Posted April 2, 2013 Author Share Posted April 2, 2013 How I got here. I found a similar Novatel configuration in the 3g script and switched out the pid and vid I got from lsusb. Then tried changing the service and apn. My most recent attempt using these settings. *1410:b009*) echo "Novatel Mifi5792 detected. Attempting mode switch"uci delete network.wan2uci set network.wan2=interfaceuci set network.wan2.ifname=ppp0uci set network.wan2.proto=3guci set network.wan2.service= umtsuci set network.wan2.device=/dev/ttyUSB0uci set network.wan2.apn=wap.cingluaruci set network.wan2.username= uci set network.wan2.password= uci set network.wan2.defaultroute=1uci commit networkusb_modeswitch -v 1410 -p b009 -V 1410 -P 6002 -M 5553424312345678000000000000061b000000020000000000000000000000 -n 1 -s 20 sleep 10; rmmod usbserialsleep 3; insmod usbserial vendor=0x1410 product=0x6002sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stoplogger "3G: firewall stopped"iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADEiptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPTiptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT The log after reboot: 00:01:30 Pineapple user.info sysinit: setting up led WLAN00:01:30 Pineapple user.info sysinit: setting up led WAN00:01:30 Pineapple user.info sysinit: setting up led USB00:01:30 Pineapple user.info sysinit: setting up led LAN00:01:29 Pineapple user.info sysinit: No lease, failing00:01:26 Pineapple user.info sysinit: Sending discover...00:01:23 Pineapple user.info sysinit: Sending discover...00:01:20 Pineapple user.notice root: 3G: firewall stopped00:01:20 Pineapple user.info sysinit: udhcpc (v1.19.4) started00:01:20 Pineapple user.info sysinit: Sending discover...00:01:20 Pineapple user.info sysinit: /pineapple/3g/3g.sh: line 181: /etc/init.d/firewall: not found00:01:20 Pineapple user.info sysinit: /pineapple/3g/3g.sh: line 181: /etc/init.d/firewall: not found00:01:15 Pineapple kern.info kernel: [ 75.420000] usbserial: USB Serial support registered for generic00:01:15 Pineapple kern.info kernel: [ 75.420000] usbcore: registered new interface driver usbserial_generic00:01:15 Pineapple kern.info kernel: [ 75.410000] usbcore: registered new interface driver usbserial00:01:12 Pineapple kern.info kernel: [ 72.370000] usbcore: deregistering interface driver usbserial00:01:12 Pineapple kern.info kernel: [ 72.360000] usbserial: USB Serial deregistering driver generic00:01:12 Pineapple kern.info kernel: [ 72.360000] usbcore: deregistering interface driver usbserial_generic00:01:12 Pineapple kern.info kernel: [ 72.000000] br-lan: port 1(eth0) entered forwarding state00:01:10 Pineapple kern.info kernel: [ 70.000000] eth0: link up (1000Mbps/Full duplex)00:01:10 Pineapple kern.info kernel: [ 70.000000] br-lan: port 1(eth0) entered forwarding state00:01:10 Pineapple kern.info kernel: [ 70.000000] br-lan: port 1(eth0) entered forwarding state00:01:08 Pineapple kern.info kernel: [ 68.500000] eth0: link down00:01:08 Pineapple kern.info kernel: [ 68.500000] br-lan: port 1(eth0) entered disabled state00:01:02 Pineapple user.info sysinit: Novatel MiFi 5792 (AT&T) detected. Attempting mode switch00:01:02 Pineapple user.info sysinit: Looking for target devices ...00:01:02 Pineapple user.info sysinit: Looking for default devices ...00:01:02 Pineapple user.info sysinit: 1410:b009 1d6b:000200:01:02 Pineapple user.info sysinit: No devices in target mode or class found00:01:02 Pineapple user.info sysinit: No devices in default mode found. Nothing to do. Bye.00:01:01 Pineapple kern.info kernel: [ 61.480000] br-lan: port 1(eth0) entered forwarding state00:01:00 Pineapple user.notice root: 3G: Connection Script here, searching for modems00:01:00 Pineapple user.info sysinit: Searching for attached 3G Modems00:01:00 Pineapple user.info sysinit: Failed to connect to hostapd - wpa_ctrl_open: No such file or directory00:00:59 Pineapple user.info sysinit: Command failed: Operation not supported00:00:59 Pineapple kern.info kernel: [ 59.480000] eth0: link up (1000Mbps/Full duplex)00:00:59 Pineapple kern.info kernel: [ 59.480000] br-lan: port 1(eth0) entered forwarding state00:00:59 Pineapple kern.info kernel: [ 59.480000] br-lan: port 1(eth0) entered forwarding state00:00:58 Pineapple user.info sysinit: command failed: Device or resource busy (-16)00:00:57 Pineapple user.notice dnsmasq: found already running DHCP-server on interface 'br-lan' refusing to start, use 'option force 1' to override00:00:57 Pineapple user.info sysinit: PHY for wifi device radio1 not found00:00:57 Pineapple user.info sysinit: PHY for wifi device radio1 not found00:00:57 Pineapple kern.info kernel: [ 57.980000] eth0: link down00:00:57 Pineapple kern.info kernel: [ 57.980000] br-lan: port 1(eth0) entered disabled state00:00:57 Pineapple daemon.info dnsmasq[1453]: using nameserver 8.8.8.8#5300:00:57 Pineapple daemon.info dnsmasq[1453]: using local addresses only for domain lan00:00:57 Pineapple daemon.info dnsmasq[1453]: using local addresses only for domain lan00:00:57 Pineapple daemon.info dnsmasq[1453]: started, version 2.62 cachesize 15000:00:57 Pineapple daemon.info dnsmasq[1453]: reading /tmp/resolv.conf.auto00:00:57 Pineapple daemon.info dnsmasq[1453]: read /etc/hosts - 1 addresses00:00:57 Pineapple daemon.info dnsmasq[1453]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack00:00:56 Pineapple user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!00:00:56 Pineapple user.notice dnsmasq: Allowing 127.0.0.0/8 responses00:00:53 Pineapple authpriv.info dropbear[1389]: Not backgrounding00:00:52 Pineapple user.info sysinit: Command failed: Operation not supported00:00:52 Pineapple daemon.notice netifd: wan (917): Sending discover...00:00:52 Pineapple cron.info crond[1381]: crond: crond (busybox 1.19.4) started, log level 500:00:50 Pineapple user.info sysinit: command failed: Device or resource busy (-16)00:00:50 Pineapple user.info sysinit: PHY for wifi device radio1 not found00:00:49 Pineapple user.info sysinit: PHY for wifi device radio1 not found00:00:49 Pineapple user.info sysinit: PHY for wifi device radio1 not found00:00:49 Pineapple daemon.notice netifd: wan (917): Sending discover...00:00:47 Pineapple kern.info kernel: [ 47.860000] br-lan: port 1(eth0) entered forwarding state00:00:46 Pineapple daemon.notice netifd: wan (917): Sending discover...00:00:46 Pineapple daemon.notice netifd: Interface 'wan2' is now down00:00:45 Pineapple kern.info kernel: [ 45.860000] eth0: link up (1000Mbps/Full duplex)00:00:45 Pineapple kern.info kernel: [ 45.860000] br-lan: port 1(eth0) entered forwarding state00:00:45 Pineapple kern.info kernel: [ 45.860000] br-lan: port 1(eth0) entered forwarding state00:00:45 Pineapple kern.info kernel: [ 45.260000] device eth0 entered promiscuous mode00:00:45 Pineapple daemon.notice netifd: wan (917): udhcpc (v1.19.4) started00:00:45 Pineapple daemon.notice netifd: Interface 'loopback' is now up00:00:45 Pineapple daemon.notice netifd: Interface 'lan' is now up00:00:42 Pineapple user.notice usb-modeswitch: 1-1:1.1: Manufacturer=Novatel_Wireless Product=MiFi_5792 Serial=0123456789ABCDEF00:00:42 Pineapple user.notice usb-modeswitch: 1-1:1.0: Manufacturer=Novatel_Wireless Product=MiFi_5792 Serial=0123456789ABCDEF00:00:41 Pineapple user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.7.9_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform00:00:40 Pineapple kern.warn kernel: [ 0.680000] m25p80 spi0.0: found mx25l6405d, expected m25p8000:00:40 Pineapple kern.notice kernel: [ 10.780000] SCSI subsystem initialized00:00:40 Pineapple kern.notice kernel: [ 9.910000] jffs2: notice: (460) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 16 of xref (0 dead, 5 orphan) found.00:00:40 Pineapple kern.notice kernel: [ 2.930000] Bridge firewalling registered00:00:40 Pineapple kern.notice kernel: [ 0.750000] 0x0000007f0000-0x000000800000 : "art"00:00:40 Pineapple kern.notice kernel: [ 0.750000] 0x000000050000-0x0000007e0000 : "firmware"00:00:40 Pineapple kern.notice kernel: [ 0.740000] 0x0000007e0000-0x0000007f0000 : "nvram"00:00:40 Pineapple kern.notice kernel: [ 0.740000] 0x000000650000-0x0000007e0000 : "kernel"00:00:40 Pineapple kern.notice kernel: [ 0.730000] 0x000000550000-0x000000650000 : "rootfs_data"00:00:40 Pineapple kern.notice kernel: [ 0.720000] mtd: partition "rootfs" set to be root filesystem00:00:40 Pineapple kern.notice kernel: [ 0.710000] 0x000000050000-0x000000650000 : "rootfs"00:00:40 Pineapple kern.notice kernel: [ 0.700000] 0x000000040000-0x000000050000 : "u-boot-env"00:00:40 Pineapple kern.notice kernel: [ 0.700000] 0x000000000000-0x000000040000 : "u-boot"00:00:40 Pineapple kern.notice kernel: [ 0.690000] Creating 7 MTD partitions on "spi0.0":00:00:40 Pineapple kern.notice kernel: [ 0.690000] 7 cmdlinepart partitions found on MTD device spi0.000:00:40 Pineapple kern.info kernel: [ 35.280000] usbcore: registered new interface driver rtl818700:00:40 Pineapple kern.info kernel: [ 35.130000] usbcore: registered new interface driver rt73usb00:00:40 Pineapple kern.info kernel: [ 33.740000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)00:00:40 Pineapple kern.info kernel: [ 33.740000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)00:00:40 Pineapple kern.info kernel: [ 33.730000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)00:00:40 Pineapple kern.info kernel: [ 33.720000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)00:00:40 Pineapple kern.info kernel: [ 33.710000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)00:00:40 Pineapple kern.info kernel: [ 33.710000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)00:00:40 Pineapple kern.info kernel: [ 33.700000] cfg80211: World regulatory domain updated:00:00:40 Pineapple kern.info kernel: [ 33.700000] cfg80211: Calling CRDA to update world regulatory domain00:00:40 Pineapple kern.info kernel: [ 33.600000] compat.git: wireless-testing.git00:00:40 Pineapple kern.info kernel: [ 33.590000] Compat-drivers backport release: compat-drivers-2013-01-21-100:00:40 Pineapple kern.info kernel: [ 33.590000] Backport based on wireless-testing.git master-2013-02-2200:00:40 Pineapple kern.info kernel: [ 32.680000] eth0: link down00:00:40 Pineapple kern.info kernel: [ 12.260000] usb 1-1: new high-speed USB device number 2 using ehci-platform00:00:40 Pineapple kern.info kernel: [ 12.160000] USB Mass Storage support registered.00:00:40 Pineapple kern.info kernel: [ 12.150000] usbcore: registered new interface driver usb-storage00:00:40 Pineapple kern.info kernel: [ 12.150000] Initializing USB Mass Storage driver...00:00:40 Pineapple kern.info kernel: [ 12.020000] uhci_hcd: USB Universal Host Controller Interface driver00:00:40 Pineapple kern.info kernel: [ 11.910000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver00:00:40 Pineapple kern.info kernel: [ 11.780000] hub 1-0:1.0: USB hub found00:00:40 Pineapple kern.info kernel: [ 11.780000] hub 1-0:1.0: 1 port detected00:00:40 Pineapple kern.info kernel: [ 11.780000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.0000:00:40 Pineapple kern.info kernel: [ 11.760000] ehci-platform ehci-platform: irq 3, io mem 0x1b00000000:00:40 Pineapple kern.info kernel: [ 11.720000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 100:00:40 Pineapple kern.info kernel: [ 11.720000] ehci-platform ehci-platform: Generic Platform EHCI Controller00:00:40 Pineapple kern.info kernel: [ 11.710000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver00:00:40 Pineapple kern.info kernel: [ 11.100000] usbcore: registered new device driver usb00:00:40 Pineapple kern.info kernel: [ 11.090000] usbcore: registered new interface driver usbfs00:00:40 Pineapple kern.info kernel: [ 11.090000] usbcore: registered new interface driver hub00:00:40 Pineapple kern.info kernel: [ 7.140000] eth0: link up (1000Mbps/Full duplex)00:00:40 Pineapple kern.info kernel: [ 2.950000] Freeing unused kernel memory: 220k freed00:00:40 Pineapple kern.info kernel: [ 2.940000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.00:00:40 Pineapple kern.info kernel: [ 2.930000] 8021q: 802.1Q VLAN Support v1.800:00:40 Pineapple kern.info kernel: [ 2.920000] TCP: cubic registered00:00:40 Pineapple kern.info kernel: [ 2.920000] NET: Registered protocol family 1700:00:40 Pineapple kern.info kernel: [ 2.910000] ag71xx ag71xx.0 eth1: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]00:00:40 Pineapple kern.info kernel: [ 2.360000] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode:MII00:00:40 Pineapple kern.info kernel: [ 1.330000] eth0: Found an AR7240/AR9330 built-in switch00:00:40 Pineapple kern.info kernel: [ 0.780000] eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII00:00:40 Pineapple kern.info kernel: [ 0.770000] libphy: ag71xx_mdio: probed00:00:40 Pineapple kern.info kernel: [ 0.720000] mtd: partition "rootfs_data" created automatically, ofs=550000, len=10000000:00:40 Pineapple kern.info kernel: [ 0.680000] m25p80 spi0.0: mx25l6405d (8192 Kbytes)00:00:40 Pineapple kern.info kernel: [ 0.670000] ath79-spi ath79-spi: master is unqueued, this is deprecated00:00:40 Pineapple kern.info kernel: [ 0.660000] console [ttyATH0] enabled, bootconsole disabled00:00:40 Pineapple kern.info kernel: [ 0.650000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART00:00:40 Pineapple kern.info kernel: [ 0.640000] io scheduler noop registered00:00:40 Pineapple kern.info kernel: [ 0.640000] io scheduler deadline registered (default)00:00:40 Pineapple kern.info kernel: [ 0.640000] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled00:00:40 Pineapple kern.info kernel: [ 0.630000] msgmni has been set to 5600:00:40 Pineapple kern.info kernel: [ 0.620000] squashfs: version 4.0 (2009/01/31) Phillip Lougher00:00:40 Pineapple kern.info kernel: [ 0.620000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) © 2001-2006 Red Hat, Inc.00:00:40 Pineapple kern.info kernel: [ 0.600000] NET: Registered protocol family 100:00:40 Pineapple kern.info kernel: [ 0.590000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)00:00:40 Pineapple kern.info kernel: [ 0.580000] UDP hash table entries: 256 (order: 0, 4096 bytes)00:00:40 Pineapple kern.info kernel: [ 0.580000] TCP: reno registered00:00:40 Pineapple kern.info kernel: [ 0.570000] TCP: Hash tables configured (established 1024 bind 1024)00:00:40 Pineapple kern.info kernel: [ 0.570000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)00:00:40 Pineapple kern.info kernel: [ 0.560000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)00:00:40 Pineapple kern.info kernel: [ 0.560000] NET: Registered protocol family 200:00:40 Pineapple kern.info kernel: [ 0.550000] bio: create slab at 000:00:40 Pineapple kern.info kernel: [ 0.550000] Switching to clocksource MIPS00:00:40 Pineapple kern.debug kernel: [ 35.320000] ath: EEPROM regdomain: 0x833a00:00:40 Pineapple kern.debug kernel: [ 6.570000] Registered led device: alfa:blue:wps00:00:40 Pineapple kern.debug kernel: [ 6.570000] Registered led device: alfa:blue:wlan00:00:40 Pineapple kern.debug kernel: [ 6.570000] Registered led device: alfa:blue:wan00:00:40 Pineapple kern.debug kernel: [ 6.570000] Registered led device: alfa:blue:usb00:00:40 Pineapple kern.debug kernel: [ 6.570000] Registered led device: alfa:blue:lan00:00:40 Pineapple kern.debug kernel: [ 0.600000] PCI: CLS 0 bytes, default 32 Quote Link to comment Share on other sites More sharing options...
headros Posted April 2, 2013 Share Posted April 2, 2013 (edited) looks like you're almost there. did you try this for AT&T? uci set network.wan2.apn=wap.cingular uci set network.wan2.username=WAP@CINGULARGPRS.COM uci set network.wan2.password=CINGULAR1 source Some info about APNs on AT&T support page Edited April 2, 2013 by headros Quote Link to comment Share on other sites More sharing options...
ibrokeit Posted April 2, 2013 Author Share Posted April 2, 2013 Negative. Tried every configuration with and without username and pw. with a reboot after every change. i get the same log output every time. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.