====== How to set country code for madwifi device? ====== you need to add the countrycode in the file /etc/modules. wrap:/etc# cat modules # /etc/modules: kernel modules to load at boot time. # # This file should contain the names of kernel modules that are # to be loaded at boot time, one per line. Comments begin with # a "#", and everything on the line after them are ignored. # Setting the right countrycode (Germany=276). # Don't forget: Turbo only at Countrycode 0 # Parameter fuer ath_pci: # ifname (Prefix anstatt ath...) | xchanmode:enable/diable (mehr Frequenzen) # outdoor:enable/disable (Outdoor-Modus) | countrycode:int (Laendercode) ath_pci xchanmode=0 outdoor=1 countrycode=276 natsemi hostap_pci wd1100 sysctl_wd_graceful=0 sysctl_wd_timeout=30 scx200_acb i2c-sensor lm77 At the next reboot the ath_pci will load with the params above. For test you can try: modprobe -r ath_pci modprobe ath_pci countrycode=276 A better solution is to change your regdomain to 0x61. You need a tool (ar5k): http://sourceforge.net/mailarchive/message.php?msg_id=8966525 The effect: All channels available, but no turbo-modes... Note: countrycode must be 0 after this (permanent - eeprom) modification! [Jan] this is no function !! I test it and when wrap rebooting write on console : Loading modules... ath_pci ath_hal: module license 'Proprietary' taints kernel. ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) wlan: 0.8.4.2 (svn 1527) ath_rate_sample: 1.2 (svn 1527) ath_pci: 0.9.4.5 (svn 1527) wifi%d: unable to collect channel list from hal; regdomain likely 96 country code 96 wifi%d: unable to collect channel list from hal; regdomain likely 96 country code 96 and ifconfig after reboot no search any wifi sorry !!!