Temat: MPR-A1 problem z telnetem

Witam
Kupiłem klona MPR-A1:
http://www.aliexpress.com/item/3G-Wifi- … 62945.html

Mam problem z zainstalowaniem OpenWRT - nie mogę zalogować się przez telnet. Próbowałem takich konfiguracji (+ puste hasła)
hame/hame
root/root
admin/admin
I niestety nic nie działa. Próbowałem przez tfpt - adres karty na 10.10.10.3, maska 255.255.255.0, nazwa obrazu to kernal.bin (przy uruchamianiu w wciśniętym resetem wchodzi do tfpt i szuka takiego obrazu)

.============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping
DRAM_TYPE: SDRAM
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Sep  1 2012  Time:08:34:08
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

 ##### The CPU freq = 360 MHZ ####
 estimate memory size =32 Mbytes

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.

You choosed 2
                                                                              0
raspi_read: from:40028 len:6
.

2: System Load Linux Kernel then write to Flash via TFTP.
 Warning!! Erase Linux in Flash then burn new one. Are you sure?(Y/N)
 Please Input new ones /or Ctrl-C to discard
        Input device IP (10.10.10.123) ==:10.10.10.123
        Input server IP (10.10.10.3) ==:10.10.10.3
        Input Linux Kernel filename (root_uImage) ==:Kernal.bin

 netboot_common, argc= 3

 NetTxPacket = 0x81FE6500

 KSEG1ADDR(NetTxPacket) = 0xA1FE6500

 NetLoop,call eth_halt !

 NetLoop,call eth_init !
Trying Eth0 (10/100-M)

 Waitting for RX_DMA_BUSY status Start... done


 Header Payload scatter function is Disable !!

 ETH_STATE_ACTIVE!!
Using Eth0 (10/100-M) device
TFTP from server 10.10.10.3; our IP address is 10.10.10.123
Filename 'Kernal.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: *
ArpTimeoutCheck
T T T T T T T T T T
Retry count exceeded; starting again
Trying Eth0 (10/100-M)

 ETH_STATE_ACTIVE!!

ArpTimeoutCheck

ArpTimeoutCheck
Using Eth0 (10/100-M) device
TFTP from server 10.10.10.3; our IP address is 10.10.10.123
Filename 'Kernal.bin'.

 TIMEOUT_COUNT=10,Load address: 0x80100000
Loading: *
ArpTimeoutCheck
T T T T T T T T T T
Retry count exceeded; starting again
Trying Eth0 (10/100-M)

 ETH_STATE_ACTIVE!!

Ma ktoś jakiś pomysł jak postawić OpenWRT?

2

Odp: MPR-A1 problem z telnetem

1. jaki telnet? Do oryginalnego softu?
2. zdarzają się klony które nie reagują na to
3. jesteś pewien że firewall/antywirus nie blokuje tftpd?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3 (edytowany przez mrdarkenrahl 2014-06-08 19:26:08)

Odp: MPR-A1 problem z telnetem

1. Tak, do oryginalnego chińskiego softu
2. Jaka inna droga?
3. Tak, na pewno nie blokuje.

4

Odp: MPR-A1 problem z telnetem

O ile telnet masz tam włączony to wchodziło zwykle hame/hasło które masz do gui. Choć hame toto może nie być, bo to nie hame.

Wylutować kość flash i wgrać soft.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5 (edytowany przez mrdarkenrahl 2014-06-08 19:36:21)

Odp: MPR-A1 problem z telnetem

Hasło do WiFi to 12345678 i z takim też hasłem próbowałem - bez skutku

easynetting login: hame
Password:
Login incorrect
easynetting login:

Wolałbym tego uniknąć. Może inna konfiguracja tfpd? Adres ip ten sam, ale jaką maskę spróbować i bramę?
EDIT
Z easynetting jako login też próbowałem - nie działa.

6

Odp: MPR-A1 problem z telnetem

Maska nie ma znaczenia w sumie. Ma być interfejs o takim adresie i ma na nim serwer tftp nasłuchiwać.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: MPR-A1 problem z telnetem

Skoro masz rs'a to pozwól mu się uruchomić, przez seriala się dostaniesz i zobacz co w /etc/passwd siedzi.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: MPR-A1 problem z telnetem

Problem w tym, że po uruchomieniu nie mogę nic zrobić - tzn jest echo, widze co wpisuje, ale nie ma reakcji:

U-Boot 1.1.3 (Sep  1 2012 - 08:34:08)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb4000
spi_wait_nsec: 42
spi device id: ef 40 16 0 0 (40160000)
find flash: W25Q32BV
raspi_read: from:30000 len:1000
.raspi_read: from:30000 len:1000
.============================================
Ralink UBoot Version: 3.6.0.0
--------------------------------------------
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping
DRAM_TYPE: SDRAM
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Sep  1 2012  Time:08:34:08
============================================
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384

 ##### The CPU freq = 360 MHZ ####
 estimate memory size =32 Mbytes

Please choose the operation:
   1: Load system code to SDRAM via TFTP.
   2: Load system code then write to Flash via TFTP.
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial.
   9: Load Boot Loader code then write to Flash via TFTP.                     0

3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40
.   Image Name:   Linux Kernel Image
   Created:      2013-12-27   3:39:12 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3694537 Bytes =  3.5 MB
   Load Address: 80000000
   Entry Point:  80410000
raspi_read: from:50040 len:385fc9
.........................................................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80410000) ...
## Giving linux memsize in MB, 32

Starting kernel ...


LINUX started...

 THIS IS ASIC
Linux version 2.6.21 (root@whf) (gcc version 3.4.2) #1024 Fri Dec 27 11:38:58 CST 2013

 The CPU frequency set to 360 MHz
CPU revision is: 0001964c
Determined physical RAM map:
 memory: 02000000 @ 00000000 (usable)
Initrd not found or empty - disabling initrd
Built 1 zonelists.  Total pages: 8128
Kernel command line: console=ttyS1,57600n8 root=/dev/ram0
Primary instruction cache 32kB, physically tagged, 4-way, linesize 32 bytes.
Primary data cache 16kB, 4-way, linesize 32 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
Cache parity protection disabled
cause = 50808000, status = 11000000
PID hash table entries: 128 (order: 7, 512 bytes)
calculating r4koff... 0015f900(1440000)
CPU frequency 360.00 MHz
Using 180.000 MHz high precision timer.
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 25844k/32768k available (3264k kernel code, 6924k reserved, 891k data, 2380k init, 0k highmem)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
deice id : ef 40 16 0 0 (40160000)
Time: MIPS clocksource has been installed.
W25Q32BV(ef 40160000) (4096 Kbytes)
mtd .name = raspi, .size = 0x00400000 (4M) .erasesize = 0x00010000 (64K) .numeraseregions = 0
Creating 5 MTD partitions on "raspi":
0x00000000-0x00400000 : "ALL"
0x00000000-0x00030000 : "Bootloader"
0x00030000-0x00040000 : "Config"
0x00040000-0x00050000 : "Factory"
0x00050000-0x01000000 : "Kernel"
mtd: partition "Kernel" extends beyond the end of device "raspi" -- size truncated to 0x3b0000
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
detected lzma initramfs
detected lzma initramfs
initramfs: LZMA lc=3,lp=0,pb=2,dictSize=1048576,origSize=9873920
LZMA initramfs by Ming-Ching Tiew <mctiew@yahoo.com>.......................................................................................................................................................Load Ralink Timer0 Module
Load Ralink Timer1 Module
RT3xxx EHCI/OHCI init.
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
NTFS driver 2.1.28 [Flags: R/W].
fuse init (API version 7.8)
io scheduler noop registered (default)
Ralink gpio driver initialized
HDLC line discipline: version $Revision: #1 $, maxframe=4096
N_HDLC line discipline registered.
Serial: 8250/16550 driver $Revision: #1 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0xb0000500 (irq = 37) is a 16550A
serial8250: ttyS1 at MMIO 0xb0000c00 (irq = 12) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize
loop: loaded (max 8 devices)
rdm_major = 253
Ralink APSoC Ethernet Driver Initilization. v3.0  256 rx/tx descriptors allocated, mtu = 1500!
GMAC1_MAC_ADRH -- : 0x0000a0f4
GMAC1_MAC_ADRL -- : 0x5908f5f6
PROC INIT OK!
PPP generic driver version 2.4.2
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V0.17
PPTP driver version 0.8.1


=== pAd = c0019000, size = 802384 ===

<-- RTMPAllocAdapterBlock, Status=0
block2mtd: version $Revision: #1 $
rt3xxx-ehci rt3xxx-ehci: Ralink EHCI Host Controller
rt3xxx-ehci rt3xxx-ehci: new USB bus registered, assigned bus number 1
rt3xxx-ehci rt3xxx-ehci: irq 18, io mem 0x101c0000
rt3xxx-ehci rt3xxx-ehci: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
rt3xxx-ohci rt3xxx-ohci: RT3xxx OHCI Controller
rt3xxx-ohci rt3xxx-ohci: new USB bus registered, assigned bus number 2
rt3xxx-ohci rt3xxx-ohci: irq 18, io mem 0x101c1000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
nf_conntrack version 0.5.0 (256 buckets, 2048 max)
ip_tables: (C) 2000-2006 Netfilter Core Team, Type=Restricted Cone
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Freeing unused kernel memory: 2380k freed
init started: BusyBox v1.12.1 (2013-12-25 21:51Algorithmics/MIPS FPU Emulator v1.5
:53 CST)
starting pid 641, tty '': '/etc_ro/rcS'
devpts: called with bogus options
Welcome to
     _______  _______  ___     __  ____   _  _   ___
    |  ___  \|   __  ||   |   |__||    \ | || | /  /
    | |___| ||  |__| ||   |__  __ |     \| || |/  /
    |   _   /|   _   ||      ||  || |\     ||     \
    |__| \__\|__| |__||______||__||_| \____||_|\___\

                     =System Architecture Department=


##### disable 1st wireless interface #####

#######rt28xx_init!!!!#######
RX DESC a04bf000  size = 2048
<-- RTMPAllocTxRxRingMemory, Status=0
Key1Str is Invalid key length(0) or Type(0)
Key2Str is Invalid key length(0) or Type(0)
Key3Str is Invalid key length(0) or Type(0)
Key4Str is Invalid key length(0) or Type(0)
1. Phy Mode = 9
2. Phy Mode = 9
3. Phy Mode = 9
pAd->TxPowerCtrl.bInternalTxALC == FALSE !
RTMPSetPhyMode: channel is out of range, use first channel=0
MCS Set = ff 00 00 00 01
SYNC - BBP R4 to 20MHz.l
Main bssid = a0:f4:59:08:f5:f4
<==== rt28xx_init, Status=0
0x1300 = 00064380
ifconfig: ioctl 0x8913 failed: No such device
brctl: bridge br0: No such device or address
Raeth v3.0 (Tasklet,SkbRecycle)

phy_tx_ring = 0x0166b000, tx_ring = 0xa166b000

phy_rx_ring0 = 0x0166c000, rx_ring0 = 0xa166c000
GMAC1_MAC_ADRH -- : 0x0000a0f4
GMAC1_MAC_ADRL -- : 0x5908f5f6
RT305x_ESW: Link Status Changed
buf2-->
vconfig: ioctl error for rem: Invalid argument
vconfig: ioctl error for rem: Invalid argument
rmmod: 8021q: No such file or directory
insmod: 8021q.ko: module not found
wanmode = 3G
pppd: Can't open options file /etc_ro/ppp/peers/3g: No such file or directory
eth2.2: Setting MAC address to  a0 f4 59 08 f5 f7.
device eth2 entered promiscuous mode
VLAN (eth2.2):  Setting underlying device (eth2) to promiscious mode.
##### config Ralink ESW vlan partition (LLLLW) #####
switch reg write offset=14, value=405555
switch reg write offset=50, value=2001
switch reg write offset=98, value=7f3f
switch reg write offset=e4, value=3f
switch reg write offset=40, value=1001
switch reg write offset=44, value=1001
switch reg write offset=48, value=1002
switch reg write offset=70, value=ffff506f
device ra0 entered promiscuous mode
eth2.1: dev_set_promiscuity(master, 1)
device eth2.1 entered promiscuous mode
wanmode = 3G
br0: port 2(eth2.1) entering learning state
br0: port 1(ra0) entering learning state
br0: topology change detected, propagating
br0: port 2(eth2.1) entering forwarding state
br0: topology change detected, propagating
br0: port 1(ra0) entering forwarding state
killall: udhcpd: no process killed


#################### SSID = EDM-WiFi-08F5F4 ###############


sh: /bin/super_dmz: not found
Set: phy[0].reg[0] = 3900
Set: phy[2].reg[0] = 3900
Set: phy[3].reg[0] = 3900
webs: Listening for HTTP requests at address 192.168.169.1


#################### SSID = EDM-WiFi-08F5F4 ###############


cd
ls
whoami
login

9

Odp: MPR-A1 problem z telnetem

Czyli to też zablokowali smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: MPR-A1 problem z telnetem

Mi nie jest do śmiechu tongue
Czyli pozostaje mi albo śmietnik, albo chiński soft? Walczę jeszcze a tfpd, ip 10.10.10.3, maska 255.255.255.0 i brama 10.10.10.1 nie działają hmm.

11

Odp: MPR-A1 problem z telnetem

Tam cokolwiek możesz wpisać, nie musisz tych 10* się trzymać.

A masz może plik którym możesz go upgejdować i działa poprawnie?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12 (edytowany przez mrdarkenrahl 2014-06-08 19:50:46)

Odp: MPR-A1 problem z telnetem

Z tego korzystam, tylko nazwa obrazu zmieniona:
https://github.com/JiapengLi/OpenWrt-RT5350

Chciałbym wgrać uboota, ale z tego co wyczytałem to można uwalić wgrywając go przez bootloader, a dostępu do RSa czy telnetu nie mam. Błędne koło...

13

Odp: MPR-A1 problem z telnetem

Niepotrzebnie, dawno to już w trunku jest. Czy masz oryginalny soft w pliku, nie openwrt?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14

Odp: MPR-A1 problem z telnetem

Oryginalny chiński? Nie mam.