Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
need net ignoring usb0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Saundersx
Apprentice
Apprentice


Joined: 11 Apr 2005
Posts: 257

PostPosted: Mon Jul 01, 2019 5:21 pm    Post subject: need net ignoring usb0 Reply with quote

I am temporaorly using android phone tethering for my internet. When my internet interface is usb0 and using /etc/init.d/openvpn this block right here

Code:
depend() {
        need localmount net
        use dns
        after bootmisc
}


particulairly this bit "need net" tries to bring up eth0. If I remove the "net" part it works. Is this a bug, feature or do I have eth0 configured exclusively as net? This is my bare bones /etc/conf.d/net

Code:
config_eth0="dhcp"
config_usb0="dhcp"
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 45371
Location: 56N 3W

PostPosted: Mon Jul 01, 2019 5:30 pm    Post subject: Reply with quote

Saundersx,

Its a feature.
Read /etc/rc.conf. In particular, the comments around
Code:
rc_depend_strict

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Saundersx
Apprentice
Apprentice


Joined: 11 Apr 2005
Posts: 257

PostPosted: Mon Jul 01, 2019 5:47 pm    Post subject: Reply with quote

You are correct, thank you for the quick answer.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum