I have an old TL-740N router and installed openwrt few days ago. I want to limit bandwidth for some user. For that i have to install a new package. But I've no free space to do that.
So I started searching how to remove installed packages. I've found some posts but they are too much confusing for me as a newbie.
what i only know i need linux OS and an image builder.
can anyone please help.
i want to remove everything like ipv6,firewall,sys log etc.Just want to keep only the essentials for keeping the router running.
What you want to do is definitely possible if you’re willing to commit the time and energy to learn, (it sounds like it would be a very steep learning curve from your starting point)
Alternatively, you could try using a USB key to provide extra storage to give enough space to install the packages you’re after , (this option still a lot to learn, but less than the one above for building an entire image and everything that entails including a Linux VM and build root environment setup)
Heres what I did . You can build your build of openwrt. I am on windows 10. I installed WSL2 then installed ubuntu.
Then when Ubuntu is up and running.
sudo apt install build-essential libncursesw5-dev python unzip
git clone https://git.openwrt.org/openwrt/openwrt.git
cd openwrt
./scripts/feeds update -a
./scripts/feeds install -a
make menuconfig
The last command will open a menu.
Have the packages installed so that it recognizes usb or directly you have no usb port? To recognize it you must install kmod-usb-core and there are many more to recognize: fat32, Ntfs, ext3, ext4.
I highly doubt that you can just wire a USB device into an ethernet port and make it work... Those are completely different protocols on all layers involved.
Build all the packages from source, and pack them into an image.
Download the already built packages, and pack them into an image.
If you just want to create a smaller image, go for the second option, you do not need to build the packages yourself. Follow the "Using the Image Builder" guide.