Существуют пустые прошивки?

хотелось бы иметь прошивку без предустановленных программ. только драйвера и ssh server

Вряд ли будем это делать. А почему не подходит вариант просто удалить ненужное ПО? Всё наше начинается на wb-.

можно получить инструкцию по удалению?

apt-get remove wb-*

root@wirenboard-AKIE4LI6:/etc# apt-get remove wb-*
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package wb-configs.d
E: Couldn’t find any package by glob ‘wb-configs.d’
E: Couldn’t find any package by regex ‘wb-configs.d’
E: Unable to locate package wb-fw-version
E: Unable to locate package wb-hardware.conf
E: Couldn’t find any package by glob ‘wb-hardware.conf’
E: Couldn’t find any package by regex ‘wb-hardware.conf’
E: Unable to locate package wb-hardware.conf.default
E: Couldn’t find any package by glob ‘wb-hardware.conf.default’
E: Couldn’t find any package by regex ‘wb-hardware.conf.default’
E: Unable to locate package wb-homa-adc.conf
E: Couldn’t find any package by glob ‘wb-homa-adc.conf’
E: Couldn’t find any package by regex ‘wb-homa-adc.conf’
E: Unable to locate package wb-homa-adc.conf.default
E: Couldn’t find any package by glob ‘wb-homa-adc.conf.default’
E: Couldn’t find any package by regex ‘wb-homa-adc.conf.default’
E: Unable to locate package wb-homa-gpio.conf
E: Couldn’t find any package by glob ‘wb-homa-gpio.conf’
E: Couldn’t find any package by regex ‘wb-homa-gpio.conf’
E: Unable to locate package wb-homa-gpio.conf.default
E: Couldn’t find any package by glob ‘wb-homa-gpio.conf.default’
E: Couldn’t find any package by regex ‘wb-homa-gpio.conf.default’
E: Unable to locate package wb-mqtt-db.conf
E: Couldn’t find any package by glob ‘wb-mqtt-db.conf’
E: Couldn’t find any package by regex ‘wb-mqtt-db.conf’
E: Unable to locate package wb-mqtt-db.conf.default
E: Couldn’t find any package by glob ‘wb-mqtt-db.conf.default’
E: Couldn’t find any package by regex ‘wb-mqtt-db.conf.default’
E: Unable to locate package wb-mqtt-mbgate.conf
E: Couldn’t find any package by glob ‘wb-mqtt-mbgate.conf’
E: Couldn’t find any package by regex ‘wb-mqtt-mbgate.conf’
E: Unable to locate package wb-mqtt-serial.conf
E: Couldn’t find any package by glob ‘wb-mqtt-serial.conf’
E: Couldn’t find any package by regex ‘wb-mqtt-serial.conf’
E: Unable to locate package wb-mqtt-serial.conf.default
E: Couldn’t find any package by glob ‘wb-mqtt-serial.conf.default’
E: Couldn’t find any package by regex ‘wb-mqtt-serial.conf.default’
E: Unable to locate package wb-mqtt-serial.conf.sample
E: Couldn’t find any package by glob ‘wb-mqtt-serial.conf.sample’
E: Couldn’t find any package by regex ‘wb-mqtt-serial.conf.sample’
E: Unable to locate package wb-rules.default
E: Couldn’t find any package by glob ‘wb-rules.default’
E: Couldn’t find any package by regex ‘wb-rules.default’
root@wirenboard-AKIE4LI6:/etc#

У меня удаляется. Попробуйте перепрошить контроллер.

Лог

root@wirenboard-AVBADULZ:~# apt-get remove wb-*
Reading package lists… Done
Building dependency tree
Reading state information… Done
Note, selecting ‘wb-mqtt-confed’ for glob ‘wb-
Note, selecting ‘wb-homa-adc’ for glob 'wb-

Note, selecting ‘wb-homa-rfsniffer’ for glob ‘wb-
Note, selecting ‘wb-homa-modbus’ for glob 'wb-

Note, selecting ‘wb-dt-overlays’ for glob ‘wb-
Note, selecting ‘wb-homa-webinterface’ for glob 'wb-

Note, selecting ‘wb-mqtt-lirc’ for glob ‘wb-
Note, selecting ‘wb-configs’ for glob 'wb-

Note, selecting ‘wb-mqtt-db’ for glob ‘wb-
Note, selecting ‘wb-daemon-watchdogs’ for glob 'wb-

Note, selecting ‘wb-mqtt-db-cli’ for glob ‘wb-
Note, selecting ‘wb-utils’ for glob 'wb-

Note, selecting ‘wb-homa-gpio’ for glob ‘wb-
Note, selecting ‘wb-mqtt-timestamper’ for glob 'wb-

Note, selecting ‘wb-mqtt-zway’ for glob ‘wb-
Note, selecting ‘wb-homa-w1’ for glob 'wb-

Note, selecting ‘wb-homa-ism-radio’ for glob ‘wb-
Note, selecting ‘wb-mqtt-serial’ for glob 'wb-

Note, selecting ‘wb-rules’ for glob ‘wb-
Note, selecting ‘wb-rules-system’ for glob 'wb-

Note, selecting ‘wb-hwconf-manager’ for glob ‘wb-
Note, selecting ‘wb-mqtt-mbgate’ for glob 'wb-

Note, selecting ‘wb-mqtt-dac’ for glob ‘wb-
Note, selecting ‘wb-homa-ninja-bridge’ for glob 'wb-

Note, selecting ‘wb-mqtt-homeui’ for glob ‘wb-
Note, selecting ‘wb-configs-wheezy’ for glob 'wb-

Note, selecting ‘wb-configs-stretch’ for glob ‘wb-
Note, selecting ‘wb-test-suite’ for glob 'wb-

Package ‘wb-configs-wheezy’ is not installed, so not removed
Package ‘wb-homa-rfsniffer’ is not installed, so not removed
Package ‘wb-homa-modbus’ is not installed, so not removed
Package ‘wb-homa-webinterface’ is not installed, so not removed
Package ‘wb-homa-ninja-bridge’ is not installed, so not removed
Package ‘wb-mqtt-lirc’ is not installed, so not removed
Package ‘wb-mqtt-timestamper’ is not installed, so not removed
Package ‘wb-mqtt-zway’ is not installed, so not removed
The following packages were automatically installed and are no longer required:
bc fontconfig-config fonts-dejavu-core ieee-data inotify-tools jq libc-dev-bin libc6-dev libfontconfig1 libfreetype6 libgd3 libinotifytools0 libjbig0 libjpeg62-turbo libjq1
libjsoncpp1 libluajit-5.1-2 libluajit-5.1-common libonig4 libpng16-16 libtiff5 libwbmqtt libwbmqtt0 libwebp6 libxpm4 libxslt1.1 linux-libc-dev manpages-dev mqtt-tools
nginx-common nginx-extras pv python-cffi-backend python-chardet python-crypto python-cryptography python-dateutil python-enum34 python-gsmmodem-new python-gspread
python-httplib2 python-idna python-ipaddress python-json-rpc python-mqttrpc python-netaddr python-oauth2client python-openssl python-pkg-resources python-progressbar
python-pyasn1 python-pyasn1-modules python-pyparsing python-requests python-rsa python-setuptools python-six python-uritemplate python-urllib3 python-wb-common tcc watchdog
Use ‘apt autoremove’ to remove them.
The following packages will be REMOVED:
wb-configs wb-configs-stretch wb-daemon-watchdogs wb-dt-overlays wb-homa-adc wb-homa-gpio wb-homa-ism-radio wb-homa-w1 wb-hwconf-manager wb-mqtt-confed wb-mqtt-dac wb-mqtt-db
wb-mqtt-db-cli wb-mqtt-homeui wb-mqtt-mbgate wb-mqtt-serial wb-rules wb-rules-system wb-test-suite wb-utils
0 upgraded, 0 newly installed, 20 to remove and 0 not upgraded.
After this operation, 26,5 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database … 28311 files and directories currently installed.)
Removing wb-test-suite (1.15.1) …
Removing wb-hwconf-manager (1.27.0) …
Removing wb-mqtt-homeui (1.7.1) …
Removing wb-mqtt-serial (1.51.0) …
Removing wb-daemon-watchdogs (1.1) …
Removing wb-dt-overlays (1.3) …
Removing wb-homa-adc (1.14.6) …
Removing wb-homa-gpio (1.19.5) …
Removing wb-homa-ism-radio (1.17.3) …
Removing wb-homa-w1 (1.10.1) …
Removing wb-mqtt-confed (1.2.2) …
Removing wb-mqtt-dac (1.1.1) …
Removing wb-mqtt-db (1.7.3) …
Removing wb-mqtt-db-cli (1.2.1) …
Removing wb-mqtt-mbgate (0.1.4) …
Removing wb-rules-system (1.6.2) …
Removing wb-rules (1.7.1) …
Removing wb-utils (2.1.2) …
Removing wb-configs (1.80) …
Removing ‘diversion of /etc/fw_env.config to /etc/fw_env.config.wb-orig by wb-configs’
Removing ‘diversion of /etc/nsswitch.conf to /etc/nsswitch.conf.wb-orig by wb-configs’
Removing ‘diversion of /etc/default/avahi-daemon to /etc/default/avahi-daemon.wb-orig by wb-configs’
Removing ‘diversion of /etc/sysctl.conf to /etc/sysctl.conf.wb-orig by wb-configs’
Removing ‘diversion of /etc/lirc/hardware.conf to /etc/lirc/hardware.conf.wb-orig by wb-configs’
Removing ‘diversion of /etc/nfc/libnfc.conf to /etc/nfc/libnfc.conf.wb-orig by wb-configs’
Removing ‘diversion of /etc/nginx/sites-available/default to /etc/nginx/sites-available/default.wb-orig by wb-configs’
Removing ‘diversion of /etc/ppp/chap-secrets to /etc/ppp/chap-secrets.wb-orig by wb-configs’
Removing ‘diversion of /etc/watchdog.conf to /etc/watchdog.conf.wb-orig by wb-configs’
Removing ‘diversion of /etc/default/hostapd to /etc/default/hostapd.wb-orig by wb-configs’
*** OMINOUS WARNING ***: /etc/hostapd.conf is not linked to either hostapd.conf.wb or hostapd.conf.wb-orig
Not removing diversion of /etc/hostapd.conf by wb-configs
*** OMINOUS WARNING ***: /etc/dnsmasq.conf is not linked to either dnsmasq.conf.wb or dnsmasq.conf.wb-orig
Not removing diversion of /etc/dnsmasq.conf by wb-configs
*** OMINOUS WARNING ***: /etc/network/interfaces is not linked to either interfaces.wb or interfaces.wb-orig
Not removing diversion of /etc/network/interfaces by wb-configs
Removing ‘diversion of /etc/hosts to /etc/hosts.wb-orig by wb-configs’
Removing ‘diversion of /etc/default/rcS to /etc/default/rcS.wb-orig by wb-configs’
Removing ‘diversion of /etc/gai.conf to /etc/gai.conf.wb-orig by wb-configs’
Removing ‘diversion of /etc/fstab to /etc/fstab.wb-orig by wb-configs’
Removing ‘diversion of /etc/inittab to /etc/inittab.wb-orig by wb-configs’
Removing ‘diversion of /etc/modules to /etc/modules.wb-orig by wb-configs’
*** OMINOUS WARNING **: /etc/hostname is not linked to either hostname.wb or hostname.wb-orig
Not removing diversion of /etc/hostname by wb-configs
Removing ‘diversion of /etc/locale.gen to /etc/locale.gen.wb-orig by wb-configs’
Removing ‘diversion of /root/.bashrc to /root/.bashrc.wb-orig by wb-configs’
Removing wb-configs-stretch (1.80) …
Removing ‘diversion of /etc/avahi/avahi-daemon.conf to /etc/avahi/avahi-daemon.conf.wb-orig by wb-configs-stretch’
Removing ‘diversion of /etc/ssh/sshd_config to /etc/ssh/sshd_config.wb-orig by wb-configs-stretch’
Removing ‘diversion of /lib/systemd/system/networking.service to /lib/systemd/system/networking.service.wb-orig by wb-configs-stretch’
root@wirenboard-AVBADULZ:~# apt-cache policy wb-

wb-mqtt-confed:
Installed: (none)
Candidate: (none)
Version table:
1.2.2 -1
100 /var/lib/dpkg/status
wb-homa-adc:
Installed: (none)
Candidate: (none)
Version table:
1.14.6 -1
100 /var/lib/dpkg/status
wb-homa-rfsniffer:
Installed: (none)
Candidate: (none)
Version table:
wb-homa-modbus:
Installed: (none)
Candidate: (none)
Version table:
wb-mqtt-lirc:
Installed: (none)
Candidate: (none)
Version table:
wb-configs:
Installed: (none)
Candidate: (none)
Version table:
1.80 -1
100 /var/lib/dpkg/status
wb-mqtt-db:
Installed: (none)
Candidate: (none)
Version table:
1.7.3 -1
100 /var/lib/dpkg/status
wb-utils:
Installed: (none)
Candidate: (none)
Version table:
2.1.2 -1
100 /var/lib/dpkg/status
wb-homa-gpio:
Installed: (none)
Candidate: (none)
Version table:
1.19.5 -1
100 /var/lib/dpkg/status
wb-mqtt-timestamper:
Installed: (none)
Candidate: (none)
Version table:
wb-mqtt-zway:
Installed: (none)
Candidate: (none)
Version table:
wb-homa-w1:
Installed: (none)
Candidate: (none)
Version table:
1.10.1 -1
100 /var/lib/dpkg/status
wb-homa-ism-radio:
Installed: (none)
Candidate: (none)
Version table:
1.17.3 -1
100 /var/lib/dpkg/status
wb-mqtt-serial:
Installed: (none)
Candidate: (none)
Version table:
1.51.0 -1
100 /var/lib/dpkg/status
wb-rules:
Installed: (none)
Candidate: (none)
Version table:
1.7.1 -1
100 /var/lib/dpkg/status
wb-rules-system:
Installed: (none)
Candidate: (none)
Version table:
wb-hwconf-manager:
Installed: (none)
Candidate: (none)
Version table:
1.27.0 -1
100 /var/lib/dpkg/status
wb-mqtt-mbgate:
Installed: (none)
Candidate: (none)
Version table:
0.1.4 -1
100 /var/lib/dpkg/status
wb-mqtt-dac:
Installed: (none)
Candidate: (none)
Version table:
1.1.1 -1
100 /var/lib/dpkg/status
wb-homa-ninja-bridge:
Installed: (none)
Candidate: (none)
Version table:
wb-mqtt-homeui:
Installed: (none)
Candidate: (none)
Version table:
wb-configs-wheezy:
Installed: (none)
Candidate: (none)
Version table:
wb-configs-stretch:
Installed: (none)
Candidate: (none)
Version table:
1.80 -1
100 /var/lib/dpkg/status
root@wirenboard-AVBADULZ:~#

Можете сначала список просмотреть: apt list --installed | grep ^wb-
А зачем вам это, кстати?

попробуйте выполнить в корне файловой системы, не в /etc. Но я бы смотрел список и думал, нужно или нет.

да… из корня все удалилось… но к сожалению и удалилось что-то важное для жизни устройства… нет сети… не запускается ничего (
файловая система доступна только для чтения

Можете либо почитать ошибки в /var/log/messages и dmesg, чтобы понять, что случилось, либо просто полностью обновить прошивку с флешки, и потом по одному удалять пакеты, которые мешают, и смотреть, что всё работеат.

я так понял что удалились скрипты wb… например fstab.wb
ну и с сетью тоже теперь не хватает чего-то