Jump to content

denni_isl

Members
  • Posts

    125
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. This is in /etc/dnsmasq.conf interface=eth0 # listen=192.168.4.1 dhcp-range=192.168.4.8,192.168.4.250,255.255.255.0,12h server=8.8.8.8 # domain-deeded bogus-priv sudo systemctl restart dnsmasq.service and sudo nmtui, edit connection, wired connection, edit ipv4 configuration, Manual (Shared) 192.168.4.1/24, ok
  2. Sharing is caring. Did finally manage to get this working. So lets make it simple clever. Actually i did this on a 64bit raspian light kernel 6.1 but it must be the same on Armbian 10 jan 24 Sharing the Raspberry Pi's WiFi over the ethernet port sudo apt get update && sudo apt install dnsmasq iptables iptables-persistent dhcpcd5 sudo vim /etc/dhcpcd.conf interface eth0 static ip_address=192.168.4.1/24 ------- sudo mv /etc/dnsmasq.conf /etc/dnsmasq.conf.bk sudo nano /etc/dnsmasq.conf - interface=eth0 dhcp-range=192.168.4.8,192.168.4.250,255.255.255.0,12h server=8.8.8.8 bogus-priv ------ sudo systemctl restart dnsmasq.service ------ sudo vim /etc/sysctl.conf net.ipv4.ip_forward=1 ------- sudo systemctl start dnsmasq ------- sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward" ------- sudo iptables -t nat -A POSTROUTING -o wlan0 -j MASQUERADE sudo iptables -A FORWARD -i wlan0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT sudo iptables -A FORWARD -i eth0 -o wlan0 -j ACCEPT ------- sudo iptables -L -n -v ---------- sudo sh -c "iptables-save > /etc/iptables.ipv4.nat" --------- sudo vim /etc/rc.local iptables-restore < /etc/iptables.ipv4.nat exit0 --------- sudo reboot -------- Did get a perfect internet connection on odroid n2+ through eth0 - so the rpi4b is now supplying wifi for that board and providing petitboot with netbooting images through netboot_default after exit to shell.
  3. On odroid-n2+ and on the other machine - picocom -b 115200 -l -r /dev/ttyUSB0
  4. - To my surprice I was able to upgrade odroid-n2+ to kernel 6.0.10 on a debian bookworm install. Had previously tried to compile kernel 6.0.9 and 6.0.10 from kernel.org and also through the armbian build with no success. The 6.0.9 and 6.0.10 from kernel.org did work but did both lack wifi connections - did try many dongle without success. This deb package from imola.armbian.com do work like a charm on debian bookworm. ------------------------------------- Did download https://imola.armbian.com/beta/pool/main/l/ linux-dtb-edge-meson64_22.11.0-trunk.0138_arm64.deb linux-headers-edge-meson64_22.11.0-trunk.0138_arm64.deb linux-image-edge-meson64_22.11.0-trunk.0138_arm64.deb linux-source-edge-meson64_22.11.0-trunk.0138_all.deb and did dpkg -i linux............deb -------------------------------------- ls /boot armbianEnv.txt Image armbianEnv.txt.out initrd.img-6.0.10-meson64 armbian_first_run.txt.template System.map-6.0.10-meson64 boot.bmp uImage boot.cmd uInitrd boot.scr uInitrd-6.0.10-meson64 config-6.0.10-meson64 vmlinuz-6.0.10 dtb vmlinuz-6.0.10-meson64 dtb-6.0.10-meson64 -------------------------- ➜ src cat /etc/os-release PRETTY_NAME="Debian GNU/Linux bookworm/sid" NAME="Debian GNU/Linux" VERSION_CODENAME=bookworm ID=debian -------------------------- OS: Armbian (22.08.8) aarch64 Host: Hardkernel ODROID-N2Plu Kernel: 6.0.10-meson64 -------------------------
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines