NEED TESTERS! 3G on Broadcom

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Author Message
Darr
DD-WRT Novice


Joined: 03 Oct 2008
Posts: 36
Location: Michigan USA

PostPosted: Wed Oct 07, 2009 6:33    Post subject: Re: option.o Reply with quote
vavy wrote:

Where I can download option.o binary?


Where did you see it mentioned?

It's not in the fs_and_usb_modules_2_4_37.tar.gz archive linked to in the thread the wiki advanced tutorial about using a cell phone as a USB modem points to for the acm.o file.
Sponsor
vavy
DD-WRT Novice


Joined: 21 Jan 2009
Posts: 8

PostPosted: Wed Oct 07, 2009 6:43    Post subject: Re: option.o Reply with quote
Darr wrote:
vavy wrote:

Where I can download option.o binary?


Where did you see it mentioned?

It's not in the fs_and_usb_modules_2_4_37.tar.gz archive linked to in the thread the wiki advanced tutorial about using a cell phone as a USB modem points to for the acm.o file.


hello! I spent some hours yesterday night, downloaded option.o, acm.o, modem.o from oleg-project repository, but it aren't helped me to use modem. Sad
"Cellular Phone/USB Modem as WAN wiki" - too. Sad
Tty ports are not creating.
storage device can't disconnect from scsi bus. Sad
mod_switch aren't help too.
But lsusb some cirrectly displays modem! As modem, not as storage! (by vendor/product id).

So, I am interseting, are someone somewhere sometime successfull connected Huawei E219 (or Huawei E220) to dd-wrt_mega_r12996_broadcom on asus-wl500gpv1 ?!
HOW???!!!
On oleg's forum successful stories - about ZTE modems....
Darr
DD-WRT Novice


Joined: 03 Oct 2008
Posts: 36
Location: Michigan USA

PostPosted: Wed Oct 07, 2009 7:49    Post subject: Re: option.o Reply with quote
I'm not sure how the forum is displayed for you, but I'm on page 7 of this thread. There's a download for generic broadcom in the first post, and another at the bottom of page 4. Then there are some specific builds for the newer Linksys N modems.

Did you try it using either the build on page 1 or page 4?
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 152

PostPosted: Thu Oct 08, 2009 12:27    Post subject: Reply with quote
cant say if it will fix any of the issues that are out there. but here is a build off of 13035.


dd-wrt.v24_mini_generic.bin
 Description:

Download
 Filename:  dd-wrt.v24_mini_generic.bin
 Filesize:  3.27 MB
 Downloaded:  1839 Time(s)

Ashipka
DD-WRT Novice


Joined: 12 Aug 2009
Posts: 3

PostPosted: Sat Oct 10, 2009 18:12    Post subject: 3G firmware Reply with quote
Thank you for your 3G firmware, can you build std one (there is no chillispot in mini version) Thank you very much!!!!
Darr
DD-WRT Novice


Joined: 03 Oct 2008
Posts: 36
Location: Michigan USA

PostPosted: Sun Oct 11, 2009 5:35    Post subject: Reply with quote
rkozola wrote:
cant say if it will fix any of the issues that are out there. but here is a build off of 13035.


According to http://www.instinct-samsung.com/index.php?topic=5998.45 my Samsung (SPH-m800 aka Instinct) should use ACM. According to dmesg it appears to be trying to use a sierra driver for it, but is not working. Or maybe I'm interpreting the output wrong? :-)

# dmesg
Code:

CPU ProcId is: 0x00029006, options: 0x0000004d
Linux version 2.4.37 (dd-wrt@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #2 Wed Oct 7 13:39:42 CDT 2009
Setting the PFC to its default value
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 8 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 263.78 BogoMIPS
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:02.0 to 64
PCI: Setting latency timer of device 01:01.0 to 64
PCI: Enabling device 01:01.0 (0004 -> 0006)
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
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
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x20000,blocks=64
Using buffer write method
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x261456
partition size = 2607104
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007e0000 : "linux"
0x00123800-0x003a0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007e0000-0x00800000 : "nvram"
0x003a0000-0x007e0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 13:22:16 Oct  7 2009
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:02.0 (0000 -> 0002)
PCI: Setting latency timer of device 01:02.0 to 64
usb-ohci.c: USB OHCI at membase 0xc004f000, IRQ 2
usb-ohci.c: usb-01:02.0, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Enabling device 01:02.1 (0000 -> 0002)
PCI: Setting latency timer of device 01:02.1 to 64
usb-ohci.c: USB OHCI at membase 0xc0051000, IRQ 2
usb-ohci.c: usb-01:02.1, PCI device 1033:0035
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:02.2 (0000 -> 0002)
ehci_hcd 01:02.2: PCI device 1033:00e0
ehci_hcd 01:02.2: irq 2, pci mem c005a000
usb.c: new USB bus registered, assigned bus number 4
ehci_hcd 01:02.2: USB 2.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 5 ports detected
hub.c: connect-debounce failed, port 1 disabled
hub.c: new USB device 01:02.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x4e8/0x6640) is not claimed by any active driver.
device eth0 entered promiscuous mode
device eth2 entered promiscuous mode
device eth1 entered promiscuous mode
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
sierra.c: USB Serial support registered for Sierra Wireless
usb.c: registered new driver Sierra wireless
sierra.c: USB Serial support registered for Option GSM modem
option.c: USB Driver for GSM modems: v0.7.2a
etherip: Ethernet over IPv4 tunneling driver
ip_nat_pptp version 1.5 unloaded
ip_conntrack_pptp version 1.9 unloaded
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
device eth0 left promiscuous mode
device eth2 left promiscuous mode
device eth0 entered promiscuous mode
device eth2 entered promiscuous mode
ip_nat_pptp version 1.5 unloaded
ip_conntrack_pptp version 1.9 unloaded
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded


The vend/prod 0x4e8/0x6640 matches the
USB\VID_04E8&PID_6640&MI_00\8&2A75D3A&1&2_00
on the Details tab in XP's Device Manager.

Of course in Administration->Commands I ran
nvram set wan_dial=2
then
nvram commit

Because the GUI still doesn't store the dialer choice using Save or Apply (as you kinda noted when posting the file).

So my options.pppoe now looks like
Code:

myname@DD-WRTSL54GS:/tmp/ppp# more options.pppoe
defaultroute
usepeerdns
noipdefault
noauth
ipcp-max-failure 30
lcp-echo-interval 10
lcp-echo-failure 3
crtscts
460800
connect "COMGTDIAL='ATDT#777' /usr/sbin/comgt DIAL -d /dev/usb/tts/0 >/tmp/comgt.out 2>&1"
/dev/usb/tts/0


But it still doesn't even appear to try to dial when I use the Connect button in Status->WAN.

I browsed around a bit using WinSCP and telnet, but did not find acm.o anywhere on the router, so maybe tomorrow (after I fill the concave divot in the wallboard) I'll do another 30-10-20 reset, copy acm.o over and insmod it, store the dial string command in nvram again, then power cycle and plug in the phone to see if it looks any better. I've banged my head against the wall enough today, though.

Still, thanks for the opportunity to help, rkozola!
I'll wait until it's working before requesting a mega build to take advantage of the 8MB/32MB provisioned in this WRTSL54GS. Wink
rkozola
DD-WRT User


Joined: 27 Oct 2007
Posts: 152

PostPosted: Sun Oct 11, 2009 20:49    Post subject: Reply with quote
Darr

Have you tried 'insmod acm'. There is currectly no code to automatically load acm. That might be why you get the 'not claimed by any active driver'. I used to have a device that relied on acm and had to manually insmod.
chicomania
DD-WRT Novice


Joined: 11 Oct 2009
Posts: 4

PostPosted: Mon Oct 12, 2009 0:08    Post subject: Reply with quote
Hi@all,

I like the idea of using a 3g USB-modem on a router. I tried Oleg's firmware on WL-500gP with a Huawei E160 and E176 but it wasn't stable. Connection hangs after a while so i tried your binary from build 13035.
For Huawei E176 I saved the correct apn and wan_dial and activated Core USB Support and both USB 1.1. The modem connects for a short period of time (approximately 30 seconds) so I could open google.de but then the connection is broken. Means: LED is still on for 2 mins, but I cannot connect to any website. Then the LED is flashing. Sometimes he reconnects for the same short period, but most time not. I then have to reboot.
While he is connected, i get lots of:
ip_nat_pptp version 1.5 unloaded
ip_conntrack_pptp version 1.9 unloaded
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
ip_nat_pptp version 1.5 unloaded
ip_conntrack_pptp version 1.9 unloaded
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
ip_nat_pptp version 1.5 unloaded
.....
via dmesg

If I enable USB 2.0 he never connects and if I enable USB Storage Support he doesn't enable ttyUSB0 and ttyUSB1 because of the sd-slot and the lack of usb_modeswitch.

With the E160 it doesn't connect even for a short period of time.

Maybe you have an idea why he disconnects? Thank you!

root@DD-WRT:~# dmesg
CPU ProcId is: 0x00029006, options: 0x0000004d
Linux version 2.4.37 (dd-wrt@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #2 Wed Oct 7 13:39:42 CDT 2009
Setting the PFC to its default value
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM4704 rev 9 at 264 MHz
Using 132.000 MHz high precision timer.
Calibrating delay loop... 263.78 BogoMIPS
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Checking for 'wait' instruction... unavailable.
POSIX conformance testing by UNIFIX
PCI: Initializing host
PCI: Fixing up bus 0
PCI: Fixing up bridge
PCI: Setting latency timer of device 01:00.0 to 64
PCI: Fixing up bus 1
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-0Cool with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:02.0 to 64
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
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 v1.3 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x800000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x261456
partition size = 2541568
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x007f0000 : "linux"
0x00123800-0x00390000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x007f0000-0x00800000 : "nvram"
0x00390000-0x007f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
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.
Mounted devfs on /dev
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 13:22:16 Oct 7 2009
usb-uhci.c: High bandwidth mode enabled
PCI: Enabling device 01:03.0 (0000 -> 0001)
UHCI: Enabling VIA 6212 workarounds
usb-uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
UHCI: Enabling VIA 6212 workarounds
usb-uhci.c: USB UHCI at I/O 0x120, IRQ 2
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:4715
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 01:03.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x12d1/0x1003) is not claimed by any active driver.
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: del 01:00:5e:00:00:01 mcast address from vlan interface
vlan0: del 01:00:5e:00:00:01 mcast address from master interface
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: del 01:00:5e:00:00:01 mcast address from vlan interface
vlan0: del 01:00:5e:00:00:01 mcast address from master interface
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device eth2 entered promiscuous mode
device vlan1 entered promiscuous mode
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Option GSM modem
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
option.c: USB Driver for GSM modems: v0.7.2a
usb-uhci.c: ENXIO c0410280, flags 0, urb 81d2f4a0, burb 81d2f420
usb-uhci.c: ENXIO c0410280, flags 0, urb 81d2f520, burb 81d2f420
usb-uhci.c: ENXIO c0410280, flags 0, urb 81d2f5a0, burb 81d2f420
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
usb-uhci.c: ENXIO c0410280, flags 0, urb 81d2f520, burb 81d2f4a0
usb-uhci.c: ENXIO c0410280, flags 0, urb 81d2f5a0, burb 81d2f4a0
etherip: Ethernet over IPv4 tunneling driver
(then here after connecting lots of the "loaded" - "unloaded" things)

root@DD-WRT:~# cat /tmp/ppp/options.pppoe
defaultroute
usepeerdns
noipdefault
noauth
ipcp-max-failure 30
lcp-echo-interval 10
lcp-echo-failure 3
crtscts
460800
connect "COMGTDIAL='ATD*99#' /usr/sbin/comgt DIAL -d /dev/usb/tts/0 >/tmp/comgt.out 2>&1"
/dev/usb/tts/0
root@DD-WRT:~#
root@DD-WRT:/tmp/ppp# ps
PID USER VSZ STAT COMMAND
1 root 2052 S /sbin/init noinitrd
2 root 0 SW [keventd]
3 root 0 RWN [ksoftirqd_CPU0]
4 root 0 SW [kswapd]
5 root 0 SW [bdflush]
6 root 0 SW [kupdated]
11 root 0 SW [mtdblockd]
15 root 2088 S watchdog
21 root 0 SW [USBLEDprobe]
22 root 0 SW [khubd]
100 root 2044 S resetbutton
157 root 1280 S telnetd
169 root 2912 S httpd -p 80
175 root 2044 S wland
187 root 1008 S dnsmasq --conf-file=/tmp/dnsmasq.conf
197 root 892 S cron
218 root 1736 S dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_ho
330 root 2088 S /tmp/ppp/redial 30
341 root 2012 S ttraff
393 root 1800 S dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_ho
435 root 1308 S -sh
535 root 1784 S pppd file /tmp/ppp/options.pppoe
537 root 1284 S sh -c COMGTDIAL='ATD*99#' /usr/sbin/comgt DIAL -d /de
538 root 936 S /usr/sbin/comgt DIAL -d /dev/usb/tts/0
544 root 1284 R ps
ferika
DD-WRT Novice


Joined: 12 Oct 2009
Posts: 4

PostPosted: Mon Oct 12, 2009 15:54    Post subject: Tested on ASUS WL-520GU - cannot save dial number!!! Reply with quote
Hi!
On D-Link DIR-855 router works my Huawei E220 USB adapter wery well. The settings are:

Connection: 3G/USB
Country: none (not set)
ISP: none (not set)
User name: ppp@a1plus.at
Pass: ppp
Dial number: *99#
Authentication protocol: Auto (PAP+CHAP)
APN: a1.net
Reconnect mode: always on
Maximum iddle time: 0 (infinite)
MTU: 1492


With this setting it works good. I have listed all settings possibble for this connection.

With you latest firm "DD-WRT v24-sp2 (10/07/09) mini usb" that i have updated from my previous version i cannot save the right DIAL NUMBER !!! Althrough i set up the right number "*99#", after <SAVE> or <APPLY SETTINGS> will be always restored the default value "*99***1#" !!!

Please correct, if it is possible.

PS: For me do not work the Asus recovery utility - it found my WL-520GU router not! The discovery utility found this router not. Have you other soft, that can flash new firm into this router. Have WinXP, not Linux. (apropos - for this Asus recovery may be router connected via WLAN or LAN? I try both, but without success. The i flashed you firm simply as update from webinterface of router.)

Thank you,
Feri
(Wien/Bratislava)
chicomania
DD-WRT Novice


Joined: 11 Oct 2009
Posts: 4

PostPosted: Mon Oct 12, 2009 16:39    Post subject: Reply with quote
@ferika
Authentication protocol: Auto (PAP+CHAP)
Reconnect mode: always on
Maximum idle time: 0 (infinite)

Where did you set these values? I can't find them in the WebGUI.

@rkozola

I updated E176s firmware which fixes Mac OS problems, now I can connect for an hour! Still with USB 2.0 and storage turned off.

I get the
ip_nat_pptp version 1.5 unloaded
ip_conntrack_pptp version 1.9 unloaded
ip_conntrack_pptp version 1.9 loaded
three or four times now.

I don't know why he disconnects after an hour, maybe there's a fifth one. He still doesn't reconnect.
Darr
DD-WRT Novice


Joined: 03 Oct 2008
Posts: 36
Location: Michigan USA

PostPosted: Mon Oct 12, 2009 19:05    Post subject: Re: Tested on ASUS WL-520GU - cannot save dial number!!! Reply with quote
ferika wrote:

cannot save the right DIAL NUMBER !!! Althrough i set up the right number "*99#", after <SAVE> or <APPLY SETTINGS> will be always restored the default value "*99***1#" !!!


On the Administration tab, Commands sub tab type or paste in

nvram set wan_dial=1

and click the Run Commands button... then paste in

nvram commit

And do Run Commands again. Now when you look on the Setup->Basic Setup tab, the dial string will be right; without doing that it's stuck on wan_dial=0 (that's what rkozola meant by, "cant say if it will fix any of the issues that are out there" when posting the new build).
The 'nvram commit' command saves it until the next time you do a hard reset. It might even survive a firmware flash - that's why you're always supposed to do the 30-30-30 reset before upgrading.

You can use the Administration->Commands window to see the 'dmesg' et al output without using telnet, too.

edit1 - inserted rkozola quote
ferika
DD-WRT Novice


Joined: 12 Oct 2009
Posts: 4

PostPosted: Tue Oct 13, 2009 7:38    Post subject: Reply with quote
The other values are from D-Link DIR-855 router that is my reference router, in that works the Huawei USB module right. I mean this only as compare with a working solution.
OK, the settings for Asus i will test next time too. Thank you very much,
Feri
ferika
DD-WRT Novice


Joined: 12 Oct 2009
Posts: 4

PostPosted: Tue Oct 13, 2009 8:56    Post subject: fields are filled in properly - but no connection Reply with quote
OK. Dial string is ok now, for set the APN (save do not work directly) i have used this:
nvram set wan_apn="a1.net",
and is right now too - but connection to the providers was not established. Have tested in both state - with Huawei modem connected after and before power up.

PS: PIN have not set, because my other router has no PIN field available. May be this is wrong?

PS2: Should be the USB services turned on? Services->USB-> ... have all turned on, except Printer and Storage support. It's right?

Thank you,
Feri
ferika
DD-WRT Novice


Joined: 12 Oct 2009
Posts: 4

PostPosted: Tue Oct 13, 2009 11:38    Post subject: dmesg output under this conditions: ... Reply with quote
... USB2.0 disabled, USB supp. for printer and storage disabled too:

Code:
CPU ProcId is: 0x00029029, options: 0x0000004d
Linux version 2.4.37 (dd-wrt@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #2 Wed Oct 7 13:39:42 CDT 2009
Setting the PFC to its default value
Determined physical RAM map:
 memory: 01000000 @ 00000000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200
CPU: BCM5354 rev 2 at 240 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.88 BogoMIPS
Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Checking for 'wait' instruction...  unavailable.
POSIX conformance testing by UNIFIX
PCI: no core
PCI: Fixing up bus 0
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
squashfs: version 3.0 (2006/03/15) Phillip Lougher
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xb8000300 (irq = 3) is a 16550A
ttyS01 at 0xb8000400 (irq = 3) is a 16550A
PCI: Setting latency timer of device 00:01.0 to 64
PCI: Setting latency timer of device 00:05.0 to 64
sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4318
Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky
Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0xc00000 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 0x1400000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0
Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0
 Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
bootloader size: 131072
Physically mapped flash: Filesystem type: squashfs, size=0x261456
partition size = 2541568
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x00103800-0x00370000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00370000-0x003f0000 : "ddwrt"
sflash not supported on this router
Initializing Cryptographic API
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_random match loaded
netfilter PSD loaded - (c) astaro AG
ipt_osf: Startng OS fingerprint matching module.
ipt_IPV4OPTSSTRIP loaded
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
802.1Q VLAN Support v1.8 Ben Greear
All bugs added by David S. Miller
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 13:22:16 Oct  7 2009
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
USB20H syn01 register : 0xfe00fe
USB20H syn03 register : 0x1
PCI: Setting latency timer of device 00:03.0 to 64
usb-ohci.c: USB OHCI at membase 0xb8003000, IRQ 6
usb-ohci.c: usb-00:03.0, PCI device 14e4:471a
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:03.0-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x12d1/0x1003) is not claimed by any active driver.
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: del 01:00:5e:00:00:01 mcast address from vlan interface
vlan0: del 01:00:5e:00:00:01 mcast address from master interface
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: del 01:00:5e:00:00:01 mcast address from vlan interface
vlan0: del 01:00:5e:00:00:01 mcast address from master interface
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device eth1 entered promiscuous mode
device vlan1 entered promiscuous mode
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Option GSM modem
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
option.c: USB Driver for GSM modems: v0.7.2a
usb/tts/0: 1 input overrun(s)
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
etherip: Ethernet over IPv4 tunneling driver


/* this lines are comming after disconecting and reconnecting modem under powerup state */

usb.c: USB disconnect on device 00:03.0-1 address 2
usbserial.c: Option GSM modem converter now disconnected from ttyUSB0
usbserial.c: Option GSM modem converter now disconnected from ttyUSB1
hub.c: new USB device 00:03.0-1, assigned address 3
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB1 (or usb/tts/1 for devfs)



But connection is still out. Thanx,
Feri
maanus
DD-WRT Novice


Joined: 23 Jul 2009
Posts: 2

PostPosted: Fri Oct 16, 2009 18:14    Post subject: Reply with quote
Hi,
Test case for you (not working so far):
D-Link DIR-320 (for flashing use LAN port 4)
USB 3G/HSPA stick - Huawei K3715? - vend/prod 0x12d1/0x1001
Flashed using build 13035 from this forum.
Enabled ssh and set the following:

Code:
nvram set usb_enable=1
nvram set usb_usb2=1
nvram set wan_proto=3g
nvram set wan_dial=1
nvram set wan_apn=internet
nvram set wan_pin=1234
nvram commit
reboot

Results as dmesg:
Code:
Mounted devfs on /dev
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
USB20H fcr: 0x64
USB20H shim cr: 0x8f7
USB20H syn01 register : 0xfe00fe
USB20H syn03 register : 0x1
PCI: Setting latency timer of device 00:03.1 to 64
ehci_hcd 00:03.1: PCI device 14e4:471a
ehci_hcd 00:03.1: irq 6, pci mem b8003800
usb.c: new USB bus registered, assigned bus number 1
ehci_hcd 00:03.1: illegal capability!
ehci_hcd 00:03.1: USB 0.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: new USB device 00:03.1-1, assigned address 2
usb.c: USB device 2 (vend/prod 0x12d1/0x1001) is not claimed by any active driver.
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: del 01:00:5e:00:00:01 mcast address from vlan interface
vlan0: del 01:00:5e:00:00:01 mcast address from master interface
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: del 01:00:5e:00:00:01 mcast address from vlan interface
vlan0: del 01:00:5e:00:00:01 mcast address from master interface
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device vlan0 entered promiscuous mode
device eth1 entered promiscuous mode
device vlan1 entered promiscuous mode
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
usbserial.c: USB Serial support registered for Option GSM modem
option.c: USB Driver for GSM modems: v0.7.2a
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
etherip: Ethernet over IPv4 tunneling driver
usb.c: USB disconnect on device 00:03.1-1 address 2
hub.c: new USB device 00:03.1-1, assigned address 3
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB2 (or usb/tts/2 for devfs)
ehci_hcd 00:03.1: clear toggle dev3 ep2in: not idle
ehci_hcd 00:03.1: clear toggle dev3 ep2in: not idle
ehci_hcd 00:03.1: clear toggle dev3 ep2in: not idle
usb/tts/0: 1 input overrun(s)

/tmp/ppp/options.pppoe:
Code:
defaultroute
usepeerdns
noipdefault
noauth
ipcp-max-failure 30
lcp-echo-interval 10
lcp-echo-failure 3
crtscts
460800
connect "COMGTDIAL='ATD*99#' /usr/sbin/comgt DIAL -d /dev/usb/tts/0 >/tmp/comgt.out 2>&1"
/dev/usb/tts/0

/tmp/comgt.out:
Code:
Dialling with custom string:ATD*99#

No Connect

The stick is working with Ubuntu 9.04, using module "option" from kernel 2.6.28-15-generic.

Played little more:
Killed /tmp/ppp/redial, rmmod option, unplugged the stick, plugged in the stick, wait 30 sec
Code:
usbserial.c: USB Serial deregistering driver Option GSM modem
usbserial.c: Option GSM modem converter now disconnected from ttyUSB0
usbserial.c: Option GSM modem converter now disconnected from ttyUSB1
usbserial.c: Option GSM modem converter now disconnected from ttyUSB2
usb.c: USB disconnect on device 00:03.1-1 address 3
hub.c: new USB device 00:03.1-1, assigned address 4
usb.c: USB device 4 (vend/prod 0x12d1/0x1001) is not claimed by any active driver.
usb.c: USB disconnect on device 00:03.1-1 address 4
hub.c: new USB device 00:03.1-1, assigned address 5
usb.c: USB device 5 (vend/prod 0x12d1/0x1001) is not claimed by any active driver.

insmod option
Code:
usbserial.c: USB Serial support registered for Option GSM modem
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
usbserial.c: Option GSM modem converter detected
usbserial.c: Option GSM modem converter now attached to ttyUSB2 (or usb/tts/2 for devfs)
option.c: USB Driver for GSM modems: v0.7.2a

and then
Code:
root@DD-WRT:~# export COMGTPIN=1234;comgt PIN -d /dev/usb/tts/0
SIM ready
root@DD-WRT:~# export COMGTAPN="internet";comgt APN -d /dev/usb/tts/0
ERROR entering APN
The device timeout.
root@DD-WRT:~#


I think these are the commands an unknown script is executing, and doing it by hand I found this APN error.

What can I do to futher pinpoint/fix the problem?

all the best
Maanus
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next Display posts from previous:    Page 7 of 10
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum