[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: getting network-manager to restart



On Wed, Nov 05, 2025 at 04:07:21AM -0500, Timothy M Butterworth wrote:
> On Mon, Nov 3, 2025 at 12:25???AM Mike McClain <mike.junk.46@att.net> wrote:
>
> > In Trixie I'm trying to get ipupdown working without network-manager,
<snip>
> Try running `sudo systemctl stop networking.service` `sudo systemctl start
> networking.service`
<snip>

Thanks, I triedy that when I got back to trixie. No joy.
Perhaps because by then I had purged network-manager.

In the mean time things have changed.
I purged network-manager and am just trying to get net access without.

These files:    /etc/{hosts,network/interfaces,init.d/networking} are
functionally identical between trixie and bookworm.

Both use a little script (net) I wrote years ago that calls
'ip link set dev eth0 up' and sets the route,
 or 'ip link set dev eth0 down'.

Running 'strace -f -o netup net' on both systems shows files
 bookworm opens that trixie doesn't:
        /etc/ld.so.preload
        libbsd.so.0
        libmd.so.0
 trixie opens that bookworm doesn't:
        libzstd.so.1

/etc/ld.so.preload can't apply to trixie refering to a file trixie
doesn't have.
    Interestingly 'dpkg-query  -S /etc/ld.so.preload' shows nothing
so I don't know what to do about it's missing in trixie.
    Though all tasks exit 0, success, there are these failures
metioned:
connect(3, {sa_family=AF_UNIX, sun_path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory)
faccessat(AT_FDCWD, "/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
statfs("/selinux", 0x7fec6b66b0)  = -1 ENOENT (No such file or directory)
statfs("/sys/fs/selinux", 0x7fc91e75d0) = -1 ENOENT (No such file or directory)
and I admit I've no idea if these are the problem.

    Part of the complication results from the fact that I misunderstood
the difference in arm64 and armhf and installed bookworm here as armhf,
so I may be comparing apples to oranges though I do have a 2nd trixie
install but it's broken and things compare equally there.

Any suggestions how to get the network back online without network
manager or network controlling packages are welcome.
I'm sure I'm missing something in bookworm that lets me access the web
without network-manager but I can;t think what.

Thanks,
Mike
--
"The heart of a fool is in his mouth,
but the mouth of a wise man is in his heart."
    - Benjamin Franklin


Reply to: