User y Pass en Router X-FTA

Comentarios sobre el buen funcionamiento del sistema y como personalizarlo a tus necesidades.

Moderadores: doc, mcun

Responder
equinoxx
Forista Nuevo
Forista Nuevo
Mensajes: 2
Registrado: Sab Jun 08, 2013 12:13 am

User y Pass en Router X-FTA

Mensaje por equinoxx »

Hola comunidad, hace unos dias en una inquietud en dreambox para entrar a la imagen por medio de putty y cambiar usuario y contraseña tuve Exito.

Para Dreambox que corre bajo la plataforma LINUX hice esto

You will need putty (or HyperTerminal) as well a null modem cable

- connect your dm with a serial/null cable to pc with power off
- connect putty and use serial option (change serial port speed in putty to 115200) to connect to your dm and hit open
-If using Hyperterminal set com port properties to: Bits per Second=115200 ;Data bits=8 ;Parity=none ;Stop bits=1 ; Flow control =Xon/Xoff
- turn on dm and you will see a few messages during boot process

Dreambox DM500
loaded at: 00500000 0060016C
avail ram: 00501000 02000000

- hit control x repeatedly until the boot
at the following prompt...

Linux/PPC load:

type (of course without quotes "")

"console=null root=/dev/mtdblock5 rootfstype=squashfs ro console=ttyS0,115200 single"

and press enter

at this point I received the error [Can't open /proc/bus/dbox.sh] but just ignore it.

once you are at the bash level ( / #) type

"mount -t jffs2 /dev/mtdblock/1 /var"

and press enter

now type passwd
-----------------------you should see the following screen---------------
Changing password for root
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Re-enter new password:
passwd[19]: password for `root' changed by user `root'
Password changed.
----------------------------------------------------
I tested by http to the box and was able to log in.

I hope this helps

Ahora vengo con algo similar pero en un router X-FTA chino. Logre entrar por puerto com1 al sistema con PUTTY. Mi inquietud es cambiar user y contraseña pero al aplicar "console=null root=/dev/mtdnlock5 rootfstype=squashfs ro console=ttyS0,115200 single" simplemente no me deja.
Esto es lo que aparece al entrar por putty

switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
- init -
jffs2.bbc: SIZE compression mode activated.
Decompressing..........done


CFE version 1.0.37 for BCM947XX (32bit,SP,LE)
Build Date: Mon Aug 11 23:09:42 PDT 2008 (hwnbuild@lc-sj1-2022)
Copyright (C) 2000,2001,2002,2003 Broadcom Corporation.

Initializing Arena
Initializing Devices.
Boot partition size = 131072(0x20000)
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller 4.150.10.31
CPU type 0x29029: 240MHz
Total memory: 16384 KBytes

Total memory used by CFE: 0x80700000 - 0x80797430 (619568)
Initialized Data: 0x8072E4C0 - 0x80730C10 (10064)
BSS Area: 0x80730C10 - 0x80731430 (2080)
Local Heap: 0x80731430 - 0x80795430 (409600)
Stack Area: 0x80795430 - 0x80797430 (8192)
Text (code) segment: 0x80700000 - 0x8072E4C0 (189632)
Boot area (physical): 0x00798000 - 0x007D8000
Relocation Factor: I:00000000 - D:00000000

Device eth0: hwaddr 00-0B-08-30-00-01, ipaddr 192.168.1.1, mask 255.255.255.0
gateway not set, nameserver not set
Loader:raw Filesys:tftp Dev:eth0 File:: Optionsnull)
Loading: Failed.
Could not load :: Timeout occured
Loader:raw Filesys:raw Dev:flash0.os File: Optionsnull)
Loading: .. 3760 bytes read
Entry at 0x80001000
Closing network.
Starting program at 0x80001000
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.35.4 (tony@tony) (gcc version 3.4.6 (OpenWrt-2.0)) #227 Sat Jan 23 19:25:21 CST 2010
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,jffs2 init=/etc/preinit noinitrd console=ttyS0,115200
CPU: BCM5354 rev 3 at 240 MHz
Using 120.000 MHz high precision timer.
Calibrating delay loop... 237.56 BogoMIPS
Memory: 14256k/16384k available (1432k kernel code, 2128k reserved, 96k data, 84k 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
Registering mini_fo version $Id$
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
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
b44.c:v0.93 (Mar, 2004)
eth0: Broadcom 47xx 10/100BaseT Ethernet 00:0b:08:30:00:01
pflash: found no supported devices
sflash: found serial flash; blocksize=64KB, numblocks=64, size=4096KB
bootloader size: 131072
sflash: Filesystem type: squashfs, size=0x29440b
Creating 5 MTD partitions on "sflash":
0x00000000-0x00020000 : "cfe"
0x00020000-0x003f0000 : "linux"
0x0009b800-0x00330000 : "rootfs"
mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only
0x003f0000-0x00400000 : "nvram"
0x00330000-0x003f0000 : "rootfs_data"
Initializing Cryptographic API
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 2048)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
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: 84k freed
Algorithmics/MIPS FPU Emulator v1.5
mount: mounting sysfs on /sys failed: No such device
mount: mounting devfs on /dev failed: Device or resource busy
- preinit -
Press CTRL-C for failsafe
diag: Detected 'Netcore NW618'
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
roboswitch: Probing device eth0: found!
switch-robo 5180 0 (unused)
switching to jffs2
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
- init -
jffs2.bbc: SIZE compression mode activated.
b44: eth0: Link is up at 100 Mbps, full duplex.
b44: eth0: Flow control is off for TX and off for RX.
eth0.0: dev_set_promiscuity(master, 1)
device eth0 entered promiscuous mode
device eth0.0 entered promiscuous mode
br-lan: port 1(eth0.0) entering learning state
br-lan: port 1(eth0.0) entering forwarding state
br-lan: topology change detected, propagating
PCI/DMA
wl0: wlc_attach: chiprev 3 coreunit 0 corerev 13 cccap 0x104001ea maccap 0x30482205 band 2.4G, phy_type 5 phy_rev 0 ana_rev 6
wl0: Broadcom BCM4318 802.11 Wireless Controller 4.150.10.5
ip_tables: (C) 2000-2002 Netfilter core team
ip_conntrack version 2.1 (5953 buckets, 5953 max) - 352 bytes per conntrack
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>. Snow-Man's Network - IPTables/Netfilter Recent Module
IPP2P v0.8.1_rc1 loading
imq driver loaded.
device wl0 entered promiscuous mode
br-wan: port 1(wl0) entering learning state
br-wan: port 1(wl0) entering forwarding state
br-wan: topology change detected, propagating
fsec uses obsolete (PF_INET,SOCK_PACKET)

Si alguien experto o conocedor de LINUX puede ayudarme para poder cambiar clave se lo agradezco.

Editado -- Vie Jun 14, 2013 6:00 am --

poder entrar al root y cambiar entonces usuario y contraseña.
Gracias

Avatar de Usuario
Hawkingsagan
Administrador
Administrador
Mensajes: 4213
Registrado: Mié May 12, 2004 7:00 am
Ubicación: Chiapas, México.
Contactar:

Re: User y Pass en Router X-FTA

Mensaje por Hawkingsagan »

No esta correctamente montado en /dev, estas intentando hacer lo mismo para dos devices distintos, y cada uno crea un punto de montaje diferente. revisa tu /dev.
:hi: Soy el Linux User # 394644 | 8-) Uso Ubuntu 20.04 | :write: Mi blog| :music: Mi Radio ♫

Responder
  • Temas similares
    Respuestas
    Vistas
    Último mensaje