Loading ...
Sorry, an error occurred while loading the content.

8749Re: [nslu2-general] Re: Locked out of SSH

Expand Messages
  • OddballHero
    Oct 2, 2012
    • 0 Attachment
      If there is only one drive attached, it always comes up as SDA1.  It is only when there is more than one drive that the device name can change.  Also, when you replaced the shell, did you use /opt/bash or /opt/bin/bash?  The V1 and V2 plugs were fast enough, but the slower V3 and V4 plugs sometimes needs a delay before the mount command.


      I guess you didn't use the script I placed in http://tech.dir.groups.yahoo.com/group/nslu2-general/files/Plug%20Files/ that does a persistent mount to /opt and adds a delay for slow usb drives.

      Doesn't look like you have too many options left.



      ________________________________
      From: krymium <rudolphoa@...>
      To: nslu2-general@yahoogroups.com
      Sent: Tuesday, October 2, 2012 12:11 AM
      Subject: [nslu2-general] Re: Locked out of SSH


       
      The more I think about this the more I am sure I actually did modify my rcS file to mount /opt. The only thing I can think off is the device name changed

      --- In nslu2-general@yahoogroups.com, "oddballhero" <oddballhero@...> wrote:
      >
      > I guess you didn't put the mount the optware USB drive command on the startup script yet.
      >
      > --- In nslu2-general@yahoogroups.com, "krymium" <rudolphoa@> wrote:
      > >
      > > Yeah in my case I do hit SSH but the login fails - coz it cant spawn the shell I am guessing. I had the passwd file point to bash on the optware USB drive.
      > >
      > > --- In nslu2-general@yahoogroups.com, bruce turrie <bturrie@> wrote:
      > > >
      > > > I've thought I'd lost ssh access to my pogoplug/dockstar a couple of times. In one case it turned out that DHCP had changed my dockstar's  ip address, and another time I was messing up the ssh command. I'd typed:
      > > >
      > > > ssh my-ipaddress
      > > >
      > > > instead of:
      > > >
      > > > ssh root@my-ipaddress 
      > > >
      > > > Probably not your issue but I thought I'd mention it just in case.
      > > >
      > > >
      > > > ________________________________
      > > > From: krymium <rudolphoa@>
      > > > To: nslu2-general@yahoogroups.com
      > > > Sent: Monday, October 1, 2012 2:04 PM
      > > > Subject: [nslu2-general] Re: Locked out of SSH
      > > >
      > > >
      > > >  
      > > > Was hoping not to go down the serial cable route if possible...
      > > >
      > > > --- In nslu2-general@yahoogroups.com, "aamuel_kaufman" <samuel@> wrote:
      > > > >
      > > > > Hi,
      > > > >
      > > > > I'm in the same situation. I have found that you can gain aceess to the pogoplug again using this guide.
      > > > >
      > > > > http://www.hack247.co.uk/pogo-plug-pink-serial-connection/
      > > > >
      > > > > But I think using something like this will also work
      > > > >
      > > > > http://www.ebay.com/itm/CP2102-Module-STC-Download-Cable-USB-2-0-to-UART-TTL-6PIN-Serial-Converter-/221131726875?pt=LH_DefaultDomain_0&hash=item337c7a601b
      > > > >
      > > > > Though I would like to get the original passwd file in order to get back normal ssh access..
      > > > >
      > > > >
      > > > > --- In nslu2-general@yahoogroups.com, "krymium" <rudolphoa@> wrote:
      > > > > >
      > > > > > I have a PogoPlug series 4 running stock firmware. I was attempting to install Optware and inadvertently screwed up the /etc/passwd file so cannot login to SSH any more for the root account. I dont have any other user accounts on the device. My.pogoplug.com continues to work fine - I am wondering if there is anyway I can boot of SATA or USB and revert the passwd file on the device?
      > > > > >
      > > > >
      > > >
      > > >
      > > >
      > > >
      > > > [Non-text portions of this message have been removed]
      > > >
      > >
      >




      [Non-text portions of this message have been removed]
    • Show all 28 messages in this topic