WARNING: possible issue when upgrading firmware under RC3/RC4/RC4.1/RC5

2,516 views
Skip to first unread message

João Cardoso

unread,
Dec 30, 2016, 1:04:42 PM12/30/16
to Alt-F
Hi,

If you have setup the Administrative HTTP or HTTPS servers to run in "server mode" instead of the default "inetd mode" under Services->Network, http, Configure, undo that, as during the firmware upgrade procedure the webUI will not display the upgrade progress or errors.

Another side effect is that after hitting StopAll under System Utilities, Services, the webUI will stop responding. If that happens, telnet or ssh the box and login as the 'root' user, same password as the webUI, and issue the 'rcall start' command.

FIX: under Services->Network, http, Configure, set both the Administrative HTTP and HTTPS server to run in "inetd mode".

Georges Naoum

unread,
Dec 24, 2017, 11:28:27 AM12/24/17
to Alt-F
Hello
Mine is also in "Server" mode - I have attempted to switch it to inetd mode and submit/save but it constantly reverts back to server mode. Should i avoid the 1.0 upgrade for now?

João Cardoso

unread,
Dec 26, 2017, 2:10:26 PM12/26/17
to Alt-F


On Sunday, 24 December 2017 16:28:27 UTC, Georges Naoum wrote:
Hello
Mine is also in "Server" mode - I have attempted to switch it to inetd mode and submit/save but it constantly reverts back to server mode.

What Alt-F version are you using?

What is the output of the commands:

ls -l /etc/init.d/S41http /etc/init.d/S41stunnel
cat
/etc/inetd.conf


Should i avoid the 1.0 upgrade for now?

Yes.

timelo...@byom.de

unread,
Apr 11, 2018, 3:31:42 PM4/11/18
to Alt-F
Hello i have the same problem im running Alt-F 0.1RC4.1 ant i want to update to 1.0

What is the output of the commands:

ls -l /etc/init.d/S41http /etc/init.d/S41stunnel
cat
/etc/inetd.conf


thats the output of the commands:

COLUMNS=80;LINES=24;export COLUMNS LINES;
[root@nas]# ls -l /etc/init.d/S41http /etc/init.d/S41stunnel
ls: /etc/init.d/S41http: No such file or directory
-rw-r--r--    1 root     root           662 Apr 11 20:54 /etc/init.d/S41stunnel
[root@nas]# cat /etc/inetd.conf
http    stream  tcp     nowait  root    /usr/sbin/httpd httpd   -ih /usr/www   #                                                                          Administrative HTTP server
#ftp    stream  tcp     nowait  root    /usr/sbin/vsftpd        vsftpd  # FTP se                                                                         rver
ftps    stream  tcp     nowait  root    /usr/sbin/vsftpd        vsftpd -oimplici                                                                         t_ssl=yes
ftps    stream  tcp     nowait  root    /usr/sbin/vsftpd        vsftpd -oimplici                                                                         t_ssl=yes       # FTPS server
ftps    stream  tcp     nowait  root    /usr/sbin/vsftpd        vsftpd -oimplici                                                                         t_ssl=yes
telnet  stream  tcp     nowait  root    /usr/sbin/telnetd       telnetd -i     #                                                                          Telnet server
rsync   stream  tcp     nowait  root    /usr//bin/rsync rsyncd --daemon --config                                                                         =/etc/rsyncd.conf       # Rsync server
printer stream  tcp     nowait  root    /usr/sbin/lpd   lpd /var/spool/lpd /usr/                                                                         bin/print       # LPD server
swat    stream  tcp     nowait  root    /usr/sbin/swat  swat    # Samba Administ                                                                         rative HTTP server
ssh     stream  tcp     nowait  root    /usr/sbin/dropbear      dropbear -i    #                                                                          Light SSH/SFTP server

 what can i do ?

João Cardoso

unread,
Apr 12, 2018, 10:22:16 AM4/12/18
to Alt-F


On Wednesday, 11 April 2018 20:31:42 UTC+1, timelord wrote:
Hello i have the same problem im running Alt-F 0.1RC4.1 ant i want to update to 1.0

What is the output of the commands:

ls -l /etc/init.d/S41http /etc/init.d/S41stunnel
cat
/etc/inetd.conf


thats the output of the commands:

COLUMNS=80;LINES=24;export COLUMNS LINES;
[root@nas]# ls -l /etc/init.d/S41http /etc/init.d/S41stunnel
ls: /etc/init.d/S41http: No such file or directory

That's OK, in RC4.1 /etc/init.d/S41http did not exists
 
-rw-r--r--    1 root     root           662 Apr 11 20:54 /etc/init.d/S41stunnel
[root@nas]# cat /etc/inetd.conf
http    stream  tcp     nowait  root    /usr/sbin/httpd httpd   -ih /usr/www   #                                                                          Administrative HTTP server

http is already under inetd control, so you can do the firmware upgrade using http (for some reason https does not appears, so don't use it)

timelord

unread,
Apr 12, 2018, 11:49:51 AM4/12/18
to Alt-F
so it is save to update over http and its just not show it right in the fontend ?

BTW
thanks for the support and this great software
i will buy you a few beers
cheers

João Cardoso

unread,
Apr 12, 2018, 2:56:37 PM4/12/18
to Alt-F


On Thursday, 12 April 2018 16:49:51 UTC+1, timelord wrote:
so it is save to update over http and its just not show it right in the fontend ?

I don't know what you see in the webUI, but your configuration file for inetd shows that http is working under its control (and you are using it, aren't you?)
This issue does not affects the flashing itself, only possibly the displaying of the flashing procedure messages.

If the command 'netstat -lpn | grep inetd' displays (among other lines)

tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      788/inetd

or

tcp        0      0 0.0.0.0:8080              0.0.0.0:*               LISTEN      788/inetd

if you are using port 8080, then inetd is running the webUI http server and the flashing procedure messages will be displayed.

The reason for all this is that the flashing procedure deliberately stops all services except inetd, so the webUI server must be running under inetd control to not be stopped.

timelord

unread,
Apr 12, 2018, 3:12:07 PM4/12/18
to Alt-F
worked like a charm
thx
Reply all
Reply to author
Forward
0 new messages