LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-02-2017, 07:18 PM   #1
tastyboi
LQ Newbie
 
Registered: Oct 2017
Posts: 8

Rep: Reputation: Disabled
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!
 
Old 10-02-2017, 07:56 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: 17,386
Blog Entries: 27

Rep: Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405Reputation: 5405
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.
 
Old 10-02-2017, 07:57 PM   #3
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 9,139
Blog Entries: 4

Rep: Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227Reputation: 3227
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.
 
Old 10-02-2017, 08:27 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
"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.
Old 10-02-2017, 08:50 PM   #5
tastyboi
LQ Newbie
 
Registered: Oct 2017
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by jefro View Post
"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!
 
Old 10-03-2017, 03:46 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 20,836

Rep: Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370Reputation: 3370
Thanks for the update.

We have all made and still make mistakes.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
beginning interface eth0 : device eth0 has different MAC address to expected.FAILED petrofrontier Linux - Software 2 02-28-2011 11:09 AM
static ipv6 address not showing on eth0 interface gitecravirs Linux - Newbie 0 06-10-2009 09:01 AM
eth0 inet address not assigned at startup?? abolishtheun Slackware 2 04-30-2009 07:38 AM
eth0 assigned to loopback. No lo interface. The_Outlander Slackware 1 05-14-2007 09:07 AM
eth0 ip assigned by dhcp , how would i know the ip address of the dhcp server where.. kublador Linux - Networking 14 05-16-2006 06:33 AM

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

All times are GMT -5. The time now is 04:38 AM.

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