Hi,
I've got my NanoBSD installation running so far and now I was trying to update it.
It's booted into the first partition. So I want to use the updatep2 script.
This is how it says to do it:
This is the command I tried:
But this doesn't do anything and returns directly to shell.
This is what ssh -v gives me:
So the command seems to be sent and the paths are all correct. Does somebody know what the problem might be?
Edit: The same happens when using nc to transfer the image like described in the FreeBSD documentation.
I run this on the host:
and then this happens on the nanobsd machine:
I've got my NanoBSD installation running so far and now I was trying to update it.
It's booted into the first partition. So I want to use the updatep2 script.
This is how it says to do it:
Code:
# usage:
# ssh somewhere cat image.s1 | sh updatep2
This is the command I tried:
Code:
ssh dchrist@192.168.5.10 cat /mnt/Mond/Sachen/NanoBSD/_.disk.image | sh updatep2
But this doesn't do anything and returns directly to shell.
This is what ssh -v gives me:
Code:
...
dchrist@192.168.5.10's password:
debug1: Authentication succeeded (password).
Authenticated to 192.168.5.10 ([192.168.5.10]:22).
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug1: pledge: network
debug1: client_input_global_request: rtype hostkeys-00@openssh.com want_reply 0
debug1: Sending command: cat /mnt/Mond/Sachen/NanoBSD/_.disk.image
debug1: client_input_channel_req: channel 0 rtype exit-signal reply 0
debug1: client_input_channel_req: channel 0 rtype eow@openssh.com reply 0
debug1: channel 0: free: client-session, nchannels 1
debug1: fd 1 clearing O_NONBLOCK
Transferred: sent 1880, received 215924 bytes, in 0.1 seconds
Bytes per second: sent 15939.0, received 1830640.7
debug1: Exit status -1
root@nanobsd-nas:~ #
So the command seems to be sent and the paths are all correct. Does somebody know what the problem might be?
Edit: The same happens when using nc to transfer the image like described in the FreeBSD documentation.
I run this on the host:
Code:
nc -l 2222 < _.disk.image
and then this happens on the nanobsd machine:
Code:
root@nanobsd-nas:~ # nc 192.168.5.10 2222 | sh updatep2
root@nanobsd-nas:~ #