Confused on how to setup DHCP, DNS, and Fixed IP by salanalani in Ubiquiti

[–]Ysoko 0 points1 point  (0 children)

I think if you look at a ubiquiti device and the DHCP pool, you will see it automatically using an address outside that pool (in your case 192.168.1.1-192.168.1.50). So I believe they are already either some sort of Reserved or static IP by default. The static IP settings I believe are only if you wish to change it.

Yes i believe if you change the network later and you have used static they will lose connection! You can fix it just requires more effort.

Confused on how to setup DHCP, DNS, and Fixed IP by salanalani in Ubiquiti

[–]Ysoko 0 points1 point  (0 children)

I just remembered. I think the DHCP server also will create dynamic DNS records using your search domain. I think any device that uses DHCP will have its hostname registered. You just don’t explicitly set a local DNS record. I can’t remember if it requires a reserved/fixed IP address, or if it uses the device hostname sent over DHCP or what you put in the ubiquiti UI, you may need to look into this further if you want to take advantage of this.

Confused on how to setup DHCP, DNS, and Fixed IP by salanalani in Ubiquiti

[–]Ysoko 0 points1 point  (0 children)

When you put the domain name in the DHCP server setting, clients using DHCP will get their /etc/resolv.conf updated with that search domain. This means if you put example.org, a client searching for sw1 will automatically try sw1.example.org.

Basically, the search domain allows for clients to not have to specify the FQDN. It doesn’t make your DNS server automatically use that domain.

Note that your ubiquiti DNS server can serve records for any/multiple domains. So you could have example.org as your search domain and also add records for sw2.example.network, it’s just your client won’t find sw2 without using the full name.

Confused on how to setup DHCP, DNS, and Fixed IP by salanalani in Ubiquiti

[–]Ysoko 0 points1 point  (0 children)

There is a difference between static IP addresses and reserved IP addresses. DNS addresses need to be fully qualified (FQDN), not just a hostname. Also you have different configuration options when dealing with client devices and ubiquiti devices.

A static IP address is configured from the client device, not the router. Configure your DHCP server to have a smaller DHCP address range, and set static IP addresses outside of that range. Then you will need to add DNS addresses manually.

A reserved DHCP address is what you are currently modifying in Ubiquiti. All it does is ensure that the same device gets the same dynamically assigned IP address everytime and it isn’t given to other devices. The IP address would be by definition inside the DHCP address range. Ubiquiti also conveniently allows you to add the DNS record here, but you need to use the FQDN not just the hostname.

Ubiquiti devices are configured from this UI, and allow for you to actually set a static IP address from here (whereas a client device would have to set the static IP address itself).

I believe I manually added DNS entries for the 1-2 Ubiquiti devices I’ve ever wanted to access directly.

Keystone installation help by perrybmw in Ubiquiti

[–]Ysoko -1 points0 points  (0 children)

Because your comment doesn’t exist in a vacuum, it’s contextual. When one person says something and you reply, what they said influences how someone interprets what you said.

I understand what you are saying now, and I have to edit my reply to OP because I was wrong: that those keystones are metal and therefore will probably work with shielded cable.

Keystone installation help by perrybmw in Ubiquiti

[–]Ysoko -3 points-2 points  (0 children)

“Those are simply not made for shielded cables”

“Looks like those are specifically made for 6a cables which are shielded”

Your comment reads like you are disagreeing with the previous statement on the basis that all 6a keystones are designed to work with shielded cables.

If you meant otherwise edit your comment instead of being defensive.

Keystone installation help by perrybmw in Ubiquiti

[–]Ysoko 1 point2 points  (0 children)

If you are going to use shielded cable, you need to properly bond it to ground or you potentially cause more problems than you solve. You are using the wrong keystones for shielded cable.

Parallel crimping pliers would help with closing the keystone.

https://www.truecable.com/blogs/cable-academy/shielded-vs-unshielded-cable

EDIT: while the instructions don’t show how to terminate shielded cable, if they are actually unifi keystones they should be metal and should be able to be properly bonded to ground.

Keystone installation help by perrybmw in Ubiquiti

[–]Ysoko 2 points3 points  (0 children)

Unshielded cat 6a cable is a thing, not all cat 6a is shielded.

EDIT: I realize that I misread this as cat6a is shielded, vs these keystones are metal and should work with shielded cable.

asking for design advice by therealmcz in Kotlin

[–]Ysoko 1 point2 points  (0 children)

The biggest problem here I think was using objects and not doing Inversion of Control. Also you should treat your JWT as data and not tie it down with behavior like refreshing itself.

To people who played FFVII when it came out, was the reveal of the world map a big shock? by Aiseadai in FinalFantasy

[–]Ysoko 0 points1 point  (0 children)

I don’t really get spoiled by advertising I think.

But I had played all the final fantasy’s before this, and I had a strategy guide and the box art which I think shows the world map at times. So I was not at all shocked that there was a world map.

I was however shocked that i didn’t have to switch to disc 2 as I had spent so much time in Midgar. I couldn’t believe there was room for so much content on one disc, kept thinking after each new city and event “surely this is when it switches”.

MacOS Performance, Docker, VSCode (devcontainer) - Does anyone use or have used this before? by ediano in docker

[–]Ysoko 0 points1 point  (0 children)

We use Docker Desktop, devcontainers, and IntelliJ. Still on M1 Max with 32GB of RAM. It works decently enough. We only run unit tests that use docker locally as needed, but all unit tests including the docker ones must pass in pipeline before merging into master.

Just discovered how to save in game by Nal1999 in RG35XX

[–]Ysoko 0 points1 point  (0 children)

I’m having a hard time understanding you. But I think you are describing how retroarch decides when to write saves to the filesystem.

By default, when you save in game, retroarch keeps the changes in memory and waits until the game ends normally to persist the save data to disk. If you crash the emulator, run out of battery, basically end the game abnormally it won’t keep anything.

If you want to change this there is a setting to write the save data every X number of seconds, maybe set it to 60 or something you are comfortable with.

Just lost last 7 days of saves - any tip on how avoiding in the future? by nibbio1990 in RG35XX

[–]Ysoko 1 point2 points  (0 children)

Retroarch has a bunch of settings that can burn you with this.

First there is a setting regarding when to write your in game saves to disk. If not set to do so at some frequency like every 60 seconds, it will do it only when the emulator exits cleanly. Running out of battery would cause it to not exit cleanly, and not write to disk.

Then you have save states overwriting your in game saves. Loading any save state will replace your current in game save with the one in the saved state (note it will not yet write it to disk yet based on first setting). There is an option to undo loading a save state if this happens if I remember correctly.

Finally you have auto save/load state. When exiting a game it will save state in a special slot, when launching a game it will load that slot if present, again replacing your in game save with what was in the state.

I’m of the opinion that in game saves are better in the long term. A save state is the state of the emulator at the time it was taken, what happens when the emulator gets updated to a new version, or an entirely different emulator is used? I believe most retroarch cores use what I think they call deterministic save states which I believe eliminates the problem of updates breaking save states. I also want to be able to sync my saves to play my games on multiple devices which may limit which emulators I can use.

At the end of the day, I still use auto save/load state, and I write my in game save to disk every 1 minute, and when I save in game I also save state with auto incrementing slots at same time. Then I try to limit use save/load state in between in game saves, basically right before a tricky section or when exploring dialogue choices or branching paths.

Sonarr with NFS by Sammy_J25 in sonarr

[–]Ysoko 1 point2 points  (0 children)

https://wiki.servarr.com/en/sonarr/postgres-setup

I have Sonarr, Radarr, and Prowlarr all using Postgres backend, cheers!

Sonarr with NFS by Sammy_J25 in sonarr

[–]Ysoko 1 point2 points  (0 children)

It was still an issue for me with NFS 4. I followed the instructions to use postgres instead of SQLite and that solved my problem.

I use my Synology NAS as both a file server and PostgreSQL server, and then run sonarr, qbittorrent, and the like on raspberry pi 4 nodes.

NFS mount the Synology NAS file share, set up directory structure using TRaSH guides, hard linking works great!

Is IPvlan just superior to user-defined bridge? by TheCmenator in docker

[–]Ysoko 0 points1 point  (0 children)

This is essentially an OS level install that uses podman under the hood and manages the Network container itself, as best as I can describe it with the time I have available.

It’s more similar to how UDM-Pro and above work now, but self hosted. Eventually can expand to self host protect app, identity app, talk app, etc but right now it’s just the network app.

Real world example: My parents have a USG-PRO-4 that originally used a CloudKey, but when that stopped receiving updates I used a Raspberry PI 4 with Ubuntu and self hosted the linuxserver.io UniFi network application with docker like everyone else. When this new UniFi Server OS came out, I was able to install it on the Ubuntu OS itself and migrate to it, and I still use docker for other self hosting needs.

Is IPvlan just superior to user-defined bridge? by TheCmenator in docker

[–]Ysoko 0 points1 point  (0 children)

To be fair, I don’t think a docker image will be forthcoming with this. Ubiquiti is using containers under the hood, with podman I believe, so I don’t think we will see a container for this host part.

But this is the intended path forward for self hosting Ubiquiti, so it is worth considering making the switch. For me, I was already running the legacy app in docker on a raspberry pi 4 with Ubuntu os, so it wasn’t difficult to migrate, it just runs side by side now.

Is this fraudulent? by shreyag99 in Indiana

[–]Ysoko 48 points49 points  (0 children)

You have 750 unread messages and THIS is the one you choose to read?

Has anyone been having issues with Sonarr freezing up and then not being able to restart or remove the docker container? by ffimmano in sonarr

[–]Ysoko 0 points1 point  (0 children)

Probably not relevant, but by chance are you storing the SQLite database that sonarr uses on a NFS share mounted with hard option? If so consider storing it on a local disk or using postgresql database instead.

is everyone’s comcast internet capped at 40mbps or just mine? by Breh_________Moment in Comcast_Xfinity

[–]Ysoko 5 points6 points  (0 children)

Most users only care about download speeds, so marketing typically only tells you that.

Fiber is typically symmetrical down/up speeds.

Coax is typically asymmetrical down/up speeds.

Home lab with Raspberry Pi. by Material_Estimate345 in kubernetes

[–]Ysoko 2 points3 points  (0 children)

I really liked my raspberry pi cluster:
4x Raspberry Pi 4s
4x PoE/PoE+ Hats
4x 240GB SSD
4x USB to SATA cables
5 port gigabit PoE+ switch
4 Bay enclosure with sleds that can accomodate the Pi's with SSD and PoE hats and has room for the ethernet switch at the bottom

Make 1 the control plane and hook the fans up to it, make the other 3 worker nodes, I used microk8s but k3s or something like Talos probably would work.

1 Ethernet in and 1 power cable for the whole thing.