You are not logged in.
Pages: 1
Setting module options is usually done via /etc/modprobe.d/xxx..
How can I set the options when the .. err.. modules are compiled into the kernel?
I tried adding the following to my kernel line, but it changed nothing:
cfg80211.ieee80211_regdom=AT
I tried writing it using
su
echo AT > /sys/module/cfg80211/parameters/ieee80211_regdom
which gives me a permission denied error.
sudo sysctl -A | grep cfg doesn't show any results..
What's the proper way to do this?
Thanks in advance!
Last edited by schuay (2008-12-09 15:57:10)
Offline
I tried writing it using
su echo AT > /sys/module/cfg80211/parameters/ieee80211_regdom
which gives me a permission denied error.
Maybe you have "noclobber" option set in your .bashrc? This option prevents echo/cat from overwriting existing files...
Offline
You could try using sysctl. It is, in principle, designed for what you asked... Don't use it myself, but this should get you going:
sysctl -a | grep ieee80211.regdom # this should help you find the proper one
sysctl -w <insert response from above>="AT"
You can store these changes in /etc/sysctl.conf
Stand back, intruder, or i'll blast you out of space! I am Klixon and I don't want any dealings with you human lifeforms. I'm a cyborg!
Offline
Pages: 1