OpenWrt Proxmox script

I am trying to install openwrt on proxmox using proxmox scripts but it fails to download

 āœ“ https://downloads.openwrt.org/releases/24.10.0
23.05.5/targets/x86/64/openwrt-24.10.0
23.05.5-x86-64-generic-ext4-combined.img.gz
24.10.0                                       [ <=>                                                                               ]   2.45K  --.-KB/s    in 0s      

[ERROR] in line 440: exit code 4: while executing command wget -q --show-progress $URL

The script searches the front page of https://openwrt.org for the text "Current stable release - OpenWrt" and extracts the version information from there.

Unfortunately, as of now, the front page contains two hits: 23.05.5 and 24.10.0. Either the front page needs to be "fixed" or the script needs to be updated to use the first hit.

Reference:

or just hardcode the stableversion variable, I guess ...

Sure... or just install it manually. It's no big deal to set up an OpenWrt VM without the script, it took me a few minutes to do so on my Proxmox host. This is one of the howtos I used.

2 Likes

any guide for that?

The one I used as a starting point is linked in my previous post.

for storage ID

Can't find the ip.

Press ENTER as instructed and type ip addr to show the addresses. But LAN is always at 192.168.1.1.

Looks like you configured only one Ethernet interface. IIRC that becomes WAN, so you need to reconfigure on the console - or add a second Ethernet interface to your VM.



LGTM - 192.168.1.1 is attached to eth0 which should be attached to vmbr0 (the log indicates eth0, that one has a MAC address ending in 3C and that is your net0).

Then you need to swap the net attachments so that net0 is attached to vmbr1 (instead of vmbr0).

image
like this?

Yes. You should now be able to reach 192.168.1.1 from the host.

Yes I can ping from proxmox, but how do I access luci from PC?

We don't know your network setup. What is attached to vmbr1?

My current network.

192.168.18.70 = VMBR0
Should I connect my laptop to VMBR1?

If you do this, your notebook should receive an IP address from the OpenWrt VM and you should be able to access LuCI at 192.168.1.1.

how do I access it in its current configuration? I think I am on the WAN side of the OpenWRT VM right now?