ALT-F 0.1RC5 - Management UI issue on DNS-320L

114 views
Skip to first unread message

Herman Huang

unread,
Oct 17, 2016, 5:25:15 AM10/17/16
to Alt-F
Hi there,

After applying RC5, I changed below config:
1. change mangement UI port to 8080/8443
2. downloaded and installed lighttpd for hosting php sites on port 80/433

however, after rebooting the NAS, I can not access the management UI which should be https://sharecenter:8443, but the lighttpd server is working well and I can access http://sharecenter and https://sharecenter

any ideas about this issues and how can i fix it or how can I reset the nas to factory settings?


Thanks.
Herman

João Cardoso

unread,
Oct 17, 2016, 10:58:42 AM10/17/16
to Alt-F


On Monday, 17 October 2016 10:25:15 UTC+1, Herman Huang wrote:
Hi there,

After applying RC5, I changed below config:
1. change mangement UI port to 8080/8443

And kept it under 'inetd' control? And it worked at that point? both for http and https?
At this point both worked for me under inetd control
 
2. downloaded and installed lighttpd for hosting php sites on port 80/433

And it worked at that point?
For me both did 
 

however, after rebooting the NAS,

After "save settings" it also worked for me
 
I can not access the management UI which should be https://sharecenter:8443,

And can you do it at http://...:8080?  No browser cache effects?
You trying to access the box from the some network, right?
 
but the lighttpd server is working well and I can access http://sharecenter and https://sharecenter

any ideas about this issues and how can i fix it or how can I reset the nas to factory settings?

As I can't reproduce your results I can only ask you to check your install. You have to telnet or ssh the box and login as the 'root' user, some pass as the webUI. Then issue the commands in bold and check the output in bold

[root@DNS-320L]# 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=8080 #!# keep commented!

[root@DNS-320L]# cat /etc/inetd.conf 
http_alt   stream  tcp nowait  root  /usr/sbin/httpd httpd   -ifh /usr/www   # Administrative... HTTP server
https_alt  stream  tcp nowait  root  /usr/bin/stunnel stunnel /etc/stunnel/stunnel-https.conf  # Secure Administrative HTTPS server
... 

 
[root@DNS-320L]# netstat -lnp 
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
...
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      1505/lighttpd
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      759/inetd
... 
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      1505/lighttpd
tcp        0      0 0.0.0.0:8443            0.0.0.0:*               LISTEN      759/inetd

 


Thanks.
Herman

Herman Huang

unread,
Oct 28, 2016, 2:39:26 AM10/28/16
to Alt-F


On Monday, October 17, 2016 at 10:58:42 PM UTC+8, João Cardoso wrote:


On Monday, 17 October 2016 10:25:15 UTC+1, Herman Huang wrote:
Hi there,

After applying RC5, I changed below config:
1. change mangement UI port to 8080/8443

And kept it under 'inetd' control? And it worked at that point? both for http and https?
At this point both worked for me under inetd control
 
2. downloaded and installed lighttpd for hosting php sites on port 80/433

And it worked at that point?
For me both did 
At this point, all were working well.
However, the things after this point I did:
1. disable telnet
2. enable both FFP and ALT-F package manger and downloaded lighttpd and php.
after done those and reboot, the management UI are out and I can only access the downloaded lighttpd site, and the sshd is out too. for now, i can only access the php site, can not use - samba/sshd/telnetd and anyother features which can access 320L remotely.

João Cardoso

unread,
Oct 28, 2016, 3:03:54 PM10/28/16
to Alt-F


On Friday, 28 October 2016 07:39:26 UTC+1, Herman Huang wrote:


On Monday, October 17, 2016 at 10:58:42 PM UTC+8, João Cardoso wrote:


On Monday, 17 October 2016 10:25:15 UTC+1, Herman Huang wrote:
Hi there,

After applying RC5, I changed below config:
1. change mangement UI port to 8080/8443

And kept it under 'inetd' control? And it worked at that point? both for http and https?
At this point both worked for me under inetd control
 
2. downloaded and installed lighttpd for hosting php sites on port 80/433

And it worked at that point?
For me both did 
At this point, all were working well.

OK
  
However, the things after this point I did:
1. disable telnet
2. enable both FFP

And enabled any Alt-F conflicting service? That must be the reason for your issues.
 
and ALT-F package manger and downloaded lighttpd and php.

 Downloaded lighttpd again? Wasn't it working? re-installed lighttpd from Alt-F or installed the lighttpd ffp package?
ffp packages must be configured manually, no webUI, and they must not conflict with Alt-F services -- you must know what you are doing.

after done those and reboot, the management UI are out and I can only access the downloaded lighttpd site, and the sshd is out too. for now, i can only access the php site, can not use - samba/sshd/telnetd and anyother features which can access 320L remotely.

Almost certainly it's a ffp/Alt-F conflict.

Use the USB (or reset) button to open a telnet session on port 26 and fix the issue manually. You have to Read the "about leds and buttons" wiki first.

Herman Huang

unread,
Nov 1, 2016, 5:45:02 AM11/1/16
to Alt-F
Alright, will try.
Reply all
Reply to author
Forward
0 new messages