Here is my network interface file from /etc/network/interfaces
can someone tell me what is wrong with it? I'm trying to get my wireless network card come up automatically. Right now I have to wlan config and pump multiple times to get it to come up.
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback
iface eth2 inet dhcp
wireless-essid xxxxxxx
wireless-mode managed
wireless-channel 6
wireless-key xxxxxxxxxx key restricted
Thanks

DEC 3010A Vintage Ceramic chip - ALL LEGS INTACT (BO)
$100.00
Vintage DEC VT100 Series Terminal (Powers On)
$499.99
Vintage DEC Digital Starion 200 Desktop PC Powers On Boots To BIOS NO HDD - DW
$269.99
Vintage DEC/Mostek memory systems MK 8015 AA-00 6805-08015 1100 REV C(B7)
$279.99
6 Vintage DEC Digital System Building Blocks - Flip Chips
$95.00
DEC Vintage Pulse-to-Step Converter Driver Interface Card for DEC Systems
$50.00
Vintage DEC LK201 Digital Equipment Corporation (DEC) LK201-AA Computer Keyboard
$149.99
DEC Vintage Module/Board Collectable Vintage chip - 1 BROKEN LEG (BO)
$200.00
Vintage Digital VR241-A color CRT monitor, powers on, DEC Rainbow or terminal
$150.00
Vintage DEC LR150-11 Power Supply 70-0464-01 Rev S Sun Shoebox Server PSU Used
$160.00