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.
|
|
10-02-2017, 07:18 PM
|
#1
|
LQ Newbie
Registered: Oct 2017
Posts: 8
Rep:
|
Interface eth0 does not have an assigned IP address -- Help please!
Hi all. This is my first post to this site. I'm also pretty new to Linux in general, so please bear with me.
I recently downloaded the Man in the Middle Framework (mitmf) and tried testing it on a windows laptop. However, when I enter this command:
mitmf --arp --spoof --gateway 192.168.254.254 --target 192.168.254.33 -i eth0
it gives me this error:
Interface eth0 does not have an assigned IP address
I scoured multiple forums on how to assign an IPv4 address to my card, but nothing seems to work.
-----------------------------------------------------
I ran uname -a and got this
Linux kali 4.9.0-kali3-amd64 #1 SMP Debian 4.9.18-1kali1 (2017-04-04) x86_64 GNU/Linux
I'm not sure how to tell what wireless card. I am using the built in one on my laptop.
Thanks in advance!
|
|
|
10-02-2017, 07:56 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,590
|
I have read here at LQ that, in Kali, networking is disabled by default; you have to enable it. This article may help: https://kali.training/chapter-5/conf...g-the-network/
You say that you are new to Linux. Let me emphasize the Kali is not for beginners. It's a highly specialized distro designed to do one thing, which is penetration testing. You can of course do other things with it, but Kali's single-minded design makes that much more trouble than it's worth.
I suggest you get your Linux feet wet with something of a more general nature, such as Ubuntu, Mageia, Mint, or OpenSUSE.
Here's an excellent tutorial on how you can set up a safe environment for learning how to use Kali. https://www.linuxvoice.com/hacking-a-beginners-guide/
Oh, and welcome to LQ.
|
|
|
10-02-2017, 07:57 PM
|
#3
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,892
|
Linux uses the /etc/network/interfaces file to specify how each network interface should be configured.
Commonly, this file specifies that the interface should use DHCP to configure itself. e.g.:
Code:
auto eth0
iface eth0 inet dhcp
("DHCP" is the usual way that, say, "your phone" automagically obtains an IP-address on your home network as soon as you walk into the door. It "broadcasts" a request, and your router answers.)
First, check this file to see if anyone monkeyed with it. Then, perhaps all you need to do is to reboot your machine, or at least restart networking, so that your computer repeats the DHCP request and thereby obtains the IP-address that it needs.
|
|
|
10-02-2017, 08:27 PM
|
#4
|
Moderator
Registered: Mar 2008
Posts: 22,127
|
"I'm not sure how to tell what wireless card. I am using the built in one on my laptop. "
Linux wireless would not be eth0 I'd think. I assume you mean built in as in wireless and not the ethernet wired connector.
|
|
1 members found this post helpful.
|
10-02-2017, 08:50 PM
|
#5
|
LQ Newbie
Registered: Oct 2017
Posts: 8
Original Poster
Rep:
|
Quote:
Originally Posted by jefro
"I'm not sure how to tell what wireless card. I am using the built in one on my laptop. "
Linux wireless would not be eth0 I'd think. I assume you mean built in as in wireless and not the ethernet wired connector.
|
THANK YOU SO MUCH!
It wasn't working because I was typing eth0 not wlan0. (used to using a VM)
I guess sometimes all it takes is someone to point out my stupidity. Everything works now. Thanks again!
|
|
|
10-03-2017, 03:46 PM
|
#6
|
Moderator
Registered: Mar 2008
Posts: 22,127
|
Thanks for the update.
We have all made and still make mistakes.
|
|
|
All times are GMT -5. The time now is 07:11 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
|
|