Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Static IP config problem

Featured Replies

Hi all,

 

I've had my array set up and working happily for some time now but with a DCHP set up.  Today I attempted to change to a static IP from within the management util by changing obtain IP automatically to NO and chose a IP address outside the DCHP range.  All other settings were left unchanged.  Now it doesn't work!

 

Can some kind soul help someone who doesn't know what they're doing and who clearly should leave well alone!

Thanks in advance.

  • Author

Nope. Everything else was left as it was. What do I have to do to resolve the problem?

You need to set the address of your local DNS server -- check one of your other systems to see what your setup is using.

 

It's probably the base address of your router ... but check to be sure.

 

On a Windows box, open a command prompt, then run "IPCONFIG /all"  to see the current network parameters.

 

  • Author

Garycase - thanks I really do appreciate your help.  So I open a command prompt and look at my ip config details.  its listing 2 dns server addresses. To ask some basic questions, how do I know which one to use and how to I reset it seeing as i can no longer access the management utility?

 

Do i need to hook up a monitor to my tower?

  • Author

Can you access the Web GUI using the IP address you set?

 

i.e. http://aaa.bbb.ccc.ddd/main

... where aaa, bbb, etc. is the IP address you set

 

No, and if i access my router GUI I can no longer see my tower as an attached device.

No, and if i access my router GUI I can no longer see my tower as an attached device.

 

That's normal -- YOU have assigned the IP ... not the router.

 

I'd reboot the server AND your client PC (after doing so with the server) and see if the problem persists.

 

To reboot it, just press the power button momentarily ... then wait -- it should shut down gracefully in a minute or so.    Then restart it.

 

  • Author

Tried rebooting everything, including the router with no joy.

It sounds like you might have assigned an address outside of the lan ip block.

 

Sent from my SAMSUNG-SGH-I747 using Tapatalk 4

 

 

  • Author

It sounds like you might have assigned an address outside of the lan ip block.

 

Sent from my SAMSUNG-SGH-I747 using Tapatalk 4

 

192....300

 

It sounds like you might have assigned an address outside of the lan ip block.

 

Sent from my SAMSUNG-SGH-I747 using Tapatalk 4

 

192....300

??? 300 ???

254 is normally the highest usable address in small private networks IPv4, 255 is used sometimes, never 256-999.

Also, 192.x.x.x is not internal only, you will have a bad time if you try to use any other 192 segment besides 192.168.x.x

 

Try reading here for more info.

It sounds like you might have assigned an address outside of the lan ip block.

 

Sent from my SAMSUNG-SGH-I747 using Tapatalk 4

 

192....300

 

300 is definitely not a valid address.

 

If your LAN subnet is, for example, 192.168.0.xxx, then you want to assign a value in the same subnet,  e.g. perhaps 192.168.0.201

 

  • Author

My bad.  I thought that I needed to assign an address outside of those assigned by the router, ie to 192.168.0.254

 

Can someone help me get my tower back on line?!!

 

Thanks.

Try 192.168.0.215

 

Sent from my SAMSUNG-SGH-I747 using Tapatalk 4

 

 

If you have a monitor and keyboard attached to your server, you can sign in at the console instead of through putty/web, and type this command

 

mcedit /boot/config/network.cfg

 

That will bring up your network configuration. This is what my network settings look like (with the IP addresses removed, just input your own values inside the quotes):

 

USE_DHCP="no"
IPADDR="xxx.xxx.xxx.xxx"
NETMASK="255.255.255.0"
GATEWAY="xxx.xxx.xxx.xxx"
DHCP_KEEPRESOLV="no"
DNS_SERVER1="xxx.xxx.xxx.xxx"
BONDING="no"
BONDING_MODE="1"

 

Once that's all typed out, press F2 to save, then F10 to quite. You'll probably need to reboot your server again, but once it's back up, you should be able to connect to it again.

  • Author

Excellent.  I'll try as soon as I get the chance.  Thanks for the help.

If you don't have a console on your UnRAID box, you can, of course, simply remove the flash drive and do this edit on another PC  :)

  • Author

Excellent peeps, followed the sage advice given and all up and running.  Thank you one and all.

 

One last question which has arisen from this episode: is it ok to shut the array down by quickly pressing the power button on the machine or is there a preferred alternative method?

 

 

Pressing the power button will initiate a correct shutdown, so that's okay.

Most folks, however, do it via the Web GUI => Stop the array; then you'll get a "Shut Down" button.

 

 

Stop the array from the gui and power down from the gui.  Pressing the power button will not stop the array, which could result in data loss, and will result in a parity check.

 

Sent from a mobile device, sorry for any typos.

 

 

Pressing the power button will not stop the array, which could result in data loss, and will result in a parity check.

 

Pressing the power button does indeed stop the array, at least on systems with the Powerdown script installed.    I'm fairly certain it does so on stock UnRAID as well, although all of my systems have UnMenu with the Powerdown script installed.    I'll confirm this on a stock system in a bit and post back if it doesn't shut down "gracefully" ... but I'm almost certain it does.

 

Pressing the power button will not stop the array, which could result in data loss, and will result in a parity check.

 

Pressing the power button does indeed stop the array, at least on systems with the Powerdown script installed.    I'm fairly certain it does so on stock UnRAID as well, although all of my systems have UnMenu with the Powerdown script installed.    I'll confirm this on a stock system in a bit and post back if it doesn't shut down "gracefully" ... but I'm almost certain it does.

 

It may depend on bios options. I am pretty sure I have seen bios settings where you can set the power button to instant-off. If that's set I don't think unraid will shut down correctly.

 

Sent from a mobile device, sorry for any typos.

 

 

I have NEVER seen a BIOS that let you change the behavior of the power button.    You can often set the power state when power is applied -- i.e. "same as when power was lost", "always on", or "always off" are the usual choices.

 

... The OS often allows you to modify the actions -- e.g. in Windows you can make it "do nothing", "sleep", or "hibernate", or "shut down" (and "shut down" is, as with UnRAID, a "graceful" shutdown -- same as if you clicked - Start -Shutdown - Power Off).

 

Remember the power switch is NOT an actual power switch -- it generates an interrupt to a chipset microprocessor (NOT the main CPU) that then notifies the OS that a power-switch event has occurred.    That same microprocessor will recognize a continuous press (3-5 seconds) of the power button; and in that case will indeed simply "tell" the power supply to shut off -- independent of the OS.

 

  • 2 weeks later...

I have NEVER seen a BIOS that let you change the behavior of the power button.    You can often set the power state when power is applied -- i.e. "same as when power was lost", "always on", or "always off" are the usual choices.

 

... The OS often allows you to modify the actions -- e.g. in Windows you can make it "do nothing", "sleep", or "hibernate", or "shut down" (and "shut down" is, as with UnRAID, a "graceful" shutdown -- same as if you clicked - Start -Shutdown - Power Off).

 

Remember the power switch is NOT an actual power switch -- it generates an interrupt to a chipset microprocessor (NOT the main CPU) that then notifies the OS that a power-switch event has occurred.    That same microprocessor will recognize a continuous press (3-5 seconds) of the power button; and in that case will indeed simply "tell" the power supply to shut off -- independent of the OS.

 

A google search will show you that there are BIOSes that do allow this option. 

 

I think it was AWARD bioses that I saw it in, but can't be sure.

 

Here's an example of it:

 

https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/5/html/Cluster_Administration/s2-bios-setting-CA.html

 

While I haven't seen the BIOS entry on recent motherboards, it did exist, and could affect users.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.