PS2 Keyboard fails after using Host Interface Networking

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Lawbayly
Posts: 36
Joined: 15. Dec 2008, 15:37
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Debian

PS2 Keyboard fails after using Host Interface Networking

Post by Lawbayly »

When I run an Operating System in VirtualBox using NAT Everything works fine

It's when I change it to Host Interface Networking it seems to just completely shut off my keyboard, both in the VM and outside, shutting down the VM doesn't fix it either, I have to reboot the host to restart the keyboard

It mentions in the manual I need access to /dev/net/tun, if thats the issue, how do I get access?

I'm using Debian Etch if that helps!
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Post by Sasquatch »

/dev/net/tun is only needed if you need the virtual interfaces in HIF mode. Since 2.1.0, that's no longer needed as VB can use the physical interface directly.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Lawbayly
Posts: 36
Joined: 15. Dec 2008, 15:37
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Debian

Post by Lawbayly »

So what could be causing my keyboard to cut out when I Choose the direct interface networking?

That maybe a question you can't answer anyways, but is there a command I can type in using SSH to reinitialise the keyboard?
jesseNL
Posts: 2
Joined: 20. Jan 2009, 11:55

Post by jesseNL »

So Guys,

Is there a way to fix this problem ?

I have a Debian 4.0 Etch with Virtualbox on it !
jesseNL
Posts: 2
Joined: 20. Jan 2009, 11:55

Post by jesseNL »

Ok after a wile searching on google + 6 cups of coffee and almost no hair on my head i fount this in my messages

# tail -f /var/log/messeges

kernel: EIP: vboxNetFltLinuxXmitTask+0x17/0x178

I googled and googled and found the fix! hope you will like it too

Start the Debian Etch host and b4 starting VB just go to /usr/share/virtualbox/src/vboxnetflt/linux/VBoxNetFlt-linux.c and look for the line

--> INIT_WORK(&pThis->u.s.XmitTask, vboxNetFltLinuxXmitTask, NULL);

and change it to

--> INIT_WORK(&pThis->u.s.XmitTask, vboxNetFltLinuxXmitTask, &pThis->u.s.XmitTask);


And then run the command #/etc/init.d/vboxdrv setup to rebuild the kernel module...

Reboot the system and everything seem to work just fine!

Thank god now i can go and finish up the w2k3 installation :)

Cheers,

--
Jesse Mirza
IT Consultant
JAMESNET
Opensource Business Solutions
Lawbayly
Posts: 36
Joined: 15. Dec 2008, 15:37
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Debian

Post by Lawbayly »

Works Flawlessly now, thanks for the help jesseNL
Post Reply