amf, THIS works great! Thanks so much for the help.
On Tue, Mar 30, 2021 at 8:52 AM amf <[email protected]> wrote: > If you just want to reset the password on the new imaged BBB (this does > not explain why you had issue in the first place, but does allow you to > access the system) > clear the encrypted password as follows, (if you need detailed steps let > me know) > create a sdcard with a new image (one you download) and boot the BBB with > it. > then mount the emmc device > edit /etc/shadow file in the mounted emmc device (requires sudo) > find the user name you want to remove the password on > for example, my user name is 'amf' > amf:$6$jlBY96dq$V7tFs2xEv.a3kXArkyTEcEbGDX43d6UpzMcy/aplV8khxUFJKPMg0ugGBfWVZMpJRpaMXAATEAb5inu7/G.Iz1:16406:0:99999:7::: > > delete the stuff between the first two '::' > pi::16406:0:99999:7::: > save the shadow file > power off the BBB > remove sdcard, and power on the BBB > log in with the user name that the encrypted password was deleted on, no > login password is required, then set new password for the user. > > Hope this helps. > amf > On Tuesday, March 30, 2021 at 9:02:25 AM UTC-5 [email protected] wrote: > >> I am now attempting to get into GRUB during boot. I never see a GRUB >> menu show up by pressing/holding ESC or left shift. What I do see is that >> I can interrupt boot by pressing the spacebar. I then get a command prompt >> in ??. And I have no idea what to do after that. >> >> On Monday, March 29, 2021 at 6:27:52 AM UTC-7 Bob Hammond wrote: >> >>> Thanks Andrea. Once I get in, I will check the logs. The sshd is >>> likely up as you state. The BBB is protected by a firewall on my router as >>> well as iptables. And no, I didn't have enforced sshd to accept only user >>> connection. >>> >>> All very good ideas! >>> >>> >>> On Sunday, March 28, 2021 at 6:05:22 AM UTC-7 [email protected] >>> wrote: >>> >>>> I found this for the serial connection. >>>> >>>> >>>> https://www.dummies.com/computers/beaglebone/how-to-connect-the-beaglebone-black-via-serial-over-usb/ >>>> >>>> Some ideas : >>>> Once in as root, I would >>>> - change the root password : >>>> # passwd >>>> - The user password: >>>> # passwd username >>>> Check the logs focus in the time you had attempted the remote login - >>>> find why it was not allowed to login. >>>> Check the sshd service is enabled (however should be up) >>>> Have you hardened your configuration? Ie any firewall (iptables) , any >>>> fail2ban or something else; >>>> Enforced sshd to accept only user connection (no root)? >>>> >>>> A. >>>> >>>> On Sun, 28 Mar 2021, 14:48 Bob Hammond, <[email protected]> wrote: >>>> >>>>> I am using a windows machine with PuTTY to connect to the BBB. >>>>> >>>>> On Sun, Mar 28, 2021 at 5:44 AM Bob Hammond <[email protected]> >>>>> wrote: >>>>> >>>>>> I am able to connect to the BBB with PuTTY and get a prompt to log >>>>>> in. I have tried debian/temppwd and that doesn't work. >>>>>> >>>>>> I've read about using a serial connection to the BBB and interrupting >>>>>> the boot sequence to gain access. Anyone done that? >>>>>> >>>>>> On Saturday, March 27, 2021 at 4:41:30 PM UTC-7 [email protected] >>>>>> wrote: >>>>>> >>>>>>> Try logging in as user : debian >>>>>>> Password: temppwd >>>>>>> >>>>>>> Check your spelling after u enter user name >>>>>>> >>>>>>> Sent from my iPhone >>>>>>> >>>>>>> On Mar 27, 2021, at 7:12 PM, amf <[email protected]> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> I followed your instructions, once I obtained the new ip, I was able >>>>>>> to login as the user of the origanl BBB. >>>>>>> Without knowing details of your setup it is difficult to help >>>>>>> is your desktop/laptop a windows or linux machine? >>>>>>> if linux you can get the ip of the new BBB with "ping >>>>>>> <hostname>.local" provided 'avahi' is installed (there may be other >>>>>>> ways, >>>>>>> this works for me) >>>>>>> >>>>>>> ping beaglebone.local >>>>>>> PING beaglebone.local (192.168.3.108) 56(84) bytes of data. >>>>>>> 64 bytes from 192.168.3.108: icmp_seq=1 ttl=64 time=1.31 ms >>>>>>> >>>>>>> if windows, someone else will need to chime in, >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Saturday, March 27, 2021 at 7:39:21 AM UTC-5 [email protected] >>>>>>> wrote: >>>>>>> >>>>>>>> I duplicated my BBB setup to a SD card using this procedure: >>>>>>>> >>>>>>>> Debian distribution: >>>>>>>> >>>>>>>> 1. Boot master BBB with no SD card in >>>>>>>> 2. Insert SD card >>>>>>>> 3. Log in (e.g. with serial terminal, SSH etc.) and run sudo >>>>>>>> >>>>>>>> /opt/scripts/tools/eMMC/beaglebone-black-make-microSD-flasher-from-eMMC.sh. >>>>>>>> LEDs will flash in sequence whilst SD card is being written. >>>>>>>> 4. When the LEDs stop and the script terminates, remove the SD >>>>>>>> card. >>>>>>>> 5. Insert SD card into new BBB then power on. >>>>>>>> 6. eMMC will be flashed; LEDs on new BBB will flash in sequence >>>>>>>> until complete. >>>>>>>> >>>>>>>> After doing this, I rebooted the BBB. >>>>>>>> >>>>>>>> Now, I am unable to remotely log in using PuTTY, user is root, and >>>>>>>> root password. Or any other username and password. >>>>>>>> >>>>>>>> The BBB is running fine (collecting seismic data) but I am >>>>>>>> completely locked out! >>>>>>>> >>>>>>>> Any suggestions on how to get access to the BBB? >>>>>>>> >>>>>>> -- >>>>>>> For more options, visit http://beagleboard.org/discuss >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "BeagleBoard" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/beagleboard/833795ff-61b4-418c-a142-9aed980e01a7n%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/beagleboard/833795ff-61b4-418c-a142-9aed980e01a7n%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> >>>>>>> -- >>>>>> For more options, visit http://beagleboard.org/discuss >>>>>> --- >>>>>> You received this message because you are subscribed to a topic in >>>>>> the Google Groups "BeagleBoard" group. >>>>>> To unsubscribe from this topic, visit >>>>>> https://groups.google.com/d/topic/beagleboard/KvIoUzehk_o/unsubscribe >>>>>> . >>>>>> To unsubscribe from this group and all its topics, send an email to >>>>>> [email protected]. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/beagleboard/0fea8e1c-4c08-43cc-a023-5fce0b05209en%40googlegroups.com >>>>>> <https://groups.google.com/d/msgid/beagleboard/0fea8e1c-4c08-43cc-a023-5fce0b05209en%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>> -- >>>>> For more options, visit http://beagleboard.org/discuss >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "BeagleBoard" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> >>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/beagleboard/CAKoB7OpieQonkXW003iq5APE2Ze74UMWBOrpNXF6q%3DSp8vZwMg%40mail.gmail.com >>>>> <https://groups.google.com/d/msgid/beagleboard/CAKoB7OpieQonkXW003iq5APE2Ze74UMWBOrpNXF6q%3DSp8vZwMg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>> -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/03c226b8-ca48-4c3f-92ee-4f2c603bb57fn%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/03c226b8-ca48-4c3f-92ee-4f2c603bb57fn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAKoB7Op%3DUQPFcV%2BQQ_1kqB-jCmXA2VDpE2LVWStSQ256VoUeWA%40mail.gmail.com.
