r/openwrt 11h ago

Is it possible to do a factory reset and upload a backup archive in a single ssh session?

1 Upvotes

Google's AI says it should possible by executing the following command.

scp backup.tar.gz root@192.168.1.1:/tmp/backup.tar.gz

firstboot -y

tar -zxvf /tmp/backup.tar.gz -C /

reboot

But when I run the tar command I get the error "tar: can't open 'etc/uci-defaults/10_disable_services': No such file or directory"

What am I doing wrong?


r/openwrt 16h ago

[Success] ive done it for absolutely free

Thumbnail gallery
71 Upvotes

Hi r/openwrt i know I am new in here but I want to tell yall for my successful kinda DIY router I've made with just an old pc that I've got for free HP Compaq Elite 8200 SFF with the tplink TL-WN722Nv1 also free and the rtl8821ce that I've taken out from my old laptop and a secondary pcie to 1gbps ethernet also for free and my openwrt setup all of it just on that small 16gb usb drive and I've made it dual band but not really but getting the rtl8821ce working without issues is so hard compared to the tplink TL-WN722Nv1 its so easy and ive made the rtl8821ce as 5ghz access point and the tplink TL-WN722Nv1 as 2.4ghz wifi access point and the speeds on the rtl8821ce are 250 to 270 mbps and the tplink TL-WN722Nv1 are 30 mbps and on paper the speeds for rtl8821ce is 433 mbps and the tplink TL-WN722Nv1 is 150 mbps which means the speed of both combined 583 mbps or what I will like to name it ac583 and the ethernet speeds is 920 to 940 mbps or its the full speed and now for the specs part

1: pc: HP Compaq Elite 8200 SFF

2: Wifi cards: (1) realtek rtl8821ce (2) tplink TL-WN722Nv1

3: ram: 16gb ddr3 1333mhz (I know its overkill)

4: storage: 16gb usb drive

5: cpu: i5 2400

6: ethernet ports: there's 2 of them (1) internal one 1gbps (2) tplink pcie ethernet 1gbps

7: os version 25.12.4

What I can do with my kinda DIY router ?