Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sitnl_send: rtnl: generic error (-101): Network is unreachable on buster/raspbian #9

Open
elizabethexpialadocious opened this issue Mar 7, 2022 · 1 comment

Comments

@elizabethexpialadocious
Copy link

elizabethexpialadocious commented Mar 7, 2022

upon start up I get the following error in my syslog:

openvpn[47061]: TCP/UDP: Preserving recently used remote address: [AF_INET]174.128.180.116:443
openvpn[47061]: UDP link local: (not bound)
openvpn[47061]: UDP link remote: [AF_INET]174.128.180.116:443
openvpn[47061]: [99/server] Peer Connection Initiated with [AF_INET]174.128.180.116:443
openvpn[47061]: sitnl_send: rtnl: generic error (-101): Network is unreachable
openvpn[47061]: TUN/TAP device tun0 opened
openvpn[47061]: /usr/local/bin/openvpn-ns tun0 1500 1553 172.18.11.82 172.18.11.81 init
openvpn[47090]: Error: Nexthop has invalid gateway.

after sudo systemctl start openvpn-client@tbusa returns and I do a nsdo tbusa bash I receive the following:

$ ping google.com
ping: google.com: Temporary failure in name resolution
$ ping 172.217.20.174
ping: connect: Network is unreachable

nsdo was made per instructions insofar as its use with openvpn is concerned:

$ make
$ sudo make install install-openvpn

and added the following onto /etc/openvpn/client/tbusa.conf

# ... (rest of configuration) ...

# see https://github.com/ausbin/nsdo

# script should run `ip`, not openvpn
route-noexec
ifconfig-noexec
up "/usr/local/bin/openvpn-ns"
route-up "/usr/local/bin/openvpn-ns"

@elizabethexpialadocious elizabethexpialadocious changed the title sitnl_send: rtnl: generic error (-101): Network is unreachable or buster/raspbian sitnl_send: rtnl: generic error (-101): Network is unreachable on buster/raspbian Mar 7, 2022
@ausbin
Copy link
Owner

ausbin commented Jun 16, 2022

Sorry, I didn't see this until now (lost in github notification spam)

Quick question: if you yank out all of the nsdo-specific configuration from the openvpn config file, does it work then? That is, without nsdo entirely?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants