Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
Console is stuck in welcome message
« previous
next »
Print
Pages: [
1
]
Author
Topic: Console is stuck in welcome message (Read 8455 times)
jarckn
Newbie
Posts: 1
Karma: 0
Console is stuck in welcome message
«
on:
February 06, 2016, 06:06:45 pm »
Hello community,
after installing, configuring and restarting my OPNsense several times, the console is now stucking inside the welcome message. (image in the attachments)
Before this happened, I was changing the MAC-Address of the wan-interface. At first OPNsense couldn't find the wan-interface after rebooting, but after some troubleshooting it was able to see it. But now, the console stucks.
It was not possible to fix this with a restart.
Did anyone had this problem, too?
Cheers,
Niklas
Logged
interfaSys
Full Member
Posts: 165
Karma: 13
Re: Console is stuck in welcome message
«
Reply #1 on:
February 06, 2016, 08:33:59 pm »
I've had the same problem for a couple of weeks, but can't figure out how to fix it. I've had to enable other virtual terminals to be able to access the box.
I did not touch the MAC address.
The shell script must contain an error and fails in the middle.
Logged
domg
Jr. Member
Posts: 60
Karma: 10
Re: Console is stuck in welcome message
«
Reply #2 on:
February 07, 2016, 02:12:10 am »
Hello,
Could you hit control+T in console to display the status command?
I tried to change MAC on VM guest VBox but could not reproduce the console stuck
Logged
interfaSys
Full Member
Posts: 165
Karma: 13
Re: Console is stuck in welcome message
«
Reply #3 on:
February 07, 2016, 02:19:06 am »
CTRL+T does nothing, but I failed to mention that this is on the VGA port, not the console port.
Logged
AdSchellevis
Administrator
Hero Member
Posts: 905
Karma: 183
Re: Console is stuck in welcome message
«
Reply #4 on:
February 07, 2016, 06:31:36 pm »
I have seen this before, probably caused by a crash during boot.
The old code reads /etc/ttys, flushes and rewrites it contents, which can result in an empty file if all crashes somewhere in the middle.
The easiest fix is to boot using a livecd/usb and copy the /etc/ttys from the cd back to the system (if you can't ssh to the box) or copy the default one using ssh.
Logged
interfaSys
Full Member
Posts: 165
Karma: 13
Re: Console is stuck in welcome message
«
Reply #5 on:
February 07, 2016, 09:19:25 pm »
That's probably it. My /etc/ttys was empty when I added the extra terminal configs and I didn't add terminal 0 thinking it was being handled somewhere else.
I did have some serious crashes due to Suricata forcing netmap mode on non-netmap enabled drivers, so that must have been when it happened.
Logged
franco
Administrator
Hero Member
Posts: 17605
Karma: 1603
Re: Console is stuck in welcome message
«
Reply #6 on:
February 15, 2016, 07:54:41 am »
We could add /etc/tty to rc.recover, but that would mean local modification will get lost that some weird hardware out there requires to function.
write/truncate on an important system file during boot I've never understood, we've seen such issues 8 months back and they don't work well with UFS. Probably best to tighten the write of the file in the PHP code.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.1 Legacy Series
»
Console is stuck in welcome message