Equipos y materiales > linksys wrt54gx

Puertos ethernet de wrt54g v2 no dan IP válida

(1/3) > >>

moisito:
Hola a tod@s:
Ha llegado a mis manos un WRT54G V2 con dd-wrt v24-sp2 (09/24/09) std-nokaid (SVN revision 12966) al cual no me puedo conectar mediante cable de red en ninguno de sus 4 puertos (Siempre me da IP no válida). Si embargo mediante wifi accedo sin problemas a través del navegador.
Huele a switch dañado :'( pero quiero descartar que sea cosa del firmware y me gustaría saber si se puede actualizar a otra versión de dd-wrt a través del navegador mediante wifi.
Ya le hice un hard reset por higiene. Comprobé cables de red y en varios PCs(W7 y XP). Los Led de los puertos se encienden y dan actividad cuando lo conecto al PC, pero eso si, siempre IP no válida.
Tengo USB JTAG y cable serial para poder usarlos, pero antes quisiera saber si por wifi podría actualizarlo a otra versión de dd-wrt.
Gracias de antemano por vuestras respuestas.
En caso de que no se pueda mediante wifi, si alguien me linkea algún tutorial de como poner firmware mediante serial o JTAG se lo agradeceré igualmente.
Salu2

moisito:
Me respondo a mi mismo  ;D
Le he vuelto a poner el dd-wrt a traves del wifi y no he tenido ningún problema al ponérselo a través de la pestaña de Upgrade de la interface web:



Lo malo es que siguen sin funcionar los puertos ethernet.. :-[ :-[
¿Alguien sabe de los comandos para saber el estado del hardware para introducirlos en la consola serial?
El otro día los vi pero les he perdido la pista y no logro encontralos.
gracias

drvalium:
Hi

¿estas seguro que es problema del router y no del PC?

¿si al pc le metes las IP a mano funciona?

hace mas pinta de tener problemas con el DHCP que no con el hardware.


un saludo

Pd: en esa captura no se ve nada, usa algún enlace que no sea del tipo "Thumbnail", gracias.

moisito:

--- Cita de: drvalium en 05-09-2013, 23:13 (Jueves) ---Hi

¿estas seguro que es problema del router y no del PC?

¿si al pc le metes las IP a mano funciona?

hace mas pinta de tener problemas con el DHCP que no con el hardware.



--- Fin de la cita ---

Si le he puesto Ip estatica a la tarjeta de red dentro de la misma subred y no conecta, tambien he probado con otros pc y cables de red con la misma suerte. Te pongo el log que me da la consola serial por si ves lago raro.

CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Fri Feb 27 15:23:38 CST 2004 (root@honor)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 3.50.21.0
CPU type 0x29007: 200MHz
Total memory: 0x2000000 bytes (32MB)

Total memory used by CFE:  0x80334DC0 - 0x8043A310 (1070416)
Initialized Data:          0x80334DC0 - 0x80336F40 (8576)
BSS Area:                  0x80336F40 - 0x80338310 (5072)
Local Heap:                0x80338310 - 0x80438310 (1048576)
Stack Area:                0x80438310 - 0x8043A310 (8192)
Text (code) segment:       0x80300000 - 0x8030F220 (61984)
Boot area (physical):      0x0043B000 - 0x0047B000
Relocation Factor:         I:00000000 - D:00000000

Boot version: v2.3
The boot is CFE

mac_init(): Find mac [00:12:17:xx:xx:xx] in location 0
Nothing...
Device eth0:  hwaddr 00-12-17-xx-xx-xx, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Reading :: Failed.: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Options:(null)
Loading: .. 3856 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
CPU ProcId is: 0x00029007, options: 0x0000004d
Linux version 2.4.37 (root@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #7260 Thu Sep 24 01:3                                                                 5:22 CEST 2009
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: BCM4712 rev 1 at 200 MHz
Using 100.000 MHz high precision timer.
Calibrating delay loop... 199.47 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: 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:02.0 to 64
PCI: Setting latency timer of device 00:01.0 to 64
sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4320
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
cfi_cmdset_0001: Erase suspend on write enabled
0: offset=0x0,size=0x2000,blocks=8
1: offset=0x10000,size=0x10000,blocks=63
Using word write method
Flash device: 0x400000 at 0x1c000000
bootloader size: 262144
Physically mapped flash: Filesystem type: squashfs, size=0x29aec2
partition size = 2739200
Creating 5 MTD partitions on "Physically mapped flash":
0x00000000-0x00040000 : "cfe"
0x00040000-0x003f0000 : "linux"
0x00123400-0x003c0000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x003c0000-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 <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
VFS: Mounted root (squashfs filesystem) readonly.
Mounted devfs on /dev
starting Architecture code for broadcom
Booting device: Linksys WRT54G/GL/GS
loading sysinit
boardflags are 0x0188
enable Afterburner, boardflags are 0x0388
sh: can't create /proc/switch/eth1/reset: nonexistent directory
sh: can't create /proc/sys/net/ipv4/tcp_congestion_control: nonexistent directory
eth1: Operation not supported
wl0.1: No such device
wl0.2: No such device
wl0.3: No such device
eth1: Invalid argument
eth1: Invalid argument

br0: Bad file descriptor
br0: Bad file descriptor
eth1: Operation not supported
wl0.1: No such device
wl0.2: No such device
wl0.3: No such device
eth1: Invalid argument
eth1: Invalid argument
vlan1: Setting MAC address to  00 12 17 49 e6 bc.
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
SIOCGIFFLAGS: No such device
ip_conntrack_pptp version 1.9 loaded
ip_nat_pptp version 1.5 loaded
connect: Network is unreachable
connect: Network is unreachable
connect: Network is unreachable
gethostbyname: Network is unreachable
cd..
DD-WRT v24-sp2 std (c) 2009 NewMedia-NET GmbH
Release: 09/24/09 (SVN revision: 12966)
ÿ
DD-WRT login:
Password:
==========================================================

 ____  ___    __        ______ _____         ____  _  _
 | _ \| _ \   \ \      / /  _ \_   _| __   _|___ \| || |
 || | || ||____\ \ /\ / /| |_) || |   \ \ / / __) | || |_
 ||_| ||_||_____\ V  V / |  _ < | |    \ V / / __/|__   _|
 |___/|___/      \_/\_/  |_| \_\|_|     \_/ |_____|  |_|

                       DD-WRT v24-sp2
                   http://www.dd-wrt.com

==========================================================
Jan  1 00:09:22 login[545]: root login on 'console'


BusyBox v1.13.4 (2009-09-24 01:30:40 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~#

un saludo

moisito:
Añado mas información que he sacado a través de la consola serial:

root@DD-WRT:/# ifconfig
br0       Link encap:Ethernet  HWaddr 00:12:17:xx:xx:xx
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1997 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1599 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:190545 (186.0 KiB)  TX bytes:1518119 (1.4 MiB)

br0:0     Link encap:Ethernet  HWaddr 00:12:17:xx:xx:xx
          inet addr:169.254.255.1 Bcast:169.254.255.255  Mask:255.255.0.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

eth0      Link encap:Ethernet  HWaddr 00:12:17:xx:xx:xx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1204 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:317068 (309.6 KiB)
          Interrupt:5

eth1      Link encap:Ethernet  HWaddr 00:12:17:xx:xx:xx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1996 errors:0 dropped:0 overruns:0 frame:23827
          TX packets:2157 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:218483 (213.3 KiB)  TX bytes:1633453 (1.5 MiB)
          Interrupt:4 Base address:0x1000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING MULTICAST  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:618 (618.0 B)  TX bytes:618 (618.0 B)

vlan0     Link encap:Ethernet  HWaddr 00:12:17:xx:xx:xx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:559 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:100334 (97.9 KiB)

vlan1     Link encap:Ethernet  HWaddr 00:12:17::xx:xx:xx
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:645 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:211560 (206.6 KiB)

En azul podeis ver la Ip que me da cuando conecto por cable de red.
salu2

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

Ir a la versión completa