Greetings,
Using this:
http://wiki.openwrt.org/doc/recipes/3gdongle
article I'm trying to configure 3G connection on my router.
But having problems "on the start": although I can see usbserial_generic in logs -- I see no ttyUSB0 in it...
[ 0.000000] Linux version 3.10.21 (fnord@tschunk) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2013.05 r38999) ) #1 Sat Dec 7 14:15:30 UTC 2013
[ 0.000000] MyLoader: sysp=fa89c804, boardp=69cd3b24, parts=31a09c82
[ 0.000000] bootconsole [early0] enabled
[ 0.000000] CPU revision is: 00019374 (MIPS 24Kc)
[ 0.000000] SoC: Atheros AR9330 rev 1
[ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz
[ 0.000000] Determined physical RAM map:
[ 0.000000] memory: 02000000 @ 00000000 (usable)
[ 0.000000] Initrd not found or empty - disabling initrd
[ 0.000000] Zone ranges:
[ 0.000000] Normal [mem 0x00000000-0x01ffffff]
[ 0.000000] Movable zone start for each node
[ 0.000000] Early memory node ranges
[ 0.000000] node 0: [mem 0x00000000-0x01ffffff]
[ 0.000000] On node 0 totalpages: 8192
[ 0.000000] free_area_init_node: node 0, pgdat 80324b60, node_mem_map 81000000
[ 0.000000] Normal zone: 64 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 8192 pages, LIFO batch:0
[ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128
[ 0.000000] Kernel command line: board=TL-MR13U console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
[ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Writing ErrCtl register=00000000
[ 0.000000] Readback ErrCtl register=00000000
[ 0.000000] Memory: 28652k/32768k available (2315k kernel code, 4116k reserved, 609k data, 272k init, 0k highmem)
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:51
[ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
[ 0.080000] pid_max: default: 32768 minimum: 301
[ 0.080000] Mount-cache hash table entries: 512
[ 0.090000] NET: Registered protocol family 16
[ 0.100000] MIPS: machine is TP-LINK TL-MR13U v1
[ 0.350000] bio: create slab <bio-0> at 0
[ 0.360000] Switching to clocksource MIPS
[ 0.360000] NET: Registered protocol family 2
[ 0.370000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.370000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
[ 0.370000] TCP: Hash tables configured (established 512 bind 512)
[ 0.380000] TCP: reno registered
[ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.400000] NET: Registered protocol family 1
[ 0.400000] PCI: CLS 0 bytes, default 32
[ 0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.420000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[ 0.430000] msgmni has been set to 55
[ 0.440000] io scheduler noop registered
[ 0.440000] io scheduler deadline registered (default)
[ 0.450000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART
[ 0.460000] console [ttyATH0] enabled, bootconsole disabled
[ 0.480000] ath79-spi ath79-spi: master is unqueued, this is deprecated
[ 0.480000] m25p80 spi0.0: found s25sl032p, expected m25p80
[ 0.490000] m25p80 spi0.0: s25sl032p (4096 Kbytes)
[ 0.490000] 5 tp-link partitions found on MTD device spi0.0
[ 0.500000] Creating 5 MTD partitions on "spi0.0":
[ 0.500000] 0x000000000000-0x000000020000 : "u-boot"
[ 0.510000] 0x000000020000-0x000000123d84 : "kernel"
[ 0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.530000] 0x000000123d84-0x0000003f0000 : "rootfs"
[ 0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only
[ 0.550000] mtd: device 2 (rootfs) set to be root filesystem
[ 0.550000] 1 squashfs-split partitions found on MTD device rootfs
[ 0.560000] 0x000000330000-0x0000003f0000 : "rootfs_data"
[ 0.560000] 0x0000003f0000-0x000000400000 : "art"
[ 0.570000] 0x000000020000-0x0000003f0000 : "firmware"
[ 0.590000] libphy: ag71xx_mdio: probed
[ 1.140000] ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
[ 1.150000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII
[ 1.160000] TCP: cubic registered
[ 1.160000] NET: Registered protocol family 17
[ 1.160000] Bridge firewalling registered
[ 1.170000] 8021q: 802.1Q VLAN Support v1.8
[ 1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2.
[ 1.190000] Freeing unused kernel memory: 272K (8033c000 - 80380000)
[ 4.600000] usbcore: registered new interface driver usbfs
[ 4.600000] usbcore: registered new interface driver hub
[ 4.610000] usbcore: registered new device driver usb
[ 4.620000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 4.630000] ehci-platform: EHCI generic platform driver
[ 4.630000] ehci-platform ehci-platform: EHCI Host Controller
[ 4.630000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1
[ 4.640000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000
[ 4.670000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00
[ 4.670000] hub 1-0:1.0: USB hub found
[ 4.670000] hub 1-0:1.0: 1 port detected
[ 4.680000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 5.000000] usb 1-1: new high-speed USB device number 2 using ehci-platform
[ 5.860000] jffs2: notice: (325) jffs2_build_xattr_subsystem: complete building xattr subsystem, 16 of xdatum (1 unchecked, 15 orphan) and 26 of xref (0 dead, 15 orphan) found.
[ 7.130000] NET: Registered protocol family 10
[ 7.150000] nf_conntrack version 0.5.0 (451 buckets, 1804 max)
[ 7.160000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[ 7.190000] uhci_hcd: USB Universal Host Controller Interface driver
[ 7.200000] usbcore: registered new interface driver cdc_acm
[ 7.200000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 7.210000] Loading modules backported from Linux version master-2013-11-05-0-gafa3093
[ 7.220000] Backport generated by backports.git backports-20130802-0-gdb67a3f
[ 7.230000] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 7.270000] usbcore: registered new interface driver usbserial
[ 7.270000] usbcore: registered new interface driver usbserial_generic
[ 7.280000] usbserial: USB Serial support registered for generic
[ 7.310000] xt_time: kernel timezone is -0000
[ 7.350000] cfg80211: Calling CRDA to update world regulatory domain
[ 7.350000] cfg80211: World regulatory domain updated:
[ 7.360000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 7.360000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.370000] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[ 7.380000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[ 7.390000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 7.390000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 2000 mBm)
[ 7.400000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm)
[ 7.480000] PPP generic driver version 2.4.2
[ 7.480000] NET: Registered protocol family 24
[ 7.540000] usbcore: registered new interface driver option
[ 7.540000] usbserial: USB Serial support registered for GSM modem (1-port)
[ 7.570000] ath: EEPROM regdomain: 0x0
[ 7.570000] ath: EEPROM indicates default country code should be used
[ 7.570000] ath: doing EEPROM country->regdmn map search
[ 7.570000] ath: country maps to regdmn code: 0x3a
[ 7.570000] ath: Country alpha2 being used: US
[ 7.570000] ath: Regpair used: 0x3a
[ 7.580000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[ 7.600000] cfg80211: Calling CRDA for country: US
[ 7.610000] cfg80211: Regulatory domain changed to country: US
[ 7.610000] cfg80211: DFS Master region FCC
[ 7.610000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 7.620000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
[ 7.630000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (300 mBi, 1700 mBm)
[ 7.640000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[ 7.650000] cfg80211: (5490000 KHz - 5600000 KHz @ 80000 KHz), (300 mBi, 2400 mBm)
[ 7.650000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2400 mBm)
[ 7.660000] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (300 mBi, 3000 mBm)
[ 7.670000] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm)
[ 7.690000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
[ 14.660000] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 14.710000] IPv6: ADDRCONF(NETDEV_UP): br-wifi: link is not ready
[ 15.450000] eth0: link up (100Mbps/Full duplex)
[ 15.450000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 15.790000] cfg80211: Calling CRDA for country: JP
[ 15.830000] cfg80211: Regulatory domain changed to country: JP
[ 15.830000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[ 15.840000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
[ 15.850000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm)
[ 15.850000] cfg80211: (4910000 KHz - 4990000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[ 15.860000] cfg80211: (5030000 KHz - 5090000 KHz @ 40000 KHz), (N/A, 2300 mBm)
[ 15.870000] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 15.870000] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz), (N/A, 2000 mBm)
[ 15.880000] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2300 mBm)
[ 17.420000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 17.430000] device wlan0 entered promiscuous mode
[ 17.730000] br-wifi: port 1(wlan0) entered forwarding state
[ 17.730000] br-wifi: port 1(wlan0) entered forwarding state
[ 17.740000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 17.750000] IPv6: ADDRCONF(NETDEV_CHANGE): br-wifi: link becomes ready
[ 19.730000] br-wifi: port 1(wlan0) entered forwarding state
[ 26.190000] device wlan0 left promiscuous mode
[ 26.190000] br-wifi: port 1(wlan0) entered disabled state
[ 26.780000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 26.790000] device wlan0 entered promiscuous mode
[ 26.790000] br-wifi: port 1(wlan0) entered forwarding state
[ 26.790000] br-wifi: port 1(wlan0) entered forwarding state
[ 27.170000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 28.790000] br-wifi: port 1(wlan0) entered forwarding state
I tried adding
echo '12d1 1505 ff' > /sys/bus/usb-serial/drivers/option1/new_id
to rc.local -- no luck.
I believe to have all needed packages installed:
6relayd - 2013-10-21-ad00c3dd9ee42f172870708724858ab502b3a689
base-files - 149-r38999
busybox - 1.19.4-7
chat - 2.4.5-10
dnsmasq - 2.66-5
dropbear - 2013.59-1
firewall - 2013-11-18
hostapd-common - 20131120-1
ip6tables - 1.4.20-1
iptables - 1.4.20-1
iw - 3.10-1
jshn - 2013-12-02-318d682d29a8974aa53bd7dc523f1514eb0eddb9
kernel - 3.10.21-1-bd7c1eb843051f66db2be660b4508824
kmod-ath - 3.10.21+2013-11-05-5
kmod-ath9k - 3.10.21+2013-11-05-5
kmod-ath9k-common - 3.10.21+2013-11-05-5
kmod-cfg80211 - 3.10.21+2013-11-05-5
kmod-crypto-aes - 3.10.21-1
kmod-crypto-arc4 - 3.10.21-1
kmod-crypto-core - 3.10.21-1
kmod-crypto-hash - 3.10.21-1
kmod-crypto-manager - 3.10.21-1
kmod-crypto-pcompress - 3.10.21-1
kmod-gpio-button-hotplug - 3.10.21-1
kmod-ip6tables - 3.10.21-1
kmod-ipt-conntrack - 3.10.21-1
kmod-ipt-core - 3.10.21-1
kmod-ipt-nat - 3.10.21-1
kmod-ipt-nathelper - 3.10.21-1
kmod-ipv6 - 3.10.21-1
kmod-leds-gpio - 3.10.21-1
kmod-ledtrig-default-on - 3.10.21-1
kmod-ledtrig-netdev - 3.10.21-1
kmod-ledtrig-timer - 3.10.21-1
kmod-ledtrig-usbdev - 3.10.21-1
kmod-lib-crc-ccitt - 3.10.21-1
kmod-mac80211 - 3.10.21+2013-11-05-5
kmod-nls-base - 3.10.21-1
kmod-ppp - 3.10.21-1
kmod-pppoe - 3.10.21-1
kmod-pppox - 3.10.21-1
kmod-slhc - 3.10.21-1
kmod-usb-acm - 3.10.21-1
kmod-usb-core - 3.10.21-1
kmod-usb-ohci - 3.10.21-1
kmod-usb-serial - 3.10.21-1
kmod-usb-serial-option - 3.10.21-1
kmod-usb-serial-wwan - 3.10.21-1
kmod-usb-uhci - 3.10.21-1
kmod-usb2 - 3.10.21-1
libblobmsg-json - 2013-12-02-318d682d29a8974aa53bd7dc523f1514eb0eddb9
libc - 0.9.33.2-1
libgcc - 4.6-linaro-1
libip4tc - 1.4.20-1
libip6tc - 1.4.20-1
libjson-c - 0.11-2
libjson-script - 2013-12-02-318d682d29a8974aa53bd7dc523f1514eb0eddb9
libnl-tiny - 0.1-3
libpthread - 0.9.33.2-1
librt - 0.9.33.2-1
libsqlite3 - 3071201-1
libubox - 2013-12-02-318d682d29a8974aa53bd7dc523f1514eb0eddb9
libubus - 2013-11-07-8ea96670367e5dd23988b51ee4f0f790393effaf
libuci - 2013-12-02.1-1
libusb-1.0 - 1.0.9-1
libxtables - 1.4.20-1
mtd - 20
netifd - 2013-12-03-45df0e856445469c8647bfcd89c96872d274ef94
odhcp6c - 2013-10-29-60c9e4d5a26f530e89ed6254e8c09380b50fac08
opkg - 618-6
ppp - 2.4.5-10
ppp-mod-pppoe - 2.4.5-10
procd - 2013-11-22-dc3988c38546c37a02030af8201048272caa7ded
swconfig - 10
uboot-envtools - 2013.10-1
ubox - 2013-11-28-30deade42ebd7fa112ee2693e9c2cc6532f0e3cf
ubus - 2013-11-07-8ea96670367e5dd23988b51ee4f0f790393effaf
ubusd - 2013-11-07-8ea96670367e5dd23988b51ee4f0f790393effaf
uci - 2013-12-02.1-1
wpad-mini - 20131120-1
Can someone help me with this configuration?
Best regards...