• 5 Posts
  • 4 Comments
Joined 9M ago
cake
Cake day: Feb 17, 2024

help-circle
rss
Connectin pfsense directly to 1GBit ZTE ONT
Hi, I have my TIM (Italy) ONT installed (its a ZXHN F6005, which I think is also installed by OpenFibre in the UK). This is connected to a TIM router and them to a minipc machine that has pfsense installed. I believe the ZTE ONT can be directly connected to the WAN port of the pfSense machine by having pppoe set on the WAN interface. That way I can drop this intermediate TIM router which is simply sucking up energy. I tried setting a pppoe connection the pfsense machine by giving it userid and password but the connection never comes up. Strangely, even when leaving the WAN interface set to pppoe on pfsense and reconnecting it to the intermediate TIM router, the connection comes up (i.e. doesn't seem to be a requirement). Any thoughts?
fedilink

Yes, checked and are all on the 1000M (1G) link


Now I have 1 GBit fiber and can’t benefit :-(
My old setup was: VSDL modem -> pfsense on mini J1900 Celeron (2 GHz) -> CISCO SG300 10MPP switch -> Rukus R310 wifi -> Laptop Currnet setup Fiber model -> pfsense on mini J1900 Celeron (2 GHz) -> CISCO SG300 10MPP switch -> Rukus R310 wifi -> Laptop Today i got my 1GBit fiber installed (big deal for those like me living in rural areas) only to discover that my current network setup is not allowing me to benefit from it. I was on VSDL copper wire before and was probably in the region of 50-60 MBit/s with my above current setup. Even when removing the wifi bottle and linking with Cat5 UTP wire directly to switch, I'm not getting major improvements. When I got the fiber installed this morning I was disappointed when I saw only marginal gain running at 80 MBit/s (c. +30 MBit). So I decided to connect the laptop via LAN cable directly to modem. I got a starkling 900MBit/s. So, along my network I have bottlenecks. THe first one I tested was my little pfsense machine. I installed the speedtext-cli command and was surprised to find that it was giving my around 300 MBit/s. So a lot better than my laptop on its usual wifi connection but still only 33% of what I get directly off the modem. So my first question is how can it be that my little mini J1900 Celeron (2 GHz) with 4 GB RAM cannot handle this bandwith? Do I need an upgrade for my pfsense machine? I noticed that the peak CPU demand as speedtest-cli was running was in the 60% region, far from a saturated CPU and RAM only occupied for about 30%. If it is my little pfsense machine, how far do I have to go with finding the right little machine that can handle 1 GBit/s. The next question is if I'm getting 300 MBit/s on the WAN connection of the pfSense machine, how is it that I only see a small percentage of this on my laptop? i.e. a drop from 300 MBit/s to 80 MBit/s? I guess I would have to test the switch to start and then move to the wifi access points ...
fedilink

I’m also looking into this a bit as I’m ditching Nextcloud and need a more modulare approach to managing the three things i care about: calendards, files and bookmarks. Sorted calendars with Radicale (superb) and files with Syncthing but now looking at the bookmarks. This (https://github.com/awesome-selfhosted/awesome-selfhosted?tab=readme-ov-file#bookmarks-and-link-sharing) has several solutions proposed. lingding and linkwarden seem to be good and reasonable active on Github. Anyone compared these?


Getting Radicale to work system wide
Hi folks, I installed Radicale earlier today and when I installed it as a user as described on the homepage using `$ python3 -m pip install --upgrade radicale`. I initially created a local storage and ran as normal user `$ python3 -m radicale --storage-filesystem-folder=~/.var/lib/radicale/collections`. I was able to see the webpage when I type the server address (VM on Truenas) `http://192.168.0.2:5234`. So the install went well. But I wanted to create system wide so that I can have multiple users loggin in (family members). So i did the following: - `$sudo useradd --system --user-group --home-dir / --shell /sbin/nologin radicale` - `$sudo mkdir -p /var/lib/radicale/collections && sudo chown -R radicale:radicale /var/lib/radicale/collections` - `sudo mkdir -p /etc/radicale && sudo chown -R radicale:radicale /etc/radicale` Then I created the config file which looks like: ``` [server] # Bind all addresses hosts = 192.168.0.2:5234, [::]:5234 max_connections = 10 # 100 MB max_content_length = 100000000 timeout = 30 [auth] type = htpasswd htpasswd_filename = /etc/radicale/users htpasswd_encryption = md5 [storage] filesystem_folder = /var/lib/radicale/collections [logging] level = debug ``` Of course the users file also exists in the `/etc/radicale`. Then I created the service file as per the guidance without changing anything: ``` [Unit] Description=A simple CalDAV (calendar) and CardDAV (contact) server After=network.target Requires=network.target [Service] ExecStart=/usr/bin/env python3 -m radicale Restart=on-failure User=radicale # Deny other users access to the calendar data UMask=0027 # Optional security settings PrivateTmp=true ProtectSystem=strict ProtectHome=true PrivateDevices=true ProtectKernelTunables=true ProtectKernelModules=true ProtectControlGroups=true NoNewPrivileges=true ReadWritePaths=/var/lib/radicale/collections [Install] WantedBy=multi-user.target ``` Then I hit the usual sequence: ``` $ sudo systemctl enable radicale $ sudo systemctl start radicale $ sudo systemctl status radicale ``` and of course it all seems to be running: ``` user@vm101:/$ sudo systemctl status radicale ● radicale.service - A simple CalDAV (calendar) and CardDAV (contact) server Loaded: loaded (/etc/systemd/system/radicale.service; enabled; vendor preset: enabled) Active: active (running) since Sat 2024-05-25 19:44:54 BST; 18min ago Main PID: 313311 (python3) Tasks: 1 (limit: 4638) Memory: 13.1M CPU: 166ms CGroup: /system.slice/radicale.service └─313311 python3 -m radicale May 25 19:44:54 vm101 systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server. ``` When I run `$ journalctl --unit radicale.service` it only provide the following output, despite the logging level is set to debug: ``` user@vm101:/etc/radical$ sudo journalctl --unit radicale.service -- Journal begins at Sat 2022-12-31 15:45:51 GMT, ends at Sat 2024-05-25 20:04:37 BST. -- May 25 19:25:46 vm101 systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server. May 25 19:44:46 vm101 systemd[1]: Stopping A simple CalDAV (calendar) and CardDAV (contact) server... May 25 19:44:46 vm101 systemd[1]: radicale.service: Succeeded. May 25 19:44:46 vm101 systemd[1]: Stopped A simple CalDAV (calendar) and CardDAV (contact) server. May 25 19:44:54 vm101 systemd[1]: Started A simple CalDAV (calendar) and CardDAV (contact) server. ``` Any clue as to why i get "Can't establish a connection ..." error when I type `http://192.168.0.2:5234`. I'm clearly missing something but can't quite get what it is. Any help would be appreciated. BTW, I'm connecting to the Truenas server (where the VM runs) from my laptop, the same one that allowed me to connect when I used the normal user approach described at the start.
fedilink

Syncthing … where are the users?
Just installed Syncthing on my Scale server. It looks like it doesn't have users but rather folder IDs that are then used to sync devices. One of the cool features of Nextcloud is the ability to share files with other users. Can this be done with Syncthing?
fedilink

Well, I was looking fo r the docker container but as my VM is Debian, I’ll go down the apt route which is official and maintained.


OK, so seems like best way to install Radicals is on my Debian VM using apt. I wonder if anyone has compared Baikal to Radicale …


Just thinking of ditching nextcloud and its just too much for my family use. All i needis carddav, caldav and file sync. Have a Debian VM running on Scale and was thinking of using Cloudron docker install. Is this the way others are installing on VMs?
fedilink