Re: [nslu2-linux] Slug haivng access issues
- You can't login as admin; that's a web-only account. Login as root instead.
So the text below is expected.
> > telnet 192.168.15.4The technique for recovering this is documented on the wiki somewhere.
> > 2sparrows-NAS login: admin
> > Password:
> > No directory, logging in with HOME=/
> > Cannot execute /dev/null: Permission denied
> > Connection to host lost.
Basically, you start the NSLU2 without disks. Login via telnet. Plug in
the disk. Wait a minute for the Linksys firmware to do its bit.
Now you can do the requisite maintenance.
If the drive is mounted properly, then you see examine the log files or
modify files as necessary. If the drive is not mounted, then check the log
files to find out why -- most commonly the problem is that the disk has
become corrupted (the Linksys firmware does not do a proper shutdown, it's
shutdown is basically a controlled crash).
In any case, it's wise to see if you can run fsck on the drives. Unmount
them if mounted, then run fsck -f /dev/sda1 (a2, b1, b2, etc as necessary).