PDA

Bekijk de volledige versie : Alcatel Speedtouch USB Modem



speed
26-02-2005, 19:26
Hi.

I'm having a problem with a custom modification to the 1.9.2.7.3c Firmware.

The modification was to add support for the Alcatel Speedtouch USB ADSL Modem.

What is the problem:
1. I loaded up the 1.9.2.7.3c (Normal Firmware HOME BUILT on my system) and this allows me to have telnet access to the wl500g.

2. I load up the modifies 1.9.2.7.3cs (Speedtouch modified Software again built on my system) and even though the TELNET Port is Open and Accepts I can't authenticate with the user/password I previously used. EVERYTHING ELSE SEEMS TO WORK FINE (except the authentication)

What Have I done:
a) Using the WEB Access : Changed both the use and password (restarting the system including a power off restart). NOTHING
b) Loaded a Previously saved configuration (with the correct password and user). NOTHING.
c) Downloaded the Configuration File from the WL500g, and verified the user and password (everything seems fine).

The only potential problem I see is the size of the uploaded firmware (which must also include the firmware for the modem).

Is there anyway to get back the TELNET Access so I can TEST if the FILES are THERE and if I CAN USE THE MODEM?

I can provide all the alterations and prebuilt firmwares, patches.

speed
26-02-2005, 19:29
I forgot to mention the FIRMWARE SIZE (3.330.048 Bytes) I Disabled SAMBA and SSHD to cut down on the size, to see if this was a problem (SAME THING HAPPENED).

Oleg
26-02-2005, 19:59
Your firmware size is ok. Do you've anything in the system log?

speed
28-02-2005, 10:30
Jan 1 00:00:02 syslogd started: BusyBox v1.00 (2005.02.25-15:38+0000)
Jan 1 00:00:02 kernel: klogd started: BusyBox v1.00 (2005.02.25-15:38+0000)
Jan 1 00:00:02 kernel: cpu probe
Jan 1 00:00:02 kernel: prom init
Jan 1 00:00:02 kernel: cpu report
Jan 1 00:00:02 kernel: CPU revision is: 00024000
Jan 1 00:00:02 kernel: Loading BCM4710 MMU routines.
Jan 1 00:00:02 kernel: Primary instruction cache 8kb, linesize 16 bytes (2 ways)
Jan 1 00:00:02 kernel: Primary data cache 4kb, linesize 16 bytes (2 ways)
Jan 1 00:00:02 kernel: Linux version 2.4.20 (root@colinux) (gcc version 3.2.3 with Broadcom modifications) #12 Sat Feb 26 17:57:02 Local time zone must be set--see zic man
Jan 1 00:00:02 kernel: Setting the PFC value as 0x15
Jan 1 00:00:02 kernel: Determined physical RAM map:
Jan 1 00:00:02 kernel: memory: 01000000 @ 00000000 (usable)
Jan 1 00:00:02 kernel: On node 0 totalpages: 4096
Jan 1 00:00:02 kernel: zone(0): 4096 pages.
Jan 1 00:00:02 kernel: zone(1): 0 pages.
Jan 1 00:00:02 kernel: zone(2): 0 pages.
Jan 1 00:00:02 kernel: Kernel command line: root=/dev/mtdblock2 noinitrd init=/linuxrc console=ttyS0,115200
Jan 1 00:00:02 kernel: CPU: BCM4710 rev 0 at 125 MHz
Jan 1 00:00:02 kernel: !unable to setup serial console!
Jan 1 00:00:02 kernel: Calibrating delay loop... 82.94 BogoMIPS
Jan 1 00:00:02 kernel: Memory: 14080k/16384k available (1600k kernel code, 2304k reserved, 216k data, 68k init, 0k highmem)
Jan 1 00:00:02 kernel: Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
Jan 1 00:00:02 kernel: Inode cache hash table entries: 1024 (order: 1, 8192 bytes)
Jan 1 00:00:02 kernel: Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
Jan 1 00:00:02 kernel: Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Jan 1 00:00:02 kernel: Page-cache hash table entries: 4096 (order: 2, 16384 bytes)
Jan 1 00:00:02 kernel: Checking for 'wait' instruction... unavailable.
Jan 1 00:00:02 kernel: POSIX conformance testing by UNIFIX
Jan 1 00:00:02 kernel: PCI: Fixing up bus 0
Jan 1 00:00:02 kernel: PCI: Fixing up bridge
Jan 1 00:00:02 kernel: PCI: Fixing up bus 1
Jan 1 00:00:02 kernel: Linux NET4.0 for Linux 2.4
Jan 1 00:00:02 kernel: Based upon Swansea University Computer Society NET3.039
Jan 1 00:00:02 kernel: Initializing RT netlink socket
Jan 1 00:00:02 kernel: Starting kswapd
Jan 1 00:00:02 kernel: Journalled Block Device driver loaded
Jan 1 00:00:02 kernel: devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
Jan 1 00:00:02 kernel: devfs: boot_options: 0x1
Jan 1 00:00:02 kernel: NTFS driver v1.1.22 [Flags: R/O]
Jan 1 00:00:02 kernel: pty: 256 Unix98 ptys configured
Jan 1 00:00:02 kernel: Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
Jan 1 00:00:02 kernel: PPP generic driver version 2.4.2
Jan 1 00:00:02 kernel: PPP Deflate Compression module registered
Jan 1 00:00:02 kernel: PPP BSD Compression module registered
Jan 1 00:00:02 kernel: MPPE/MPPC encryption/compression module registered
Jan 1 00:00:02 kernel: Amd/Fujitsu Extended Query Table v1.0 at 0x0040
Jan 1 00:00:02 kernel: Physically mapped flash: JEDEC Device ID is 0xCA. Assuming broken CFI table.
Jan 1 00:00:02 kernel: Physically mapped flash: Swapping erase regions for broken CFI table.
Jan 1 00:00:02 kernel: number of CFI chips: 1
Jan 1 00:00:02 kernel: Flash device: 0x400000 at 0x1fc00000
Jan 1 00:00:02 kernel: Physically mapped flash: squashfs filesystem found at block 1097
Jan 1 00:00:02 kernel: Creating 5 MTD partitions on "Physically mapped flash":
Jan 1 00:00:02 kernel: 0x00000000-0x00040000 : "pmon"
Jan 1 00:00:02 kernel: 0x00040000-0x003e0000 : "linux"
Jan 1 00:00:02 kernel: 0x00112740-0x003e0000 : "rootfs"
Jan 1 00:00:02 kernel: 0x003f0000-0x00400000 : "nvram"
Jan 1 00:00:02 kernel: 0x003e0000-0x003f0000 : "config"
Jan 1 00:00:02 kernel: sflash: chipcommon not found
Jan 1 00:00:02 kernel: NET4: Linux TCP/IP 1.0 for NET4.0
Jan 1 00:00:02 kernel: IP Protocols: ICMP, UDP, TCP
Jan 1 00:00:02 kernel: IP: routing cache hash table of 512 buckets, 4Kbytes
Jan 1 00:00:03 kernel: TCP: Hash tables configured (established 1024 bind 2048)
Jan 1 00:00:03 kernel: ip_conntrack version 2.1 (128 buckets, 1024 max) - 344 bytes per conntrack
Jan 1 00:00:03 kernel: ip_conntrack_pptp version 1.9 loaded
Jan 1 00:00:03 kernel: ip_nat_pptp version 1.5 loaded
Jan 1 00:00:03 kernel: ip_tables: (C) 2000-2002 Netfilter core team
Jan 1 00:00:03 kernel: ipt_time loading
Jan 1 00:00:03 kernel: NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Jan 1 00:00:03 kernel: NET4: Ethernet Bridge 008 for NET4.0
Jan 1 00:00:03 kernel: 802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
Jan 1 00:00:03 kernel: All bugs added by David S. Miller <davem@redhat.com>
Jan 1 00:00:03 kernel: FAT: bogus logical sector size 41984
Jan 1 00:00:03 kernel: FAT: bogus logical sector size 41984
Jan 1 00:00:03 kernel: NTFS: Unable to set blocksize 512.
Jan 1 00:00:03 kernel: VFS: Mounted root (squashfs filesystem) readonly.
Jan 1 00:00:03 kernel: Mounted devfs on /dev
Jan 1 00:00:03 kernel: Freeing unused kernel memory: 68k freed
Jan 1 00:00:03 kernel: Warning: unable to open an initial console.
Jan 1 00:00:03 kernel: Algorithmics/MIPS FPU Emulator v1.5
Jan 1 00:00:03 kernel: eth0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.7.0
Jan 1 00:00:03 kernel: eth1: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.90.7.0
Jan 1 00:00:03 kernel: PCI: Enabling device 01:02.0 (0004 -> 0006)
Jan 1 00:00:03 kernel: eth2: Broadcom BCM4320 802.11 Wireless Controller 3.90.7.0
Jan 1 00:00:03 kernel: device eth0 entered promiscuous mode
Jan 1 00:00:03 kernel: device eth2 entered promiscuous mode
Jan 1 00:00:03 kernel: br0: port 2(eth2) entering listening state
Jan 1 00:00:03 kernel: br0: port 1(eth0) entering listening state
Jan 1 00:00:03 kernel: br0: port 2(eth2) entering learning state
Jan 1 00:00:03 kernel: br0: port 1(eth0) entering learning state
Jan 1 00:00:03 kernel: 6>br0: port 2(eth2) entering forwarding state
Jan 1 00:00:03 kernel: br0: topology change detected, propagating
Jan 1 00:00:03 kernel: br0: port 1(eth0) entering forwarding state
Jan 1 00:00:03 kernel: br0: topology change detected, propagating
Jan 1 00:00:03 kernel: usb.c: registered new driver usbdevfs
Jan 1 00:00:03 kernel: usb.c: registered new driver hub
Jan 1 00:00:04 kernel: usb-ohci.c: USB OHCI at membase 0xb8004000, IRQ 2
Jan 1 00:00:04 kernel: usb-ohci.c: usb-00:04.0, PCI device 14e4:4715
Jan 1 00:00:04 kernel: usb.c: new USB bus registered, assigned bus number 1
Jan 1 00:00:04 kernel: hub.c: USB hub found
Jan 1 00:00:04 kernel: hub.c: 2 ports detected
Jan 1 00:00:05 kernel: lp0: using parport0 (polling).
Jan 1 00:00:05 kernel: usb.c: registered new driver usblp
Jan 1 00:00:05 kernel: printer.c: v0.13: USB Printer Device Class driver
Jan 1 00:00:07 kernel: usb.c: registered new driver audio
Jan 1 00:00:07 kernel: audio.c: v1.0.0:USB Audio Class driver
Jan 1 00:00:07 kernel: Linux video capture interface: v1.00
Jan 1 00:00:08 kernel: SCSI subsystem driver Revision: 1.00
Jan 1 00:00:08 kernel: Initializing USB Mass Storage driver...
Jan 1 00:00:08 kernel: usb.c: registered new driver usb-storage
Jan 1 00:00:08 kernel: USB Mass Storage support registered.
Jan 1 00:00:09 pppd[77]: Plugin rp-pppoe.so loaded.
Jan 1 00:00:09 pppd[77]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.2
Jan 1 00:00:10 pppd[78]: pppd 2.4.2 started by (unknown), uid 0
Jan 1 00:00:10 kernel: lp driver: get device ID
Jan 1 00:00:10 kernel: neg fail
Jan 1 00:00:16 kernel: lp driver: get device ID
Jan 1 00:00:16 kernel: neg fail
Jan 1 00:00:16 kernel: neg fail
Jan 1 00:00:45 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:00:45 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:01:50 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:01:50 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:02:55 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:02:55 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:04:00 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:04:00 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:05:05 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:05:05 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:06:10 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:06:10 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:07:15 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:07:15 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:08:20 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:08:20 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:09:25 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:09:25 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:10:30 pppd[78]: Timeout waiting for PADO packets
Jan 1 00:10:30 pppd[78]: Unable to complete PPPoE Discovery
Jan 1 00:10:30 pppd[78]: Exit.
Jan 2 15:21:42 login[28423]: invalid password for `UNKNOWN' on `pts/0'
Jan 2 15:23:11 login[28438]: invalid password for `UNKNOWN' on `pts/0'

speed
28-02-2005, 10:36
the last lines in the LOG occured after I tried telnet with user and passwd for admin (which worked on the web interface) but failed for telnet.

I know the firmware was loaded because I changed the version to 1.9.2.7.3cs, which shows up on the firmware version page.

Is there anyway to activate the sshd by default so that it is automatically active on firmware load?

speed
28-02-2005, 11:07
How is the passwd file created for the router?

In the target directory, there is no passwd file in the etc (or the link) but I saw using the standard 1.9.2.7-3c firmware telnet that it does exist.

So how is it created?

Oleg
28-02-2005, 11:25
This file is create automatically during the boot process.
Check gateway/rc/rc.c file.

speed
01-03-2005, 10:30
Hi,

I modified to rc.fc file so as to fix the user/password that was used, and I still failed.

I then modified the busybox / login.c, so that even if the login failed, I would still get access, unfortunately the only thing that did was, that I no longer get the Failed Login Message, and the telnet session simply terminates with no explanation.

I will post later on the gateway/install/speedtouch directory, so that maybe you can try building the kernel to test if you have telnet access

speed
01-03-2005, 15:28
I have anexed the speedtouch compiled (from slightly modified makefiles of speedtouch 1.3.1) files (that I use in the PLATFORMDIR/install directory) to build the custom kernel.

Would it possible for you to see if the custom 1.9.2.7.3c firmware with this pack added allows telnet access?