Jump to content

johnodon

Community Developer
  • Posts

    1,879
  • Joined

  • Last visited

Posts posted by johnodon

  1. I have KVM.IMG that I would like to create a virtual machine around. I may be completely daft right now but I can only seem to find ways to make a VM with an installer image. If I have a preset KVM.IMG how can I set a VM to use that?

     

    If I am understanding you correctly, you should be able to create a custom VM using any of the templates (say Linux) and set Primary vDisk Location Manual and point it to that IMG file.

     

    John

  2. With Kodi continually having problems running headless (kodi's issue, not LSIO's), the easiest solution by far is to simply run a libreelec VM with 512M memory, and no passthrough.  It works perfectly with VNC, and then you also have the additional bonus of being able to easily run other scrapers instead of the stock ones.

     

    +1

     

    Squid...are you using Kodi (addon) to scrape?  I currently use Emby but wouldn't be opposed to moving this function back to Kodi.  Is there one on particular you like?

     

    John

  3. I just crawled out of bed but will play with this later.  My whole reason for wanting this is to be able to force my Deluge and SAB containers through my VPN.  Right now I send the entinre unraid server that path.  For this purpose, I will also pass

    --dns=xxx.xxx.xx.xx

    to those two containers to avoid DNS leaks since they obtain their entries from the host and anything set at the router level via DHCP is not applied.

     

    Just to clarify. I have not tried dns setting using pipework. I have pipework giving dockers their own static IP and then using my router to manage traffic priority or pushing the traffic through a vpn if necessary.

     

    Be careful of this...

     

    Even though I was telling pfsense to assign my containers the DNS servers of my VPN provider, it was being overwritten by Docker with tells the container to get them from the host.

  4. FYI..found the PHP file that needs to be modified to allow selecting the custom network:

     

    /usr/local/emhttp/plugins/dynamix.docker.manager/include/CreateDocker.php

     

    The relevant section...

     

            <td>Network Type:</td>
            <td>
              <select name="contNetwork" class="narrow">
                <option value="bridge">Bridge</option>
                <option value="host">Host</option>
                <option value="none">None</option>
              </select>
            </td>

     

    I imagine adding a line to the GO file to either inject the custom network (or overwrite the file with a modified one) can be done.  I may also ask for a feature request to dynamically create the network list in the container config based on 'docker network ls' (or some other way).

     

    John

  5. Couldn't help myself from having a go at this again as it has been bugging me.

     

    I had some success using a "home-assistant" docker and my second and unused nic "eth1".

     

    Background network info:

    - physical router/gateway: 192.168.2.1

    - subnet mask: 255.255.255.0 or /24

    - docker container static ip: 192.168.2.106

     

    I used the following commands to get my docker network up:

    docker network create --subnet 192.168.2.0/24 --aux-address "DefaultGatewayIPv4=192.168.2.1" --gateway=192.168.2.2 -o com.docker.network.bridge.name=br-home-net homenet
    brctl addif br-home-net eth1
    ip a del 192.168.2.2/24 dev br-home-net

    The part about deleting the gateway may not be necessary. But I was following steps from someone else so kept it the same for the meantime.

     

    Then to add the ip to the docker i added the following extra parameter:

    --net homenet --ip 192.168.2.106

    Make sure your network is set to "None"

    I was concerned that the --net config showing up twice, once for "None" and then again for our custom network might cause issues but not in this case.

     

    Next step will be:

    - To test some other containers and see how they go.

    - Figure out a way for those with only one interface to be able to use this feature.

    - automate the creation of the docker network

    - let others test the process and see how it goes

    - if it work suggest that it be built into unraid GUI

     

    A quick note on something I did that isn't normal: I had tried using the inbuilt bridge feature suggested in the earlier post to make br1. This is not what you need to do. So I manually deleted my bridge because I didnt want to take down my VM to do so. I hope that doesnt impact my results but I will test this later. Is used the follwinf command to do so:

    ip link set br1 down
    brctl delbr br1

     

    I knew this could be done!  :)

     

    How did you configure eth1 in the unraid network settings?  Did you have to turn on bridging?

     

    The one thing that is nice is that after you create the new network, it survives a reboot.  Now I wonder if there is a file somewhere in Dynamix (or somewhere else) that we can edit to make the new network available in the dropdown on the container editing page.

     

    I just crawled out of bed but will play with this later.  My whole reason for wanting this is to be able to force my Deluge and SAB containers through my VPN.  Right now I send the entinre unraid server that path.  For this purpose, I will also pass

    --dns=xxx.xxx.xx.xx

    to those two containers to avoid DNS leaks since they obtain their entries from the host and anything set at the router level via DHCP is not applied.

     

    John

  6. Gary have you tried rather than creating a vdisk for the vm actually passing through the whole disk for the vm.

     

    This intrigues me.

     

    My WIN10 VM lives on an SSD cache pool.  However, I have a 2TB USB3 hard drive (2.5") connected to a controller that is stubbed.  The WIN10 VM has exclusive access to that controller (and drive).  I use this drive as the game library for that VM.

     

    While this works *well*, would a better option be to create a 500GB vdisk (G: drive) and use that for the game library?  Also, what are the thoughts about putting said vdisk on the array?  Is that even a viable consideration?

     

    john

  7. Specs of my current rig are in my signature.

     

    I am currently passing through a GTX 950 to a WIN10 VM for my boys to use as a gaming machine.  So far it is working wonderfully, however, I am obviously not taking full advantage of the GPU due to the age of the PCI bus on my current MB.  Also, it seems that quite a few PC games do not have 'couch co-op' where then console counterpart does (i.e. Star Wars Battlefront), which is a shame.

     

    That being said, I want to buy another GTX 950 to passthrough to a 2nd WIN10 VM so my boys can game head-to-head on local LAN (or WLAN...whatever the case).  So, without breaking the bank (under $500 for the MB/CPU), I am in the market for a MB/CPU combo that will support both cards and have enough juice to drive them nicely.  FYI...this will be the ONLY purpose of this box (no NAS).

     

    Suggestions?

     

    John

  8. I'm just going to say...

     

    THIS IS F'ING AWESOME!

     

    scpserver is working Beautifully!  2x PS3 dualshock controllers paired.  I have about 12 games loaded up on the server.  A GTX 950 is passed through to a WIN10 VM running Kodi.  I am using Advanced Launcher as a frontend and it has not had a single hiccup.  The boys are playing Gauntlet Slayer Edition right now and LOVING it.

     

    I return the PS4 tomorrow!

     

    BTW...LEGO games rule!  lol  Batman, Star Wars, Avengers, Harry Potter, POTC, LOTR, Hobbit, Jurassic World, Indiana Jones, etc.  It's all good!

     

    :D

  9. UPDATE:  I guess 4 is a charm.  I'm not sure if stubbing the USB controller was the key (I think it was for syncing the controllers to the BT adapter as it took twice to disconnect/connect) but everything seems to be behaving.

     

    Time to load up Steam BPM with games and let the boys have at it.  If all goes well, I will be returning a $350 PS4 this weekend.  :)  Not to mention..cough cough...no more buying games...cough cough.

     

    John

  10. Try this: http://forums.pcsx2.net/Thread-XInput-Wrapper-for-DS3-and-Play-com-USB-Dual-DS2-Controller

     

    If the Bluetooth adapter is passed through correctly it should work. I currently dont have a BT adapter connected but IIRC it worked with a usb BT adapter. The pcsx2 XInput Wrapper also does not have ads (and maybe even adware or malware) like "MotionInJoy".

     

    EDIT: The original developer of the xinput wrapper stopped updating it. But someone created a new version using the source code. http://forums.pcsx2.net/Thread-ScpToolkit-XInput-Wrapper-aka-ScpServer-Reloaded

     

    Thanks.

     

    I have tried both (and also the latest version of the second one from github).  For 3 days now they are driving me nuts!  Either it doesn't see the BT adapter (the most common v4.0 that everyone buys) or the controllers just won't connect to it.  I had this working on my T430 at one point so I was wondering if my issues were more VM related (i.e. not enough power for the adapter).

     

    I just stubbed a PCI-E USB card for use with the WIN10 VM to see if that helps.

     

    John

  11. UPDATE:  Disregard...stupid user error!  :S  I somehow managed to seat the USB card next to the PCI-e slot which I am sure was causing some kind of short (dark and tight quarters in my server).  I just hope that I didn't do perm damage.  My wife will kill me.  Server is coming back up now.

     

    UPDATE #2:  All is right with the world.  No more errors and hardware is behaving.  Lesson learned:  don't thy this crap @ 6am before coffee.

     

    6.2 RC5

     

    I just added a PCI-E USB card to the server and brought it back online.  However, I neglected to connect the power to it (I'm hoping this is the issue as I don't see it in system devices).  Anyway, I was hoping that was part of the root cause of the below...

     

    After I powered back on, I am seeing these messages over and over again in the syslog:

     

    Sep 10 06:49:19 unRAID kernel: igb 0000:01:00.1 eth1: Link Speed was downgraded by SmartSpeed
    Sep 10 06:49:19 unRAID kernel: bond0: link status definitely up for interface eth1, 100 Mbps full duplex
    Sep 10 06:49:20 unRAID kernel: igb 0000:01:00.1 eth1: igb: eth1 NIC Link is Down
    Sep 10 06:49:20 unRAID kernel: bond0: link status definitely down for interface eth1, disabling it
    Sep 10 06:49:28 unRAID kernel: igb 0000:01:00.1 eth1: igb: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
    Sep 10 06:49:28 unRAID kernel: igb 0000:01:00.1 eth1: Link Speed was downgraded by SmartSpeed
    Sep 10 06:49:28 unRAID kernel: bond0: link status definitely up for interface eth1, 100 Mbps full duplex
    Sep 10 06:49:29 unRAID kernel: igb 0000:01:00.1 eth1: igb: eth1 NIC Link is Down
    Sep 10 06:49:29 unRAID kernel: bond0: link status definitely down for interface eth1, disabling it
    Sep 10 06:49:37 unRAID kernel: igb 0000:01:00.1 eth1: igb: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
    Sep 10 06:49:37 unRAID kernel: igb 0000:01:00.1 eth1: Link Speed was downgraded by SmartSpeed
    Sep 10 06:49:37 unRAID kernel: bond0: link status definitely up for interface eth1, 100 Mbps full duplex
    Sep 10 06:49:38 unRAID kernel: igb 0000:01:00.1 eth1: igb: eth1 NIC Link is Down
    Sep 10 06:49:38 unRAID kernel: bond0: link status definitely down for interface eth1, disabling it
    Sep 10 06:49:47 unRAID kernel: igb 0000:01:00.1 eth1: igb: eth1 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX/TX
    Sep 10 06:49:47 unRAID kernel: igb 0000:01:00.1 eth1: Link Speed was downgraded by SmartSpeed
    Sep 10 06:49:47 unRAID kernel: bond0: link status definitely up for interface eth1, 100 Mbps full duplex
    Sep 10 06:49:47 unRAID kernel: igb 0000:01:00.1 eth1: igb: eth1 NIC Link is Down
    Sep 10 06:49:47 unRAID kernel: bond0: link status definitely down for interface eth1, disabling it
    

     

    Did I accidentally bump something when putting the USB card in?  Maybe is shares resources with the onboard NICs and I need to give it power?

     

    My boys are watching cartoons right now so I am kinda stuck unless I let them start playing video games @ 7am so I can shut down the server.  :)

     

    Thoughts?

     

    John

×
×
  • Create New...