How to upgrade OpenWrt?

Sdílet
Vložit
  • čas přidán 12. 06. 2024
  • An upgrade of OpenWrt can be done in many ways - Upgrade with LuCi, Upgrade with sysupgrade or Upgrade OpenWrt with the new Attended SysUpgrade functionality asu through the OpenWrt Firmware picker or using the OpenWrt Attended Upgrade Client, acu. We will talk about the OpenWrt Imagebuilder in a following episode.
    0:00 why upgrade? - upgrade at a glance
    2:33 update vs upgrade
    4:16 Why re-image for upgrade?
    7:13 read/write storage
    9:30 what is kept after upgrades?
    12:13 how opkg keeps track of packages
    15:28 attended sysupgrade (asu)
    17:14 asu from the router
    19:17 asu from the shell
    20:20 one last thought
    CZcams: / onemarcfifty
    Twitter: / onemarcfifty
    Discord: / discord
    Github: github.com/onemarcfifty
    Patreon: / onemarcfifty
    Blog: www.onemarcfifty.com
  • Věda a technologie

Komentáře • 239

  • @ruthlessadmin
    @ruthlessadmin Před 20 dny

    I already understood overlay filesystems, but your analogy with the pane of glass was the most succinct and overall best descriptions I've heard.

  • @tomcollings
    @tomcollings Před rokem +10

    Upgrading OpenWrt used to be a pain because I had to reinstall all my packages. Thank you Marc for showing this.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +2

      Hi - yes reinstalling the packages hopefully is a thing of the past ;-) I‘ll do a follow up on imagebuilder which allows to do this on premise.

  • @0_1_2
    @0_1_2 Před rokem +35

    Thanks Marc, you’re the man. You have been my primary source for learning about openwrt

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +2

      Awesome thanks!

    • @Khundire
      @Khundire Před 8 měsíci

      Same here. I am considering to (finally) change the stock Asus RT58U for something "to last" like a x86 router using an old small computer that I have. Pfsense would be the go to in a x86 architecture but I personally prefer to use Linux instead of BSD I think it is much lighter and has much better support (drivers and sofware) so "meeting" OpenWRT throughout your videos has been really nice. This video probably will save me many hours and headaches in the future.

  • @heraldreichel1971
    @heraldreichel1971 Před rokem +5

    Thanks Marc for providing this guide, and obviously to the folks at openwrt for providing and amazing distro. I just upgraded an x86_64 router with the attended sysupgrade package and it worked perfectly!
    Granted, it was only from a 21.x build, but instead of hours of drudgery it took less than five minutes.
    As you like to say: Awesome!

  • @lotusridder
    @lotusridder Před rokem +8

    Hi Marc, this has been a wonderful episode. Upgrading is now so easy and not costing me many horrible hours. Many thanks.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Ruud, very true ;-) I felt delighted when I learnt about this.

  • @a123qwertz567
    @a123qwertz567 Před 5 měsíci +1

    Very nice and comprehensive overview with no unnecessary information.

  • @JrManPT
    @JrManPT Před rokem +4

    I've been using openwrt for over 10 years but I'm learning alot with your videos!
    Thank you 👍

  • @hiyoshi177
    @hiyoshi177 Před rokem +3

    im a noob in openwrt and this is very useful, thanks marc, this information is so clear for me.

  • @duiliobeojoneneto9409
    @duiliobeojoneneto9409 Před 8 měsíci

    Just bought a belkin and following all your guides, can't thank you enough for such quality content!!!

  • @seppix
    @seppix Před 9 měsíci

    Dear Marc, I am deeply impressed about the quality of this video!!! You gave me the knowledge to contol my OpenWRT update process !!! Absolutely great job !!!

  • @themanologue2791
    @themanologue2791 Před rokem +2

    Thank you so much for highlighting this simple path to upgrading OpenWRT, it was so painless! If ASU run from the CLI, unlike in LuCi, you get to see all the packages that are updated. I'm also using the Belkin 3200 via snapshot and was dreading having to reflash everything, get all the correct packages, etc, in order to properly update. Absolute lifesaver

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Awesome, thanks for sharing. Glad it helped;-)

  • @KevinVisscher
    @KevinVisscher Před rokem +1

    Loved all your videos so far, very clear instructions! Appreciate all the work that also goes in to making the screen recordings of all the steps.

  • @CHeckmann
    @CHeckmann Před 10 dny

    Thank you very much! This will save me so much time! In the past I had a script to install all packages I need but this is so much easier! I just bought a new router (GL-MT6000) running docker on it. Looking forward for the next update!

  • @itsawonderfullife4802
    @itsawonderfullife4802 Před rokem +1

    Always looking forward to your very informative and warm videos. Thank you so much.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      And thank you for watching- glad you like them.

  • @djmcwill1010
    @djmcwill1010 Před 9 měsíci

    The ASU portion at 17:15 looks like pure gold! Excited to try this on my next update. Great share.

  • @stevezphone
    @stevezphone Před 10 měsíci

    Wow! I haven't done any software upgrades in a very long time because it was so difficult. This made it much easier! Thank you Marc, you helped me get updated!

  • @IamYuto
    @IamYuto Před rokem +2

    Perfect timing since I installed openwrt for the first time a few days ago and waiting for the next update. Really enjoying your videos btw. Very calm and informative. You're a great teacher!

  • @raywoodward1967
    @raywoodward1967 Před rokem +2

    Superb video Marc. I'll be using and recommending this video as great reference tool for understanding squashfs and overlay file systems in general to explain why it's really important to keep an eye on usable memory when making updates vs. upgrades. I'll definitely be using ASU as part of my update processes going forward and checking it out on a couple of of my physical "sandbox" routers this weekend. Many thanks for making great content!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Ray, many thanks for the comprehensive feedback!

  • @ypat90
    @ypat90 Před rokem +1

    Very useful. I haven't used OpenWRT very long and have been wiping in between. Going forward, I'll be more sophisticated in my approach. Thanks to you!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, many thanks for the feedback. Yes - asu makes the whole thing a lot easier ;-)

  • @rtv1196
    @rtv1196 Před rokem +1

    Thanks, Marc. Your videos about OpenWrt are extremely useful for me.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi, glad to hear that! Many thanks for the feedback

  • @Swenthorian
    @Swenthorian Před rokem +1

    Thank you so much! That LuCi attended upgrade tool should come standard!

  • @techydude
    @techydude Před rokem +1

    this is wonderfull, Marc, what i’ve been needing for a year! thank you !

  • @new_fone_who_dis
    @new_fone_who_dis Před rokem +1

    I've just used this to update my RT3200 - thank you!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Excellent! Glad you could use it and thanks for the feedback!

  • @samuraijaydee
    @samuraijaydee Před rokem +3

    Thank you Marc! I really appreciate your videos. You're so talented!
    Edit: Just finished watching this... EPIC! Such a good explanation of what happens, and what a powerful solution. Thank you!

  • @The1927ASR
    @The1927ASR Před rokem +2

    Ciao Marc, I installed Openwrt just a couple of months ago on the xiaomi 4a gigabit thanks to you and I was just wondering how to upgrade it. I'm about to start my journey in the IT(Linux and networking), you and a couple of other youtubers helped me a lot choosing the right path for my new career. Thank you so much for your videos. Greetings from your new roman follower, keep it up!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Awesome - great to hear that it could help!

  • @prajullas
    @prajullas Před rokem +1

    You earned yourself a subscriber. Love from Kerala.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi, many thanks for subscribing and commenting ;-)

  • @eustefan88
    @eustefan88 Před rokem +1

    Thanks Marc ! Managed to update my hardware with a few clicks. Looking forward for the PXE multiboot video :)

  • @kamalrahou2924
    @kamalrahou2924 Před rokem +1

    oh man, I learned a lot from you, I really appreciate your efforts and deep explaining, man thanks again and again 👍🏻

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Kamal, thanks for the feedback. I am glad you like the videos!

  • @tenisviejos
    @tenisviejos Před rokem +2

    Wow, the custom build was a huge surprise. Thanks for the tip! Keep it up!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      I will ;-) thanks a lot!

    • @dmackle3849
      @dmackle3849 Před rokem +1

      @@OneMarcFifty so to clarify please: there’s really no remaining advantage in us building locally (other than trusting the software that is returned (& let’s face it, who is doing a full source audit anyway..))?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Basically that’s correct. There are scenarios where the asu won’t work - e.g. x86 systems with large partitions.

  • @anilgarg57
    @anilgarg57 Před 11 měsíci

    Marc, super duper video
    Thanks for making it.

  • @semirauthsala6001
    @semirauthsala6001 Před rokem +1

    Thanks Marc. Great video. No need to go through build-root anymore.
    Recently I installed Openwrt on few devices including Lanner fw-7525. Everything on openwrt now very polished than few years back. The time I was using it on my TP-1043ND V1 :)

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, yes - it's so much easier these days. I love it.

  • @DisectUK
    @DisectUK Před rokem +1

    That was a really good informative video. Learnt heaps from it.

  • @user-ip1su8fc8r
    @user-ip1su8fc8r Před rokem +1

    Amazing tutorials in just 20 minutes, awesome!

  • @johnmangino3925
    @johnmangino3925 Před rokem +1

    how have i just seen this channel!? it’s fantastic.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi John, great to have you here! Many thanks for your friendly feedback.

  • @bladesrompolos
    @bladesrompolos Před 6 měsíci

    Hi! First of all good to find you, great tutorials for our favorite openwrt. Secondly liked, subsbscribed and commenting since you asked :D The question is, can I upgrade from 21.xx to 23.05 with attended way? Thank you

  • @squalazzo
    @squalazzo Před rokem +1

    very good, didn't know the last part about custom fw, thanks!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi, many thanks for the feedback- I think it was a revelation for many of us (including me) ;-)

  • @Scigor
    @Scigor Před rokem +2

    Thanks!! I almost gave up on upgrading OpenWRT 😅

  • @Major_Meerkat
    @Major_Meerkat Před rokem +1

    A valuable and timely video now that the newest OpenWRT stable release is around the corner.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Yes - definitely. My first tries with moving from 21 to 22 with asu where successful- I‘ll give it a shot once the release is out;-)

  • @bartk174
    @bartk174 Před 2 měsíci

    Great content !! Love it

  • @vitalijk9611
    @vitalijk9611 Před 6 měsíci

    It is Amazing! Thanks Marc!

  • @hamalantti
    @hamalantti Před rokem +1

    Thank you, what a time saver!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Antti, I am glad that it could help you ;-)

  • @yeralexey
    @yeralexey Před rokem +1

    Your videos are definetly cool! Thaks!

  • @d00dEEE
    @d00dEEE Před rokem +1

    How timely! I too had been putting together a script to upgrade an OpenWrt box that has ext4 USB drivers, Syncthing and some other (forgotten) packages installed. I've been using attended sysupgrade on another router, but hadn't spent time to see if it would do released versions (have only used it for snapshot images), so this is quite a revelation.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Excellent- glad it helped ;-)

    • @stephendetomasi1701
      @stephendetomasi1701 Před rokem

      That's a lot to run on a router! Why not a separate VM?

    • @d00dEEE
      @d00dEEE Před rokem

      @@stephendetomasi1701 It's not mine, it's my sister's (hence no lab, no extra hardware) one-box replacement for an old Apple Airport Time Capsule. The TC was a router with an HD for backing up all your devices, via proprietary Time Machine software. The RT3200+Samsung 1TB drive was a huge upgrade in both performance, reliability and backup space, more than enough cpu and ram to handle the job (plus it only cost 1/4 as much as the Apple box did 10 years ago).

  • @rvanwaay
    @rvanwaay Před rokem +1

    Vielen danke aus Enschede NL, your video's are my favoriet on youtube!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hey Robert, dank jij wel and greetings to the Netherlands!

  • @aletarg
    @aletarg Před 19 dny

    Excellent, thanks for the info!

  • @omijharjani
    @omijharjani Před rokem +1

    Love your videos about E8450 helped me a lot while installing openwrt and to avoid bricking it with the ubi-non ubi fiasco

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Omi, many thanks for the feedback - glad you could use it! Yes, fiasco is the right word ;-) It's amazing to what depth the OpenWrt developers need to get into a device in order to make it usable ;-)

  • @dleivam
    @dleivam Před rokem +1

    Awesome video, it's just what I need it.. Many thanks.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi David, glad you liked it - thank you for your feedback!

  • @lrlemos0
    @lrlemos0 Před rokem +1

    This video brought light 💡

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Leonardo - thanks for the feedback- glad you could use it!

  • @typodar
    @typodar Před rokem +1

    Very useful! Thanks Marc!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      You’re welcome- thanks for the feedback!

  • @KryptoJanusz
    @KryptoJanusz Před rokem +1

    Good Content. A lot of information.

  • @miriamramstudio3982
    @miriamramstudio3982 Před rokem +1

    Great video. Very helpful. Thanks

  • @jurie911
    @jurie911 Před rokem +1

    Another great video. Thank you!

  • @JohnPMiller
    @JohnPMiller Před rokem +1

    Attended SysUpgrade worked great on my Raspberry Pi except for one thing. I have OpenWRT installed to a 32GB EXT4 partition, and after upgrading, the partition shrunk to a tiny one. I did a poweroff of OpenWRT, then popped the microSD card into a linux box and resized the partition using fdisk, e2fsck and resize2fs. I wish this was built into Attended SysUpgrade, but it still saves time. Thanks for the video!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi John, yes - that's a headache still. Asu does not allow resizing the partitions. It's even worse if you _need_ a bigger partition than what is defined i the image builder (e.g. 104 MB on x86) - There is however an open pull request on the github that would address this github.com/openwrt/asu/pull/416 - let's see if it goes through.

  • @MasterVader510
    @MasterVader510 Před rokem +1

    Great content, thank you lots!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, many thanks for the feedback and thanks for watching !

  • @rustyp21
    @rustyp21 Před 5 měsíci

    Great video Marc! I have that exact same router, and I already have 22.03.1 and am researching upgrading the firmware to 23.05.0. This is an excellent video for me - especially right now! Any quick tips?

  • @praneethrv
    @praneethrv Před rokem +3

    Thanks for creating such insightful videos and yes I am a Belkin RT3200 user too - that device is so good! That said, how often do you recommend running attended sysupgrade on the router? I am thinking no more frequently than once a quarter or so given there is a scope for things going wrong, etc.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, I am glad that you are happy with the Belkin! Well, in Theory you should upgrade frequently- but as you say - it’s always a risk etc. I would say it’s much better to upgrade every 3 or 6 months than not upgrade at all. Most users of stock firmware or webcams etc never upgrade - that’s where a lot of the security issues come from.

  • @user-nx6kx5qx5u
    @user-nx6kx5qx5u Před 4 měsíci

    Just amazing! tks a lot!!!

  • @dusttaker6264
    @dusttaker6264 Před rokem +1

    I really love your videos

  • @francapcbi
    @francapcbi Před 3 měsíci

    very nice! I need this!!!

  • @tobiasfellmann7692
    @tobiasfellmann7692 Před rokem +1

    Love the channel! Have you used openwisp? As I am bound to use unifi at work, so it's nice to manage from a central point...

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi, no I haven’t (yet). I am rather trying to standardize on Ansible.

  • @fredrikrutgersson
    @fredrikrutgersson Před rokem +1

    Thanks for this tip. This makes it easier for me to upgrade to the next version. // Fredrik

  • @volkervitt
    @volkervitt Před rokem +1

    I never liked OpenWRT, until I found your videos. Now, the Fritzboxes are gone and I run 4 OpenWRT boxes in my home network.

  • @jreid90
    @jreid90 Před rokem +1

    Great video! I wonder how many people you influenced to purchase e8450/r3200 routers with your previous videos? You were the reason for my purchase!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      So first off - I hope that you are happy with the purchase? I don’t recommend hardware often - but I personally use and like it ;-) I can’t tell you how many - I honestly have no idea - these days it is difficult to find specific hardware anyhow ;-(

  • @bigfoz50
    @bigfoz50 Před rokem +1

    Marc Great video very helpful and in laymans terms

  • @SB-qm5wg
    @SB-qm5wg Před rokem +1

    Wow, I learned some new things.

  • @mobiletechbangla
    @mobiletechbangla Před rokem +2

    Sir, Can you make a complete video on How to use band steering/ simultaneous dual band on Openwrt?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi, this question comes up quite a couple of times really. I will presumably have a look into band steering at some point in time.

  • @tigrodpt
    @tigrodpt Před rokem +1

    Great video as all the others.
    Are you working on the RPI + Switch + Wi-Fi AP as OpenWRT router? That would be awesome.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      It's on the list ;-) I've been a lazy bug with regards to new videos the last weeks (wanted to try out a couple of things, see my activities on other platforms such as Github). But I will definitely do something in that space.

  • @apricotcomputers3943
    @apricotcomputers3943 Před rokem +2

    Yes! Please do a video on openwrt server build

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, I might do that quite soon - actually given the fact that OpenWrt now supports custom image sizes with the image builder ;-)

    • @apricotcomputers3943
      @apricotcomputers3943 Před rokem

      @@OneMarcFifty excellent. That would be great

  • @-sunshine-
    @-sunshine- Před rokem +1

    Hi Marc, very well explained and highlighted. Many thanks for that. Although I have one question left. My current openwrt version 19. Can I use your procedure to execute the upgrade?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      It _should_ work - if asu is available as a package under V 19 - not sure about this. Problems might occur however if your device had been added DSA support.

  • @Anonymouzee
    @Anonymouzee Před rokem +1

    hi Marc... such a good pack of information...
    and some good and objective data about the use of squashfs and overlay...
    ?wouldn't be better to use casper to avoid the extra partition... and could have a dynamic size of the 'writable' part??

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Interesting idea - I'd have to do some research on casper - I only know it in the context of initramfs and the like.

  • @nbensa
    @nbensa Před rokem +2

    WOW! for the custom build and attended sysupgrades! Unfortunately auc doesn't work on my router (gives "Invalid argument (22)') but I just requested a custom build from the web service and I upgraded my (old) TP Link 4300 :-)

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      First off - the WOW goes to the people who developed it - I have only described it;-) (Thanks anyway;-) ) - I‘ve seen the error 22 on a local build attempt but not on the asu server - is the router that failed x86 with a large partition? That’s something I will talk about in a follow up for sure. Many thanks for your feedback!

    • @nbensa
      @nbensa Před rokem +1

      ​@@OneMarcFifty the WOW! was for you for showing us the feature 🙂. I didn't know it existed. As for the auc, I think I have a misunderstanding of how it works. Do I need a build server deployed on my network? I'll do some reading. The router is a TP-Link 4300 (Atheros AR9344/mips).

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      No you don’t need anything local for asu/auc. Imagebuilder is a different solution that runs locally

  • @IpunkP
    @IpunkP Před rokem +2

    great tutorial, one thing ican't find is resizing partition while sysupgrade, as i'm using raspberry pi with 16GB storage

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Thank you - the imagebuilder can do that - there‘s settings for the partition size it creates. Video is planned ;-)

  • @goppinaththurairajah760
    @goppinaththurairajah760 Před rokem +1

    As usual, very well explained. This is one of the topics I would like to have a deep dive and thanks for your effort, Marc. By the way, I have two very short questions. I am using Raspberry Pi 4 as a home router and using SQUASHFS as the filesystem. What is the right filesystem for the Raspberry Pi with SD cards? SQUASHFS or EXT4? After installing the OpenWRT on the SD card, I have to manually resize the filesystem to make use of all available space. Is there any better alternative for this approach? I am eagerly waiting to see a video on the topic of installing OpenWRT on Raspberry Pi.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Tough question really. If you use squashfs then you'll have an overlay file system. If you use ext4 then there will only be one filesystem. Maybe squashfs is safer... From a wear-out standpoint OpenWrt should not put too much load on the card in either case because it makes extensive use of the RAMdisk

  • @examen1996
    @examen1996 Před rokem +1

    This is a great video, however in the past , when upgrading from 19 to 20 (major versions) saving config files generated strange behaviour.
    What I have been looking at for some time is a automated way to upgrade the routers, and my current way is by using Ansible and the raw module(basically shell commands, as majority of the routers don't have enough memory for python3) , by doing so you can achieve the following:
    - use official builds rather than dev/trunk/rc, solely for the purpose of being able to install packages later without needing to have a local repository of all the packages compiled
    - Apps are installed via opkg, so they get all the dependencies and what not
    - Have the entire config as a .yml file somewhere
    Great video as always, viele Grusse !

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Nice approach. I am using ansible as well but had not yet thought about leveraging it for upgrades - I might steal that idea;-)

  • @robertn916
    @robertn916 Před rokem +1

    brilliant videos Marc, i have rbk50 Orbi router and satelite and wondering if a custom firmware will extend the life as i am sure support will dry up soon given new products are out.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Robert, unfortunately there seem to be no official OpenWrt builds for the orbi. However, there also seems to be a github repo github.com/SVoxel/ORBI-RBK50 that offers builds for that device. Unfortunately there is close to no info about who the author is etc.

  • @JoaquinVacas
    @JoaquinVacas Před rokem +1

    THANK
    YOU.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Joaquin, you are welcome. Thanks for watching ;-)

    • @JoaquinVacas
      @JoaquinVacas Před rokem +1

      @@OneMarcFifty It's always exciting to see that there's a new video from you! Thank you for your time.

  • @oneoff9848
    @oneoff9848 Před 9 měsíci

    Hi Marc, thanks for this excellent help. I want to upgrade from 19.07.7 to the latest stable build using the CLI. Would you recommend doing it step by step in major releases? So first to 21 and then to 22? Thanks in advance!

    • @a892728
      @a892728 Před 7 měsíci

      Current stable release - OpenWrt 23.05.0
      The current stable version series of OpenWrt is 23.05, with v23.05.0 being the latest release of the series. It was released on 13. October 2023.

  • @FarshadNabizadeh
    @FarshadNabizadeh Před 6 měsíci

    Thanks for your amazing work. marc I have a RT3200 Belkin which right now is on version 22.03.6. I want to upgrade it to version 23.05.2. attended sysupgrade shows it on advanced mode but cannot download it and I think it's due to bing a major version upgrade. on the other hand on openwrt website sysupgrade file is in format itb instead of bin. is it safe to just download it and use luci firmware upgrade with this file or should I use dangowrt method like the first time I came from stock firmware to openwrt?

  • @sanionline
    @sanionline Před rokem +2

    Thanks Marc. What seemed to be the most boring topic turned out to be an incredible timesaver. Now if you can find a way to give me the hours wasted on upgrading rpi & rpi zero with single interface (so much more amusing on pi zero with the usb/micro usb dongles and adapters to unplug replug while making sure to fit in between the ip config rollback time)!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hey, thanks for the feedback! You know, I wish I could get my own hours wasted back as well ;-)

  • @umangsharma4392
    @umangsharma4392 Před rokem +1

    This was a really helpful video. I can now upgrade without having to install those non default packages separately.
    Can you make a video on ipv6 configuration on openwrt (preferably using Luci)?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Let’s see how much traction the IPv6 video gets on monday. If it does then there will be a video on IPv6 with OpenWrt

  • @sonyashish
    @sonyashish Před rokem +2

    Hi Marc, Thanks for this video. AUC just blew my mind away! I think the idea about this feature might have tripped some openwrt router dev himself, when he got fed up of everyone recommending to compile from source, and he took it to his own hands, and delivered! Cant praise this feature enough. And i am still shocked that this feature is still not a HIGHLIGHT of openwrt ecosystem.
    One question though.. Can the attended-sysupgrade handle extroot aswell? Will my custom-firmware upgrade reuse my ext-root usb stick ?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, yes - it's an unexpected leap forward for most of us ;-) Basically it is kind of an "Imagebuilder as a service" approach. Still some limitations (partition size on x86 etc.) but definitely a good thing. I doubt that it will work for extroot. This is always a nightmare to upgrade - with or without image builder. You would need to sync the files that have been changed between updates between the extroot and the rom/overlay by hand _before_ the reboot. I was about to make a video on extroot two years ago but did not do it because of the upgrade implications.

  • @dopamyth
    @dopamyth Před rokem +1

    Vivement 22.03 👍👌😅 bientôt

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Oui, absolument;-) Ca ne devrait plus tarder ;-)

  • @JS-fv7io
    @JS-fv7io Před 9 měsíci

    Hi Marc, Thank you for your guide. Does it work for snapshot firmware ? on Luci I got an error "Cannot read properties of undefined (reading 'luci-app-attendedsysupgrade') "

  • @nasirreza7371
    @nasirreza7371 Před rokem

    Hi Marc, Thanks for your video. Can you please make a video on installing crowdsec and corwdsec firewall bouncer on openwrt for X86 system. It will be a great help for us all

  • @UzairFarooqui
    @UzairFarooqui Před rokem +1

    Awesome video Mark. Thank you. I just built a x86/64 openwrt on HP T620+. Tried updating using both auc and luci attended SysUpgrade but I am getting error "Bad Message (74) on Auc and "Cound not connect to API" on Luci. running 22.03.1 - r19777-2853b6d652. Update: I tried 15 hours later and it worked. All updated nicely. I did have to resize the root partition again. Looks like there was some glitch on sysupgrade server that got sorted out overnight.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Yeah - keep in mind it's all non-profit free and the like ;-)

  • @andygonzalez7012
    @andygonzalez7012 Před rokem +1

    Hello Marc. Like your videos. Question on this LUCI software upgrades. I went to the upgrade tab and went thru each file needing upgrade but except for upgrading individual files it did not install the 22.03 openwrt software. So how can i do this short of imaging the sd card all over again. I am using this as a travel router and the only files on it are the configured files needed for the added wlan adapter and vpn. I am interested in 22.03 to see if it supports AC1200 usb wireless adapters, etc.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Andy, you may use asu/auc as outlined in the video for this. However,I don't know where we stand with support for 5 GHz USB sticks really (not so much an issue of OpenWrt but rather the underlying kernel version)

  • @mostafahussein7946
    @mostafahussein7946 Před 3 měsíci

    what about extroot do i need to format usb and reapply extroot steps after every upgrade?!
    or there is a better solution

  • @thierrytitus
    @thierrytitus Před rokem +1

    Merci

  • @rklauco
    @rklauco Před rokem +1

    Thanks, learned something new here.
    Question - I am thinking about building a router based on x86-64 platform. Wherever I go, everyone recommends pfSense for it. I like OpenWRT. Can you clarify what would be the benefits and downturns between using one or the other?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +2

      Hi Robert, you may use pfSense, OpnSense and/or OpenWrt on x86 hardware. Generally speaking, people recommend what they know and what they have made good experience with. Also, there are not many people using both solutions. That would explain why someone recommends the one or the other. Also, if we look at the history of both products, then you see that pfsense has come from being a firewall solution while OpenWrt comes from being a Firmware for the WRT54 router. The main focus of both products is hence different. Unfortunately the discussion around both sometimes is quite emotional. Objectively speaking there are strengths and weaknesses of each product compared to each other. Things that you can easily do with pfsense but that are difficult to achieve with OpenWrt are for example Intrusion detection and protection, transparent proxy, application-layer firewall and the like. So if your focus is to have a router focusing on security then pfsense might be a good choice for you (or OPNSense of course). If however you have different hardware (i.e. a consumer router with few memory and non-x86 architecture) and/or you want to use 5 GHz Wi-fi then the preferred choice would be OpenWrt as it has much better Wi-fi support. For home usage it doesn't really matter, both solutions work great as routers and ip firewall. pfsense needs more resources though, so if you have a really weak system then OpenWrt might have some advantages. I personally am using OpenWrt mainly because I know it well, because I use it for over 15 years now and because I have a lot of non-x86 Wifi hardware. In a nutshell, if anyone tells you "forget the one, the other is better" - do not hesitate to question that statement. Hope that helps and has not added to the confusion ;-)

    • @rklauco
      @rklauco Před rokem +1

      @@OneMarcFifty Thanks for excellent answer, really appreciated!

  • @gg-ww4cx
    @gg-ww4cx Před rokem +1

    Good

  • @StanyoPeti
    @StanyoPeti Před rokem +1

    Hi Marc! I have a special HW configuration with OpenWrt. My TP-Link router does not have enough storage space, so I connected a CF card via USB, and the overlay partition is on it. I would like to carry out the attendend sysupgrade, but I don't know that it will also work with the CF card? Do you perhaps have experience with this or give any advice? Thank you in advance!

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hmmm... I have used extroot in the past and totally stopped doing so because upgrade is a nightmare. What I ended up doing was to remove the extroot, upgrade and do it again. I am sure you could do it with some sophisticated rsync script or the like. But - sorry - I am not using it any more :-(

    • @StanyoPeti
      @StanyoPeti Před rokem

      Thank you! I will try it… 😎

  • @matrix20201978
    @matrix20201978 Před rokem +1

    Thats a great guide and a very useful way to save time on upgrades! My only question is, how to upgrade between different major releases. I was able to upgrade from 21.02.1 to .5, but I can't seem to find an upgrade path to 22. Is it possible?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, yes - this is perfectly possible. It does depend on your hardware though. Currently the only reason why upgrades between major versions (from 19 to 21 to 22) should not work is that your hardware might have been ported to the DSA architecture between the releases. Besides that, going from one major release to another is perfectly possible and works exactly the same like within a version. You might need to check on package dependencies e.g. on IPTables for example though as Version 22 is now using nftables (for example SQM relies on IPTables)

    • @matrix20201978
      @matrix20201978 Před rokem

      @@OneMarcFifty Thats the thing, I have Xioami Mi 4A Gigabit edition, so 21.02 was already migrated to DSA. Not sure why 22 is not showing up as a possible upgrade.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Are you using uac or attended sysupgrade in LuCi? Might be worth checking the “advanced” tick box and/or update those packages?

    • @matrix20201978
      @matrix20201978 Před rokem

      @@OneMarcFifty Hey, thanks a bunch! Clicking advanced did the trick. Now proudly running 22.0.3.3 (latest from just 2 days ago).

    • @matrix20201978
      @matrix20201978 Před rokem

      I have to add an important warning. Ticking advanced works, but there is an unexpected complication. It doesn't install nftables and firewall4! As a result, the router still uses iptables and luci shows blank page in firewall status. The solution (it worked for me) is to install the appropriate packages from the package manager. In my case installing fw4 brought all the prerequisites. Just in case I also added ebtables-nft and arptables-nft (not sure I had to do that, but did just in case).

  • @d00dEEE
    @d00dEEE Před rokem +3

    Oh, here's a question (probably better on the OpenWrt forums). What's going to happen when I update from 21.x to 22.x with my iptables/fw3 config into the new nftables/fw4 config???

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +2

      The fw3 config will be carried over if you sticked to the GUI, i.e. everything that you did in LuCI will remain. Custom rules need to be rewritten

  • @alexanderwingeskog758
    @alexanderwingeskog758 Před 8 měsíci

    Love OpenWRT but sadly I experiment a lot and now I'm in a boot loop (my own doing ofc)... But I don't know how to get out of it... I did a stable reflash, bought a 32GB USB stick, did a extroot (which worked like a treat!) and did something (now I can remember what) bad (installed something, not working or made a really bad config) and it sort of boot looped... booted, and restarted so and an on... So tried to get into failsafe mode (which worked) but with a really limited shell as (again probably the USB failed, which contained more then half the root dir) and with much limited commands I could do pretty much a "firstboot" and nothing else (still boot looped ofc)...
    So where do I go from here... removing the USB is the only thing that gets you into failsafe shell, and with it in it just boot loops... Got drunk and mad formatted the USB (guessing it would go into more of a failsafe :-) but na same thing...
    Maybe the onboard flash got crazy/corrupt but I don't think so... I think my extroot went haywire and sadly the onboard flash points to it.
    Mount works, VI works, and reboot, firstboot but not much else...
    I guess I can not TFTP flash it again (failsafe does not start a TFTP client?) what to do? is it semibricked? I'm sad.. and a bit drunk :-)

  • @eugrus
    @eugrus Před rokem +1

    When upgrading from LEDE 17 to OpenWRT 22 should I use the sysupgrade image or the initramfs image?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem +1

      Hi Evgeny, I'd go with the sysupgrade image then.

    • @eugrus
      @eugrus Před rokem

      @@OneMarcFifty thank you!

  • @ciybe
    @ciybe Před rokem +1

    Hey Marc, I really like the OpenWRT Mesh series and I'm working one one for my own. Since I have a Ubiquiti router for the uplink that is not fully supported by OpenWRT, I had to modify the OpenWRT source a bit to get my own image. For that I'm really interested in a video, which explains how I can host my own Image Selector that builds the desired images in the background. Maybe you want to make such a video :-)

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi, that's something I have on my list for a long time already. I'd probably make an episode about Image Builder and making your own asu server before however. Did you have to compile everything from source in order to make it work ?

    • @ciybe
      @ciybe Před rokem

      @@OneMarcFifty yes because i did not know how to do it otherwise, i made an openwrt fork, branched for the ubiquity er-12 and built the whole source

  • @MilindPatel63
    @MilindPatel63 Před rokem +1

    i noticed that, using firmware selector to make a custom build, doesn't contain luci....i am running openwrt on archer a7v5 and the official package contains luci webui, but if i create a custom build and add/remove some packages, luci is not there in that list by default.....this makes me wonder, what other packages are skipped...is there some info in docs related to this?

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hmmm... the snapshot releases typically don't contain LuCI. The release versions should.

  • @jithinsankar787
    @jithinsankar787 Před rokem +1

    Can you make a video on the 2 Gbps WAN/LAN NAT Routing on ramips MT7621 devices...this discussion is present in the forum.

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Jithin, many thanks for the hint. For everyone else: The discussion is here: forum.openwrt.org/t/2-gbps-wan-lan-nat-routing-on-ramips-mt7621-devices/131478

    • @jithinsankar787
      @jithinsankar787 Před rokem +1

      @@OneMarcFifty will you be making a video on testing this?😊

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Maybe maybe ;-) I want to make a follow up video on the Belkin - might integrate it there ;-)

  • @francocastilloAR
    @francocastilloAR Před rokem +2

    I would really like to have my own server to update and have my own settings for the ImageBuilder like Wi-Fi enabled etc...

    • @OneMarcFifty
      @OneMarcFifty  Před rokem

      Hi Franco - that’s definitely a valid point of view! In my first attempts I could not get it to run locally - but running the imagebuilder is definitely a good choice for that scenario.

    • @francocastilloAR
      @francocastilloAR Před rokem

      @@OneMarcFifty The idea is to automate, since this online generator is based on ImageBuilders.

  • @abdullahalamoudi4421
    @abdullahalamoudi4421 Před 3 měsíci

    Hello, I have a problem with the 2.5ghz frequency. Sometimes it stops on some devices and does not work until I restart my device. It is a Tp-Link cpe220. Can you help me solve this problem?