zorruno wikki: history "Setting up Alt-f Firmware on Dlink DNS-320L NAS"

Revision history for alt-f-dlinknas


Revision [5572]

Last edited on 2020-05-13 09:48:43 by ZorrUno

No Differences

Revision [5571]

Edited on 2020-05-13 09:48:43 by ZorrUno
Additions:
======Setting up Alt-f Firmware on Dlink DNS-320L NAS======
Deletions:
======Setting up Alt-f Firmware on Dlink DNS-320L Nas======


Revision [5570]

Edited on 2020-05-13 09:48:17 by ZorrUno

No Differences

Revision [5569]

Edited on 2020-05-13 09:48:16 by ZorrUno
Additions:
{{lastedit show="3"}}
--
CategoryComputers
CategoryStorage
CategoryFOSS


Revision [5366]

Edited on 2020-04-22 05:29:54 by ZorrUno

No Differences

Revision [5365]

Edited on 2020-04-22 05:29:54 by ZorrUno
Additions:
grep -qxF "A:192.168.2.0/255.255.255.0" /etc/httpd.conf || echo "A:192.168.2.0/255.255.255.0" >> /etc/httpd.conf
Deletions:
echo "A:192.168.2.0/255.255.255.0" >> /etc/httpd.conf


Revision [5364]

Edited on 2020-04-21 05:47:23 by ZorrUno

No Differences

Revision [5363]

Edited on 2020-04-21 05:47:23 by ZorrUno
Additions:
=====Notes=====
=====http.conf default file=====
$ cat /etc/httpd.conf
A:127.0.0.1 #!# Allow local loopback connections
D:* #!# Deny from other IP connections
A:192.168.1.0/255.255.255.0 #!# Allow local net
#port=80 #!# keep commented!
Deletions:
======Notes======


Revision [5362]

Edited on 2020-04-21 01:05:38 by ZorrUno

No Differences

Revision [5361]

Edited on 2020-04-21 01:05:38 by ZorrUno
Additions:
My bootscript file is in /mnt/sda2/bootscript.sh (the same place that has the /Alt-f files )


Revision [5360]

Edited on 2020-04-21 01:04:21 by ZorrUno

No Differences

Revision [5359]

Edited on 2020-04-21 01:04:21 by ZorrUno
Additions:
**THIS WOULD NOT WORK FOR ME** FOR /etc/httpd.conf specifically for some reason. it kept getting overwritten (but not completely?) so I'm guessing Alt-F was updating it on reboot after the file overlay. The above worked for me for modifying smb.conf though (you can also do this though the web panel and SWAT - although I didn't try this)
Alt-F FAQ https://sourceforge.net/p/alt-f/wiki/Alt-F%20FAQ/
You can put the Alt-f packages etc on USB if you want to https://groups.google.com/forum/#!topic/alt-f/MVBtEyocMUo
Deactivate the Alt-F file system part https://groups.google.com/forum/#!topic/alt-f/xnykQUhEvHE
Windows 10 and wsdd2 package https://groups.google.com/forum/#!topic/alt-f/vsTMlB4Mzr4
Deletions:
**THIS WOULD NOT WORK FOR ME** FOR /etc/httpd.conf specifically for some reason. it kept getting overwritten (but not completely?) so I'm guessing Alt-F was updating it on reboot after the file overlay.


Revision [5358]

Edited on 2020-04-21 00:49:46 by ZorrUno

No Differences

Revision [5357]

Edited on 2020-04-21 00:49:46 by ZorrUno
Additions:
-- By default, the web admin panel and samba are not available across subnets, (in the web you'll just get a "403 Forbidden" error). You have to use the overlay file system changes or modify the /etc/httpd.conf and /etc/samba/smb.conf files with the bootscript.
Deletions:
-- By default, the web admin panel and samba are not available across subnets, (in the web you'll just get a "403 Forbidden" error). You have to use the overlay file system changes for modify the /etc/httpd.conf and /etc/samba/smb.conf files.


Revision [5356]

Edited on 2020-04-21 00:49:11 by ZorrUno

No Differences

Revision [5355]

Edited on 2020-04-21 00:49:11 by ZorrUno
Additions:
**THIS WOULD NOT WORK FOR ME** FOR /etc/httpd.conf specifically for some reason. it kept getting overwritten (but not completely?) so I'm guessing Alt-F was updating it on reboot after the file overlay.
I ended up modifying the bootscript file. You can tell it where this is in the web panel (services/user). Edit in the web panel directly I suggest. On reboot, after 30 secs or so my httpd config was implemented.
Deletions:
THIS WOULD NOT WORK FOR ME FOR /etc/httpd.conf for some reason.
I ended up modifying the bootscript file. You can tell it where this is in the web panel (services/user).


Revision [5354]

Edited on 2020-04-21 00:47:16 by ZorrUno

No Differences

Revision [5353]

Edited on 2020-04-21 00:47:16 by ZorrUno
Additions:
THIS WOULD NOT WORK FOR ME FOR /etc/httpd.conf for some reason.
I ended up modifying the bootscript file. You can tell it where this is in the web panel (services/user).
#!/bin/sh
# Script to execute as the root user at boot time.
# You can loose your data or make the system inaccessible
# if using the wrong commands. You have been warned!

exec >> /var/log/user.log 2>&1
case "$1" in
start)
echo "Starting $0"
;;
stop)
echo "Stopping $0"
;;
esac
echo "A:192.168.2.0/255.255.255.0" >> /etc/httpd.conf


Revision [5352]

Edited on 2020-04-20 09:51:48 by ZorrUno

No Differences

Revision [5351]

Edited on 2020-04-20 09:51:48 by ZorrUno
Additions:
You then need to go into the web panel and save your changes (the save to flash memory option under system settings)


Revision [5350]

Edited on 2020-04-20 08:55:34 by ZorrUno

No Differences

Revision [5349]

Edited on 2020-04-20 08:55:34 by ZorrUno
Additions:
-- By default, the web admin panel and samba are not available across subnets, (in the web you'll just get a "403 Forbidden" error). You have to use the overlay file system changes for modify the /etc/httpd.conf and /etc/samba/smb.conf files.
-- By default you need to create a user, and then you can log in with SSH with this user. The web password is admin (to begin with) so change it obviously. When in SSH you can su to root, with the password admin.. then change it with passwd straight away.
Deletions:
By default you need to create a user, and then you can log in with SSH with this user. The web password is admin (to begin with) so change it obviously. When in SSH you can su to root, with the password admin.. then change it with passwd straight away.
By default, the web admin panel and samba are not available across subnets, (in the web you'll just get a "403 Forbidden" error). You have to use the overlay file system changes for modify the /etc/httpd.conf and /etc/samba/smb.conf files.


Revision [5348]

Edited on 2020-04-20 08:54:24 by ZorrUno

No Differences

Revision [5347]

Edited on 2020-04-20 08:54:24 by ZorrUno
Additions:
-- Alt-F is an open source replacement
-- Alt-F is minimalistic, but does what is needed, has a plug-in system and is efficient
Deletions:
-- Alt-F is a replacement


Revision [5346]

Edited on 2020-04-20 08:53:29 by ZorrUno

No Differences

Revision [5345]

Edited on 2020-04-20 08:53:29 by ZorrUno
Additions:
The replacement Firmware I used (Archived) - ONLY for DNS-320L revA. https://drive.google.com/file/d/15bBEyWhuXV1UIV_O1EGKclKxeYK93Gcv/view?usp=sharing
Deletions:
The replacement Firmware I used (Archived) https://drive.google.com/file/d/15bBEyWhuXV1UIV_O1EGKclKxeYK93Gcv/view?usp=sharing


Revision [5344]

Edited on 2020-04-20 08:52:55 by ZorrUno

No Differences

Revision [5343]

Edited on 2020-04-20 08:52:55 by ZorrUno
Additions:
=====Links=====
The replacement Firmware I used (Archived) https://drive.google.com/file/d/15bBEyWhuXV1UIV_O1EGKclKxeYK93Gcv/view?usp=sharing
Sourceforge site: https://sourceforge.net/projects/alt-f/
======Notes======
By default you need to create a user, and then you can log in with SSH with this user. The web password is admin (to begin with) so change it obviously. When in SSH you can su to root, with the password admin.. then change it with passwd straight away.
By default, the web admin panel and samba are not available across subnets, (in the web you'll just get a "403 Forbidden" error). You have to use the overlay file system changes for modify the /etc/httpd.conf and /etc/samba/smb.conf files.


Revision [5342]

Edited on 2020-04-20 08:42:56 by ZorrUno

No Differences

Revision [5341]

Edited on 2020-04-20 08:42:56 by ZorrUno
Additions:
To override this, there is a set of files in /Alt-F that will be pulled on boot to overlay on the existing file system. eg to change loadsave_settings
Deletions:
To override this, there is a set of files in /Alt-F that will be pulled on boot to overlay on the existing file system. eg to change /etc/httpd.conf


Revision [5340]

Edited on 2020-04-20 08:42:26 by ZorrUno

No Differences


Full history for this page cannot be displayed within a single page, click here to view more.