OpenMediaVault-Plugin-Developers / installScript

script that installs omv-extras and openmediavault if not installed already.
1.07k stars 206 forks source link

Installation brakes with error: IP address may change and you could lose connection... #41

Closed crossband closed 3 years ago

crossband commented 3 years ago

I am trying to install OMV on Raspberry Pi 4 using the script. But the installation stops in the last step with following error: IP address may change and you could lose connection if running this script via ssh. I check the connected devices on my network router, it does not reappear. I reinstalled everything from scratch, again the same problem.

ryecoaaron commented 3 years ago

This has been discussed many times in the forum. Have you logged into your device locally as the user you ran the script with and checked the ip address with: ip a

crossband commented 3 years ago

OK. Thank you for quick response, ryecoaaron. Do you mean I should run "ip a" directly on the device without ssh?

ryecoaaron commented 3 years ago

Yes. If you don't know the ip address, you can't use ssh.

crossband commented 3 years ago

Well. I don't have a cable. I thought I could install it headless. :)

ryecoaaron commented 3 years ago

You can install headless. I have done hundreds of times while testing the script. I have five rpis running right now. If you can't get the networking to setup correctly, you can skip the script's network setup. There are instructions on how to run the script without network setup here - https://github.com/OpenMediaVault-Plugin-Developers/installScript (at the bottom of the readme).

crossband commented 3 years ago

Great, ryecoaaron! Thank you doing great work. I was just following the PDF installation instructions.

ryecoaaron commented 3 years ago

The pdf instructions should work in 99% of situations. There are just some routers that do dumb things when networking is changed but the mac address is still the same. No way for the script to fix that other than skip networking.

crossband commented 3 years ago

I connected it to my old test router and it worked. Perfect! Thanks again for your effort! It was because my main router has IP range of 192.168.2.XXX.