Linux - NewbieThis 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!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
how can I find out MAC address and also IP addresses of my computer under linux console.
I know that in Win XP there is a cmd command ipconfig to get IP informations.
What about linux?
I have a similar question I was hoping you could answer. How can I find out the IP address of a machine on my LAN, such as my GameCube? I have run Linux on my GameCube in the past, and I recently bought a new router, so my GameCube's IP address has changed. How can I find out what it is?
Distribution: RedHat, Slackware, Experimenting with FreeBSD
As far as I know there is no straightforward way to identify the IP address of a single host on the network unless your using a name resolution service and know the hostname of the specific host in question.
This will display the MAC addresses and the corresponding IP addresses of hosts that your machine has had contact with. I have found this method rather useless since this assumes you know the target host's MAC.
A technique I have found a little more useful is to use a combination of ping broadcasts and nmap.
First perform a broadcast ping to all hosts on your network.
ping -b <broadcast address>
For example on a network with address and subnet:
ping -b 192.168.0.255
This will give you a list of all 'live' hosts on your network.
Next use the nmap -vAO command to identify the OS on a specific system.
nmap -vAO 192.168.0.10
However, this again assumes that you have an idea of what to look for (specific ports/services and unique OS). Its time consuming so is really only effective for small networks.
Last edited by SlackDaemon; 08-20-2006 at 11:19 PM.
Thanks, but how to use nmap?
Does it meant that If i don't know what are Ip addresses are of compuuters in my network, I can use nmap to find them?
Sure. I use that here at work to find out whats on my network. Check out this page. This is what I used to learn more about nmap. http://insecure.org/ it also has other security tools that you can look into.