Command for disabling network manager?

Moderator: Forum moderators

Post Reply
lahomiesk
Posts: 7
Joined: Fri Nov 08, 2024 7:47 pm

Command for disabling network manager?

Post by lahomiesk »

hello

i have problem
i need command for terminal for disable network manager

i tried

sudo systemctl stop NetworkManager.service
systemctl stop NetworkManager service

etc but all were wrong

also i need command for setup static ip - 192.168.0.225

this one will be ok ?

ip link set eth0 down
ip addr flush dev eth0
ip addr add 192.168.0.225 dev eth0
ip link set eth0 up

Best Regards

Last edited by Flash on Fri Nov 08, 2024 10:30 pm, edited 2 times in total.
Reason: Added question mark and capitol C to subject line
User avatar
bigpup
Moderator
Posts: 7297
Joined: Tue Jul 14, 2020 11:19 pm
Location: Earth, South Eastern U.S.
Has thanked: 950 times
Been thanked: 1614 times

Re: command for disabling network manager

Post by bigpup »

What specific version of BookwormPup are you using?
32bit or 64bit?

Best to give us the complete full name of the ISO file you used to install it.

The things you do not tell us, are usually the clue to fixing the problem.
When I was a kid, I wanted to be older.
This is not what I expected :o

User avatar
Jasper
Posts: 1696
Joined: Wed Sep 07, 2022 1:20 pm
Has thanked: 867 times
Been thanked: 352 times

Re: command for disabling network manager

Post by Jasper »

This Puppy OS does not use systemd, therefore systemctl does not function.

Also, sudo is not required.

You are running as 'root' , this is a feature of these builds.

To set a static IP this can be done via your router settings.

lahomiesk
Posts: 7
Joined: Fri Nov 08, 2024 7:47 pm

Re: Command for disabling network manager?

Post by lahomiesk »

bookworm 64 10.0.8 puppy from pendrive
latest version

i want upgrade my router with openwrt
and i want use bookworm to do it

first i must run tftp
and here is no problem
in terminal i used:

apt update
apt install atfpd

next i must setup static ip with 192.168.0.225
and here is problem becouse with build in this linux network manager it is not working good
i must disable manually network manager and here i dont have good command
and setup ip manual with command line

i have only guide for ubuntu

p link set eth0 down
ip addr flush dev eth0
ip addr add 192.168.0.225 dev eth0
ip link set eth0 up

so here so i need manual for this linux distro

Last edited by bigpup on Sun Nov 10, 2024 6:54 pm, edited 1 time in total.
Reason: correct name of Puppy version
Post Reply

Return to “BookwormPup”