Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Services not starting at boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
todd93
Guru
Guru


Joined: 30 Oct 2006
Posts: 524
Location: Missouri

PostPosted: Sat May 31, 2014 10:51 am    Post subject: Services not starting at boot Reply with quote

Hi, I know I've been hitting the forums pretty hard lately, but I do have a few problems. I know I must have missed something at some point, but when I boot my machine now, my services (network, printing, and xdm) do not start automatically anymore. they used to start with init.d, but that's all changed now and I'm not sure how to fix it, this is what I do when I boot: login to my root account, then I enter the following:
Code:
dhcpcd eth1

that causes my networking to start, then I input "xdm" and my display manager starts up, and I am able to login to my desktop environment. other services have to be started manually too, such as printing, ssh, etc. But I'm not sure what I did to start them, something similar to dhcpcd. I do apologize for putting this off so long, but it's been like this for a while. The thing about Gentoo, though, it doesn't need to reboot a lot, so it's easily forgotten about. I appreciate any help I can get on this.

Thanks!!

Todd


Last edited by todd93 on Wed Jun 04, 2014 9:12 pm; edited 2 times in total
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5021
Location: Dark side of the mood

PostPosted: Sat May 31, 2014 5:42 pm    Post subject: Reply with quote

Code:
rc-update add dhcpcd boot
?
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
todd93
Guru
Guru


Joined: 30 Oct 2006
Posts: 524
Location: Missouri

PostPosted: Sat May 31, 2014 7:32 pm    Post subject: Reply with quote

VinzC wrote:
Code:
rc-update add dhcpcd boot
?


lol that was easy, I didn't realize that things had gotten that easy
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5021
Location: Dark side of the mood

PostPosted: Mon Jun 02, 2014 6:20 am    Post subject: Reply with quote

Well, rc-update is an old, [should-be] well-known Gentoo command, as far as I can remember. Now as for network, Gentoo's way differs a little bit as the main method is to launch a net script under init.d/ for each network interface, including lo . Roy Marple's dhcpcd may advantageously replace that. You might want to check the guide I wrote about that a while ago.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
todd93
Guru
Guru


Joined: 30 Oct 2006
Posts: 524
Location: Missouri

PostPosted: Wed Jun 04, 2014 9:19 pm    Post subject: Reply with quote

Okay, I really hate to bump this thread, but adding dhcpcd to boot did not work. I noticed that this problem started right after the move to systemd. I was certain that I took the necessary steps at the time, but I must have been mistaken. Of course, I may be wrong in thinking that this issue is related to the systemd migration, I'm really sort of lost now.

Thanks!!!

Todd
Back to top
View user's profile Send private message
Pearlseattle
Apprentice
Apprentice


Joined: 04 Oct 2007
Posts: 162
Location: Switzerland

PostPosted: Wed Jun 04, 2014 9:37 pm    Post subject: Reply with quote

I think that systemd is completely different from OpenRC and that stuff like "rc-update" won't have any effect.
I did not dare changing to systemd
You might more successful in creating a new thread specifically mentioning systemd in the title.

p.s.:
btw, what would be the advantages of systemd over OpenRC?
Back to top
View user's profile Send private message
kick6
n00b
n00b


Joined: 22 Jan 2005
Posts: 29
Location: Golden, Colorado

PostPosted: Thu Jun 05, 2014 4:13 pm    Post subject: Reply with quote

would installing a package like NetworkManager be an option?
Back to top
View user's profile Send private message
VinzC
Watchman
Watchman


Joined: 17 Apr 2004
Posts: 5021
Location: Dark side of the mood

PostPosted: Sat Jun 07, 2014 9:06 am    Post subject: Reply with quote

Well, IMHO, having both OpenRC and systemd operating is seeking for troubles. I decided for as long as Gentoo's OpenRC is there and is the default way, I'd avoid systemd. I know it doesn't solve your issue. Only my 2¢.
_________________
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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