Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help #17

Open
miki3421 opened this issue May 10, 2020 · 4 comments
Open

Help #17

miki3421 opened this issue May 10, 2020 · 4 comments

Comments

@miki3421
Copy link

Hi, I'm getting stucked once time I'm in root console.
Every change that I'm doing is not permanent at the reboot.
It's seems the authentication is not working. I tried also to change the root password but it's not working.
Someone can help me?
Thanks.

I'm using a Raspberry Pi4 connected via serial0

@bmork
Copy link
Owner

bmork commented May 10, 2020 via email

@miki3421
Copy link
Author

miki3421 commented May 10, 2020 via email

@miki3421
Copy link
Author

miki3421 [email protected] writes:
Every change that I'm doing is not permanent at the reboot.
Correct. There is no writeable file system, so you cannot permanently change any file. The only way to make permanent changes are either 1) change an nvram variable, or 2) replace a file system with your own copy The first option is easy and pretty safe. But obviously limited to the settings D-Link have chosen to implement. Still pretty usefull, as it must include anything you can configure with the app. But many changes require at least modifying a script running at boot. Which is why I propose building a new file system for the "userdata" partition. You can build on top of the existing My DLink application, or you can do it like I did by replacing everything in that file system. The D-Link firmware will call the "opt.local" script in the "userdata" partition at boot. So you can hook anything you want permanent in there, without making any other changes to the system if you dont want to.

Sorry but I don't have any idea how to do it what are you writing. If you are so kind to contact me in private. I tried to read multiple times your instruction but I think I have same lack of knowledge.

My email is [email protected]
Thanks

@rahools
Copy link

rahools commented Oct 7, 2020

sorry for posting off-topic here, @miki3421 how did you connect and use serial console with help of rpi4? any guide you know of? sorry, total noob here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants