Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Deconnect from Internet stop dnsmasq and sshd too (Solved)
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
Logicien
l33t
l33t


Joined: 16 Sep 2005
Posts: 743
Location: Montréal

PostPosted: Thu Sep 05, 2013 2:43 pm    Post subject: Deconnect from Internet stop dnsmasq and sshd too (Solved) Reply with quote

My Internet come from a dhcp request with dhclient on wire Ethernet. If I stop the connexion
Code:
rc-service net.eno1 stop

dnsmasq and sshd are stopped at the same time. I would like to keep dnsmasq and sshd active to use them with my local network even with no Internet connexion. I do not know what to do for that.
_________________
Paul


Last edited by Logicien on Fri Sep 06, 2013 2:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 6254
Location: Goose Creek SC

PostPosted: Thu Sep 05, 2013 8:51 pm    Post subject: Reply with quote

try
Code:
/etc/init.d/net.eno1 --nodeps stop
rc_depend_strict="no" in /etc/rc.conf
_________________
Defund the FCC.
Back to top
View user's profile Send private message
Logicien
l33t
l33t


Joined: 16 Sep 2005
Posts: 743
Location: Montréal

PostPosted: Fri Sep 06, 2013 2:10 pm    Post subject: Reply with quote

You where right DONAHUE.

I put
Code:
rc_depend_strict="NO"

in /etc/rc.conf and now only net.eno1 is stop when I deconnect from Internet. Thank's.
_________________
Paul
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