For some reason trying to activate my adapter(D-Link DWL-G510 Rev B.) through the network settings app freezes the kernel, a known problem with this adapter. I'm asuming that 'ifup ath0' is the same command that the network settings uses as this freezes it too.
I did find out how to activate the adapter from someone who has the same card, but it requires root to perform some of the actions, so I can't put it in ifcfg-ath0(or can I somehow?). Could you help me figure out how to perform the below commands at startup, using the root user?
modprobe ath_pci
ifconfig ath0 down
ifconfig ath0 up
iwconfig ath0 channel 6 essid "My Network" key "FFFFFFFFFFFFFFFF" (possibly not required)
dhclient ath0
I'm a new linux user and there are some software limitations that are already starting to deter me. If I can't get this to run at startup I probably won't stick with linux, and I want to!