Oct 16, 2016 07:46 AM
(This post was last modified: Oct 16, 2016 10:22 AM by Gnostic Aeon.)
I cannot access the internet on kali linux through virtual box. I installed virtualbox. Then created a DHCP server with 9 other IPS. (vboxmanage dhcp server add --netname mydhcpnetwork --ip 10.10.10.1 --netmask 255.255.255.0 --lowerip 10.10.10.2 --upperip 10.10.10.10 enable)
I then installed kali linux on virtual box. Then in Virtualbox network settings adapter 1 is attached to internal network, mydhcpnetwork. adapter 2 is set to NAT. during the kali install it asked to configure the network and gave me a choice of eth3 or eth8 i tried eth3 first but it could not finish the install because it couldnt connect to the internet. I went back and choose eth8 which worked and the kali install finished. kali boots up fine but i cannot access the internet. On boot i get the error message "intel_rapl : no valid rapl domains found in package (0)" I dont know if it is relevant, everyone online says it is merely cosmetic. On the command line i tried (dhclient -v) and it says...
"Listening on LPF/eth0/08:00:27:64:ca:bb
sending on LPF/eth0/08:00:27:64:ca:bb
DHCprequest of 10.10.10.2 on eth0 to 255.255.255.255 port 67
DHCpack of 10.10.10.2 from 10.10.10.1
smbd.service is not active, cannot reload
invoke-rc.d: initscript smbd, action "reload" failed
RTNETLINK answers file exists
Bound to 10.10.10.2 -- renewal in 535 seconds"
so i put into the command line (service smbd restart) and do (dhclient -v) again, The read out is the same just with out the "smbd.service is not active, cannot reload. Invoke-rc.d: initscript smbd, action "reload"failed" but i have to enter (service smbd restart) every time I boot kali in virtualbox.
I tried (if config eth0 up) (dhclient eth0) and it says "RTNETLINK Answers file exists".
I tried editing (gedit /etc/NetworkManager/NetworkManager.conf) and changed false to true. then (service network-manager restart)
still nothing.
(ping www . google . com) "name or service not found"
(ping 10.10.10.2) "pinging 10.10.10.2 56(84) bits of data" and does a readout that doesnt stop.
(cat /etc/network/interfaces)
"Source /etc/network interfaces.d/*
The loopback network interface
auto lo
Iface lo inet loopback
Iface eth8 inet DHCP"
(ifconfig -a) in virtualbox
"eth0: flags=4163<up,Broadcast,Running,Multicast> mtu 1500
inet 10.10.10.2 Netmask 255.255.255.0 Broadcast 10.10.10.255
inet 6 fe80::a00:27ff:fe64:ca66 prefixlen64 scope id 0x20 <link>
ether 08:00:27:64:ca:66 txqueulen 1000 (ethernet)
RX Packets 40 bytes 14590 (14.2kib)
RX errors 0 dropped 0 overruns 0 frame 0
TX Packets 56 bytes 10062 (9.8kib)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<up,Broadcast,Running,Multicast>mtu 1500
ether 08:00:27:68:f9:01 Txqueulen 1000 (ethernet)
RX Packets 0 bytes 0 (0.0b)
RX errors 0 dropped 0 overruns 0 frame 0
TX Packets 0 bytes 0 (0.0b)
TX errors 0 dropped 0 overruns 0 carrier 0 collision 0
10: flags=73<up,loopback,Running>mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet 6::1 prefixlen 128 scopeid ox10<host>
loop txqueulen 1 (local loopback)
RX Packets 16 bytes 960 (960.0b)
RX errors 0 dropped 0 overruns 0 frame 0
TX Packets 16 bytes 960 (960.0b)
TX errors 0 dropped 0 overruns 0 carrier 0 collision 0"
(route -n)
"Kernel IP routing table
Destination 10.10.10.0
Gateway 0.0.0.0
Genmask 255.255.255.0
Flags u
Metric 100
Ref 0
use 0
Iface eth0"
any help would be great.
I resolved this issue. It will not allow me to delete the thread.
I then installed kali linux on virtual box. Then in Virtualbox network settings adapter 1 is attached to internal network, mydhcpnetwork. adapter 2 is set to NAT. during the kali install it asked to configure the network and gave me a choice of eth3 or eth8 i tried eth3 first but it could not finish the install because it couldnt connect to the internet. I went back and choose eth8 which worked and the kali install finished. kali boots up fine but i cannot access the internet. On boot i get the error message "intel_rapl : no valid rapl domains found in package (0)" I dont know if it is relevant, everyone online says it is merely cosmetic. On the command line i tried (dhclient -v) and it says...
"Listening on LPF/eth0/08:00:27:64:ca:bb
sending on LPF/eth0/08:00:27:64:ca:bb
DHCprequest of 10.10.10.2 on eth0 to 255.255.255.255 port 67
DHCpack of 10.10.10.2 from 10.10.10.1
smbd.service is not active, cannot reload
invoke-rc.d: initscript smbd, action "reload" failed
RTNETLINK answers file exists
Bound to 10.10.10.2 -- renewal in 535 seconds"
so i put into the command line (service smbd restart) and do (dhclient -v) again, The read out is the same just with out the "smbd.service is not active, cannot reload. Invoke-rc.d: initscript smbd, action "reload"failed" but i have to enter (service smbd restart) every time I boot kali in virtualbox.
I tried (if config eth0 up) (dhclient eth0) and it says "RTNETLINK Answers file exists".
I tried editing (gedit /etc/NetworkManager/NetworkManager.conf) and changed false to true. then (service network-manager restart)
still nothing.
(ping www . google . com) "name or service not found"
(ping 10.10.10.2) "pinging 10.10.10.2 56(84) bits of data" and does a readout that doesnt stop.
(cat /etc/network/interfaces)
"Source /etc/network interfaces.d/*
The loopback network interface
auto lo
Iface lo inet loopback
Iface eth8 inet DHCP"
(ifconfig -a) in virtualbox
"eth0: flags=4163<up,Broadcast,Running,Multicast> mtu 1500
inet 10.10.10.2 Netmask 255.255.255.0 Broadcast 10.10.10.255
inet 6 fe80::a00:27ff:fe64:ca66 prefixlen64 scope id 0x20 <link>
ether 08:00:27:64:ca:66 txqueulen 1000 (ethernet)
RX Packets 40 bytes 14590 (14.2kib)
RX errors 0 dropped 0 overruns 0 frame 0
TX Packets 56 bytes 10062 (9.8kib)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
eth1: flags=4163<up,Broadcast,Running,Multicast>mtu 1500
ether 08:00:27:68:f9:01 Txqueulen 1000 (ethernet)
RX Packets 0 bytes 0 (0.0b)
RX errors 0 dropped 0 overruns 0 frame 0
TX Packets 0 bytes 0 (0.0b)
TX errors 0 dropped 0 overruns 0 carrier 0 collision 0
10: flags=73<up,loopback,Running>mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet 6::1 prefixlen 128 scopeid ox10<host>
loop txqueulen 1 (local loopback)
RX Packets 16 bytes 960 (960.0b)
RX errors 0 dropped 0 overruns 0 frame 0
TX Packets 16 bytes 960 (960.0b)
TX errors 0 dropped 0 overruns 0 carrier 0 collision 0"
(route -n)
"Kernel IP routing table
Destination 10.10.10.0
Gateway 0.0.0.0
Genmask 255.255.255.0
Flags u
Metric 100
Ref 0
use 0
Iface eth0"
any help would be great.
I resolved this issue. It will not allow me to delete the thread.

