Software :: Find Out IP Address Based On MAC

Nov 17, 2010

Using linux, how can I find out the IP address of a computer based on its MAC address?

View 1 Replies


Server :: Dhcpd To Give A Certain Ip Address Based On Mac Address?

Nov 24, 2010

Im trying to setup dhcpd to put certain systems witch have mac address starting with 08:00:* in a certain ip class. How can this be done?So any system with mac address starting with 08:00 to get an ip from this range

View 11 Replies View Related

Server :: IP Address In Ubuntu \ Dont Find Inet Address?

Aug 4, 2011

If I give "ifconfig" in my laptop I get eth0,lo,wlan0.In that where do I find my Ip address in Ubuntu in 10.04. In eth0 I dont find inet address.Where can I find it?

View 2 Replies View Related

Server :: Blocking Mac Based Address In Squid?

Apr 6, 2011

I need to block mac address in my network then i foolowed as below acl's but am getting output as follows I tried as in /etc/squid/squid.conf acl block arp aa:aa:yy:yy:xx:xx http_access deny block but it give me error as like: - (This is the output of # squid -k parse) aclParseAclLine: Invalid ACL type 'arp' FATAL: Bungled squid.conf line 1234: acl block arp aa:aa:yy:yy:xx:xx squid Cache (Version 2.5.STABLE6): Terminated abnormally.

View 7 Replies View Related

Networking :: ISC DHCP - Class Matching Based On Mac Address

Aug 12, 2010

We have a large number of devices on our LAN with the mac prefix of 00:60:60. We want to assign these addresses from a separate address pool. I've created two classes, one to match 00:60:60 and another that I want to contain any other device. When i try to start the server I get:

/etc/dhcp3/dhcpd.conf line 33: boolean expression expected
match if not binary-to-ascii(16,8,":",substring(hardware, 1, 3))
^#this carrot should be under the last parenthesis#
Configuration file errors encountered -- exiting

Here is the relevant section of /etc/dhcp3/dhcpd.conf

class "006060" {
match if binary-to-ascii(16,8,":",substring(hardware, 1, 3)) = "00:60:60";


I've tried a few variations on that line. I've spent days trying to find any examples of "match if not" and haven't found anything. I assume it's going to be something to do with parenthesis/quote placement. Oh and this is ISC DHCP Server V3.0.4.

View 4 Replies View Related

Server :: Allow Wireless Clients Access To Network Based On Their MAC Address?

Jan 11, 2011

Using CentOS 5.5, FreeRADIUS 2.1.7.

Objective is simply to be able to allow wireless clients access to my network based on their MAC address (I have about 10 WAPs around the country which I need to be able to manage user access centrally). Not interested in LDAP or dishing out keys/certificates etc.

I have been trying to follow the guide here. Sounds like it's exactly what I need but I'm not sure about a few things.

1) For each of the conf files am I supposed to be replacing everything currently existing in the respective file with what is suggested?

2) "raddb/modules/file" does not exist, so I assume I should use "raddb/modules/files"?

3) If I uncomment the line:

under the "raddb/sites-available/default authorize{}" section, the radiusd startup gives me the following error:
/etc/raddb/sites-enabled/default[69]: Failed to find module "rewrite_calling_station_id".

If anyone familiar with FreeRADIUS 2 could answer these queries I might be on the right path

View 12 Replies View Related

Security :: IPTABLES - Restrict Internet Access Based On Time Of Day And MAC Address

Feb 6, 2010

I am trying to configure my Linux router to restrict Internet access for one computer on my LAN. It needs to be restrictive based on the time of day and the days of the week. I am using the MAC address of the computer to single out the one computer that needs to be blocked. However, this is my first attempt at making any rules with iptables, and I am not sure if I am doing this right. If some one can take a look at this I would greatly appreciate it. This is what I have done so far.

Here is my thinking. Create a new target. Check the MAC address, if it is NOT the offending computer return to the default chain. If it is the offending computer check that we are between the allowed hours and dates and ACCEPT. If we are not within the time/date range then drop the packet.


Here I am trying to route all packets regardless of the computer on the LAN into the blocked_access chain for checking.


Is it a good idea to route all traffic through the blocked_access chain? I do run other servers that are accessible from the Internet, so I am not sure how this setup will affect that. I also use shorewall on the router to setup iptables for me. How would I integrate this with shorewall?

I am using squid to block access when he is using the web browser. However, he is still able to play games(World of Warcraft) and the like.

I am using Debian sid, iptable(1.4.6), shorewall(4.4.6), kernel 2.6.32-trunk-686.

View 7 Replies View Related

Programming :: Find The Mac Address For A Given Ip Address?

Feb 16, 2010

I am trying to find out the mac address of the eth0 port on linux probe. This port is controlled by kernal and hence I don't have control over it. How do I find out the mac address of this port ? Is there any system call which will take the ip address and will do the lookup on the linux's ip table to get the mac address ?

View 6 Replies View Related

General :: How To Find Out What Your Distro Is Based On

Nov 28, 2010

I have been using Linux for quite a while and have gotten pretty good at it, but recently I started using Backtrack in a VM and realized I have no idea what it is based on. Then I got to thinking I have no idea what that even means. For example, OSX is based on Darwin right, but what does that mean? Ubuntu is another that is based on Debian, but I don't know what that means.

The reason I'm asking is because in order to get my screen resolution and networking right in Backtrack I need to know what it is based on so I can download the proper packages to install the VirtualBox guest additions, and I have no idea. Is there a way to get this information from the operating system? Maybe uname -a is giving me the info and I just don't know where to look in the output?

View 7 Replies View Related

Ubuntu :: Find Log Files And Delete Them Based On Age?

Aug 18, 2011

I want find a bunch of log files and delete ones that are older than say 5 days. Ideally I would then like to add this my crontab to run once a day.

The log files are in /var/log and are owned by root. They have a standard naming convention which is [date]RootCronRsync-backupHOME.log An example file is 20100621RootCronRsync-backupHOME.log Trying to put together a bash script to do this I think I need something like

Code: find /var/log/ -name *RootCronRsync-backupHOME.log -mtime +5 -exec rm {} ; However if I try this without the -exec rm (ie to see if I can find the right files first) I get the following error find: paths must precede expression: 20090405RootCronRsync-backupHOME.log Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression]

View 8 Replies View Related

Fedora :: Terminal-based Programs Won't Run Because It Can't Find Libtermcap

May 30, 2010

I installed Fedora 12 on a new machine (Intel Core i3) and one of my terminal-based programs won't run because it can't find libtermcap. The specific error is


error while loading shared libraries: cannot open shared object file: No such file or directory

I seem to have this problem every other time I install a new Fedora. I tried a few things with old libtermcap files from other machines, and I tried looking around the YUM repository, but nothing seemed to work.

What's the proper way to get the libtermcap libraries for a Fedora 12 machine on an iCore i3?

View 1 Replies View Related

General :: Finding Files Based On Date Without Using `find`?

Aug 11, 2011

I know find can do what I am looking for, but I am wondering if there is an alternative way to find files on the filesystem either created before/after a certain point, or at a certain time.

Typically I rely on updatedb & locate for most of my file searching needs. Issues with those tools, though, are that it only has directory and file names, and it only creates a database of local directories, not anything mounted via CIFS|NFS or via -o loop (eg, .iso images).

So if I need to find files created after yesterday across the entire system (local and remote filesystems), I am currently needing to use find.

What other tools, if any, would accomplish this in a similar fashion?

I have tried ls and grep, but that requires (in my attempts so far) multiple searches:

ls -lR | grep Aug | grep 10
ls -lR | grep Aug | grep 11

View 6 Replies View Related

General :: Download Centos Based Rpm But Only Find Redhat Rpm's On The Net?

May 26, 2010

my problem is sinple, I want to download centos based rpm but i can only find redhat rpm's on the net. can I use redhat rpms for centos?

View 2 Replies View Related

Fedora Networking :: Find Mac Address From IP ?

Jul 18, 2011

I need to find mac address when i know the ip of one client ( for example ). How can I do this ? ( Command )

View 9 Replies View Related

Ubuntu :: Find An IP Address Of Somebody In The Same Network?

May 8, 2010

I want to know how I can investigate...

Q1- what IP address somebody has in the same network?

Q2-Is there any command I can use to figure that out?

View 6 Replies View Related

Ubuntu :: Find Printer's Ip Address On LAN

Feb 6, 2011

I have a Brother MFC-5490CN AllIn One on a LAN and I need to know it's IP address.

How do I find the address?

View 4 Replies View Related

Hardware :: Find Out The BMC Controller's Mac Address?

Mar 30, 2009

Is there any linux command to find out the BMC Controller's mac address? The tools like ipmitool provide ways to configure IP to the lan of BMC controller, but our goal is to find out the MAC address automatically using some commands/tools.

View 1 Replies View Related

Software :: Find Out Device IP Address?

Sep 1, 2010

what would be the simplest way to find out device IP address? I don't know its factory set address, so my plan is to connect laptop directly to it with ethernet. it should respond to ping.

View 7 Replies View Related

Debian Installation :: Cannot Find IPV4 Address

Dec 17, 2015

I am setting up a server on a Intel Nuc PC. I have a problem though. I cannot get it to find a IPV4 address.

View 14 Replies View Related

Fedora Networking :: Find MAC Address Of A Networked PC?

Feb 21, 2009

I want to find the MAC address of another pc connected to my pc through LAN. That PC is showing GRUB load error so i cant boot it.

Can i find its MAC address through my PC? Both PC's are connected in LAN.

View 1 Replies View Related

Ubuntu :: Find Mac Address Script On Boot?

Jan 29, 2011

I work at a University and every year or every other year we get new computers for the campus. More often than not it is my job to document the mac address for each PC. I'm trying to save myself time when I have to do this again. Can I make a script to find the mac address on boot up? Or perhaps I should make a customized distro of linux? Booting off of usb would be ideal.

View 2 Replies View Related

Red Hat / Fedora :: Command To Find Hardware Address?

Jul 22, 2010

I need the command to find the HARDWARE ADDRESS.

I know ifconfig command gives the details.. but I just need the HWADDR that is only numbers eg.

View 3 Replies View Related

Networking :: Find Unused IP Address In Subnet?

Jul 25, 2011

I need to find myselfe unused IP address in some subnet.
How to determine that particular IP is ununsed in that subnet without asking network admin ?

View 5 Replies View Related

Networking :: Find And Change Mac Address In Fedora 14

Jul 5, 2011

How to find and change mac address ?

View 5 Replies View Related

General :: Find A Ip Address Having Maximum Number Of Ram Available?

Jun 22, 2010

I have a file called abc.txt which has following contents.


View 3 Replies View Related

General :: Where To Find Host In Order To Put IP Address

Mar 27, 2010

a friend created an IP address for me.where do I find the Host in Linux in order to put the IP address.

View 2 Replies View Related

Fedora Installation :: Find The Network Address Of The Printer?

Apr 30, 2009

I have a HP Officejet 6310 as a network printer

How do I find the network address of the printer so I can install it?

View 6 Replies View Related

Ubuntu Servers :: Can't Find IP Address When Open Firefox

Mar 24, 2010

I have two computers one with Ubuntu Server (just for fun) and another with Ubuntu Desktop. I connected them with one LAN cable so there is no internet and what I want is to open firefox in Ubuntu Desktop and view the apache test page but I can't find IP address, ifconfig just displays the ipv6 one?

View 5 Replies View Related

Ubuntu Networking :: Find Out More About A MAC Address In My DHCP Clients

Mar 8, 2011

I don't really have a reason for this currently. I recognize all the MAC address on my DHCP client list and keep it rather well locked down. I was just wondering if there was something I could run on the terminal to get more information on a given MAC address on my network. Something kind of like whois for websites.

View 1 Replies View Related

Networking :: Find The IP Address Of Connected Network Drive?

Mar 31, 2011

I desire to access a WD Netcenter network drive from Ubuntu 10.10 using NFS mounts.Several on line helps show how if you know the IP address of the drive. How can I discover the IP address of the drive. My Windows network is using DHCP, though I understand that the drive uses a static address. I know the MAC address of the drive. As a user (but not an administrator), I have much Unix experience.

View 3 Replies View Related

Copyrights 2005-15, All rights reserved