Page 1 of 1

Need Help in configuring wireless in Virtual Box

Posted: 24. Sep 2011, 10:52
by voorhout21
I have installed Virtual Box version 4.1.2 and I am running Oracle Enterprise Linux guest OS.

I would like to use my host wireless connection in the Virtual Box VM, I tried setting the network connection

Enable Network Adapter - checked
Attached to -NAT
Adapter Type - PCnet-FAST III(Am79C973)

I could not get the wireless network connection working in my Virtual Box VM, irrespective of whatever setting I tried to

Can anyone help?

Re: Need Help in configuring wireless in Virtual Box

Posted: 24. Sep 2011, 13:02
by voorhout21
Here are some basic checks that I have done, but with no luck :)


[oracle@soabpm-vm ~]$ dmesg | grep eth0
eth0: registered as PCnet/PCI II 79C970A
eth0: link up
eth0: no IPv6 routers present
NETDEV WATCHDOG: eth0: transmit timed out
eth0: transmit timed out, status 0073, resetting.


[oracle@soabpm-vm ~]$ cat /etc/sysconfig/network
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=soabpm-vm


[oracle@soabpm-vm ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=08:00:27:c9:34:c3
[oracle@soabpm-vm ~]$ /sbin/ifconfig eth0 down
SIOCSIFFLAGS: Permission denied


[oracle@soabpm-vm ~]$ su -
Password:
[root@soabpm-vm ~]# /sbin/ifconfig eth0 down
[root@soabpm-vm ~]# /sbin/ifconfig eth0 up

[root@soabpm-vm ~]# netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface


[root@soabpm-vm ~]# locate ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0.bak
/etc/sysconfig/networking/profiles/default/ifcfg-eth0

[root@soabpm-vm ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Advanced Micro Devices [AMD] 79c970 [PCnet32 LANCE]
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
HWADDR=08:00:27:c9:34:c3


[root@soabpm-vm ~]# service network restart
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... failed.
[FAILED]


[root@soabpm-vm ~]# ping -c4 google.com
ping: unknown host google.com

[root@soabpm-vm ~]# traceroute google.com
google.com: Temporary failure in name resolution
Cannot handle "host" cmdline arg `google.com' on position 1 (argc 1)


[root@soabpm-vm ~]# service network
Usage: /etc/init.d/network {start|stop|restart|reload|status}
[root@soabpm-vm ~]# /etc/init.d/network status
Configured devices:
lo eth0
Currently active devices:
lo eth0
[root@soabpm-vm ~]# /etc/init.d/network stop
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
[root@soabpm-vm ~]# /etc/init.d/network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0...



[root@soabpm-vm ~]# /etc/init.d/network reload
Shutting down interface eth0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth0:
Determining IP information for eth0... failed.
[FAILED]
[root@soabpm-vm ~]#

Re: Need Help in configuring wireless in Virtual Box

Posted: 24. Sep 2011, 13:16
by Sasquatch
Did you ever check the User Manual or VirtualBox FAQ for the reason why you don't see a wireless interface in the Guest?