OPNsense Forum

English Forums => General Discussion => Topic started by: Tripple_Delta on January 19, 2017, 05:24:58 pm

Title: [SOLVED] Keyboard doesn't work
Post by: Tripple_Delta on January 19, 2017, 05:24:58 pm
My keyboard on my fresh install OPNsense box doesn't work. I can only access my box through SSH.
When I plug my USB keyboard in, on the screen I can see a message. But no keystrokes working.

Should I change a setting somewhere?

Update:
# kbdcontrol -i
kbdcontrol: unable to obtain keyboard information: Inappropriate ioctl for device

Hardware problem?
Title: Re: Keyboard doesn't work
Post by: bartjsmit on January 19, 2017, 11:26:46 pm
Have you tried both USB 2 and USB 3 ports?

Bart...
Title: Re: Keyboard doesn't work
Post by: Tripple_Delta on January 20, 2017, 05:12:54 pm
There's no USB3 port on my device.
Title: Re: Keyboard doesn't work
Post by: Tripple_Delta on January 20, 2017, 05:49:20 pm
I guess the keyboard is not the problem.
After booting I don't get a prompt.
Title: Re: Keyboard doesn't work
Post by: franco on January 21, 2017, 06:19:47 pm
Can you show us a screen cap of the issue? Do you have a login prompt or not? This is VGA? Did you import a config.xml? Which installed version, which version currently running? ;)


Cheers,
Franco
Title: Re: Keyboard doesn't work
Post by: Tripple_Delta on January 22, 2017, 09:54:14 am
No login prompt, no imported XML file. Indeed VGA but there's a KVM switch in between.

A fresh install of this version after a crash:
OPNsense 16.7-amd64
FreeBSD 10.3-RELEASE-p5
OpenSSL 1.0.2h 3 May 2016

I noticed this behavior after connecting a new KVM cable which didn't work. Connecting a USB keyboard directly didn't work either.

I replaced the HD so everything is working fine now. I can look into some log files if you like. I'll run fsck on the disk just to be sure.
Title: Re: Keyboard doesn't work
Post by: Tripple_Delta on January 23, 2017, 06:37:58 am
Didn't last long. After an update with the web GUI the problem came back.
The current version is OPNsense 16.7.13-amd64.
Title: Re: Keyboard doesn't work
Post by: franco on January 23, 2017, 07:58:04 am
Mh, still no pictures to diagnose. So I am guessing go to System: Settings: General, set primary console from "Serial" to "VGA"?
Title: Re: Keyboard doesn't work
Post by: Tripple_Delta on January 23, 2017, 04:42:32 pm
Thanks Franco. Changed it to VGA and all works fine now.
I never need physical access to my device so it was a little hard to post pictures.
Title: Re: Keyboard doesn't work
Post by: franco on January 23, 2017, 04:51:31 pm
No worries. It's just a little easier then find the shared words to explain. :)


Cheers,
Franco