Уважаемые форумчане, помогите решить проблему:
Роутер зависает при работе с 3g модемом ZTE MF100.
Причем зависает такое чувчтво от нагрузки...
Если через ssh подключаешь вручную pppd call dialup
то виснет практически сразу же.. перестает пинговаться и перестает гореть лампочка на флешке...
Если подключается через пост бут, при загрузке и на него заходишь - инет заводится, а как начинаешь что то качать или загружать объемные сайты - опять же виснет....
модем подключается через юсб хаб (Canyon) вместе с флешкой на которой установлено ПО..
привожу логи и конфиги:
чтобы определялся модем в пост-буте прописано:
Code:
/sbin/insmod usbserial vendor=0x19d2 product=0x0016
dmesg
Code:
CPU revision is: 00029029
Primary instruction cache 16kB, physically tagged, 4-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Linux version 2.4.37.9 (root@localhost) (gcc version 3.4.6) #2 2010-02-21 14:31:38 MSK
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,ext3 noinitrd init=/linuxrc console=ttyS0,115200
CPU: BCM5354 rev 3 pkg 0 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 237.56 BogoMIPS
Memory: 13660k/16384k available (1959k kernel code, 2724k reserved, 240k data, 92k init, 0k highmem)
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
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
NTFS driver v1.1.22 [Flags: R/O]
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
HDLC line discipline: version $Revision: 3.7 $, maxframe=4096
N_HDLC line discipline registered.
loop: loaded (max 8 devices)
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
MPPE/MPPC encryption/compression module registered
PPPoL2TP kernel driver, V0.15.1
PPTP driver version 0.8.5-rc1
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
Flash Id: Vendor: 0x00c2 Device: 0x00a8
number of CFI chips: 1
cfi_cmdset_0002: Disabling fast programming due to code brokenness.
Flash device: 0x400000 at 0x1c000000
Physically mapped flash: squashfs filesystem found at block 839
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00020000 : "boot"
0x00020000-0x003f0000 : "linux"
0x000d1c58-0x003f0000 : "rootfs"
0x003f0000-0x00400000 : "nvram"
0x003c0000-0x003f0000 : "flashfs"
sflash: found no supported devices
Initializing Cryptographic API
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.1 (5953 buckets, 11906 max) - 320 bytes per conntrack
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
ip_tables: (C) 2000-2002 Netfilter core team
ipt_time loading
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ip6_tables: (C) 2000-2002 Netfilter core team
registering ipv6 mark target
NET4: Ethernet Bridge 008 for 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
Freeing unused kernel memory: 92k freed
Algorithmics/MIPS FPU Emulator v1.5
PCI: Setting latency timer of device 00:01.0 to 64
eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.29
PCI: Setting latency timer of device 00:05.0 to 64
eth1: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.29
vlan0: add 33:33:00:00:00:01 mcast address to master interface
vlan0: add 33:33:ff:60:8a:88 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
eth1: attempt to add interface with same source address.
br0: port 2(eth1) entering learning state
br0: port 1(vlan0) entering learning state
br0: port 2(eth1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(vlan0) entering forwarding state
br0: topology change detected, propagating
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:471a
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
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 2
ehci_hcd 00:03.1: USB 0.0 enabled, EHCI 1.00, driver 10 Dec 2004/2.4
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usblp
printer.c: v0.13: USB Printer Device Class driver
hub.c: new USB device 00:03.0-1, assigned address 2
hub.c: USB hub found
hub.c: 4 ports detected
SCSI subsystem driver Revision: 1.00
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
vlan1: add 33:33:00:00:00:01 mcast address to master interface
vlan1: add 33:33:ff:60:8a:88 mcast address to master interface
hub.c: new USB device 00:03.0-1.3, assigned address 3
vlan1: add 01:00:5e:00:00:01 mcast address to master interface
usb.c: registered new driver serial
usbserial.c: USB Serial support registered for Generic
usbserial.c: USB Serial Driver core v1.4
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: Generic Model: USB Flash Disk Rev: 0.00
Type: Direct-Access ANSI SCSI revision: 02
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
sda: Waiting for disc 0 to settle.
SCSI device sda: 251904 512-byte hdwr sectors (129 MB)
sda: Write Protect is off
Partition check:
/dev/scsi/host0/bus0/target0/lun0: unknown partition table
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 3. Host: 0
eth0: no IPv6 routers present
vlan0: no IPv6 routers present
eth1: no IPv6 routers present
br0: no IPv6 routers present
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,0), internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
vlan1: no IPv6 routers present
hub.c: new USB device 00:03.0-1.1, assigned address 4
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)
/tmp/ppp/peers/dialup
Code:
debug
/dev/usb/tts/2
921600
crtscts
noipdefault
ipcp-accept-local
lcp-echo-interval 30
lcp-echo-failure 5
mtu 1400
mru 1400
usepeerdns
nopcomp
noauth
nodetach
user ''
password ''
connect "/usr/sbin/chat -s -S -V -t 60 -f /tmp/ppp/dialup.chat 2>/tmp/chat.log"
/tmp/ppp/dialup.chat
Code:
'' ''
'' 'ATZ'
'' 'AT+CFUN=1'
'' 'ATQ0 V1 E1 S0=0 &C1 &D0 +FCLASS=0'
'' 'AT+ZSNT=0,0,2'
'' 'AT+ZOPRT=5'
'' 'AT+ZSTART'
'' 'AT+CPBS="SM"'
'' 'AT+CPMS="SM","SM",""'
'' 'AT+CGDCONT=1,"IP","3g.utel.ua"'
'OK' 'ATD *99#'
'CONNECT' ''
lsmod
Code:
usbserial 24196 0 (unused)
usb-storage 63112 1
sd_mod 12900 2
scsi_mod 72736 2 [usb-storage sd_mod]
printer 13060 0 (unused)
ehci-hcd 28276 0 (unused)
usb-ohci 19428 0 (unused)
usbcore 78840 1 [usbserial usb-storage printer ehci-hcd usb-ohci]
ip_nat_ftp 3072 0 (unused)
ip_conntrack_ftp 4472 1
wl 897336 0 (unused)
et 29088 0 (unused)