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.

stop start VM script

Featured Replies

Hello guys , I am a chinese user , and have a problem while using unraid , could someone help me to think a little :

 

In unraid , running a openwrt VM as the main router , connecting a wifi router as the AP .
Sometimes the openwrt fail to assign the local IP to the wifi client (maybe cause by the bypass router maybe not), so all client under the wifi can't do nothing.
Sometimes I can login in unraid to stop and start the VM by setting a lot thing, sometimes I can't , so just reboot.

I think , maybe I could use a script to detect if unraid couldn't ping the internet or openwrt(10.0.0.99) , then forcestop and start the vm .

 

I didn't know about the script , could someone help or have any idea ?

Thank you .

  • Author

how about this one , haven't try it yet .

 

#!/bin/bash
ping -c10 10.0.0.99 > /dev/null
if [ $? -eq 0 ]
  then
    exit 0
  else
    virsh stop openwrt
    sleep 10s
    virsh start openwrt
fi

Edited by trinculo

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.