N5105 4xi226/i225 soft router flashing issues

i bought a generic n5105 soft router.. i have 8gb ram 256gm NVMe m.2 honestly its a nice little box.. the issue is i am moving from opnsense to openwrt and i can't find a single working disk image, to start they are all like 10 or 11 mb.. and that just feels small.. and second nothing ever boots up.. i get the uefi page that it. i have tried loading from m.2 and USB

i am not an idiot.. but for sure right now i am a fool.. please someone walk me through this before i go crazy.

PLEASE!

If you gunzip the squashfs combined-efi image, it will be just over 100 MB, write that to the raw block device (e.g. /dev/sdX, not a partition (like /dev/sdX1)) of e.g. a USB stick or your internal SSD (I'd suggest to test with a USB stick first).

Depending on your previous installs (and their configured EFI boot entries/ -order), you might have to actively select the OpenWrt disk for booting (secure boot must be off). If there are stale boot entries, it does make sense to mop up afterwards (efibootmgr).

Connecting screen and keyboard won't hurt.

I have the same mini PC running OpenWRT and the working image you need is this Generic x86/64

1 Like

What am I missing here each of these .Img files is only like 10 to 11 mb.

You want to use the combined-efi (ext) img and save it on a USB then you need to boot the device with a usb linux distro mount the usb with the img and then "dd if=/newdisk/openwrt.img of=/dev/nvme0n1 bs=4M" the image to the nvme.. Then after you've can successfully boot OpenWRT you can expand the partition to 100%.. with parted /dev/nvme0n1 resizepart 2 100%

You need to extract the .gz

Ahhh.. I take itn7zip wont

Yes if you have windows or with linux etc gzip -d openwrt.img.gz

This makes sense, I'm gonna give it another go.

And for squashfs?

same for all, read https://openwrt.org/docs/guide-user/installation/openwrt_x86

1 Like

I don't think squashfs will work on the N5105 4xi226.. but I've never tried so I could be wrong but what I do know on my unit the combined-efi (ext) img is the one that works.

1 Like

squashfs works too, just trickier to extend, if that's something you'd like to do.

1 Like

Gilly I'm almost there.. except now it won't connect to the internet.. or I can't set up a wap..

Sorry this ui is foreign to me. So I have 4 eth ports but only 2 are enabled..?? I the other 2 I configured but is says thay are not connected. sooo yeah...

that's expected.

one of those two enabled are LAN and WAN (which one's which, you need to figure out), the rest have to be added/enabled manually.

What do I need to do to get actually connected now. I'm In. The web ui.. if I plug into my modem I'm still not routing.. can't get a hard wire signal to my wap or my pc what am I missing

This sounds bizarre bit opnsense was almost easier lol

Do I mess with the Interfaces at all or just the devices?

not sure what you mean, but you have to add the two extra ports, then attach them to br-lan.

So I have br-lan and I have a additional interfaces Wan and wan6 not neither of those will turn green for me.. they are red.. and not seemingly functioning