Kali Linux on Virtualbox (Ubuntu host) not connecting to internet (NatNetwork) [closed]
up vote
-3
down vote
favorite
I'm following this course to learn ethical hacking with Python on Udemy. So far I installed Kali on my Ubuntu machine with VirtualBox but the internet doesn't work. I tried echo "8.8.8.8" > /etc/resolv.conf (something like that) and no luck. I'm using a Kali image from Offensive-security.com.
ubuntu virtualbox
closed as too broad by n8te, Scott, fixer1234, Toto, PeterH Nov 16 at 13:34
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
add a comment |
up vote
-3
down vote
favorite
I'm following this course to learn ethical hacking with Python on Udemy. So far I installed Kali on my Ubuntu machine with VirtualBox but the internet doesn't work. I tried echo "8.8.8.8" > /etc/resolv.conf (something like that) and no luck. I'm using a Kali image from Offensive-security.com.
ubuntu virtualbox
closed as too broad by n8te, Scott, fixer1234, Toto, PeterH Nov 16 at 13:34
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Can you ping something?
– Lithilion
Nov 16 at 8:31
No, says it can't resolve google.com and Firefox doesn't load anything.
– Daniel
Nov 16 at 11:30
Directly ping an IP like 8.8.8.8
– Lithilion
Nov 16 at 11:51
It actually works now thanks to the comment below but there's another problem that I explain.
– Daniel
Nov 16 at 11:57
I missed an "http" part in the sources.list. It works now.
– Daniel
Nov 16 at 18:39
add a comment |
up vote
-3
down vote
favorite
up vote
-3
down vote
favorite
I'm following this course to learn ethical hacking with Python on Udemy. So far I installed Kali on my Ubuntu machine with VirtualBox but the internet doesn't work. I tried echo "8.8.8.8" > /etc/resolv.conf (something like that) and no luck. I'm using a Kali image from Offensive-security.com.
ubuntu virtualbox
I'm following this course to learn ethical hacking with Python on Udemy. So far I installed Kali on my Ubuntu machine with VirtualBox but the internet doesn't work. I tried echo "8.8.8.8" > /etc/resolv.conf (something like that) and no luck. I'm using a Kali image from Offensive-security.com.
ubuntu virtualbox
ubuntu virtualbox
asked Nov 16 at 2:38
Daniel
1
1
closed as too broad by n8te, Scott, fixer1234, Toto, PeterH Nov 16 at 13:34
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
closed as too broad by n8te, Scott, fixer1234, Toto, PeterH Nov 16 at 13:34
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
1
Can you ping something?
– Lithilion
Nov 16 at 8:31
No, says it can't resolve google.com and Firefox doesn't load anything.
– Daniel
Nov 16 at 11:30
Directly ping an IP like 8.8.8.8
– Lithilion
Nov 16 at 11:51
It actually works now thanks to the comment below but there's another problem that I explain.
– Daniel
Nov 16 at 11:57
I missed an "http" part in the sources.list. It works now.
– Daniel
Nov 16 at 18:39
add a comment |
1
Can you ping something?
– Lithilion
Nov 16 at 8:31
No, says it can't resolve google.com and Firefox doesn't load anything.
– Daniel
Nov 16 at 11:30
Directly ping an IP like 8.8.8.8
– Lithilion
Nov 16 at 11:51
It actually works now thanks to the comment below but there's another problem that I explain.
– Daniel
Nov 16 at 11:57
I missed an "http" part in the sources.list. It works now.
– Daniel
Nov 16 at 18:39
1
1
Can you ping something?
– Lithilion
Nov 16 at 8:31
Can you ping something?
– Lithilion
Nov 16 at 8:31
No, says it can't resolve google.com and Firefox doesn't load anything.
– Daniel
Nov 16 at 11:30
No, says it can't resolve google.com and Firefox doesn't load anything.
– Daniel
Nov 16 at 11:30
Directly ping an IP like 8.8.8.8
– Lithilion
Nov 16 at 11:51
Directly ping an IP like 8.8.8.8
– Lithilion
Nov 16 at 11:51
It actually works now thanks to the comment below but there's another problem that I explain.
– Daniel
Nov 16 at 11:57
It actually works now thanks to the comment below but there's another problem that I explain.
– Daniel
Nov 16 at 11:57
I missed an "http" part in the sources.list. It works now.
– Daniel
Nov 16 at 18:39
I missed an "http" part in the sources.list. It works now.
– Daniel
Nov 16 at 18:39
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
First open VB Manager.
Then select the vm you cannot access the internet from.
Go to settings then network.
Make sure to select a bridged adapter.
Select your network interface.
In Advanced use the Desktop adapter type.
Make sure Promiscuous Mode is allowing virtual machines, and make sure cable connected is on.
After doing this the internet works, but would you know why I can't use 'sudo apt-get update'? My/etc/apt/sources.listhas:deb http.kali.org/kali kali-rolling main contrib non-freeand update says:E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read.
– Daniel
Nov 16 at 11:55
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
First open VB Manager.
Then select the vm you cannot access the internet from.
Go to settings then network.
Make sure to select a bridged adapter.
Select your network interface.
In Advanced use the Desktop adapter type.
Make sure Promiscuous Mode is allowing virtual machines, and make sure cable connected is on.
After doing this the internet works, but would you know why I can't use 'sudo apt-get update'? My/etc/apt/sources.listhas:deb http.kali.org/kali kali-rolling main contrib non-freeand update says:E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read.
– Daniel
Nov 16 at 11:55
add a comment |
up vote
0
down vote
First open VB Manager.
Then select the vm you cannot access the internet from.
Go to settings then network.
Make sure to select a bridged adapter.
Select your network interface.
In Advanced use the Desktop adapter type.
Make sure Promiscuous Mode is allowing virtual machines, and make sure cable connected is on.
After doing this the internet works, but would you know why I can't use 'sudo apt-get update'? My/etc/apt/sources.listhas:deb http.kali.org/kali kali-rolling main contrib non-freeand update says:E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read.
– Daniel
Nov 16 at 11:55
add a comment |
up vote
0
down vote
up vote
0
down vote
First open VB Manager.
Then select the vm you cannot access the internet from.
Go to settings then network.
Make sure to select a bridged adapter.
Select your network interface.
In Advanced use the Desktop adapter type.
Make sure Promiscuous Mode is allowing virtual machines, and make sure cable connected is on.
First open VB Manager.
Then select the vm you cannot access the internet from.
Go to settings then network.
Make sure to select a bridged adapter.
Select your network interface.
In Advanced use the Desktop adapter type.
Make sure Promiscuous Mode is allowing virtual machines, and make sure cable connected is on.
answered Nov 16 at 6:39
Tyler Montani
744
744
After doing this the internet works, but would you know why I can't use 'sudo apt-get update'? My/etc/apt/sources.listhas:deb http.kali.org/kali kali-rolling main contrib non-freeand update says:E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read.
– Daniel
Nov 16 at 11:55
add a comment |
After doing this the internet works, but would you know why I can't use 'sudo apt-get update'? My/etc/apt/sources.listhas:deb http.kali.org/kali kali-rolling main contrib non-freeand update says:E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read.
– Daniel
Nov 16 at 11:55
After doing this the internet works, but would you know why I can't use 'sudo apt-get update'? My
/etc/apt/sources.list has: deb http.kali.org/kali kali-rolling main contrib non-free and update says: E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read.– Daniel
Nov 16 at 11:55
After doing this the internet works, but would you know why I can't use 'sudo apt-get update'? My
/etc/apt/sources.list has: deb http.kali.org/kali kali-rolling main contrib non-free and update says: E: Malformed entry 1 in list file /etc/apt/sources.list (URI parse) E: The list of sources could not be read.– Daniel
Nov 16 at 11:55
add a comment |
1
Can you ping something?
– Lithilion
Nov 16 at 8:31
No, says it can't resolve google.com and Firefox doesn't load anything.
– Daniel
Nov 16 at 11:30
Directly ping an IP like 8.8.8.8
– Lithilion
Nov 16 at 11:51
It actually works now thanks to the comment below but there's another problem that I explain.
– Daniel
Nov 16 at 11:57
I missed an "http" part in the sources.list. It works now.
– Daniel
Nov 16 at 18:39