Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux_router:wifi [2025-10-18 Sat wk42 11:25] – [Wifi Router / Access Points] baumkplinux_router:wifi [2026-01-31 Sat wk05 19:03] (current) – [openwrt update notes] baumkp
Line 52: Line 52:
  option commonname 'OpenWrt'</code>  option commonname 'OpenWrt'</code>
 ++++ ++++
 +Check the certificate public key, not private key, with the command ''openssl x509 -in .config/certificates/'*.local.kptree.net.cer' -text -noout'' This displays the data in the public key, including the validity dates.
 +
 I copy my main '*.local.kptree.net' cer/crt and key files from LetsEncrypt to the openWRT machines /etc/uhttpd.crt and key files using 'scp' from the machine remote to the openWRT machines. Install sftp-server with ''opkg update'' and ''opkg install openssh-sftp-server''. I copy my main '*.local.kptree.net' cer/crt and key files from LetsEncrypt to the openWRT machines /etc/uhttpd.crt and key files using 'scp' from the machine remote to the openWRT machines. Install sftp-server with ''opkg update'' and ''opkg install openssh-sftp-server''.
   *''scp .config/certificates/'*.local.kptree.net.key' root@wifi-ap1.local.kptree.net:/etc/uhttpd.key'' to copy across the key   *''scp .config/certificates/'*.local.kptree.net.key' root@wifi-ap1.local.kptree.net:/etc/uhttpd.key'' to copy across the key
Line 59: Line 61:
 After the certificates are updated the router must be rebooted or the uhttpd module restarted: After the certificates are updated the router must be rebooted or the uhttpd module restarted:
   *ssh into the router ''%%ssh root@wifi-ap1.local.kptree.net%%'' and run ''%%/etc/init.d/uhttpd restart%%''   *ssh into the router ''%%ssh root@wifi-ap1.local.kptree.net%%'' and run ''%%/etc/init.d/uhttpd restart%%''
-  *'Or run the command in ssh: '%%ssh root@wifi-ap0.local.kptree.net "/etc/init.d/uhttpd restart"%%''+  *Or run the command in ssh: ''%%ssh root@wifi-ap0.local.kptree.net "/etc/init.d/uhttpd restart"%%''
  
 +=====openwrt update notes=====
 +After updating the openwrt version I noticed the following:
 +  *The openssh-sftp-server needs to be reinstalled.
 +  *I had to update the homepage widget api configuration files on Openwrt and ensure alignment with configuration on homepage setup.
 =====homepage widget===== =====homepage widget=====
 [[https://gethomepage.dev/widgets/services/openwrt/|Homepage openwrt widget]] instructions. [[https://gethomepage.dev/widgets/services/openwrt/|Homepage openwrt widget]] instructions.