Fail to get an IP from DHCP server after installing fvdw-sl

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Mon Apr 22, 2019 3:55 pm

What is present in folder /var/run ? (Check with winscp)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Mon Apr 22, 2019 3:59 pm

fvdw wrote:What is present in folder /var/run ? (Check with winscp)

Annotazione 2019-04-22 175733.png
Httpd.pid
Code: Select all
1015
utmp
Code: Select all
   Þ  pts/0                           ts/0root                            192.168.0.177                                                                                                                                                                                                                                                           1   ±
                                     

the folder lock, contain infinite lock folder inside each ones.
You do not have the required permissions to view the files attached to this post.
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Mon Apr 22, 2019 4:13 pm

oke please content of /usr/htdocs
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Mon Apr 22, 2019 4:16 pm

fvdw wrote:oke please content of /usr/htdocs

here
Annotazione 2019-04-22 181632.png
You do not have the required permissions to view the files attached to this post.
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Mon Apr 22, 2019 4:31 pm

oke lets try to generate htpasswd file
In putty connected via ssh run this command

Code: Select all
php /etc/finc/sysfunc_password_configure.finc


then check if .htpasswd file is present in /var/run using winscp (ps you need to clear caches in winscp if you have visit that folder already as winscp keeps old version in cache (in winscp use drop down menu task and use clear caches before changing to folder /var/run)
Alternatively you could also run in putty
Code: Select all
ls -l /var/run

If .htpasswd is present sart again the webserver and try to connect
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Mon Apr 22, 2019 4:38 pm

fvdw wrote:oke lets try to generate htpasswd file
In putty connected via ssh run this command

Code: Select all
php /etc/finc/sysfunc_password_configure.finc


then check if .htpasswd file is present in /var/run using winscp (ps you need to clear caches in winscp if you have visit that folder already as winscp keeps old version in cache (in winscp use drop down menu task and use clear caches before changing to folder /var/run)
Alternatively you could also run in putty
Code: Select all
ls -l /var/run

If .htpasswd is present sart again the webserver and try to connect


I tried all two command, clear cache from drop down menu and refresh too the page with right click... but not see .htpasswd inside /var/run folde. only lock folder and httpd.pid and utmp
Code: Select all
root@kirkwood-4:/ # php /etc/finc/sysfunc_password_configure.finc
root@kirkwood-4:/ # ls -l /var/run
lrwxrwxrwx  1 root root 18 1970-01-01 00:00 /var/run -> /rw_fs/tmp/var/run
root@kirkwood-4:/ #
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Mon Apr 22, 2019 4:46 pm

oke we will try something that might stall the nas but no harm if it fail you need to reboot
In putty give this command
Code: Select all
/etc/init.d/rc.bootup1


Remark do not immediately reboot your nas if you loose connection the ethernet interface will be reset and it probably will get a dynamic assigned ip that may be different from the one we use now, use fvdw-sl assisatant or ip scanner first to see if it has a different ip
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Mon Apr 22, 2019 4:55 pm

fvdw wrote:oke we will try something that might stall the nas but no harm if it fail you need to reboot
In putty give this command
Code: Select all
/etc/init.d/rc.bootup1
Remark do not immediately reboot your nas if you loose connection the ethernet interface will be reset and it probably will get a dynamic assigned ip that may be different from the one we use now, use fvdw-sl assisatant or ip scanner first to see if it has a different ip


It's stopped here:
Code: Select all
root@kirkwood-4:/ # /etc/init.d/rc.bootup1
 * Initialize the volatile db file...    [ OK ]
 * Starting udevd...                                     [ OK ]
 * Finishing restore RAID devices...     [ OK ]
 * Found database configuration file...  [ OK ]
 * Updating Disks database...                    [ OK ]
 * Starting mount of volumes...
   - Mounting volume Vol-A:  [ OK ]
 * Finishing mount of volumes...                 [ OK ]
 * Generating Hosts File...                      [ OK ]
 * Configuring System Hostname...                [ OK ]
 * Configuring LAN interface...


No nas from assistant, tried with angry ip scanner, nothing. Reboot the nas.
In var/run folder now there is only the folder lock and the file utmp
may have i to run web server with putty first?
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Fail to get an IP from DHCP server after installing fvdw-sl

Postby fvdw » Mon Apr 22, 2019 5:00 pm

oke attached a new file in the zip file you will find rc.bootupx
In this file I have taken out the setup of lan interface

unpackt the zip archive and use winscp to put the file in main folder (/) of the nas
then connect with putty and do this
Code: Select all
chmod 777 rc.bootupx
/rc.bootupx
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Fail to get an IP from DHCP server after installing fvdw-sl

Postby Draftmancorp » Mon Apr 22, 2019 5:06 pm

fvdw wrote:oke attached a new file in the zip file you will find rc.bootupx
In this file I have taken out the setup of lan interface

unpackt the zip archive and use winscp to put the file in main folder (/) of the nas
then connect with putty and do this
Code: Select all
chmod 777 rc.bootupx
/rc.bootupx


I think that this command make the nas angry :mrgreen: it's stopped at:
Code: Select all
root@kirkwood-4:/ # chmod 777 rc.bootupx
root@kirkwood-4:/ # /rc.bootupx
 * Initialize the volatile db file...    [ OK ]
 * Starting udevd...                                     [ OK ]
 * Finishing restore RAID devices...     [ OK ]
 * Found database configuration file...  [ OK ]
 * Updating Disks database...                    [ OK ]
 * Starting mount of volumes...
   - Mounting volume Vol-A:  [ OK ]
 * Finishing mount of volumes...                 [ OK ]
 * Generating Hosts File...                      [ OK ]
 * Configuring System Hostname...                [ OK ]
 * Configuring LAN interface...


Want you that I reboot the nas? Assistant can't find nas... 5 minutes so.
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: nos96 and 14 guests