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 Draftmancorp » Sun Apr 21, 2019 5:21 pm

fvdw wrote:Can you load standalone kernel and connect with telnet mount sda7 on /sda7 and post output of cat /sda7/boot.log

As next trial I am going to make a seperate rcS file used at boot that will only activate an ssh server so we can talk to the nas when booting from harddisk to investigate further what going on there


Yes, i'm here for this :thumbup :
Code: Select all
fvdw-sta-kirkwood login: root
Password:
root@fvdw-sta-kirkwood:/ # mkdir /sda7
root@fvdw-sta-kirkwood:/ # mount /dev/sda7 /sda7
root@fvdw-sta-kirkwood:/ # cat /sda7/boot.log
start boot log
detect and set platform
5big2
kirkwood
UIMAGE-466-KIRKWOOD-7
Current kernel: 4.6.6 #7 PREEMPT Sun May 7 11:50:52 CEST 2017
5big2
 mount dev/pts
update dev nodes
booting using  root file system...
make dev node for buttons...
make dev node for tun device...
enable IP forwarding...
start buttons control daemon
device = 5big2
source = buttons-nwsp2
buttons-nwsp2 daemon started
initializing date
Wed Nov 16 12:00:00 UTC 2011
create temporary passwd file
run udevstart to update dev nodes when necessary
inserting kernel modules:
modprobe: module 'iscsi_trgt' not found
create temporary group file
configure loopback network interface
setting reboot and standby
5big2
rebootd-nwsp2
5big2
standbyd-nwsp2
start fan
starting php based setup routines step 1
 * 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... root@fvdw-sta-kirkwood:/ # umount sda7
root@fvdw-sta-kirkwood:/ #
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 » Sun Apr 21, 2019 5:38 pm

oke thx it stops at cinfiguring lan interface, I will come back later this evening with the rcS file, I still have some visitors here (easter sunday), sorry to keep you waiting
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 » Sun Apr 21, 2019 5:45 pm

fvdw wrote:oke thx it stops at cinfiguring lan interface, I will come back later this evening with the rcS file, I still have some visitors here (easter sunday), sorry to keep you waiting


but don't worry, it's a easter party here too, only that we exaggerated at noon today.
So this evening we are at home for rest :snicker
Thanks to you!!!
see later!
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 » Sun Apr 21, 2019 8:32 pm

ok new rcS file prepared I will upload it in a minute
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 fvdw » Sun Apr 21, 2019 8:41 pm

attached a zip file rcS-new.zip, unzip to get the the file rcS-new
Put this file in the tftp folder of the fvdw-sl console

Load standalone kernel and connect with telnet
In telnet give the commands
In thiese command replace ip-pc by actual ip adress of your pc running fvdw-sl console
Code: Select all
mkdir /sda7
mount /dev/sda7 /sda7
mv /sda7/etc/init.d/rcS /sda7/etc/init.d/rcS-original
tftp -r rcS-new -l /sda7/etc/init.d/rcS -g ip-pc
chmod 777 /sda7/etc/init.d/rcS

check if rcS is changed
Code: Select all
ls -l /sda7/etc/init.d

You should see in the listing a file with name rcS-original and rcS
Please post the output here so I can check it

If all oke
Code: Select all
umount /sda7
poweroff -f

and repeat procedere for boot via uboot console

If all goes wel it will start a ssh server on port 12 and also the discover daemon to be detected by fvdw-sl assistant
If the ssh server starts we could connect with ssh (putty) on port 12 (instead of 22)
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 fvdw » Sun Apr 21, 2019 8:42 pm

wait a minute I have to modify last 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 fvdw » Sun Apr 21, 2019 8:43 pm

done the previous post with commands is updated, please read again
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 » Sun Apr 21, 2019 8:44 pm

fvdw wrote:done the previous post with commands is updated, please read again


OK!! i'm doing.
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 Draftmancorp » Sun Apr 21, 2019 8:49 pm

fvdw wrote:attached a zip file rcS-new.zip, unzip to get the the file rcS-new
Put this file in the tftp folder of the fvdw-sl console

Load standalone kernel and connect with telnet
In telnet give the commands
In thiese command replace ip-pc by actual ip adress of your pc running fvdw-sl console
Code: Select all
mkdir /sda7
mount /dev/sda7 /sda7
mv /sda7/etc/init.d/rcS /sda7/etc/init.d/rcS-original
tftp -r rcs_new -l /sda7/etc/init.d/rcS -g ip-pc
chmod 777 /sda7/etc/init.d/rcS

check if rcS is changed
Code: Select all
ls -l /sda7/etc/init.d

You should see in the listing a file with name rcS-original and rcS
Please post the output here so I can check it

If all oke
Code: Select all
umount /sda7
poweroff -f

and repeat procedere for boot via uboot console

If all goes wel it will start a ssh server on port 12 and also the discover daemon to be detected by fvdw-sl assistant
If the ssh server starts we could connect with ssh (putty) on port 12 (instead of 22)


At: tftp -r rcs_new -l /sda7/etc/init.d/rcS -g 192.168.0.177
I got "tftp: server error: (1) File not found"

maybe "is rcS-new -l"??
Last edited by Draftmancorp on Sun Apr 21, 2019 8:52 pm, edited 1 time in total.
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 » Sun Apr 21, 2019 8:52 pm

Ooops type error, try this

Code: Select all
tftp -r rcS-new -l /sda7/etc/init.d/rcS -g 192.168.0.177
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 8 guests