-
Notifications
You must be signed in to change notification settings - Fork 37
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
Comments
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.
|
Thanks Bjork, I will try, sorry but I’m not a super Linux expert, I need
some guidance.
…On Sun, 10 May 2020 at 10:02, Bjørn Mork ***@***.***> wrote:
miki3421 ***@***.***> 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.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKFA25QDLNPWRCWTW575OMTRQZNRJANCNFSM4M5EERTA>
.
|
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] |
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. |
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
The text was updated successfully, but these errors were encountered: