Modify

Opened 6 years ago

Closed 6 years ago

Last modified 4 years ago

#11103 closed defect (invalid)

setting password makes the router inaccessible

Reported by: phip@… Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

Steps to reproduce

  1. Download newest trunk snapshots:

---
5f4842b8b1cc5ca8166c2cb82ca7d763 *openwrt-atheros-root.squashfs
a481fc2726a70e469472fde38775b2b2 *openwrt-atheros-vmlinux.lzma
---
1441792 2012-03-09 09:16:29 openwrt-atheros-root.squashfs

917504 2012-03-09 09:16:24 openwrt-atheros-vmlinux.lzma

---
from http://downloads.openwrt.org/snapshots/trunk/atheros/

  1. Flash the DIR-300 (A1) according to http://wiki.openwrt.org/toh/d-link/dir-300
  1. Access the router via telnet
  1. passwd
  1. sync
  1. reboot & exit
  1. never get your ssh password accepted

Attachments (0)

Change History (6)

comment:1 Changed 6 years ago by nbd

did you wait for it to complete the rootfs initialization?

comment:2 Changed 6 years ago by phip@…

Hi nbd, thank you for your answer.

Yes, I did wait for the rootfs initialization. But after flashing there is nothing much to wait. After 5-10 s I can telnet 192.168.1.10 9000. After 60-70 s I can telnet 192.168.1.1 9000 again. And after 140 s I can telnet Open Wrt on 192.168.1.1

My steps:

telnet 192.168.1.10 9000
#### DD-WRT>
fis init
ip_address -h 192.168.1.100
load -r -b %{FREEMEMLO} openwrt-atheros-vmlinux.lzma
fis create -e 0x80041000 -r 0x80041000 vmlinux.bin.l7
load -r -b %{FREEMEMLO} openwrt-atheros-root.squashfs
fis create rootfs
reset

plus sometimes before reset:

fconfig boot_script_timeout 5
fconfig boot_script true
fconfig
---
fis load -l vmlinux.bin.l7
exec


---
Gateway IP address: 192.168.1.1
Local IP address: 192.168.1.10
Local IP address mask: 255.255.255.0
Default server IP address: 192.168.1.228
Console baud rate: 9600
GDB connection port: 9000
Force console for special debug messages: false
Network debug at boot time: false
Update RedBoot non-volatile configuration - continue (y/n)? y
... Erase from 0xbffe0000-0xbfff0000: .
... Program from 0x80ff0000-0x81000000 at 0xbffe0000: .

could it be something related to #10537 #10405 #10412 #10393 ?

comment:3 Changed 6 years ago by nbd

What I mean is when it boots, it typically takes a while to initialize jffs2. This typically runs while you can already log in, after it has started all core services already.
You can check if that's still running by checking if there's a mount process still running.

comment:4 Changed 6 years ago by phip@…

Please close this ticket. My mistake was:

me@myhost ~ $ ssh 192.168.1.1

I forgot to submit the user:

me@myhost ~ $ ssh root@192.168.1.1

I’m very sorry for stealing your time and opening such a ticket. What should I do as penance? By the way I would like to thank you all for OpenWrt!!!

comment:5 Changed 6 years ago by juhosg

  • Resolution set to invalid
  • Status changed from new to closed

comment:6 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.