LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-07-2017, 08:23 PM   #1
shadow24
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Rep: Reputation: Disabled
Kali


Hello,

I am new to linux and apologize in advance for the lack of information that is to come, but I hope someone will be able to walk me through a troubleshoot and just tell me what information is needed to help me. I recently set up Kali Linux 2017.1-amd64.iso in a virtual machine. Although I have no problems pinging my own IP address I cannot ping any other IP addresses or domain names. I am definitely connected to the wifi because I can browse the internet perfectly fine on my host OS.
ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.2.15 netmask 255.255.255.0 broadcast 10.0.2.255
inet6 fe80::a00:27ff:fee4:ae8b prefixlen 64 scopeid 0x20<link>
ether 46:eb:c7:ba:78:4b txqueuelen 1000 (Ethernet)
RX packets 23 bytes 3050 (2.9 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 863 bytes 78300 (76.4 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

cat /etc/resolv.conf
# Generated by NetworkManager
search fios-router.home
nameserver 192.168.1.1


ping google.com
ping: google.com: Name or service not known


route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
(Don't know why this turned up empty)

Thanks,

Shadow24
 
Old 07-07-2017, 08:52 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
This might help.

https://docs.kali.org/policy/kali-li...rvice-policies

Kali is not a distro for persons new to Linux. It is highly specialized and designed specifically for penetration testing. I would suggest starting with a different distro, perhaps Slackware (which is a darn good teacher--it taught me to understand Linux) or Debian, then testing Kali when you've got your Linux feet wet.

If you must persist with Kali, this tutorial would be a good place to start.

Oh, and welcome to LQ.

Last edited by frankbell; 07-07-2017 at 08:59 PM. Reason: clarity
 
1 members found this post helpful.
Old 07-07-2017, 10:26 PM   #3
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
Blog Entries: 2

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Sounds like you need to configure VBox for internet.

I agree Kali is cool but it is advanced and unless you know your way around in Linux it won't do you much good. If you've never used Linux before I'd suggest Mint. But hey it's Linux do what you want and most of all have fun
 
1 members found this post helpful.
Old 07-08-2017, 01:56 PM   #4
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Kali has networking disabled by default.
 
Old 07-08-2017, 04:07 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by shadow24 View Post
I am new to linux...kali
Try another OS. One that doesn't "suggest" intermediate to advanced skills to use.
You're in over your head.
</opinion>

Last edited by Habitual; 07-08-2017 at 04:07 PM. Reason: Freshmen!
 
Old 07-08-2017, 10:00 PM   #6
shadow24
LQ Newbie
 
Registered: Jul 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks for the responses. I will definitely take a look at that tutorial for additional guidance.
 
Old 07-08-2017, 10:07 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,501

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Setting the Network in VBox to bridge would probably help.
 
Old 07-08-2017, 10:35 PM   #8
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
Quote:
Setting the Network in VBox to bridge would probably help.
The tutorial I linked to suggests setting up Kali and Metasploit in VMs in "Host Only" mode, so that they can see each other, but cannot access the Big Wide World.

If you have Kali accessing the Big Wide World and start using its tools against other persons, you may--and should--attract attention from persons whose attention you would rather not attract.

Last edited by frankbell; 07-08-2017 at 11:08 PM. Reason: clarity
 
1 members found this post helpful.
Old 07-08-2017, 11:00 PM   #9
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
Welcome to Linux, BUT think of: someone who hasn't seen/driven a car, taking a *huge missile launcher* for a test-drive, and asking the nearest official: "How do I shoot?" !!!

Take some time to 'Search' the wealth of LQ advice on kali: under where you enter Keyword kali, pull-down 'Search Titles only' (to optimize search results; also, at bottom, 'Show Results as Threads', instead of Posts).

Bottom line: on most forums (including sites other than LQ), it's best not to be a kali 'n00b'
Sorry, that's just how the www is

Best wishes on learning 'lots' of Linux first

p.s. ping -c 3 10.0.2.2 ; this ?should? be your Vbox NAT gateway (Is 192.168.1.1 your host's gateway/router? Idk how kali got this instead of 10.0.2.2! Only IF you can figure this out, and write an essay on why eth0 per #1 can absolutely-only-ever 'arp' 10.0.2.*, will I allow you to continue using kali) ip is 'new' cmd
https://forums.kali.org/showthread.p...Network-Access (old, prior version tho)

p.p.s. What's the LQpunishment for flat-out lying and *saying* only Debian (when it's really kali)?

Note WELL #8, and same warnings in tutorial magazine link! I had exact same problem, and the very second I fixed it, InterPol shot down my front door; my ISP was too late to save me, when they terminated my account for egregious ToS violation, one additional second later. J/K, but ...

Last edited by !!!; 07-09-2017 at 12:52 AM.
 
Old 07-08-2017, 11:14 PM   #10
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,306
Blog Entries: 3

Rep: Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720Reputation: 3720
Quote:
Originally Posted by !!! View Post
Best wishes on learning 'lots' of Linux first
Indeed.

All of the tools in Kali can be made available in Linux Mint, which is far easier to get started with. I'd recommend installing Linux Mint and learning the utilities you are interested in one at a time on it instead. When you've gotten comfortable with them there, and are also comfortable with a little system adminsitration yourself, then you can make the leap to Kali if the perceived need is still there.
 
Old 07-09-2017, 06:14 AM   #11
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
Quote:
Originally Posted by !!! View Post
p.p.s. What's the LQpunishment for flat-out lying and *saying* only Debian (when it's really kali)?
The punishment is having nothing work as the guidance given by members doesn't work due to Kali being configured differently and having different software versions.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to make Kali Linux look like Parrot OS (Configuring how Kali Linux looks) John1243 Linux - Distributions 1 03-21-2016 02:48 AM
LXer: Migrating from Kali Linux 2 to Kali Linux 2016.1 LXer Syndicated Linux News 0 02-01-2016 07:50 AM
Triple-boot Kali 2.0/LXLE 14.04.2/Win7 - USB 3.0 file transfer issues in Kali MX372 Linux - Hardware 4 10-10-2015 07:06 PM
Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg aymeric75 Linux - General 2 07-11-2015 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration