Jump to content

garydapogi

Members
  • Posts

    43
  • Joined

  • Last visited

Posts posted by garydapogi

  1. Yah, I was able to rebuild, then I cleanly shutdown.  Then start up the system again, then after reaching the console, with the blinking cursor on it, I can't type anything. So I can't log in.

     

    I tried to login from another pc in my local network, but WebUi is not reachable. However, when I tried to ping, there was a response. No SSH tho, when I tried.

     

    So, I tried detaching the new parity drive and restarted the system, then when reaching the console, I am able to type in.

     

    Also, tried detaching other drives from the array, and that too works. But when ALL my drives are attached, the keyboard doesn't work. I have 4-drives in the system, 1 ssd cache, 2 data drive, 1 parity drive - the newly replaced one.

     

    NOTE: I don't tinker too much on this system, no tweaking whatsoever.

  2. Just as the title says, I can't login to the server. unRaid Os 6.9.2 Plus

     

    My setup is not new, just added a new parity drive, upgraded the os license from basic to plus.

     

    On the Unraid server itself, there is no keyboard output, so I can't login. No webui either when trying to access it's ip address. So I can't even run diagnostics command.

     

    One thing i noticed, and this is reproduce-able:

    1. shutdown unraid

    2. detach new parity drive

    3. booth unraid until it reaches the console

    4. result: typing on the keyboard works fine. BUT WHEN NEW PARITY DRIVE IS ATTACHED, no keyboard input.

     

    Current System:

    1. UnRaid 6.9.2 Plus

    2. 3 HDDs, 1 parity, 2 data drives

    3. NVME unassigned, used as physical boot drive or main VM

  3. So I have a setup running smoothly previously, but suddenly broke . 

     

    I'm not sure what went wrong, maybe it's a BIOS setting or Unraid config that I changed. 

     

    But to be honest, I've tried running a Linuxmint 20 VM inside of Linuxmint Unraid VM using VirtualBox, and ran smoothly for the past couple months. I don't used it often, but as far as I can remember, it had worked.

     

    Then this week, tried to run the VirtualBox again, and gone through issues with the VBox VM. I see errors and the VM won't boot up at all.

     

    Can anyone help and advise where to look on? Could CPU pinning on Unraid Setting may affect VirtualBox? I think that is the last setting I changed.

     

    Screenshot of the VirtualBox VM booting up:
    bauhYe.jpg

    vVp7ms.jpg

  4. I have VirtualBox running Linuxmint in a Linuxmint VM Host inside Unraid. It was working well before, until recently, it failed to boot.

     

    Error on screen is :

    watchdog: BUG: soft lockup - CPU#0 stuck for 23

    wxmcZoZ.png

     

    I tried the following when troubleshooting the issue:

    1. Reverted VirtualBox back to previous version: Same Result

    2. Switched to Legacy, then, KVM, then Default Virtualization in Virtualbox, also tried Legacy: Same Result

    3. Booted the VirtualBox Host bare metal: No issues at all, so I suspect there might be issues with the nesting.

     

    I don't remember doing any heavy reconfiguration in Unraid that might have caused the issue, just installed the most popular plugins like; CA, UAD, Fix Common Errors, others. 

     

    Any ideas, how to troubleshoot and fix the issue?

    Is it VirtualBox or Unraid Issue?

  5. 38 minutes ago, mattie112 said:

    So to confirm:

    You have 4G internet and you don't want to use that external IP but you want to use a VPN external IP?

     

    Yeah  I do. It's the VPS IP address that I want to use. Also, it's not that I don't want to use the external IP - it's because i'ts on a double NATed connection and I don't have control to both of the ISP routers.

     

    Quote

    Can you (from an other connection) access yourip:80 and yourip:443 this is really the first step, if that doesn't work there is no need in debugging NPM.

     

    No problem there, hitting the VPS' IP address will take visitor to NPM default/welcome page.

     

    Visiting the actual host names of my nextcloud and bitwarden docker will bring up the right pages or home page. This is when using port 80. Once I type the https version - here is where the problem kicks off.

     

    And I don't want to do this:

    Quote

    I assume something like this should work:
    Unraid (or router) -> has VPN connection so it can receive traffic from VPNSERVER. Your VPNSERVER will forward ALL traffic on 80/443 (through iptables yes) to your Unraid. Then your NPM should have just the default config everyone uses.

    ...if only I can install WireGuard on the NPM docker, then that would be great. I don't have the skills for the time being, not sure how to set that up.

     

    You asked:

    Quote

    It looks like you also have Nginx on your VPNSERVER? Why?

     

    Actually, the second server is the Ubuntu VM running on Unraid, it is the VPN Client, NOT the server. It is where NGINX is installed on, then passes the traffic to NPM via proxy_pass. HTTP/S Traffic hitting the VPS IP is being forwarded to this VM.

    And Like I mentioned above (NOTE: 1), Im NOT sure how to solve the issue, what workaround to employ.

     

    As regard:

    Quote

    You want to forward all traffic right, not accept it there and then proxy it to NPM? If you want to accept it there you can simply run NPM on your VPNSERVER

     

    Well, that would be ideal. 

    The problem is, I don't know Docker well. I'm don't know to run it on a server, that's why I choose Unraid to run it for me.

     

    If only I can install Wireguard VPN inside NPM Docker, then would work to. That way, I can forward from VPS/VPN straight to NPM via IP tables + VPN.

     

  6. Hi Lads,

     

    First of all I thank the author for this wonderful Docker. Was able to setup without problem.

     

    Now, it's time to take to the next level and here's what I want to accomplish with it.

     

    Mission: Bypass 4G LTE Double NAT connection, so I can host web services on my local Unraid Server, primarily for Nextcloud and Bitwarden Self Hosting.

     

    NOTE 1: Im not sure on how to attack this one, the Idea is to use the VPS IP, circumvent double NAT, so anyone on the Internet can visit nextcloud.domain.tld, will be forwarded to the Nextcloud Docker hosted in Unraid.

     

    NOTE 2: I don't know how to forward straight to the NPM Docker IP

     

    I Need Help With: Port Forwarding or Tunneling to help accomplish the mission.

     

    What I've Tried So Far:

    1. SSH Remote Port Forwarding:

    Works, but not ideal for production use, IMO.

     

    2. Using a VPS + Wireguard VPN + IP Tables Forwarding + Nginx Proxy pointing to the NPM:

    This worked for the http connection, but not with https. 

     

    Details of the setup:

    - NPM IP: 192.168.254.107

    - NPM Already Created The SSL Certs, when I used SSH Tunnel Port Forward

    - WG VPN SERVER - THE VPS: 10.66.66.1

    - WG VPN CLIENT (with NGINX Installed on Ubuntu): 10.66.66.11

    - IP TABLES PORT FORWARD TO: 80, 443, 8080, 4443 (8080/4443, for testing purposes)

    - WG VPN CLIENT: Ubuntu 20.04 Server with Nginx for Proxy Pass

    - Nginx Config (Im not good at this, just copy pasted from Google):

    server {
        listen 80;
        server_name nextcloud.domain.tld;
    
        location / {
                proxy_pass http://192.168.254.107:8080/;
                proxy_set_header Host $host;
                proxy_set_header X-Forwarded-For $remote_addr;
        }
    }
    
    
    server {
        listen 443;
        server_name nextcloud.domain.tld;
    
        location / {
                proxy_pass http://192.168.254.107:4443/;
                proxy_set_header Host $host;
                proxy_set_header X-Forwarded-For $remote_addr;
        }
    }

     

     

     

  7. 2 hours ago, SimonF said:

    Do you get this once the system wakes up from sleep? Can you provide an extract of your syslog after a wake up so I can see if there are any USB disconnects.

     

    No, I get the error randomly, while using the VM.

  8. On 4/28/2021 at 2:42 AM, SimonF said:

    When you get the error can you run  virsh qemu-monitor-command "Windows 10" --hmp 'info usb'   replacing Windows 10 with your VM Name i.e. Mintxxxx

     

    So, it happened again, please check output below:

     

    Device 0.0, Port 2, Speed 1.5 Mb/s, Product USB Optical Mouse, ID: hostdev5
    Device 0.0, Port 4, Speed 12 Mb/s, Product Gaming Mouse, ID: hostdev7
    Device 0.0, Port 5, Speed 12 Mb/s, Product Gaming Mouse, ID: hostdev8
    Device 0.0, Port 6, Speed 1.5 Mb/s, Product USB Optical Mouse, ID: hostdev9
    Device 0.0, Port 7, Speed 12 Mb/s, Product Gaming Mouse, ID: hostdev10
    Device 0.0, Port 8, Speed 1.5 Mb/s, Product USB Optical Mouse, ID: hostdev11
    Device 0.0, Port 9, Speed 12 Mb/s, Product Gaming Mouse, ID: hostdev12
    Device 0.0, Port 10, Speed 12 Mb/s, Product Gaming Mouse, ID: hostdev13
    Device 0.0, Port 11, Speed 1.5 Mb/s, Product USB Optical Mouse, ID: hostdev14
    Device 0.0, Port 12, Speed 12 Mb/s, Product Gaming Mouse, ID: hostdev15
    Device 0.0, Port 13, Speed 1.5 Mb/s, Product USB Optical Mouse, ID: hostdev16
    Device 0.0, Port 14, Speed 12 Mb/s, Product Gaming Mouse, ID: hostdev17
    Device 0.0, Port 15, Speed 12 Mb/s, Product Gaming Mouse, ID: hostdev18
    Device 0.1, Port 1, Speed 1.5 Mb/s, Product USB Keyboard, ID: hostdev19
    Device 0.2, Port 3, Speed 1.5 Mb/s, Product USB Optical Mouse, ID: hostdev20

     

  9. On 4/10/2021 at 1:47 AM, SimonF said:

    @garydapogiEach VM has a limit on the number of Virtual USB ports, I think the default is 5. I think you can increase, not sure why it would have changed in 6.9.2.

     

    You can sometimes clear by powering down VM and restarting. Not reboot has that doesnt release the virtual ports.

     

    Also disconnects can sometimes leave devices connected and not freeing up ports..

     

    This was the post for increasing ports.

     

     

     

    You need to change USB type in template to 

     

    image.png.bbbc99e9bebb2afa74a2879e1b338b0b.png

     

    This will support 15 ports.

     

    Hi @SimonF

     

    I'm still experiencing similar error, keyboard gets disconnected randomly. Keeps happening on specific keyboard.

    Should I increase the ports? -- (turned out it was already set to 15, which is the maximum)

    Error in the USBIP Devices Page:

    error: Failed to attach device from /tmp/libvirthotplugusbbybusLinuxMint 20.1.xml error: internal error: No free USB ports 

     

    Error in Log:

     

    Apr 28 01:07:11 AORUSPROAC kernel: input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.0/0003:0C45:9510.0028/input/input88
    Apr 28 01:07:11 AORUSPROAC kernel: hid-generic 0003:0C45:9510.0028: input,hidraw0: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:02:00.0-6.1/input0
    Apr 28 01:07:11 AORUSPROAC kernel: input: SONiX USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:0C45:9510.0029/input/input89
    Apr 28 01:07:11 AORUSPROAC kernel: input: SONiX USB Keyboard System Control as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:0C45:9510.0029/input/input90
    Apr 28 01:07:11 AORUSPROAC kernel: input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:0C45:9510.0029/input/input92
    Apr 28 01:07:11 AORUSPROAC kernel: hid-generic 0003:0C45:9510.0029: input,hiddev96,hidraw2: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:02:00.0-6.1/input1
    Apr 28 01:07:12 AORUSPROAC unraid.usbip-gui: Info: rc.unraid.usbip-gui usb_add SONiX_USB_Keyboard /dev/bus/usb/001/024 001 024
    Apr 28 01:07:12 AORUSPROAC unraid.usbip-gui: Info: rc.unraid.usbip-gui Autoconnect vm state:running SONiX_USB_Keyboard running 001 024
    Apr 28 01:07:12 AORUSPROAC acpid: input device has been disconnected, fd 6
    Apr 28 01:07:12 AORUSPROAC acpid: input device has been disconnected, fd 7
    Apr 28 01:07:12 AORUSPROAC acpid: input device has been disconnected, fd 8
    Apr 28 01:07:12 AORUSPROAC acpid: input device has been disconnected, fd 9
    Apr 28 01:07:31 AORUSPROAC kernel: usb 1-6-port1: disabled by hub (EMI?), re-enabling...
    Apr 28 01:07:31 AORUSPROAC kernel: usb 1-6.1: USB disconnect, device number 24
    Apr 28 01:07:31 AORUSPROAC unraid.usbip-gui: Info: rc.unraid.usbip-gui usb_remove /dev/bus/usb/001/024 001 024
    Apr 28 01:07:31 AORUSPROAC unraid.usbip-gui: Info: rc.unraid.usbip-gui Removed SONiX_USB_Keyboard vm: LinuxMint 20.1 001 024
    Apr 28 01:07:31 AORUSPROAC kernel: usb 1-6.1: new low-speed USB device number 25 using xhci_hcd
    Apr 28 01:07:31 AORUSPROAC kernel: input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.0/0003:0C45:9510.002A/input/input93
    Apr 28 01:07:31 AORUSPROAC kernel: hid-generic 0003:0C45:9510.002A: input,hidraw0: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:02:00.0-6.1/input0
    Apr 28 01:07:31 AORUSPROAC kernel: input: SONiX USB Keyboard Consumer Control as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:0C45:9510.002B/input/input94
    Apr 28 01:07:31 AORUSPROAC kernel: input: SONiX USB Keyboard System Control as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:0C45:9510.002B/input/input95
    Apr 28 01:07:31 AORUSPROAC kernel: input: SONiX USB Keyboard as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6.1/1-6.1:1.1/0003:0C45:9510.002B/input/input97
    Apr 28 01:07:31 AORUSPROAC kernel: hid-generic 0003:0C45:9510.002B: input,hiddev96,hidraw2: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-0000:02:00.0-6.1/input1
    Apr 28 01:07:31 AORUSPROAC unraid.usbip-gui: Info: rc.unraid.usbip-gui usb_add SONiX_USB_Keyboard /dev/bus/usb/001/025 001 025
    Apr 28 01:07:32 AORUSPROAC unraid.usbip-gui: Info: rc.unraid.usbip-gui Autoconnect vm state:running SONiX_USB_Keyboard

     

  10. Hi! newbie here.

     

    First of all, thank you for bringing us these docker images.

     

    Can you please help explain a bit if how i can use this in my network.

     

    I have the following:

    1. Network: 192.168.254.1.0/24

    2. Gateway: 192.168.254.254

    3. ISP Router IP: 192.168.254.254

    4. Unraid br0: 192.168.254.0/24

    5. OpenVPN AIO Client Torless, Custom br0: 192.168.254.102

     

    Question:

    1. how should I use the docker vpn from local client machines? i.e., I have a Linux VM inside Unraid?

    2. how do I know if VPN is connected successfully to a remote VPN server?

    3. how to use an openvpn .ovpn config file, where credentials/login is linked to a text file from the .ovpn config file?

     

    Logs when I start the docker:

    /nftables.rules:11:27-31: Error: syntax error, unexpected sport
    add rule ip filter INPUT sport counter accept
    ^^^^^
    /nftables.rules:24:28-32: Error: syntax error, unexpected dport
    add rule ip filter OUTPUT dport counter accept
    ^^^^^
    [info] Quick block test. Expected result is time out. Actual result is xxx.xxx.xxx.xxx
    [info] All rules created
    
    [info] Setting up OpenVPN tunnel
    [info] Create tunnel device
    [info] Allow DnS-over-TLS for openvpn to lookup VPN server
    Error: Could not process rule: No such file or directory
    add rule ip filter INPUT tcp sport 853 counter accept
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Error: Could not process rule: No such file or directory
    add rule ip filter OUTPUT tcp dport 853 counter accept
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [info] Connecting to VPN on port with proto ...
    [info] Your VPN public IP is xxx.xxx.xxx.xxx
    [info] Block DnS-over-TLS to force traffic through tunnel
    Error: Could not process rule: No such file or directory
    list table filter
    ^^^^^^
    Error: syntax error, unexpected newline, expecting number
    delete rule filter INPUT handle
    ^
    Error: Could not process rule: No such file or directory
    list table filter
    ^^^^^^
    Error: syntax error, unexpected newline, expecting number
    delete rule filter OUTPUT handle
    ^
    [info] Change DNS servers to 127.2.2.2
    [info] Adding 127.2.2.2 to /etc/resolv.conf
    [info] Allowing DNS lookups (tcp, udp port 53) to server '127.2.2.2'
    Error: Could not process rule: No such file or directory
    add rule ip filter INPUT ip saddr 127.2.2.2 tcp sport 53 ct state established counter accept
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Error: Could not process rule: No such file or directory
    add rule ip filter OUTPUT ip daddr 127.2.2.2 tcp dport 53 ct state new,established counter accept
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Error: Could not process rule: No such file or directory
    add rule ip filter INPUT ip saddr 127.2.2.2 udp sport 53 ct state established counter accept
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Error: Could not process rule: No such file or directory
    add rule ip filter OUTPUT ip daddr 127.2.2.2 udp dport 53 ct state new,established counter accept
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [info] Done
    
    [info] Run danted in background on port 9118
    Apr 25 18:34:59 (1619346899.648587) danted[103]: error: /etc/dante/danted.conf: problem on line 3 near token "tun0": could not resolve hostname "tun0": Name or service not known. Please see the Dante manual for more information
    Apr 25 18:34:59 (1619346899.648662) danted[103]: alert: mother[1/1]: shutting down
    
    [info] Run tinyproxy in background with no log on port 8118
    WARNING: logging deactivated (can't log to stdout when daemonized)

     

  11. Hi @SimonF

     

    Im getting virsh error on my 6.9.2 machine. AFAIK, I'm not getting this error before.

    Attached are 2 kb + 3 mouse.

     

    1 of the kb and mouse is getting this error everytime :

     

    Error: Failed to attach device from /tmp/libvirthotplugusbbybusLinuxMint 20.1.xml error: internal error: No free USB ports 

     

    Y1WRMF.jpg

     

    Under Device Log Information:

     

    Apr 10 00:33:03 AORUSPROAC kernel: usb 1-6.1: USB disconnect, device number 5
    Apr 10 00:33:03 AORUSPROAC kernel: usb 1-6.1: new low-speed USB device number 17 using xhci_hcd

     

    No other error in unraid log.

  12. @joie95 Im holding off this idea for now.

     

    I'm going for the client/server route, where unraid is the server, client would be an old laptop to remote administer the server via ssh or webui.

     

    Also, Im getting a 2nd GPU for Windows 10 GPU passthrough. 

     

    BTW, I found this blogpost, but I don't have time to try, it's an old post and not sure if applicable to 6.9.0, I just breezed through it:

    https://arseniyshestakov.com/2016/03/31/how-to-pass-gpu-to-vm-and-back-without-x-restart/

     

  13. Hi, I tried this plugin where a Linux VM is suspended via the VM itself. Then tried waking it up using the WakeOnLAN Plugin - it worked!

     

    However, I tried waking up the Linux VM from  another Linux Machine using etherwake command, but it failed. 

     

    I get error:

    SIOCGIFHWADDR on br0 failed: No such device

    or

    SIOCGIFHWADDR on eth0 failed: No such device

     

    Any ideas?

     

    UPDATE:

    Did a wakeonlan command and it worked.

  14. 5 hours ago, SimonF said:

    Do you use the S3 sleep plugin as it has before and after scripts

    Yes I do use it, however Im I know nothing about the before/after scripts. But yah, I get the idea, we could use that feature to do as you you said. 

     

    Here's my screenshot btw:

    - In my VM setting, the mouse is passed through: https://i.snipboard.io/IGghF4.jpg

    - In USB Page, mouse is set to auto connect on VM start, not sure how to use the settings on there tho. Also, I see the virsh error there after waking up the VM - https://i.snipboard.io/fMhSYx.jpg

     

    So the workflow I tried:

    1. I suspend the Linux VM via the Linuxmint Suspend button.

    2. Suspend the unRaid server using the Sleep Button provided by the S3 plugin

    3. Wake the unRaid server up > Manually unpaused the Linuxmint VM via GUI, result: mouse not working, virsh error pop up on the USB page.

     

    Syslog, sending via PM

  15. 4 minutes ago, SimonF said:

    Just to confirm you suspend VM just via the VM menu(Hibernate) options or by some other process?

     

    Im using Linuxmint Mint, I click on the Suspend button in the VM itself.

     

    Quote

    Do you see any messages similar to these in the syslog if you have added lines into hook file?

     

    I can't do this now, however I have a copy of the exact error code in the Linux VM, it says:
    libusb_release_interface: -4 [NO_DEVICE]

     

    The moment I see that line, mouse is not working, so I have to manually attach it via the Libvirt USB Hotplug.

    I will get back with the syslog you're asking. Machine is dismantled for the time being.

  16. Oh yah! I see the Tab. I did not noticed that before. thanks @SimonF

     

    I was looking at the wrong place - the usual gear icon of an app. 

     

    Will this plugin solve my case, where (no. 5):

    1. I suspend a Linux VM

    2. Suspend unRaid server via S3 Plugin

    3. Wakes up unRaid

    4. Wakes up the Linux VM

    5. USB Mouse won't re-attach

     

    unRAID 6.9.0

×
×
  • Create New...