removing network support


8 posts
by JimDod » 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
User avatar
Posts: 22
Joined: Wed Apr 04, 2012 10:24 pm
Location: Southern California
by pepedog » Fri Jan 25, 2013 9:45 pm
systemctl stop netcfg
That will stop I
systemctl disable netcfg
Stops it on boot
Posts: 968
Joined: Fri Oct 07, 2011 9:55 am
by JimDod » 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?
User avatar
Posts: 22
Joined: Wed Apr 04, 2012 10:24 pm
Location: Southern California
by pepedog » Sat Jan 26, 2013 12:33 am
Sorry, that's the new image
Easy way, unplug cable.
Other way
systemd disable dhcpcd@eth0
Posts: 968
Joined: Fri Oct 07, 2011 9:55 am
by JimDod » 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"
User avatar
Posts: 22
Joined: Wed Apr 04, 2012 10:24 pm
Location: Southern California
by Spid » Sat Jan 26, 2013 7:24 pm
I will always assume you are running Raspbian for desktop and Raspbmc for XMBC !
Posts: 525
Joined: Sat Jan 19, 2013 12:47 pm
by JimDod » 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
User avatar
Posts: 22
Joined: Wed Apr 04, 2012 10:24 pm
Location: Southern California
by pepedog » Sat Jan 26, 2013 7:38 pm
Sorry, love of systemd caused Freudian slip
Posts: 968
Joined: Fri Oct 07, 2011 9:55 am