linux64
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| linux64 [2025/07/13 11:26] – [ollama in podman for ai] bengt | linux64 [2025/12/30 14:18] (current) – [Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40 -> 41 -> 42] bengt | ||
|---|---|---|---|
| Line 497: | Line 497: | ||
| $ sed ' | $ sed ' | ||
| + | There is an issue with loosing connection with radios on modern wifis. Maybe playing a mad song when using the radio as an alarm clock. The community firmware could be the solution: https:// | ||
| ==== samba network shares ==== | ==== samba network shares ==== | ||
| Line 805: | Line 806: | ||
| URL Redirect Record @ http:// | URL Redirect Record @ http:// | ||
| (If you keep the URL redirect stuff then the ip-addresses will be combined with namecheaps. Not good.) | (If you keep the URL redirect stuff then the ip-addresses will be combined with namecheaps. Not good.) | ||
| + | |||
| + | |||
| + | ==== OpenWebRX+ for radio ==== | ||
| + | |||
| + | I buought an rtl sdr dongle that I later realized would be nice to pair with a leftover pi 4: \\ | ||
| + | https:// | ||
| + | https:// | ||
| + | |||
| + | Use the the official raspberry image to enable and set ssh username/ | ||
| + | https:// | ||
| + | https:// | ||
| + | |||
| + | SSH into the machine and follow the instructions to add a user: \\ | ||
| + | sudo openwebrx admin adduser < | ||
| + | |||
| + | You may want to install extra drivers, see note on home page: \\ | ||
| + | sudo install-softmbe.sh | ||
| + | |||
| + | Some comments about antenna length: | ||
| + | https:// | ||
| ==== ollama in podman for ai ==== | ==== ollama in podman for ai ==== | ||
| Line 813: | Line 834: | ||
| # visudo | # visudo | ||
| ALL ALL=(ollama) NOPASSWD: / | ALL ALL=(ollama) NOPASSWD: / | ||
| + | # firewall-config # Add tcp 11434 to be able to access it from hass | ||
| # su - ollama | # su - ollama | ||
| $ mkdir ollama | $ mkdir ollama | ||
| Line 826: | Line 848: | ||
| # su - ollama | # su - ollama | ||
| $ podman exec -it ollama ollama run llama2 | $ podman exec -it ollama ollama run llama2 | ||
| + | |||
| + | You can add the ollama integration to home assistant. On issues check your firewall config. Be sure to have " | ||
| TODO: GPU support. Need to use nvidia drivers first... | TODO: GPU support. Need to use nvidia drivers first... | ||
| Line 1224: | Line 1248: | ||
| Seems ok. Had to do this later for " | Seems ok. Had to do this later for " | ||
| - | ==== Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40 -> 41 ==== | + | ==== Upgrade Fedora ... -> 35 -> 36 -> 37 -> 38 -> 39 -> 40 -> 41 -> 42 ==== |
| Following the instructions on https:// | Following the instructions on https:// | ||
| Line 1238: | Line 1262: | ||
| # dnf remove python3-iso-639 # For fedora 40 | # dnf remove python3-iso-639 # For fedora 40 | ||
| # dnf remove python2-pillow # For fedora 41 | # dnf remove python2-pillow # For fedora 41 | ||
| - | # dnf system-upgrade download --releasever=41 # Did not work on Saturdays due to 404 for lacking rpmfusion files, waiting for mirroring and retrying on Sunday worked. | + | # dnf system-upgrade download --releasever=42 # Did not work on Saturdays due to 404 for lacking rpmfusion files, waiting for mirroring and retrying on Sunday worked. |
| You may need the " | You may need the " | ||
| Then reboot this way to do the actual upgrade: | Then reboot this way to do the actual upgrade: | ||
| - | # sudo dnf system-upgrade reboot | + | |
| + | (# sudo dnf system-upgrade reboot) | ||
| You may need to upgrade the squeezeboxserver rpm. Maybe update java version used for minecraft. See those chapters. (Old, running nouveau with modern gfx-card nowadays: You may need to uninstall and install nvidia drivers again, at least uninstall the newly created kmod-nvidia and rebuild it using akmods.) | You may need to upgrade the squeezeboxserver rpm. Maybe update java version used for minecraft. See those chapters. (Old, running nouveau with modern gfx-card nowadays: You may need to uninstall and install nvidia drivers again, at least uninstall the newly created kmod-nvidia and rebuild it using akmods.) | ||
| Line 1251: | Line 1276: | ||
| - Had to upgrade to squeezeboxserver 7.9.3 and build tbs with workarounds for kernel 5.7. Later I replaced tbs with a hauppauge dongle. | - Had to upgrade to squeezeboxserver 7.9.3 and build tbs with workarounds for kernel 5.7. Later I replaced tbs with a hauppauge dongle. | ||
| - New samba 4.11 disables smbv1 by default which does not work with my tablet used as a photo frame. See samba section above for how to fix. | - New samba 4.11 disables smbv1 by default which does not work with my tablet used as a photo frame. See samba section above for how to fix. | ||
| - | - Autologin had to be reconfigured in / | + | - Autologin had to be reconfigured in / |
| + | - The mailserver got disabled for fedora 42, run " | ||
| - Maybe clean up old unmaintained packages using " | - Maybe clean up old unmaintained packages using " | ||
linux64.1752405997.txt.gz · Last modified: by bengt