OpenWrt Forum Archive

Topic: huawei e220 3g modem slow on asus wl 500g premium

The content of this topic has been archived on 3 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello!
I´m new @ Openwrt and i have my asus wlan usb router at the point to talk with the huawei e220 umts 3g modem.
My problem is ; i dont know why i only have 50kb if the modem is hookt up on the router, on the Windows pc and Apple i got 100kb+

My Lsmod :

Module                  Size  Used by    Tainted: P 
usb-storage            68624   0 (unused)
sd_mod                 12500   0 (unused)
scsi_mod               70616   1 [usb-storage sd_mod]
printer                 9788   0 (unused)
usbserial              24140   1
ipt_length               336   5
ipt_layer7             10512   2
ipt_ipp2p               7320   1
ipt_CONNMARK             816   2
ppp_async               8108   1
ppp_generic            22868   3 [ppp_async]
slhc                    6352   0 [ppp_generic]
uhci                   30164   0 (unused)
usb-ohci               19204   0 (unused)
usbcore                74808   1 [usb-storage printer usbserial uhci usb-ohci]
xfs                   561120   0
vfat                   11692   0
fat                    36840   0 [vfat]
ext3                   72788   0
jbd                    54872   0 [ext3]
ext2                   41528   0
wlcompat               15520   0 (unused)
wl                    423640   0 (unused)
switch-robo             4460   0 (unused)
switch-core             4896   0 [switch-robo]
diag                   18176   0 (unused)

my dmesg:

All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
diag: Detected 'ASUS WL-500g Premium'
Probing device eth0: found!
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
jffs2.bbc: SIZE compression mode activated.
PCI: Setting latency timer of device 01:02.0 to 64
PCI: Enabling device 01:02.0 (0004 -> 0006)
eth2: Broadcom BCM4318 802.11 Wireless Controller 3.90.37.0
Journalled Block Device driver loaded
SGI XFS with no debug enabled
BFL_ENETADM not set in boardflags. Use force=1 to ignore.
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
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
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Enabling device 01:03.0 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x100, IRQ 2
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Enabling device 01:03.1 (0000 -> 0001)
uhci.c: USB UHCI at I/O 0x120, IRQ 2
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
device eth0 entered promiscuous mode
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.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
vlan0: add 01:00:5e:00:00:01 mcast address to master interface
vlan0: dev_set_promiscuity(master, 1)
vlan0: dev_set_allmulti(master, 1)
device eth2 entered promiscuous mode
eth2: attempt to add interface with same source address.
br0: port 2(eth2) entering listening state
br0: port 1(vlan0) entering listening state
br0: port 2(eth2) entering learning state
br0: port 1(vlan0) entering learning state
br0: port 2(eth2) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan0) entering forwarding state
br0: topology change detected, propagating
device wds0.49153 entered promiscuous mode
wds0.49153: attempt to add interface with same source address.
br0: port 3(wds0.49153) entering listening state
br0: port 3(wds0.49153) entering learning state
br0: port 3(wds0.49153) entering forwarding state
br0: topology change detected, propagating
IPP2P v0.8.1_rc1 loading
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: Generic converter detected
usbserial.c: Generic converter now attached to ttyUSB0 (or usb/tts/0 for devfs)
usbserial.c: Generic converter detected
usbserial.c: Generic converter now attached to ttyUSB1 (or usb/tts/1 for devfs)
usbserial.c: Generic converter detected
usbserial.c: Generic converter now attached to ttyUSB2 (or usb/tts/2 for devfs)
usbserial.c: USB Serial Driver core v1.4
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.

My loginscripts:

##############
##speed
460800
## reserviere das Gereat fuer die Benutzung
lock
## normaler Handschlag
crtscts
## benutze das Gereat als normales Modem
modem
## jeder darf die Internet-Einwahl verwenden
noauth
## ersetze Standardroute bei der Einwahl
replacedefaultroute
## definiere Standardroute
defaultroute
##Pfad zum chatscript f?r die Autorisierung (Debugmeldungen im Syslog mit ##-v statt -V)
connect "/usr/sbin/chat -V -f /etc/ppp/peers/chate220"
## akzeptiere vergebene IP des Providers
noipdefault
## und seinen DNS
usepeerdns
##vermeide Kompression
#nobsdcomp
#novj
## Verbindung aufrechterhalten
persist
##remotename #Falls braucht dann das #am satzanfang löschen (zb. drei.at)
#user Maxmusteruser
#password Beispielspasswort
#################



vi /etc/ppp/peers/chate220
#################
######
ABORT BUSY
ABORT 'NO CARRIER'
ABORT ERROR
REPORT CONNECT
TIMEOUT 30

#option1

"" "AT"
"OK" "ATE1"
"OK" "AT+CPIN?"
"+CPIN: READY"
"AT+CGREG?"
"+CGREG: 0,1" "ATD*99***1#"

CONNECT \c
###############

My howto to do this all if you are good in german: http://www.umtslink.at/3g-forum/showpos … ostcount=8

http://babelfish.altavista.com/babelfish/tr

it explains it:

##speed
460800

460800 / 8 = 57600 > 56.25 kbyte which is almost 48~50kbyte in http after headers

speedup the port

Hi,
I also have the e220 and the problem is not the speed set in pppd.

You _NEED_ the "option" module for fast and reliable umts/gprs connections. You can find it in the usb serial section of the kernel configuration of 2.6 kernels. There are howtos suggesting to use the usb serial module alone, but they are outdated and somewhat wrong. It took me days to figure that out and the only hint was the original patch adding the option module to a 2.5 kernel.

However, if your ISP is the fat and disgusting moobicent wale, they may be denying you access to UMTS. This A55h0le5 simply don't care about contracts. And no, you do not need to make a lot of traffic to get blocked, 3GB could be enough. What a strange definition of a flatrate!!!

Regards

Firetwister
(One of many moobicent victims)

Btw. if you install comgt, chat and a few other USB related packages you can configure your 3g modem with just a few options in /etc/config/network.

Of course, only if you use Kamikaze smile

(Last edited by forum2008 on 11 Jan 2008, 10:41)

Hi

I have a Huawei E160 which I connect to my ASUS WL500W and I just get the emulated  CD Drive.

You say install chat and those other packages, I've installed them but how do I get the device running under # OpenWrt Kamikaze bleeding edge, r16696

Thanks for any advise.

dgonzalezh wrote:

I have a Huawei E160 which I connect to my ASUS WL500W and I just get the emulated  CD Drive.

The E160 must appear as a usb serial device /dev/ttyUSB*. Make sure you have the "option" module loaded. Maybe a kernel update is necessary?

The discussion might have continued from here.