On 11/30/23 07:31, Max Nikulin wrote:
On 30/11/2023 17:15, gene heskett wrote:
On 11/29/23 23:52, Max Nikulin wrote:
On 30/11/2023 11:07, gene heskett wrote:
root@mkspi:/etc# nmcli
-bash: nmcli: command not found
-----------^^^^^^^^^^^^^^^^^^^^^^^^
However it did not work, and the file was replaced by one containing
only lo by networkmangler on a powerdown reboot. Next???
What particular file has been replaced? You do not have NetworkManager
installed
/e/n/i waa replaced, and nothing in an ip a or ip r was changed. It was
restored to:
root@mkspi:/# cat /etc/network/interfaces
source /etc/network/interfaces.d/*
# Network is managed by Network manager<-this line I had removed
auto lo
iface lo inet loopback
dpkg -S /usr/bin/nmcli
network-manager: /usr/bin/nmcli
Moreover in default configuration it does not touch
/etc/network/interfaces. It just reads it do avoid managing of the same
interfaces. May it be that klipper-related "optimizers" add some script?
klipper runs fine on several other bananapi-m5 here, w/o any special
treatment as lomg as /dev/serial/by-id is wotking, debian nroke it in
buster and it will not be fixed again till trixie. Discord/klipper has
patches for it.
I want to put it at 192.168.71.100/24. How do I do that in
/etc/dhcpcd.conf? This is already in /etc/hosts like this:
Forget it for a while. You either configure static IP address or DHCP
server on your router or on another host with properly configured network.
For reference, this is what I put in /e/n/i":
------------
auto eth0
iface eth0 inet static
address 192.168.71.100/24
gateway 192.168.71.1
dns-nameservers 192.168.71.1
I expect "dns-nameservers" may cause changes in /etc/resolv.conf if you
mean it. Are address and gateway settings applied?
ip address list
ip route list
Do you get any error in "journalctl -b" or in syslog files?
.
root@mkspi:/# journalctl -b
-- Logs begin at Mon 2023-01-02 02:56:20 PST, end at Mon 2023-01-02
04:01:23 PST. --
Jan 02 02:56:20 mkspi bash[1443]: CTRL-EVENT-BSS-REMOVED 1289
50:27:a9:d2:aa:e3
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: CTRL-EVENT-SCAN-RESULTS
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 418
Jan 02 02:56:20 mkspi bash[1443]: 已获取到了扫描的结果
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: WPS-AP-AVAILABLE
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 439
Jan 02 02:56:20 mkspi bash[1443]: Available WPS AP found in scan results.
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: CTRL-EVENT-NETWORK-NOT-FOUND
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: CTRL-EVENT-SCAN-STARTED
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: CTRL-EVENT-BSS-ADDED 1305
98:da:c4:98:b2:19
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: CTRL-EVENT-SCAN-RESULTS
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 418
Jan 02 02:56:20 mkspi bash[1443]: 已获取到了扫描的结果
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: WPS-AP-AVAILABLE
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 439
Jan 02 02:56:20 mkspi bash[1443]: Available WPS AP found in scan results.
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
Jan 02 02:56:20 mkspi bash[1443]: CTRL-EVENT-NETWORK-NOT-FOUND
Jan 02 02:56:20 mkspi bash[1443]: [Dec 10 2022][15:22:28]
/root/xindi/src/mks_wpa_cli.cpp: 416
Jan 02 02:56:20 mkspi bash[1443]: 收到wpa回调信息:
lines 1-36
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis