Said Jeffrey Forman on Wed, Mar 27, 2002 at 06:22:42PM -0600, > Got my pcmcia wireless ethernet card working great in my debian woody > laptop, but everytime I insert the card I have to run my dhcpcd command > and the appropriate iptables firewall script. Is there anyway for these > commands to be executed automatically? There is a way with the > /etc/networking/interfaces document, but that uses ifup, and for some > reason my wireless card doesn't like using ifup to get its dhcp > information. Any ideas?
You probably want to use the 'up' keyword in /etc/network/interfaces. Look in the interfaces(5) man page for the up and down keywords. Also you can just tell debian that you want to use dhcp and it will do dhcp for you. That's in the man page too. -- fingerprint: 740F B8D9 DF20 362C F5BC CDE6 6923 5A48 7657 541F lynx -source http://www.ece.utexas.edu/~jhs/public_key.gpg | gpg --import
msg00236/pgp00000.pgp
Description: PGP signature