RTNETLINK answers: Operation not supported [closed] - networking

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
In fact, I want to use pipework to add an ipoib interface into docker container.
Pipework use ip command to do this. But when running the command...
ip link add link ib0 name ib0.2613 type ipoib
I get
RTNETLINK answers: Operation not supported
I searched google and find this
It list all the kernel configuration that iproute2 need. I try this ,but it dosn't work for me.
My OS is "3.19.0-25-generic #26~14.04.1-Ubuntu".
Any help would be appreciate!

I got a similar error,
you should try this:
# apt-get install wireguard-dkms wireguard-tools linux-headers-$(uname -r)
It worked for me, kernel headers missing :shrug:

Maybe you're missing linux-headers. That was my case when I tried to install wireguard and got similar error after typing sudo ip link add dev wg0 type wireguard.
I resolved this by installing the linux-headers corresponding to my kernel version.
In my case, I had kernel version 4.9.0-8-amd and so I installed the package linux-headers-4.9.0-8-amd:
sudo apt install linux-headers-4.9.0-8-amd
There is little informations about this on the internet and I had to find this on the wiki of ArchLinux.

Update the kernel version to 4.17 or above

For me the solution was to disable the secure boot in the bios / uefi and then to reboot my laptop. After that, no more "RTNETLINK answers: Operation not supported" issue !

Related

How to make sure that a process on Gunicorn3 runs continuously? [closed]

Closed. This question is not about programming or software development. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 months ago.
Improve this question
I have a flask app deployed on a Ubuntu server. I use Nginx, and Gunicorn3. I know from this StackOverflow post that one of the correct ways to have the app running continuously on the server is to use something like:
gunicorn3 app:application --workers 3 --bind=127.0.0.1:1001 --daemon
But to be completely safe, since there are many other processes running on that server, I would like to find a way to check whether this process IS indeed running, and if it is NOT running (for whatever reasons) then to start it again.
In addition to that question, to make the app working at reboot, I use the following cronjob:
#reboot bash ~/restart_processes.sh
Where the .sh file executes the command line given above for starting Gunicorn3. Is this good practice or is there a better way to achieve the same result?
Thank you!
Kind regards,
I always use to deploy it in production with supervisorctl + nginx. Check this tutorial . You can simply start, restart or stop with a command.

Tunnel ---------ngrok.io not found [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am trying out Hidden Eye from GitHub as a test with my friends.
Hidden Eye works like this:
1. It makes a fake login page.
2. Uses ngrok to forward this to the people outside your network.
When my friend does it, it works but when I ask him to run for example 2107f2ac.ngrok.io it says Tunnel 79cd0b59.ngrok.io not found.
I have restarted, reinstalled and done everything under the moon.
I thought that ngrok passes firewalls but my only guess is maybe my firewall is blocking it so I added a firewall exception of the ngrok port but it still does not work.
Please help
The generated link is online as long as your terminal/shell is open once you generate link and turn terminal off then it won't work. So if you close your terminal you need to regenerate new link.
I had the same problem and here is the solution: The ngrok system fails many times when the user is not authenticated, I recommend that you log in to the official ngrok web, create an account, follow all the steps indicated in the page and it should work fine for you, I did that and solved the problem
I might be really late, but I came up with the same problem a few days ago, and solved it, the problem I had was that first my tunnel didn't work at all and after that only in local host, but I figured it is because I was using a virtual machine, so Use a dual boot and this should solve the problems, I have encountered a lot of people that says Virtual machines have a lot of bugs with different tools.
Mauricio

Windows SSTP VPN - connect from Mac [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
You may know that windows server VPN often can run on SSTP. Connecting from Windows 10 is pretty easy, but if you have to work remotely from your personal Mac? Mac OS does not support SSTP VPN out of the box.
Below is short instruction what to do if you want to connect Windows SSTP VPN from MacOS
Prerequisites:
Homebrew installed - see here
Run terminal and install sstp-client
brew update
brew install sstp-client
In order to connect to your SSTP VPN with login and password use the following command line:
sudo /usr/local/sbin/sstpc --log-stderr --cert-warn --user <user> --password <password> <server> usepeerdns require-mschap-v2 noauth noipdefault defaultroute refuse-eap noccp
If you prefer to have UI to start your VPN connection you can use iSstp
https://www.axot.org/2015/03/03/isstp-a-sstp-client-for-mac-osx/
I hade some problem with this too, so I deleted one /sstpc and command sudo /usr/local/sbin/sstpc was correct

Ubuntu - Where is the correct sources.list file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Here is my Ubuntu version
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
I need the most up-to-date list for /etc/apt/sources.list as I had previously changed a few things around. Any idea where I can find this?
For example, right now I cannot even install nginx (apt-get install ngnix) as my distribution cannot even seem to find it!
The problem is most likely related to the fact that Ubuntu Quantal reached end of life on May 16 2014 and is no longer supported (http://fridge.ubuntu.com/2014/05/01/ubuntu-12-10-quantal-quetzal-reaches-end-of-life-on-may-16-2014/)
It is recommended that you upgrade of course since you will not receive any more updates. However, if you want to keep using an old version of Ubuntu, you need to change your sources.list file to point to archived repositories. You will not receive upgrades, but you will be able to install software. The process is explained here:
https://help.ubuntu.com/community/EOLUpgrades

Debian Wheezy Networking Spontaneously Shuts Down [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I have just recently upgraded to Wheezy. Since I have updated my server will spontaneously kill networking. What logs could I look in to see if I can find the issue? I have looked in /var/log and there are no logs that look relevant that have been updated in the past few days. This server runs headless so re-enabling networking means turning the server off and on again as I can't ssh to it.
Any suggestions would be welcome.
Thanks
var/log/syslog should have something. You can run dmesg which may pick it up if it's a kernel module problem or something - to find the module name use lspci -v | grep -i ethernet and look for the module name a few lines later (it could be e1000 or something). Use the module name when grepping the dmesg output.

Resources