Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mactelnet(1) [debian man page]

MACTELNET(1)						      General Commands Manual						      MACTELNET(1)

NAME
mactelnet - A tool for telneting via MAC addresses SYNOPSIS
mactelnet [options] <MAC-Address|hostname> DESCRIPTION
This tool enables you to telnet other RouterOS or MAC-Telnetd enabled devices. You can connect to either a hostname or a MAC address. If specified, the hostname (identity) will be looked up via MNDP discovery. OPTIONS
These programs follow the usual GNU command line syntax. A summary of options is included below. -n Do not use broadcast packets. A tad less insecure but requires root privileges. This means that ethernet packets will have the specified mac-address as the packet destination, instead of using the ethernet broadcast address. -t Amount of seconds to wait for a response on each interface. If you have several network interfaces, this is the timeout value per interface. -u Specify username. Without this option, you will need to enter the username in a interactive prompt. -p Specify password. Without this option, you will need to enter the password in a interactive prompt. -h Show summary of options. -v Show version of program. SEE ALSO
mndp(1), mactelnetd(1), macping(1). AUTHOR
mactelnet was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>. This manual page was written by Hakon Nessjoen <haakon.nessjoen@gmail.com>, for the Debian project (and may be used by others). February 27, 2011 MACTELNET(1)

Check Out this Related Man Page

SETETHER(8)						      System Manager's Manual						       SETETHER(8)

NAME
setether - Set the ethernet address for use with DECnet SYNOPSIS
setether <if> [<if>...]|all [options] DESCRIPTION
Set ethernet MAC address on ethernet adaptors This script should be run at system startup. It will change the ethernet hardware (MAC) address of any or all ethernet interfaces to match the DECnet node address. DECnet requires that the MAC address of all ethernet adaptors running the protocol be set approriately. If you do not run setether then you must change the ethernet address in some other way for DECnet to work. By default no ethernet interfaces will have their MAC addresses changed by setether, if you specify all then all interfaces name eth* will be changed, otherwise a list of interface names can be specified. setether will enable (UP) all interfaces it changes the MAC addresses of. (2.4 only) The first interface specified on the command-line will also be made the default interface for DECnet operations (ie attempts to contact nodes not in the neighbour table will be done over this interface). This script must be run with the interface inactive, it is normally run from /etc/init.d/decnet before TCP/IP starts up. EXAMPLES
set the MAC address of eth0. # /sbin/setether eth0 set the MAC address of all ethernet interfaces # /sbin/setether all HELPFUL HINTS
If you have multiple ethernet cards on your system and they are connected to the the same network you should specify which one you want to use for DECnet communication on the setether command line, otherwise they will both be given the same MAC address and this is probably not what you want. Running DECnet on multiple ethernet interfaces only works under Linux 2.4. If you are running Linux 2.2 then the interface name on the setether command line must match the one in /etc/decnet.conf(5). SEE ALSO
decnet.conf(5), dntype(1), dndir(1), dndel(1), dnetd(8), dnping(1) DECnet utilities March 01 2001 SETETHER(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Unix on Mac

Simple Q here. What GOOD telnet programs are out there for MAC. I use this one that can't utilize the VI editor. I don't know why. Thankx for your help in advance. /D (8 Replies)
Discussion started by: DIEZEL
8 Replies

2. UNIX for Advanced & Expert Users

broadcasting failed 'su root'

hi, if i try to 'su' to root and enter the wrong password, the failed su is broadcastet to all user logged in on the machine. Anyone know where i can stop that broadcast? thanks Lazzar (3 Replies)
Discussion started by: Lazzar
3 Replies

3. 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

4. Programming

SCO get MAC Address

Does anyone know how to get the mac address of a SCO box using c. (11 Replies)
Discussion started by: jcarter2333
11 Replies

5. Shell Programming and Scripting

regular expression for MAC address validation

Hi there I am running a script which requires the input of a MAC address from the user and was loooking for a regex that will verify the user has inputted a full 12 digit valid MAC with colons Ive seen a few on some sites that look huge and was wondering if anybody had a one liner (or as... (21 Replies)
Discussion started by: hcclnoodles
21 Replies

6. UNIX for Dummies Questions & Answers

PS1 prompt

please advise what's wrong with this command ? PS1="`hostname`:`who am i | cut -d " " -f1`:>>" trying to make the PS1 prompt look like : machine_name:username:>> thank you (4 Replies)
Discussion started by: venhart
4 Replies

7. 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

8. Shell Programming and Scripting

Need help in Regular expression in bash shell

hi, I have written a script to search MAC address in a given directory. MAC address would be in format XX.XX.XX.XX. The digits contain hexadecimal numbers. For this i have used grep as follows. grep -rn '^\{1,2\}\.\{1,2\}\.\{1,2\}\.\{1,2\}\$' * This is not working as required.... (17 Replies)
Discussion started by: flamingo_l
17 Replies

9. Programming

How do I find the MAC address in C on different UNIX platforms?

I need to find the MAC address of the ethernet cards on the host machine from the C language. I have found a way to do this on Linux using socket(), ioctl() and the ifreq structure. But this does not seem to work on AIX, HP/UX and probably the others I need (Solaris, SCO, Alpha etc). Is there a... (7 Replies)
Discussion started by: Pug
7 Replies

10. Shell Programming and Scripting

Checking for a valid MAC Address

I have a ksh script and would like to validate a MAC address that is input by the user: 00:14:4F:FC:00:49 example: MAC=`/usr/bin/ckint -p "Enter MAC address"` echo $MAC echo " " Obviously chkint will not work, but does anyone have any suggestions? Thanks (9 Replies)
Discussion started by: hxman
9 Replies

11. 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

12. 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

13. 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

14. 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

15. 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