The HWADDR is the MAC address of the wireless device. The ESSID is the wireless routers broadcast name and the KEY is the password for the wireless router. Both the ESSID and KEY are found on the routers configuration setup. The HWADDR is found by reviewing your /var/log/messages file look for your device eth1. As root type something like;
cat /var/log/messages | grep eth1
Sample results:
Code:
Feb 18 09:53:38 Aspire5000 kernel: wlan0: ethernet device 00:14:a4:36:13:09 using NDIS d
The six digit XX:XX:XX:XX:XX:XX is the MAC address or HWADDR
What does the typed command below show???
iwlist eth1 scan
For example;
Code:
$ iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:0A:E9:09:EC:60
ESSID:"MyRouter"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:78/100 Signal level:-46 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
48 Mb/s; 54 Mb/s
Extra:bcn_int=1000
Extra:atim=0
FYI: your key belongs in a separate file named keys-eth1 and goes in the same location as your ifcfg-eth1 file (/etc/sysconfig/network-scripts). The format is;
KEY=XXXXXXXXXXXXXXXXXXXXXX
or
KEY=s:some_password_here_in_plain_text
Since the device is not active on boot (ONBOOT=no) you need to active the device yourself, try typing;
ifup eth1
None of the three setting are required in the ifcfg-eth1 file, the only one that might be needed is the KEY which as I explained goes into the keys-eth1 file. If your not using a WEP key then the file is not needed.