Tiny Core Base > piCore Test Releases

piCore 5.0.alpha3

<< < (5/11) > >>

sbp:
Hi bmarkus

I started from scratch again.

From a clean picore5 I installed Dropbear.
Then made a passwd for tc:

--- Code: ---sudo passwd tc
--- End code ---
Then manually started dropbear

--- Code: ---sudo /usr/local/etc/init.d/dropbear start
--- End code ---

Then logged in via SSH and:

--- Code: ---mount /dev/mmcblk0p1
sudo echo hdmi_drive=2 >> /mnt/mmcblk0p1/config.txt
--- End code ---

Then rebooted - I hurrah the change survived a reboot.

********************************************
Then I would like microcore to remember its passwd and to start Dropbear automatically, therefore I made the following changes:
The content of /opt/.filetool.lst:

--- Code: ---opt
home
etc/passwd
etc/shadow
usr/local/etc/dropbear/dropbear_dss_host_key
usr/local/etc/dropbear/dropbear_rsa_host_key

--- End code ---

And the content of /opt/bootlocal.sh

--- Code: ---#!/bin/sh
# put other system startup commands here
usr/local/etc/init.d/dropbear start
--- End code ---

Now Dropbear starts automatically and I can log in using user:tc and password:(the one I just made)  ---   but any changes I make to the /mnt/mmcblk0p1/config.txt file does not survive a reboot

**********************************************
If I instead changes the content of /opt/.filetool.lst to  (removes etc/shadow) :

--- Code: ---opt
home
etc/passwd
usr/local/etc/dropbear/dropbear_dss_host_key
usr/local/etc/dropbear/dropbear_rsa_host_key

--- End code ---

Then Dropbear still starts but microcore does not remember the passwd for tc, so I cant log in via SSH until I via keyboard connected to rpi make a password again like

--- Code: ---sudo passwd tc
--- End code ---

Then I momentarily can connect from another computer via SSH, and any change I make to the /mnt/mmcblk0p1/config.txt file can survive a reboot.

So I think somehow the user management/password is involved in the problem or the etc/shadow backup in the .filetool.lst?

Steen

 

sbp:
Hi bmarkus

What do you think about this problem?
Do you think that it could be something about the password or user management in version5 compared with version 4.7.7 ?

Steen

bmarkus:
No idea. Sounds local probéem, not related to piCore 5.0alphax

Can't reproduce.

sbp:

--- Quote from: bmarkus on September 26, 2013, 09:38:23 AM ---No idea. Sounds local probéem, not related to piCore 5.0alphax

Can't reproduce.

--- End quote ---

I'm really sorry that you can't reproduce using dropbear.

Can you spot if I have done anything wrong in my post above?

I will give it one more try, otherwise I will stick to version 4.7.7 which is working fine.

Steen

bmarkus:
Can you make a copy of your SD card with DD and send it?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version