Page 1 of 1
cant find interfaces file or setup bridge
Posted: 30. Jun 2009, 17:13
by project722
I have opensuse 11.1 and and been following the instructions here:
http://www.fsckin.com/2007/10/29/how-to ... irtualbox/
to get this app working. I am running Sun VB ver 2.2.4. The instructions say to modify /etc/network/interfaces but I dont have such a file. All I have is /etc/netconfig.d and /etc/sysconfig/network. Those 2 directories are the only 2 remotely close to what the instructions say. Do I make this file up? Should I be following a different tutorial on how to set up the network bridge?
TIA
Re: cant find interfaces file or setup bridge
Posted: 30. Jun 2009, 19:45
by Sasquatch
There are two things you are doing majorly wrong. First, you follow a howto for Debian based distro's, not RPM based. Second is that the howto is from an ancient version, just check the date, it from 2007! That's way before v2, even before v1.6. The whole networking stack changed a big deal since the version used in the howto. Just grab the manual and read chapter 6. All you need is select the NIC you want to use, and you're done.
Re: cant find interfaces file or setup bridge
Posted: 30. Jun 2009, 21:53
by project722
Thanks. I read the man and got a VM setup. Went to start and got and error message saying something about /vboxdrv and could not find kernel sources etc, etc... I removed the RPM and re-installed from the command line. Now I get this, which I am sure is related to the first error.
rpm -i VirtualBox-3.0.0_49315_openSUSE111-1.i586.rpm
Creating group 'vboxusers'. VM users must be member of that group!
No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.
Compilation of the kernel module FAILED! VirtualBox will not start until this
problem is fixed. Please consult /var/log/vbox-install.log to find out why the
kernel module does not compile. Most probably the kernel sources are not found.
Install them and execute
/etc/init.d/vboxdrv setup
as root.
And here is the error from the /var/log:
** Compiling vboxdrv
Makefile:147: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.
Not sure what to do now.
Re: cant find interfaces file or setup bridge
Posted: 30. Jun 2009, 22:07
by Sasquatch
Check my
Howto: Install Linux Guest Additions + Xorg config, Preparations. You need some development packages for kernel modules. You can ignore the rest of the howto, as it's only for Linux Guest systems, you're now running it as Host.
Re: cant find interfaces file or setup bridge
Posted: 30. Jun 2009, 22:29
by project722
Ok I found those kernel packages using the YAST software utility. Got'em loaded and for now VB is rockin away with an XP install. Wish me luck!