<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-2" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
noro schrieb:
<blockquote cite="mid004701c5da29$a56bd8f0$03cea8c0@times03" type="cite">i
need frequency 5.4 -5.8 GHz, therefore i need
  <br>
change countrycode when ath_pci is loaded.<br>
</blockquote>
Hi Noro,<br>
<br>
you need to add the countrycode in the file /etc/modules.<br>
<br>
<tt>wrap:/etc# cat modules<br>
# /etc/modules: kernel modules to load at boot time.<br>
#<br>
# This file should contain the names of kernel modules that are<br>
# to be loaded at boot time, one per line.  Comments begin with<br>
# a "#", and everything on the line after them are ignored.<br>
<br>
# Setting the right countrycode (Germany=276).<br>
# Don't forget: Turbo only at Countrycode 0<br>
# Parameter fuer ath_pci:<br>
# ifname (Prefix anstatt ath...)         | xchanmode:enable/diable
(mehr Frequenzen)<br>
# outdoor:enable/disable (Outdoor-Modus) | countrycode:int (Laendercode)<br>
<b>ath_pci xchanmode=0 outdoor=1 countrycode=276</b><br>
natsemi<br>
hostap_pci<br>
wd1100 sysctl_wd_graceful=0 sysctl_wd_timeout=30<br>
scx200_acb<br>
i2c-sensor<br>
lm77</tt><br>
<br>
At the next reboot the ath_pci will load with the params above. For
test you can try:<br>
<tt>modeprobe -r ath_pci<br>
modeprobe ath_pci countrycode=276<br>
</tt><br>
A better solution is to change your regdomain to 0x61. You need a tool
(ar5k):<br>
<a href="http://sourceforge.net/mailarchive/message.php?msg_id=8966525">http://sourceforge.net/mailarchive/message.php?msg_id=8966525</a><br>
<br>
The effect: All channels available, but no turbo-modes...<br>
Note: countrycode must be 0 after this (permanent - eeprom)
modification!<br>
<br>
Best regards,<br>
Jan<br>
<br>
<br>
</body>
</html>