how to get hwaddr?

i lost my file ifcfg-eth1, i want ot configure it again.
but i do not know how to get my hwaddr,
suppose to be you can see it when you type ifconfig eth1,
but i did not configure my eth1. How to get it in some way?

in your /etc/network/interfaces you coulde

iface eth0 inet static
        address 192.168.0.1
        network 192.168.0.0
        netmask 255.255.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

quick and revert later

Hi,

Can u check haw addr for eternet card with following command

dmesg | grep eth

/etc/network/interfaces, you can not see this in linux ma'am.

But the problem is now ok, i reboot the server.that was my last resort. i really dont want to reboot it.
about dmesg|grep eth, you can not see it either. :frowning:

The command ifconfig -a would give you the hw address.
Find something of this sort:

HWaddr 00:50:56:2C:04:48

Thanks!
nua7

I saw athread where u solved the problem in AIX server - I 've the same problem on a Solaris server..

There's a user that opens various login sessions with a particular SOLARIS server at the same time - this locks the user that has tried to get logged into the server..

Kindly help on how to know and set the max limit of sessions a particular user can open with a particular server at the same time. AND, how to increase the limit..

KINDLY HELP...
THANX
SIMI
:confused:

udevinfo -a -p /sys/class/net/eth0
udev info -a -p /sys/class/net/eth1