I solved IT!
udev rules!
I used what information i got here "Change interface mac (hw) address using udev rules" to change the hardware address on udev level.
That happens before networkd, netplan and omv detects the interface mac address.
The only change differnce from the servefault guide is, i used KERNEL== instread of ATTRS{Serial}== to select my networks.
I will be making a future post somewhere inhere to walktrough what I did.
Posts by Exill
-
-
This thread is very old. OMV 5.x uses netplan. The comment or source-directory comment in interfaces means nothing.
Thank you ryecoaaron!
I have been searching for what network manager omv use and have read a lot conflicted information.
I will try to generate netplan config files and reboot my omw instance.
-
Hello everyone
I recently went back to OMV by installing it on a Synology DS1010+ (Its basically an small computer with a BIOS and everything), but I noticed that there was really poor network performance.
When I dug a little deeper into the issue, I noticed that both NICs, have the same MAC address.
Now, I know some advanced Linux stuff, and I have been poking around in the terminal to locate where I can set the correct MAC addresses as printed on the back of the unit, but without luck.
I noticed that there exists some network configuration in the /etc/openmediavault/config.xml file but that was all I could find.
I know it is possible to set static MAC addresses in config files in Linux and all I want to achieve is, to do it the most possible right way with OMV.
Can someone point me to where I can set the MAC addresses on my NICs?
T.I.A.
Best regards
Exill -
I made a Windows 10 VM and that gave me errors then I tried to Crystal Benchmark a USB drive, so i will head over to VMware now.
I will post my result back here -
Nope. Not even direct passthrough will make it go on USB 3.
-
Should I try and make nother VM with all the USB ports as passtrough to my VM?
-
Just tried it and i still won't go to the USB 3.0 on the 3.16 kernel.
-
Hello all
I've been up all night trying to work this out but with no luck
I just installed ESXi on my Gigabyte BRIX pro gb-bxi7-4770r and I have been using ESXi on another system so I know ESXi really well.
Before I did the installation the OMV was directly on the BRIX's SSD and the USB 3.0 was working 100%.
The BRIX only have USB 3.0 and do not have aney USB 2 ports. So when I do the installation on a VM in ESXi, I add the xHCI before I begin, so I make shure that the OMV sees the controller.
When the installation is done and I add my USB 3.0 devices, I noticed a VERY slow speed compared to what I was used to so I did a "lsusb" and "lsusb -t" and found this:CodeCode
Now I am really confused, because the USB 3.0 devices gets connected as a USB 2 device wich makes no sens at all and the USB 3.0 controller is there.
I have no idea what I have done wrong. I have tried to make a "Debian 7 x64" VM, where it warned me that USB 3.0 might not be supported by the operating system when I added the xHCI controller. But when I created a "Other 3.x Linux x64" VM there was no warning about the USB 3.0 controller.
I have no idea why it won’t connect to the USB 3.0 ports and I REALLY need the speed because of the amount of data I transfer.
Help -
-
Cool thanks.
-
Hello all
This morning I woke up and saw that my software RAID5 was doing this:
http://puu.sh/e3wD3/fb88abd95d.png
Its not a problem, but more a question to what its doing, so that I can better understand it.
So what is it doing?Regards Exill
-
Super.
Thanks for all your help subzero79 !
You saved my day -
When I open a new PuTTY terminal, I open a pre-configured session with my servers address and the non root user I created on the server.
This time I opened a new terminal and used the root user to login and bang: "Authenticating with public key "imported-openssh-key" from agent".!
So all this time, I've created the keys with the root user, but I did not use the root user to login with afterwards. I used the non root user I created in the web interface.So far so good. I just generated a new pair of 4096 keys with the root user and now I can't login with root.
But I added the key to the non root user in the WebGUI and now I can log in with the user but not root.
This is getting more and more wired. But I don't need to directly login as the root user. I need to login as my own non root and from there I can su to root if needed.So for what I need now, its working.
Just at final question before I mark this as solved:
If I added a key via the WebGUI, can I then remove the /.ssh/autherized_keys file from the server?
Because I don't need to login as root from SSH, so theoretically removing that should not effect anything.
I can see that the public key I added to my user in the WebGUI is still showing after I saved it. Is that normal? -
Hmm. I am using puttygen to convert the key I get from the process to a private key, that I load into pagent and then I try to login.
Should I try and generate the key with puttygen and put it into the servers authorized_keys?
Is it better to do this via SSH or use the WebGUI? -
I've tried to put authorized_keys in both folders now, with no luck.
This time I did ajust to be shure.
It still gives me this screen: http://puu.sh/e1tWf/82eab41aa8.png -
I'm going to try that. Just discovered the /root/.ssh folder.
-
Thanks for the answer.
I am using root and I am using /.ssh/authorized_keys.
Going to double-check that just to be shure. -
Hello all
I am trying to add private key to my server, since I need the good security on SSH. I followed this guide:
https://sites.google.com/site/…howto/generate-an-ssh-key
I tried different times, but no success. When I have completed the guide, my putty client says that the connection was refused (Server sent publickey).
The Authentication log on the server says the same thing.
This is my OMV version: http://puu.sh/e1gfp/60163932a5.pngI checked that the key was added to the authenticated keys file and enverything there is OK.
I checked the permissions and they are fine.
I tried to turn on and off the SSH service from the WebGUI but with no luck.
If its not much to ask, I need a little help here.I had a previous server, an Ubuntu Headless Server, where I had 4096 bit private keys on and it worked fine.
I needed new server hardware and needed good dynamic software RAID, so I found OMV and I LOVE IT!
The difference between Ubuntu CLI and Debian CLI is not very big and I am starting to like Debian more and more.
I just cant get those keys to work.
If you need more information to help, please let me know