questo thread casca a fagiuolo
ciao, ho due adsl2mue che da quando hanno visto la 4.22 si rifiutano di mantenere la connessione (in bridge mode), all'inizio agganciano per qualche secondo, poi iniziano a connettersi/disconnettersi di continuo
e' da un po che non li toccavo, e nel tempo ho provato a metterci un po di tutto (ovviamente anche a ripristinarli con la 4.12 )
questa e' la situazione di uno:
ieri ho provato con i tuoi script per adsl2mue, ma dopo averli flashati non riesco a connettermi in alcuno modo alla webif (non ho controllato il log da seriale)
per contro, con il Firmware Version : V3.02B01T01.RU.20071221 per 504, riesco poi ad accedere, MA il problema della disconnessione e' sempre presente (come quando era adsl2mue)
ora sicuramente il modem sara' sottosopra (con tutto quello che ha visto), in effetti il bootloader sembra adam2
mi piacerebbe renderlo funzionante come puro modem pppoe, non interessa con che firmware
ti ringrazio in anticipo
questo e' il log preso da seriale (con un printenv prima del boot)
Codice:
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2009.05.25 12:07:22 =~=~=~=~=~=~=~=~=~=~=~=
ADAM2 Revision 0.22.02
Usage: setmfreq [-d] [-s sys_freq, in MHz] [cpu_freq, in MHz]
Memory optimization Complete!
Adam2_AR7DB >
Press any key to abort OS load, or wait 8 seconds for OS to boot...
Adam2_AR7DB >printenv
memsize 0x01000000
flashsize 0x00400000
modetty0 38400,n,8,1,hw
modetty1 38400,n,8,1,hw
bootserport tty0
cpufrequency 150000000
sysfrequency 125000000
bootloaderVersion 0.22.02
ProductID AR7DB
my_ipaddress 192.168.1.1
maca 00:e0:a0:a6:70:80
mtd0 0x900a1000,0x903f0000
mtd1 0x90010090,0x900a1000
mtd2 0x90000000,0x90010000
mtd3 0x903f0000,0x90400000
mtd4 0x90010000,0x903f0000
autoload 1
firstfreeaddress 0x9401d8f8
req_fullrate_freq 125000000
autoload_timeout 8
SW_FEATURES 0X8000
StaticBuffer 384
modulation 0xffff
vcc_encaps0 0.0
vcc_encaps1 0.0
vcc_encaps2 0.0
vcc_encaps3 0.0
vcc_encaps4 0.0
vcc_encaps5 0.0
vcc_encaps6 0.0
vcc_encaps7 0.0
Adam2_AR7DB >go
-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|Launching kernel decompressor.
Starting LZMA Uncompression Algorithm.
Compressed file is LZMA format.
Kernel decompressor was successful ... launching kernel.
LINUX started...
Config serial console: ttyS0,38400
Auto Detection SANGAM chip
This SOC has MDIX cababilities on chip.
WLAN 1130 chip configured.
Do not defined CONFIG_AVALANCHE_VLYNQ_POLARITY_LOW
Failed to initialize the vlynq @ 0xa8611800.
The error msg: Error in configuring clocks..
CPU revision is: 00018448
Primary instruction cache 16kb, linesize 16 bytes (4 ways)
Primary data cache 16kb, linesize 16 bytes (4 ways)
Number of TLB entries 16.
Linux version 2.4.17_mvl21-malta-mips_fp_le (root@james) (gcc version 2.95.3 20010315 (release/MontaVista)) #1 Fri Dec 21 09:29:56 CST 2007
Determined physical RAM map:
memory: 14000000 @ 00000000 (reserved)
memory: 00020000 @ 14000000 (ROM data)
memory: 00fe0000 @ 14020000 (usable)
On node 0 totalpages: 4096
zone(0): 4096 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line:
calculating r4koff... 000b71b0(750000)
CPU frequency 150.00 MHz
Calibrating delay loop... 149.91 BogoMIPS
Freeing Adam2 reserved memory [0x14001000,0x0001f000]
Memory: 14140k/16384k available (1684k kernel code, 2244k reserved, 127k data, 64k init)
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
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
TI Optimizations: Allocating TI-Cached Memory Pool.
Using 384 Buffers for TI-Cached Memory Pool.
DEBUG: Using Hybrid Mode.
NSP Optimizations: Succesfully allocated TI-Cached Memory Pool.
Initializing RT netlink socket
Starting kswapd
Disabling the Out Of Memory Killer
devfs: v1.7 (20011216) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Adam2 environment variables API installed.
pty: 32 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with no serial options enabled
ttyS00 at 0xa8610e00 (irq = 15) is a 16550A
ttyS01 at 0xa8610f00 (irq = 16) is a 16550A
block: 64 slots per queue, batch=16
DEBUG: Initializing the voice port management module.
DEBUG: Initialization of the voice port management module successful..
CPMAC Auto Detect Enabled: detected internal PHY .
Error getting CPMAC Configuration params for instance:0
Environment Variable:MACCFG_A not set in bootloader
Setting Default configuration params for CPMAC instance:0
##### reg=0, phy=5, ChipID=ffff, adm6996_ChipId=0 #####
Default Asymmetric MTU for eth0 1500
TI CPMAC Linux DDA version 1.8 - CPMAC DDC version 0.2
Cpmac: Installed 1 instances.
Cpmac driver is allocating buffer memory at init time.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
MPPE/MPPC encryption/compression module registered
Initializing Cryptographic API
avalanche flash device: 0x400000 at 0x10000000.
Amd/Fujitsu Extended Query Table v1.1 at 0x0040
number of CFI chips: 1
Looking for mtd device :mtd0:
Found a mtd0 image (0xa1000), with size (0x34f000).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x000a1000-0x003f0000 : "mtd0"
mtd: partition "mtd0" doesn't start on an erase block boundary -- force read-only
Looking for mtd device :mtd1:
Found a mtd1 image (0x10090), with size (0x90f70).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x00010090-0x000a1000 : "mtd1"
mtd: partition "mtd1" doesn't start on an erase block boundary -- force read-only
Looking for mtd device :mtd2:
Found a mtd2 image (0x0), with size (0x10000).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x00000000-0x00010000 : "mtd2"
Looking for mtd device :mtd3:
Found a mtd3 image (0x3f0000), with size (0x10000).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x003f0000-0x00400000 : "mtd3"
Looking for mtd device :mtd4:
Found a mtd4 image (0x10000), with size (0x3e0000).
Creating 1 MTD partitions on "Physically mapped flash:0":
0x00010000-0x003f0000 : "mtd4"
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 1024)
Linux IP multicast router 0.06 plus PIM-SM
ip_conntrack version 2.0 (128 buckets, 4096 max) - 364 bytes per conntrack
Init the gre conntrack!
Init the gre nat!
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
ip_tables: (c)2000 Netfilter core team
netfilter PSD loaded - (c) astaro AG
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Ethernet Bridge 008 for NET4.0
Initializing the WAN Bridge.
Please set the MAC Address for the WAN Bridge.
Set the Environment variable 'wan_br_mac'.
MAC Address should be in the following format: xx.xx.xx.xx.xx.xx
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 64k freed
serial console detected. Disabling virtual terminals.
console=/dev/tts/0
init started: BusyBox v0.61.pre (2007.12.21-01:42+0000) multi-call binary
Starting pid 9, console /dev/tts/0: '/etc/init.d/rcS'
Algorithmics/MIPS FPU Emulator v1.5
Reading Standard Configuration File /etc/led.conf
Configured 18 states
Using /lib/modules/2.4.17_mvl21-malta-mips_fp_le/kernel/drivers/atm/tiatm.o
registered device TI Avalanche SAR
Sangam detected
DSP binary filesize = 385738 bytes
tn7dsl_set_modulation : Setting mode to 0xffff
Texas Instruments ATM driver: version:[7.03.01.00]
Waiting for enter to start '/bin/sh' (pid 31, terminal /dev/tts/0)
Please press Enter to activate this console.
*** diap wait system init 35 sec start
exec> /usr/bin/cm_logic -m /dev/ticfg -c /etc/config.xml
logic: /proc/led_mod/ar7reset: [0]
DEMO demo_register
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
vlan vlan_register
Logger: Setting remote_loglevel=notice (5)
Setting loglevel=notice (5)
###############
password=admin
===>bridge set ZIPB_MODE deactive in init
===>bridge set ZIPB_MODE deactive in init
### open dev file result:13
DEMO demo_init
vlan vlan_init
httpd_str:/usr/sbin/thttpd -g -d /usr/www -u root -p 80 -c /cgi-bin/* &
time_init: syncmode:1, daylight:2, timezone:24
time_init: ntpserver is time.nist.gov
PVC dB
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
PVC dB
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
PVC dB
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
PVC dB
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
PVC dB
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
PVC dB
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
PVC dB
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
PVC dB
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
vpi = -1 vci = -1 in_use = 0
Save /proc/ticftn7dsl_set_modulation : Setting mode to 0xffff
g/env to /var/tmp/env.txt for PPPOE_RECONNECT_ISSUE
Eth MAC:00:e0:a0:a6:70:80
init_qos_table at qos module
DEMO demo_start
Doing BRCTL ...
addbr br0
Doing BRCTL ...
addbr br1
Jan 1 12:00:11 cfgmgr(sntp): Jan 1 12:00:11> NTP Polling Timer for DHCP Started succesfully.
Jan 1 12:00:11 cfgmgr(sar): Jan 1 12:00:11> DSL Polling Timer Started succesfully.
Jan 1 12:00:12 cfgmgr(fdb): Jan 1 12:00:12> Firewall NAT service started
Default Asymmetric MTU for nas0 1500
DEBUG: Registering protocol inspector: 0x94171878 for VCC:0x9425ca00
/sbin/ifconfig nas0 hw ether 00:aa:bb:cc:dd:10
exec> /usr/bin/cm_klogd /dev/klog
Jan 1 12:00:13 thttpd[51]: Jan 1 12:00:13> starting on port 80
exec> /sbin/dproxy -c /etc/resolv.conf -d
exec> /usr/sbin/brctl addbr br0
===>bridge ZIPB disable
exec> /usr/sbin/brctl addbr br1
Jan 1 12:00:13 : Jan 1 12:00:13> ip_nat_pptp version 1.5 loaded
Jan 1 12:00:13 ip_tables: Jan 1 12:00:13> (c)2000 Netfilter core team
Jan 1 12:00:13 : Jan 1 12:00:13> netfilter PSD loaded - (c) astaro AG
Jan 1 12:00:13 : Jan 1 12:00:13> Initializing the WAN Bridge.
Jan 1 12:00:13 : Jan 1 12:00:13> Please set the MAC Address for the WAN Bridge.
Jan 1 12:00:13 : Jan 1 12:00:13> Set the Environment variable 'wan_br_mac'.
Jan 1 12:00:13 MAC Address should be in the following format: Jan 1 12:00:13> xx.xx.xx.xx.xx.xx
Jan 1 12:00:13 VFS: Jan 1 12:00:13> Mounted root (squashfs filesystem) readonly.
Jan 1 12:00:13 : Jan 1 12:00:13> Mounted devfs on /dev
Jan 1 12:00:13 Freeing unused kernel memory: Jan 1 12:00:13> 64k freed
Jan 1 12:00:13 : Jan 1 12:00:13> Algorithmics/MIPS FPU Emulator v1.5
Jan 1 12:00:13 : Jan 1 12:00:13> registered device TI Avalanche SAR
Jan 1 12:00:13 : Jan 1 12:00:13> Sangam detected
Jan 1 12:00:13 : Jan 1 12:00:13> DSP binary filesize = 385738 bytes
Jan 1 12:00:13 tn7dsl_set_modulation : Jan 1 12:00:13> Setting mode to 0xffff
Jan 1 12:00:13 Texas Instruments ATM driver: Jan 1 12:00:13> version:[7.03.01.00]
Jan 1 12:00:13 tn7dsl_set_modulation : Jan 1 12:00:13> Setting mode to 0xffff
Jan 1 12:00:13 : Jan 1 12:00:13> Default Asymmetric MTU for nas0 1500
Jan 1 12:00:13 DEBUG: Jan 1 12:00:13> Registering protocol inspector: 0x94171878 for VCC:0x9425ca00
Jan 1 12:00:13 : Jan 1 12:00:13> Default Asymmetric MTU for br0 1500
exec> /usr/sbin/demod
exec> /usr/sbin/ddnsd
notify kernel event successful!
DDNSD msgget success 0
DDNSD wait order queue
Jan 1 12:00:13 cfgmgr(lanbridge0): Jan 1 12:00:13> Bridge Created: br0
exec> /sbin/ifconfig eth0 up
exec> /sbin/ifconfig br0 up
exec> /sbin/ifconfig br1 up
exec> /sbin/ifconfig br0 up
===>bridge ZIPB disable
Doing BRCTL ...
setfilter br0 1
Doing BRCTL ...
addif br0 eth0
Doing BRCTL ...
addif br0 nas0
Doing BRCTL ...
addif br0 nas0
notify kernel event successful!
Jan 1 12:00:14 cfgmgr(lanbridge1): Jan 1 12:00:14> Bridge Created: br1
exec> /usr/sbin/brctl setfilter br0 1
exec> /sbin/ifconfig br1 up
exec> /usr/sbin/brctl addif br0 eth0
Doing BRCTL ...
setfilter br1 1
Doing BRCTL ...
stp br0 off
Jan 1 12:00:14 FLAG: Jan 1 12:00:14> 2
Jan 1 12:00:14 : Jan 1 12:00:14> Default Asymmetric MTU for br1 1500
Jan 1 12:00:14 FLAG: Jan 1 12:00:14> 2
exec> /sbin/ifconfig eth0 0.0.0.0 up
=========open==========
gwanip = 0.0.0.0
=========close==========
Doing BRCTL ...
stp br1 off
exec> /usr/sbin/brctl addif br0 nas0
exec> /sbin/ifconfig br0 192.168.1.1 netmask 255.255.255.0
Jan 1 12:00:14 cfgmgr(lanbridge0): Jan 1 12:00:14> Bridge Interface Added: eth0
exec> /usr/sbin/brctl addif br0 nas0
exec> /usr/sbin/brctl setfilter br1 1
exec> /sbin/ifconfig br1 0.0.0.0
exec> /sbin/ifconfig eth0 0.0.0.0 up
exec> /usr/sbin/brctl stp br0 off
exec> /usr/sbin/brctl stp br1 off
exec> /usr/sbin/brctl setfilter br0 1
Doing BRCTL ...
setfilter br0 1
0.0.0.0*, /var/tmp/ddnsd.conf
Jan 1 12:00:15 cfgmgr(lanbridge0): Jan 1 12:00:15> Bridge Interface Added: nas0
exec> /sbin/ifconfig nas0 0.0.0.0 up
Jan 1 12:00:15 cfgmgr(lanbridge0): Jan 1 12:00:15> Add Bridge Iface Error: 1
Jan 1 12:00:15 cfgmgr(lanbridge0): Jan 1 12:00:15> Duplicate Bridge Iface: nas0
exec> /usr/sbin/udhcpd /var/tmp/udhcpd.conf
exec> /sbin/route add -net 239.0.0.0 netmask 255.0.0.0 metric 1 dev br0
exec> /usr/sbin/udhcpd /var/tmp/udhcpd.conf
Jan 1 12:00:21 cfgmgr(sar): Jan 1 12:00:21> DSL Carrier is down
Jan 1 12:00:35 : Jan 1 12:00:35> DSL in Sync
Jan 1 12:00:41 cfgmgr(sar): Jan 1 12:00:41> DSL Carrier is up
Jan 1 12:00:41 cfgmgr(sar): Jan 1 12:00:41> sar read trained mode (1)(ADSL_G.dmt)
check pass through status
status=[0]
-----------------------ioctl send disable--------------!!
*** diap wait system init 35 sec end
Jan 1 12:00:47 : Jan 1 12:00:47> DSL out of sync
Jan 1 12:01:01 cfgmgr(sar): Jan 1 12:01:01> DSL Carrier is down
Jan 1 12:01:34 : Jan 1 12:01:34> DSL in Sync
Jan 1 12:01:41 cfgmgr(sar): Jan 1 12:01:41> DSL Carrier is up
Jan 1 12:01:41 cfgmgr(sar): Jan 1 12:01:41> sar read trained mode (1)(ADSL_G.dmt)
check pass through status
status=[0]
-----------------------ioctl send disable--------------!!
Jan 1 12:01:46 : Jan 1 12:01:46> DSL out of sync
Jan 1 12:02:01 cfgmgr(sar): Jan 1 12:02:01> DSL Carrier is down
Jan 1 12:02:11 : Jan 1 12:02:11> DSL in Sync
Jan 1 12:02:21 cfgmgr(sar): Jan 1 12:02:21> DSL Carrier is up
Jan 1 12:02:21 cfgmgr(sar): Jan 1 12:02:21> sar read trained mode (1)(ADSL_G.dmt)
check pass through status
status=[0]
-----------------------ioctl send disable--------------!!
Jan 1 12:02:23 : Jan 1 12:02:23> DSL out of sync
Jan 1 12:02:31 cfgmgr(sar): Jan 1 12:02:31> DSL Carrier is training