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 - kursu

#1
Factory reset fixed the issue for me.
#2
I have the same issue,  webui did hang after wireguard removal message in update log
#3
I wasnt able to try out my code change due to my netgate hardware decided to die  :-\, a 12core proliant have jumpen in as temporary replacement  8)
#4
Yes, USB Serial box is checked, it added the following to /etc/ttys :


ttyU0   "/usr/libexec/getty std.115200" vt100   onifconsole secure
ttyU1   "/usr/libexec/getty std.115200" vt100   onifconsole secure
ttyU2   "/usr/libexec/getty std.115200" vt100   onifconsole secure
ttyU3   "/usr/libexec/getty std.115200" vt100   onifconsole secure


root@bifrost:/ # ls /dev | grep ttyu
ttyu0
ttyu0.init
ttyu0.lock
ttyu1
ttyu1.init
ttyu1.lock


There you said something....  devices is named lower-case in /dev (ttyu0,ttyu1) and in /etc/ttys (ttyU0 ttyU1).

system.inc

   /* serial terminals */
        foreach (array('tty%s0', 'tty%s1', 'tty%s2', 'tty%s3') as $serialport) {
            $serialport = sprintf($serialport, isset($config['system']['serialusb']) ? 'U' : 'u');
            if (stripos($tty, $serialport) === 0) {
                fwrite($fd, "{$serialport}\t\"/usr/libexec/getty {$serial_type}\"\tvt100\t{$on_off_secure_u}\n");
                continue 2;
            }
        }
#5
Setting "-S115200 -h" into boot.conf seems to be a workaround, however it gets replaced every reboot. Wrong uart flags or how to
make -h persistant?

dmesg:

root@bifrost:/boot # dmesg | grep uart
uart0: <16550 or compatible> at port 0x3f8 irq 4 on isa0
uart1: <16550 or compatible> at port 0x2f8 irq 3 flags 0x10 on isa0
uart1: console (115200,n,8,1)


/etc/ttys:

# If console is marked "insecure", then init will ask for the root password
# when going to single-user mode.
console none                            unknown off secure
#
ttyv0   "/usr/libexec/getty Pc"         xterm   off secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc"         xterm   off secure
ttyv2   "/usr/libexec/getty Pc"         xterm   off secure
ttyv3   "/usr/libexec/getty Pc"         xterm   off secure
ttyv4   "/usr/libexec/getty Pc"         xterm   off secure
ttyv5   "/usr/libexec/getty Pc"         xterm   off secure
ttyv6   "/usr/libexec/getty Pc"         xterm   off secure
ttyv7   "/usr/libexec/getty Pc"         xterm   off secure
ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyU0   "/usr/libexec/getty std.115200" vt100   onifconsole secure
ttyU1   "/usr/libexec/getty std.115200" vt100   onifconsole secure
ttyU2   "/usr/libexec/getty std.115200" vt100   onifconsole secure
ttyU3   "/usr/libexec/getty std.115200" vt100   onifconsole secure
# Dumb console
dcons   "/usr/libexec/getty std.9600"   vt100   off secure



root@bifrost:/boot # cat loader.conf.local
comconsole_port="0x2F8"
comconsole_speed="115200"
hint.uart.0.flags=0x0
hint.uart.1.flags=0x10


#6
Total reinstall fixed it
#7
Im haveing problems with loading extra kernel modules, problem started after I made a factory reset.


root@bifrost:~ # kldload coretemp
kldload: an error occurred while loading the module. Please check dmesg(8) for more details.
root@bifrost:~ # kldload aesni
kldload: an error occurred while loading the module. Please check dmesg(8) for more details.
root@bifrost:~ #


dmesg output:

KLD coretemp.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type
KLD aesni.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type



root@bifrost:~ # uname -a
FreeBSD bifrost.localhost 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6  6621d681e(stable/18.1)  amd64
root@bifrost:~ # opnsense-version
OPNsense 19.1.1 (amd64/OpenSSL)
root@bifrost:~ #
#8
17.7 Legacy Series / 17.7.9 filter.inc error
December 08, 2017, 04:37:08 AM
Configuring firewall..
Warning: Cannot assign an empty string to a string offset in /usr/local/etc/inc/filter.inc on line 1640
....done.
Setting up gateway monitors...done.
Configuring OpenSSH...failed.
Starting web GUI...done.
Configuring CRON...done.
Setting up routes...done.
Starting Dnsmasq DNS...done.
Starting DHCP service...done.
Generating /etc/hosts...done.
Configuring firewall..
Warning: Cannot assign an empty string to a string offset in /usr/local/etc/inc/filter.inc on line 1640
....done.
Starting NTP service...deferred.


GUI not starting, any ideas how to fix?