Novicode
Posts: 3
Joined: Sat Jun 28, 2014 3:16 pm

Alternative to rc.conf

Sat Jun 28, 2014 3:18 pm

I'm trying to follow this guide: http://www.instructables.com/id/Raspber ... /?ALLSTEPS however, it appears rc.conf is discontinued and systemd has taken over. How can I modify the networking and daemons using systemd? Any help is appreciated.

sdjf
Posts: 1395
Joined: Fri Mar 16, 2012 5:20 am
Location: California
Contact: Website

Re: Alternative to rc.conf

Mon Jun 30, 2014 2:31 am

Try googling for the Arch Linux page about netctl and look at the files in /etc/netctl, you will want to edit the one that fits your setup so it works properly.
FORUM TIP: To view someone's posting history, sign in, click on their user name, then on "Search User's Posts." || Running ArchLinuxArm on Model 2B and 512MB Model B

Novicode
Posts: 3
Joined: Sat Jun 28, 2014 3:16 pm

Re: Alternative to rc.conf

Mon Jun 30, 2014 1:14 pm

sdjf wrote:Try googling for the Arch Linux page about netctl and look at the files in /etc/netctl, you will want to edit the one that fits your setup so it works properly.
I've tried that a few times, but when I reboot it always comes up with the same static IP my router gave it. Could it by an issue with my router?

User avatar
DougieLawson
Posts: 39126
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Alternative to rc.conf

Mon Jun 30, 2014 1:20 pm

Have you set your router's DHCP pool of IP addresses so that there's some that are reserved for static?

Lots of modern routers assume the whole .1 to .254 range are DHCP.

You may also find that the router can assign static IP addresses to known MAC addresses.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

Novicode
Posts: 3
Joined: Sat Jun 28, 2014 3:16 pm

Re: Alternative to rc.conf

Mon Jun 30, 2014 1:22 pm

DougieLawson wrote:Have you set your router's DHCP pool of IP addresses so that there's some that are reserved for static?

Lots of modern routers assume the whole .1 to .254 range are DHCP.

You may also find that the router can assign static IP addresses to known MAC addresses.
That might be my issue, I'll take a look into it. Also, what would be the best alternative to rc.conf in the tutorial? networkd or netctl?

pepedog
Posts: 1043
Joined: Fri Oct 07, 2011 9:55 am

Re: Alternative to rc.conf

Mon Jun 30, 2014 7:01 pm

It's all done for you.
If you go static edit /etc/netctl/eth0 as per the example

Return to “Arch”