User avatar
JimDod
Posts: 22
Joined: Wed Apr 04, 2012 10:24 pm
Location: Southern California
Contact: Website

removing network support

Fri Jan 25, 2013 8:45 pm

I'm trying to simulate a Model A RPi on a B and want to turn off the ethernet and dhcpd

currently I'm doing this:

ifconfig eth0 down

but there should be a better way

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

Re: removing network support

Fri Jan 25, 2013 9:45 pm

systemctl stop netcfg
That will stop I
systemctl disable netcfg
Stops it on boot

User avatar
JimDod
Posts: 22
Joined: Wed Apr 04, 2012 10:24 pm
Location: Southern California
Contact: Website

Re: removing network support

Sat Jan 26, 2013 12:26 am

thanks

systemctl disable netcfg

is giving me

"failed to issue method call: no such file or directory"
any ideas?

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

Re: removing network support

Sat Jan 26, 2013 12:33 am

Sorry, that's the new image
Easy way, unplug cable.
Other way
systemd disable dhcpcd@eth0

User avatar
JimDod
Posts: 22
Joined: Wed Apr 04, 2012 10:24 pm
Location: Southern California
Contact: Website

Re: removing network support

Sat Jan 26, 2013 6:56 pm

systemd disable dhcpd@eth0

is giving me

"excess arguments"
after a little Google

I tried

systemd disable dhcpd@eth0.service

also returned "excess arguments"

Spid
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm

Re: removing network support

Sat Jan 26, 2013 7:24 pm

I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !

User avatar
JimDod
Posts: 22
Joined: Wed Apr 04, 2012 10:24 pm
Location: Southern California
Contact: Website

Re: removing network support

Sat Jan 26, 2013 7:29 pm

after a little more hacking, this worked:

systemctl disable dhcpcd@eth0

I was leaving out the second "c" in dhcpcd

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

Re: removing network support

Sat Jan 26, 2013 7:38 pm

Sorry, love of systemd caused Freudian slip

Return to “Arch”

Who is online

Users browsing this forum: No registered users and 3 guests