cant find interfaces file or setup bridge

Discussions related to using VirtualBox on Linux hosts.
Post Reply
project722
Posts: 3
Joined: 30. Jun 2009, 15:56
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows XP

cant find interfaces file or setup bridge

Post 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
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

Re: cant find interfaces file or setup bridge

Post 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.
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.
project722
Posts: 3
Joined: 30. Jun 2009, 15:56
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows XP

Re: cant find interfaces file or setup bridge

Post 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.
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

Re: cant find interfaces file or setup bridge

Post 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.
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.
project722
Posts: 3
Joined: 30. Jun 2009, 15:56
Primary OS: openSUSE
VBox Version: OSE other
Guest OSses: Windows XP

Re: cant find interfaces file or setup bridge

Post 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!
Post Reply