Received: from mout02.posteo.de (mout02.posteo.de [185.67.36.66]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 7DF50226C6F for <~alpine/users@lists.alpinelinux.org>; Sun, 3 Nov 2024 14:37:15 +0000 (UTC) Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 8C1AC240101 for <~alpine/users@lists.alpinelinux.org>; Sun, 3 Nov 2024 15:37:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1730644627; bh=fxnTFfvBDjhM4ijR0ao1fT56hEUbxC3eJIgf0gkRlL0=; h=Mime-Version:Content-Transfer-Encoding:Content-Type:Date: Message-Id:Subject:From:To:From; b=m5HO2G8MNIBWJy67uKrKb0rfJfPamtJA0FtyUARhBz58J4KEF4wQDw1vWwWeP48P+ TfUpkZsFaQ45lY7Jdn//dOsNiG47r50N+Da7VfCP11K3BmtpPmO134vgMsTG/Yjc4v OYAl4tqzRH3hXqyJKj/c0Am9ED5H75796s8eIvvxp/ikqNSxvu9YcP4n7rhv+3EKQR kjlNCD0KHweIHfeVGQm5AF+/o2u3rXqtc93Veso9PGgFVHt1N1XIxfBUkPwlwM6bAt G1x/wu7xpJrEnt1VNNL3ZldD14n686zce1S2ZsbIC0adY7wmecinGoEnYOCbRxodRu rgNAEgRo+xPvg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XhHHK05F2z9rxD; Sun, 3 Nov 2024 15:37:00 +0100 (CET) Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 Date: Sun, 03 Nov 2024 14:37:00 +0000 Message-Id: Subject: Re: Disable stock networking by editing a file From: "Sertonix" To: "Liam Proven" , <~alpine/users@lists.alpinelinux.org> References: In-Reply-To: > My first post _about_ Alpine _from_ Alpine. > > (Not from the affected machine, obviously.) > > I messed up a reinstall on one of my testbed boxes. It freezes, hard, > on the login screen. > > I think it may be the situation described here: > https://bbs.archlinux.org/viewtopic.php?id=3D285972 > > I may well have installed Network Manager _before_ disabling the > standard DHCP client. > > The machine has 5 OSes: XP64, OpenBSD, NetBSD, Alpine and > Crunchbang++. The boot manager is Grub provided by Crunchbang. > > I can't easily boot into Alpine but I can simply mount the filesystem > and edit files. > > So, I can't, for instance, do: > > $ doas systemctl disable dhcpcd > > How can I achieve the same result by editing a file from a different dist= ro? All the enabled services are specified inside of /etc/runlevels/. I don't know what issue you are having but disabling a service can be done like this: $ doas unlink etc/runlevels/default/networkmanager And enabling like this: $ doas ln -s /etc/init.d/networkmanager etc/runlevels/default/ ('default' is the runlevel. Some services have different runlevels but I don't think the network related services.)