05-14-2008
Having 2 entries for the same MAC address in the ethers file gives the same error
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm getting a error on a old SPARC Station 5 system. The HDD I am using in internal 18GB. Everything use to work, and well wont now.
The error I am getting is in bootup. The error is 'Timeout waiting for ARP?RARP packet error'.
Anyone got any idea how I can fix this? I'm not sure... (4 Replies)
Discussion started by: merlin
4 Replies
2. IP Networking
I am a Cisco Engineer and have run into a problem with the boot process for UNIX servers running Solaris 5.6 & 5.8 OS. Currently the servers boot using RARP to discover IP configuration.
This works and is OK as long as everything is on the same network where the broadcasts are free to roam.
... (2 Replies)
Discussion started by: dmerg59
2 Replies
3. Solaris
I am having trouble locating a boot server on my subnet. I am trying to avoid installing a boot server if one exisits. Is there a way for me to broadcast a Rarp request to see if any boot servers are on my subnet and if so identify them? I think this will only work if the Rarp protocol supports... (3 Replies)
Discussion started by: mhm4
3 Replies
4. UNIX for Dummies Questions & Answers
All,
I am no UNIX guru and all of them on my project have been unable to figure out the situation regarding the "waiting for ARP/RARP packet" issue we are experiencing. Hopefull, someone here will have some much needed insight....
The workstation is crashing while no one is around, the... (1 Reply)
Discussion started by: chezmargm
1 Replies
5. Solaris
Hi,
I am doing sftp from remote server1 to remote server2. This is done through a script.
This script was working fine. But if i am tranfer files of 120 MB only some part of the file gets transferred (around 9 MB).
Incase i put the same file manually it gets uploaded successfully.
Can... (1 Reply)
Discussion started by: subiksha
1 Replies
6. IP Networking
Is a separate frame type field required for RARP? Could the same value be used for ARP and RARP 0x0806?
thanks in advance. (1 Reply)
Discussion started by: kavitha rao
1 Replies
7. Solaris
Hi Everybody :) This is my first post concerning Solaris 2.6 trying to boot on a Tadpole SparcBook 3. I bought the laptop from somebody who configured it for his network. For the moment I want it as a non-networked standalone machine, or at least have that option.
On trying to boot I get an... (0 Replies)
Discussion started by: JuBiLeE_50_05
0 Replies
8. Red Hat
Hi,
I am facing a strange issue when connecting to SQLPLUS via a shell scripts.
I am using Linux 2.6.18-274.18.1 and gbash shell.
When I connect to SQLPLUS through scripts then it throws TNS Time Out error ""sometimes"" and connects successfully other times.This is only happening when... (9 Replies)
Discussion started by: aashish.sharma8
9 Replies
9. Solaris
i am facing an issue that the server give a connection timeout after 60 sec for any request more than that number . i tried to increase the TCP INTERVAL TIMEOUT from the default 60000 ms to more higher number.
the server seems to work fine and didn't give me the massage of the timeout but the... (0 Replies)
Discussion started by: core99
0 Replies
10. Shell Programming and Scripting
what is this error log = hda: irq timeout: error=0x00 and how to solve?
every day upon checking the logs i see this error.
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hda: irq timeout: error=0x00
hw_client: segfault at 0000000000000046 rip... (3 Replies)
Discussion started by: avtalan
3 Replies
LEARN ABOUT MOJAVE
ether_hostton
ETHERS(3) BSD Library Functions Manual ETHERS(3)
NAME
ethers, ether_line, ether_aton, ether_ntoa, ether_ntohost, ether_hostton -- Ethernet address conversion and lookup routines
LIBRARY
Standard C Library (libc, -lc)
SYNOPSIS
#include <sys/types.h>
#include <sys/socket.h>
#include <net/ethernet.h>
int
ether_line(const char *l, struct ether_addr *e, char *hostname);
struct ether_addr *
ether_aton(const char *a);
char *
ether_ntoa(const struct ether_addr *n);
int
ether_ntohost(char *hostname, const struct ether_addr *e);
int
ether_hostton(const char *hostname, struct ether_addr *e);
DESCRIPTION
These functions operate on ethernet addresses using an ether_addr structure, which is defined in the header file <netinet/if_ether.h>:
/*
* The number of bytes in an ethernet (MAC) address.
*/
#define ETHER_ADDR_LEN 6
/*
* Structure of a 48-bit Ethernet address.
*/
struct ether_addr {
u_char octet[ETHER_ADDR_LEN];
};
The function ether_line() scans l, an ASCII string in ethers(5) format and sets e to the ethernet address specified in the string and h to
the hostname. This function is used to parse lines from /etc/ethers into their component parts.
The ether_aton() function converts an ASCII representation of an ethernet address into an ether_addr structure. Likewise, ether_ntoa() con-
verts an ethernet address specified as an ether_addr structure into an ASCII string.
The ether_ntohost() and ether_hostton() functions map ethernet addresses to their corresponding hostnames as specified in the /etc/ethers
database. ether_ntohost() converts from ethernet address to hostname, and ether_hostton() converts from hostname to ethernet address.
RETURN VALUES
ether_line() returns zero on success and non-zero if it was unable to parse any part of the supplied line l. It returns the extracted ether-
net address in the supplied ether_addr structure e and the hostname in the supplied string h.
On success, ether_ntoa() returns a pointer to a string containing an ASCII representation of an ethernet address. If it is unable to convert
the supplied ether_addr structure, it returns a NULL pointer. Likewise, ether_aton() returns a pointer to an ether_addr structure on success
and a NULL pointer on failure.
The ether_ntohost() and ether_hostton() functions both return zero on success or non-zero if they were unable to find a match in the
/etc/ethers database.
NOTES
The user must insure that the hostname strings passed to the ether_line(), ether_ntohost() and ether_hostton() functions are large enough to
contain the returned hostnames.
NIS INTERACTION
If the /etc/ethers contains a line with a single + in it, the ether_ntohost() and ether_hostton() functions will attempt to consult the NIS
ethers.byname and ethers.byaddr maps in addition to the data in the /etc/ethers file.
SEE ALSO
yp(8), ethers(5)
BUGS
The ether_aton() and ether_ntoa() functions returns values that are stored in static memory areas which may be overwritten the next time they
are called.
HISTORY
This particular implementation of the ethers library functions were written for and first appeared in FreeBSD 2.1.
BSD
April 12, 1995 BSD