edison-fw / meta-intel-edison

Here is the meta-intel-edison that builds, tries to stay up to date. Master is based on Yocto Poky Gatesgarth LTS 5.10.yy vanilla kernels. It builds a 32bit kernel (Gatesgarth branch 64bit) with ACPI enabled and corresponding rootfs. Telegram group: https://t.me/IntelEdison Web-site:
https://edison-fw.github.io/meta-intel-edison/
MIT License
60 stars 37 forks source link

docs(deb): add `nmtui` and `nmcli` #146

Closed initdc closed 2 years ago

initdc commented 2 years ago

add nmtui for connnecting Wi-Fi for debian-like distro

you can connneting Wi-Fi with nmtui dialog, or nmcli d wifi connect MyWi-Fi password MyPass

ref: https://linuxhint.com/3-ways-to-connect-to-wifi-from-the-command-line-on-debian/

htot commented 2 years ago

Hi, did you note that this is the documentation for creating an Ubuntu image? For debian you can do make debian. Would you want to amend that script as well?

initdc commented 2 years ago

how about this script with DEBIAN_FRONTEND="noninteractive" and set -e https://github.com/initdc/rootfs-tools/blob/edison/buster/vendor-resources/intel-edison/root/config.sh

htot commented 2 years ago

Yes, and more improvements could be done too, see https://edison-fw.github.io/meta-intel-edison/2.6-Building-Debian.html. Feel free to send a patch :-)

For this patch, I see you add packages and remove packages. Is the net effect just adding nmtui and nmcli? Could you add a brief explanation to the commit message? Then I'll apply to https://github.com/htot/meta-intel-edison/tree/honister which will eventually be merged here.

initdc commented 2 years ago

https://github.com/initdc/debian-rootfs-tools/blob/master/deboot.rb#L16

initdc commented 2 years ago

Could you upload the .deb packages please?

sudo chroot $ROOTDIR /bin/bash -c "dpkg -i /tmp/deb/edison/kernel-*.deb"
sudo chroot $ROOTDIR /bin/bash -c "dpkg -r kernel-dev"
sudo chroot $ROOTDIR /bin/bash -c "dpkg -i /tmp/deb/all/bcm43340-fw_*.deb"
sudo chroot $ROOTDIR /bin/bash -c "dpkg -i /tmp/deb/corei7-64/gadget_*.deb"

It will be helpful for porting others linux distro for edison.

htot commented 2 years ago

64b version?

initdc commented 2 years ago

64b version?

Yes, I've build 32-bit version by using default conf.

htot commented 2 years ago

For now I push this to https://github.com/htot/meta-intel-edison/tree/honister this will eventually appear on edison-fw/master.

Thanks for the PR.