Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

nameif(8) [centos man page]

NAMEIF(8)						Linux System Administrator's Manual						 NAMEIF(8)

NAME
nameif - name network interfaces based on MAC addresses SYNOPSIS
nameif [-c configfile] [-s] nameif [-c configfile] [-s] {interface macaddress} NOTE
This program is obsolete. For replacement check ip link. This functionality is also much better provided by udev methods. DESCRIPTION
nameif renames network interfaces based on mac addresses. When no arguments are given /etc/mactab is read. Each line of it contains an interface name and a Ethernet MAC address. Comments are allowed starting with #. Otherwise the interfaces specified on the command line are processed. nameif looks for the interface with the given MAC address and renames it to the name given. When the -s argument is given all error messages go to the syslog. When the -c argument is given with a file name that file is read instead of /etc/mactab. NOTES
nameif should be run before the interface is up, otherwise it'll fail. FILES
/etc/mactab SEE ALSO
ip(8), udev(7) BUGS
Only works for Ethernet currently. net-tools 2008-10-03 NAMEIF(8)

Check Out this Related Man Page

NCFTOOL(1)						       Network Configuration							NCFTOOL(1)

NAME
ncftool - Network configuration tool SYNOPSIS
ncftool [command [options]] DESCRIPTION
ncftool is a command line utility to configure networking. It can be invoked with no arguments to bring up the interactive ncftool shell. Alternatively a command and optional arguments can be specified to have ncftool execute the command non-interactively. COMMANDS
list [--macs] [--all] [--inactive] List the currently configured toplevel network interfaces [--macs] - show MAC addresses [--all] - show all (up & down) interfaces [--inactive] - show only inactive (down) interfaces dumpxml [--mac] [--live] name Dump the XML description of an interface [--mac] - interpret the name as MAC address [--live] - include information about the live interface name - the name of the interface define xmlfile Define an interface from the specified XML file. undefine iface Remove the configuration of the specified interface. ifup iface Bring up specified interface. ifdown iface Bring down specified interface. change-begin Mark the beginning of a set of revertible network configuration changes. change-commit Commit (make permanent) a set of network configuration changes begun with change-begin. change-rollback Rollback (revert) a set of network configuration changes begun with change-begin. help [command] Print details about command, if specified, or list all commands if command is not specified. quit Exit the program. SEE ALSO
interfaces (5) AUTHORS
Please refer to the AUTHORS file distributed with netcf. netcf-0.2.2 2012-12-20 NCFTOOL(1)
Man Page

15 More Discussions You Might Find Interesting

1. IP Networking

How to Achive IP address through MAC(Ethernet) address

Hi sir, i want to make such programe which takes MAC(Ethernet) address of any host & give me its IP address....... but i'm nt getting that how i can pass the MAC address to Frame........ Please give me an idea for making such program... Thanks & regards Krishna (3 Replies)
Discussion started by: krishnacins
3 Replies

2. Solaris

Host ID vs MAC Address

Hi, I've got a Sun Solaris machine with host ID (840f8e57) and MAC address (0:14:4f:f:8e:57), how do I: 1. Write the MAC address in standard (IEEE 802) format, i.e. xx-xx-xx-xx-xx-xx? Do I need to add 0's before or after the 'f', i.e. 00-14-4f-0f-8e-57 or 00-14-4f-f0-8e-57? 2. What is... (4 Replies)
Discussion started by: TheBlueSky
4 Replies

3. UNIX for Dummies Questions & Answers

Help extracting MAC addresses from List

Hello all. I have a large number of text files outputted from various Netstumbler Wireless Scans; from which I need to extract the MAC addresses of the various Access Points. The Text files look like this: # $Creator: Network Stumbler Version 0.4.0 # $Format: wi-scan summary with... (9 Replies)
Discussion started by: dhs23
9 Replies

4. Shell Programming and Scripting

script to compare two files of mac address

Hi I need to write a bash shell script. I have two separate text files. One file contains a list of MAC addresses taken from a network scan, the other contains a list of MAC addresses for our currently-managed devices. How can I compare these two files, and output a list of addresses that have... (6 Replies)
Discussion started by: borderblaster
6 Replies

5. Shell Programming and Scripting

Need help with IP and MAC addresses

Hi, i am working on a project where i have to write a script to find out MAC addresses of the systems with given IP address. Can anybody tell me which command i can use to find MAC address if you know IP address of the machine. Thanks (5 Replies)
Discussion started by: manmeet
5 Replies

6. Solaris

How to assign MAC address to N/W interface in solaris

I m having interface ce0 ce1 and its sub interfaces for that. I want to give MAC addresses for the same. How will I assign it. Please give solution for the same (4 Replies)
Discussion started by: sunray
4 Replies

7. OS X (Apple)

Does MAC OSX follow POSIX?

i mean if i coded an application for Linux using System Calls and no libs, and compiled it on MAC, will it work? thanks (6 Replies)
Discussion started by: JonhyM
6 Replies

8. Programming

[C] Change IP and MAC address

Hello, I need to write a program using C language which allow me to change the IP and MAC addresses of a given interface... Now I fork the process and by exec I'm using the "ifconfig interf X.X.X.X" command... but i can't use this solution because i have to avoid the context switch... Can someone... (4 Replies)
Discussion started by: gilby985
4 Replies

9. OS X (Apple)

Linux Server Instalation

Hello, I am new to Linux. I have just purchased Apple MACPRO with 12 core, 32 GB RAM, 2TB hard drive, MAC OS Lion installed. I want to install Linux server on this machine.And can I run both MAC OS Lion and Linux Server side by side ? Can I put all my data at one place and use that data from any... (5 Replies)
Discussion started by: Bioinfomaticist
5 Replies

10. AIX

xp to aix - telnet blank screen

hello, i am trying to test connection to a 5.3 box. from an xp machine, telnet connects but shows only a blank screen. cursor moves as i type, but no response back. have used telnet, putty and accuterm - all same result verified that telnet services are active in xp xp windoze firewall is... (10 Replies)
Discussion started by: allenhibbert
10 Replies

11. SCO

Changing MAC address in SCO 5.0.6

Hi, For som reason i need to change MAC address of SCO Open Server 5.0.6. I have searched foe answer too much but i didn't fin any thing well.:mad: Please help me, Thx:cool::) (4 Replies)
Discussion started by: mammut3d
4 Replies

12. UNIX for Dummies Questions & Answers

Check for entry of specific pattern

Hey Guys and Gals, I am having trouble with what I thought shouldn't be hard.. In a script I am working on there is a need to enter a MAC address. MAC addresses are formatted ; XX:XX:XX:XX:XX:XX where X can be 0-9, a-f or A-F So in the sample script the query is something... (4 Replies)
Discussion started by: TAPE
4 Replies

13. Shell Programming and Scripting

Script extracting ip address from MAC wifi card

Hi Everybody, Goal: From my backup box on my local network, knowing the Wifi MAC address of my laptop, I would like to dynamically identify which ip address is attributed to my laptop. The aim is to store this ip address in a local variable and that this information is retrieved by another... (11 Replies)
Discussion started by: freddie50
11 Replies

14. IP Networking

MAC Address - Four Interfaces with the same MAC Address

four interfaces with ifconfig all interfaces have the same mac. If is not set for unique. but it still works. what difference does it make to have all macs the same or different? (4 Replies)
Discussion started by: rrodgers
4 Replies

15. Shell Programming and Scripting

Script getting IP's and MAC addresses

Hy over there, Lets make it simple :) Using a bash script, how to grep only the ip address and the mac address and put them in a file:. for example from the dhcp.conf file we got such things: The script will end up with two columns IP's and MAC adresses as it is showed below: ... (9 Replies)
Discussion started by: hermouche
9 Replies