Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Home router using systemd?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 100

PostPosted: Sat Aug 15, 2015 3:28 am    Post subject: Home router using systemd? Reply with quote

Can home router be built on a systemd-based system? If so, is this documented? All I could find was https://wiki.gentoo.org/wiki/Home_Router Or perhaps OpenRC is the "official" way of doing it?

Many thx.
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2288
Location: near Augsburg, Germany

PostPosted: Sat Aug 15, 2015 7:50 am    Post subject: Reply with quote

Check out the doc here:
http://www.freedesktop.org/wiki/Software/systemd/

https://packages.gentoo.org/package/sys-apps/systemd
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 437
Location: Australia

PostPosted: Sat Aug 15, 2015 1:31 pm    Post subject: Re: Home router using systemd? Reply with quote

NP_complete wrote:
Can home router be built on a systemd-based system? If so, is this documented? All I could find was https://wiki.gentoo.org/wiki/Home_Router Or perhaps OpenRC is the "official" way of doing it?

Many thx.

Of course it can be done, I doubt it's documented though; can I ask why you want to use systemd in this type of application?

For a dedicated router on an old box that won't (or shouldn't) even have a DE installed, (which I assume is what you're suggesting), openRC and the wiki instructions you linked is how I'd do (and have done) this. You'll better supported if you run into trouble, too, as many of the more experienced hands here don't use and therefore can't / won't support systemd, so that's worth considering too.

FTR I use systemd (with some caution and scepticism) on desktops because I like Gnome. I'm not a systemd hater but I'm pragmatic enough not to use it where I don't need to.
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7160
Location: almost Mile High in the USA

PostPosted: Sat Aug 15, 2015 5:45 pm    Post subject: Reply with quote

I think the documentation to configure systemd's network without NetworkManager is very sparse as systemd was meant for desktop use versus servers or routers, but agreed, there's no reason why it can't be used.

Arch as some information about it:
https://wiki.archlinux.org/index.php/Systemd-networkd

Hmm. Maybe it would be interesting to update the Gentoo home-router page with systemd focus as well...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
NP_complete
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2009
Posts: 100

PostPosted: Sat Aug 15, 2015 8:23 pm    Post subject: Reply with quote

ian.au,
Quote:
why you want to use systemd in this type of application?
I didn't want to say this in the OP to avoid flamewars, but things seem to move slowly towards systemd. It looks logical to go with systemd when building a new system, as is the case with me. Who wants to redo everything later? We all know what happened with GNOME, don't we?

But it sounds like, at this stage, the best way is still to use our trusty-dusty old friend OpenRC.
Back to top
View user's profile Send private message
szatox
Veteran
Veteran


Joined: 27 Aug 2013
Posts: 1751

PostPosted: Sat Aug 15, 2015 9:17 pm    Post subject: Reply with quote

Quote:
. It looks logical to go with systemd when building a new system, as is the case with me. Who wants to redo everything later? We all know what happened with GNOME, don't we?
Really? You're going to install GNOME on a router?

Seriously now, why not just use busybox? Busybox, not openrc and not systemd. Openrc is cool where it belongs, but it does not belong in linux embedded. Neither does systemd.
It's not like you're going to shuffle services every few minutes and desperately need dependency management, are you?
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3806
Location: Austro Bavaria

PostPosted: Sat Aug 15, 2015 10:27 pm    Post subject: Reply with quote

it depends on waht the original poster intend to do. it looks like he talks about a computer which should be used as router.

i would go for tomatoe or any other openrouter firmware on a router hardware.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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