[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Wireless configuration?


I'm trying to configure my wireless NIC using /etc/network/interfaces and have a couple of questions. 

I've added the wireless stanzas to the interfaces file with the "wireless_essid" and "wireless_key" options to set my ESSID and encryption key. I get the following errors on boot:

Error for wireless request "Set ESSID" (8B1A) : 
SET failed on device eth1 ; No such device.
run-parts: /etc/network/if-pre-up.d/wireless-tools exited with return code 251
eth1: ERROR while getting interface flags: No such device

I'm using kernel modules for my wireless card and I've added them into /etc/modules so that they are loaded prior to the /etc/init.d/networking script running. Why am I getting these errors? Once the system is booted I can do "ifdown eth1" followed by "ifup eth1" and the card gets configured properly. 

Also I was wondering if there is a way to configure the card for multiple sites with different encryption keys? 

I can do this all with shell scripts but would prefer to use the "Debian way". 


The information transmitted is intended only for the person or 
entity to which it is addressed and may contain confidential
and/or privileged material.  Any review, retransmission, 
dissemination or other use of, or taking of any action in
reliance upon, this information by persons or entities other
than the intended recipient is prohibited.  If you received
this in error, please contact the sender and delete the 
material from any computer. 


Reply to: