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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
07-07-2017, 09:23 PM
|
#1
|
LQ Newbie
Registered: Jul 2017
Posts: 2
Rep:
|
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
|
|
|
07-07-2017, 09:52 PM
|
#2
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,717
|
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 09:59 PM.
Reason: clarity
|
|
1 members found this post helpful.
|
07-07-2017, 11:26 PM
|
#3
|
Senior Member
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,258
|
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.
|
07-08-2017, 02:56 PM
|
#4
|
LQ Guru
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
|
Kali has networking disabled by default.
|
|
|
07-08-2017, 05:07 PM
|
#5
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by shadow24
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 05:07 PM.
Reason: Freshmen!
|
|
|
07-08-2017, 11:00 PM
|
#6
|
LQ Newbie
Registered: Jul 2017
Posts: 2
Original Poster
Rep:
|
Thanks for the responses. I will definitely take a look at that tutorial for additional guidance.
|
|
|
07-08-2017, 11:07 PM
|
#7
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,157
|
Setting the Network in VBox to bridge would probably help.
|
|
|
07-08-2017, 11:35 PM
|
#8
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,717
|
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-09-2017 at 12:08 AM.
Reason: clarity
|
|
1 members found this post helpful.
|
07-09-2017, 12:00 AM
|
#9
|
Member
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997
|
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 01:52 AM.
|
|
|
07-09-2017, 12:14 AM
|
#10
|
LQ Guru
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,632
|
Quote:
Originally Posted by !!!
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.
|
|
|
07-09-2017, 07:14 AM
|
#11
|
LQ Addict
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
|
Quote:
Originally Posted by !!!
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.
|
|
|
All times are GMT -5. The time now is 02:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|