• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

How do you set an encryption key in debian?

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

MRD

Senior Member
Joined
Feb 14, 2003
I was able to use iwconfig to get my wireless working (iwconfig eth0 enc <my key>), but it loses it on reboot. How can I add it permanently to the network config?

Thanks.
 
cat interfaces
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading



auto lo
iface lo inet loopback
auto ath0
iface ath0 inet dhcp
iwconfig ath0 channel 9
pre-up /usr/sbin/wpa_supplicant -Dmadwifi -iath0 -c/etc/network/wpa_supplicant.conf -B
 
Back