Category: 100days page 10
#100days 11 - I didn't get around to writing an update yesterday but I did do a bit of unsuccessful work on the PostrChild extension. Trying to replace existing elements with react instead of creating children inside them, but it's quite tricky. I'll try again today by clearing children from the parent before re-adding them with a portal in the correct position.
#100days 10 - Figured out the issue from yesterday and got the right click send to media endpoint functionality working. I needed to request the correct permission for it to work. So now I can right click just about any image and save it to my own site.
#100days 9 - I started working on trying to add a right click context menu to the PostrChild extension, but no luck so far. I've not been able to get it to appear. I also should work on the web extension development workflow as it is a little clunky at the moment.
#100days 8 - Set up the new feeds plugin on my site so I've got rss, atom, json feed, jf2 and microformats json feeds for my content.
It could probably do with some more filtering, like options for post types to show up in the main feed and add feeds for individual types and categories.
#100days 7 - Fixed up the Postr feeds plugin I started ages ago and pushed it up to the [repo](https://github.com/grantcodes/postr]. Will see if it's safe to use on my own site tomorrow!
WiFi Setup Part 2
After a second day of working on the WiFi I seem to have got it all working... So here goes for #100days 6
Dynamic DNS
Dynamic DNS basically makes it easier to connect to your home server from outside your network as your ip address is likely to change if you don't have some special internet service.
I use https://www.nsupdate.info/ - it's free and open source and bullshit free
To set it up on the router I go to System β Software, first update all installed packages and then install the luci-app-ddns package
This then adds a Services β Dynamic DNS menu item - but a reboot may be needed before it becomes usable. I just edit the default placeholder item with my details from nsupdate.info.
Home Assistant Device Tracker
I use a special package for device tracking in Home Assistant which works really well, it's super quick in comparison with other methods I have tried. I use it to switch things on and off when I leave or arrive.
https://github.com/mueslo/openwrt_hass_devicetracker
The instructions are good and pretty easy to follow as long as you can ssh into the router. I generally wget a release onto the router and install it.
Backup
Once everything is working you are going to want to make a backup so you don't have to go through this again like I just did.
Just go to System β Backup / Flash Firmware and click the backup button and save it somewhere safe
And that's us more or less done. There are only a few little tweaks left I may want to do like setting the default led not to be so bright and using alternative dns servers but the core of the router is working.
My WiFi setup - part 1
After somehow totally borking my wifi the other day I have to reset it and all my custom configuration I had. So I decided to try and do a whole bunch of useful things in one go. I am writing this up live as I progress so it will be day 5 of my #100days project, and it will also serve as a reference incase I ever need to dig into my router settings again.
In my unique situation the first thing to do is switch my crappy ISP provided router into ONT mode which basically switches it off and just uses it to forward onto my own router via ethernet. So make a copy of any important settings or info from the basic router and then switch it into ONT mode.
Then with my own router is figure out what version I have and get the latest version of OpenWRT - I have a D-Link DIR-869. It supports both DD-WRT and OpenWRT but for some reason I didn't like DD-WRT so went with OpenWRT instead. In my case since I had installed it before, I had to use the upgrade image, even though I was starting from scratch. Remember that when resetting OpenWRT it is super secure by default and will only allow wired connections.
Onto the settings!
System β System - Set hostname & timezone
System β Administration - Setup a root password and install your ssh key
Network β Wireless - Setup a main network (probably on 2 radios) + a separate hidden network for smart home devices + country codes
Network β DHCP & DNS β Static Leases - Setup a bunch of static ips for your important devices that you want to talk to
Network β Firewall β Port Forwards - Here I set up a few different port forwarding rules to access my home server from outside the house
That's as far as I have managed to get today so looks like there will need to be a part 2 tomorrow, that goes over setting up dynamicDNS, a couple of extra modules and the all important backup feature.
#100days 4 - More issue wrangling.
Got all my issues for the updated PostrChild extension organized in a [GitHub project](https://github.com/grantcodes/postrchild-extension/projects/1).
Hopefully I'll be able to start picking off a few of these issues every day.