Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - randell

#1
Sorry, my post about creating an account to +1 might have come across a little "complainy". That wasn't what I intended.

I did play around with a tampermonkey script to set the UIBootgrid.options.disableScroll. Setting this to true and also setting the table height to auto gave me the results I wanted, but unfortunately trying to monkeypatch that was not very dependable. (There are issues with tampermonkey and @run-at document-start when a page executes too fast, when most things was cached)

If someone with more knowledge of developing for opnSense wants to implement it, an option to set that to true and to change or stop setting the calculated height might be the best of both worlds.

Just a thought. It isn't a show stopper or anything.

This was one of the variations of my not always working but sort of working script I was playing around to better explain what I was doing:

// ==UserScript==
// @name         OPNSense Scroll
// @namespace    http://tampermonkey.net/
// @version      2026-04-11
// @description  Disables tabulator scrolling
// @author       Me
// @match        https://xxxxxxx:444/*
// @grant        none
// @run-at       document-start
// ==/UserScript==

(function()
 {
    'use strict';

    const callback = function(mutationsList, observer) {
        const $ = window.jQuery;
        for (const mutation of mutationsList) {
            if (mutation.type === 'childList') {
                const target = mutation.target;
                if (target.nodeType === 1 && target.tagName === 'DIV' && target.classList.contains('tabulator')) {
                    const $table = $(target);
                    const bgInstance = $table.data('UIBootgrid');
                    if (bgInstance && bgInstance.options.disableScroll !== true) {
                        bgInstance.options.disableScroll = true;
                        target.style.height = 'auto';
                    }
                }
            }
        }
    }

    const observer = new MutationObserver(callback);
    const patch = () => {
        if (window.jQuery && window.jQuery.fn && window.jQuery.fn.UIBootgrid) {
            const content = document.body;
            if (content) {
                observer.observe(content, { childList: true, subtree: true });
                return;
            }
        }
        setTimeout(patch, 50);
    };

    patch();

})();
#2
After converting from ISC to DNSMASQ I had 1 device that would not work, an Echo Spot device. All my other Amazon devices worked, just not this model. After playing around with just about everything I could think of, I finally resolved it by adding a file on the config.d folder to set "dhcp-broadcast".

I am not a network guy, so I'm badly parroting my google searches and AI explanations, but it seems that this device and some mediatek chips don't like a unicast response DHCPACK. It will only accept it if it was broadcast. From my understanding is the ISC broadcasts but DNSMASQ by default unicasts it.

Once I set this, the device worked. I was also able to get it to work if I created a "Host" entry, but I didn't want to set the hostname, ip address, and all the other things as a long term solution because while I only had 1 device now, if I added other devices, I didn't want to potentially have to add others.

I didn't see an option in the UI to toggle "dhcp-broadcast", but I think an option would be a good addition.
#3
Quote from: Patrick M. Hausen on April 10, 2026, 10:18:14 PMSeconded. A browser has scroll bars. Just use all of the bloody space. And place all "action" buttons - new, select, delete, ... as well as apply - at the top of the page. Render a web page. It's a web UI, not an application.
Created an account just to +1 this.

I have a smallish laptop, 14" screen running 1080p resolution and that doesn't give much vertical space. It works much better with scrolling the entire window than the little grid.