OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Profile of kursu »
  • Show Posts »
  • Messages
  • Profile Info
    • Summary
    • Show Stats
    • Show Posts...
      • Messages
      • Topics
      • Attachments

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.

  • Messages
  • Topics
  • Attachments

Messages - kursu

Pages: [1]
1
21.1 Legacy Series / Re: webgui broken after upgrade to 21.1.4
« on: March 31, 2021, 02:06:52 pm »
Factory reset fixed the issue for me.

2
21.1 Legacy Series / Re: webgui broken after upgrade to 21.1.4
« on: March 31, 2021, 12:29:53 am »
I have the same issue,  webui did hang after wireguard removal message in update log

3
19.1 Legacy Series / Re: USB console hangs right after SSH keys are shown before login promt
« on: February 26, 2019, 09:36:17 pm »
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
19.1 Legacy Series / Re: USB console hangs right after SSH keys are shown before login promt
« on: February 26, 2019, 03:25:46 pm »
Yes, USB Serial box is checked, it added the following to /etc/ttys :

Code: [Select]
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

Code: [Select]
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
Code: [Select]
   /* 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
19.1 Legacy Series / USB console hangs right after SSH keys are shown before login promt
« on: February 25, 2019, 07:47:59 pm »
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:
Code: [Select]
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:
Code: [Select]
# 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

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


6
19.1 Legacy Series / Re: Problem with kernel modules (version mismatch)
« on: February 25, 2019, 05:14:16 am »
Total reinstall fixed it

7
19.1 Legacy Series / Problem with kernel modules (version mismatch)
« on: February 24, 2019, 11:55:13 pm »
Im haveing problems with loading extra kernel modules, problem started after I made a factory reset.

Code: [Select]
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:
Code: [Select]
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

Code: [Select]
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
« on: 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?

Pages: [1]
OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2