You are not logged in.

#1 2015-07-18 12:30:57

rianav
Member
From: Between keyboard and chair.
Registered: 2013-07-17
Posts: 18

OpenRC & Ethernet interface at boot

Hi,
Wondering how to setup the Realtek interface after switching out freebsd-init for openRC.
For installing openRC on archlinux, I just followed this: http://systemd-free.org/install.php Step 11 was sufficient to get the network up, IIRC (seems linux now renames interface from eth*?).
But I don't see the corresponding files from Step 11 in under PacBSD?

Thanks.

Edit: Guess I shouldn't configure stuff late @ night. init.d/net.lo is indeed there  smile  & conf.d/net is there too.
Copying  net.lo to  net.re0 & adding that to boot gets the interface configured.

Can I prevent these two files being replaced on upgrades?

Thanks again!

Last edited by rianav (2015-07-18 14:03:05)


China gangs burn pork on Amtrak while San Diego SWAT busts ice pirates at Target.

Offline

#2 2015-07-19 12:18:57

Amzo
Administrator
Registered: 2013-01-21
Posts: 144

Re: OpenRC & Ethernet interface at boot

I messed up the backup entries on openrc in testing which overwrote some configuration files. So that is probably why they got overwrote.

Configuring openrc should be as easy as:

cd /etc/init.d
ln -s net.lo net.re0
rc-update add net.re0 default

Offline

Board footer

Powered by FluxBB