Re: Wireless problem
- From: alexd <troffasky@xxxxxxxxxxx>
- Date: Sun, 22 Apr 2007 12:19:50 +0100
phil wrote:
The quick answer was that his network was on Ch13 and the default for my
card was Ch's 1-11. If I carried out:-
sudo iwpriv ra0 set CountryRegion=2
then I had access to the 13 Ch's on a temporary basis until I rebooted.
So the question is where do I find the "config" or "dat" file that will
enable me to change the default "CountryRegion" setting to whatever I
want?
I have viewed, those that I can, rt25000,rt2x00 and Rutilt files and
haven't noticed anything in those that could be used, but then I am a
newbie.
There's a script called 'bootmisc.sh' [try 'locate bootmisc.sh'] that gets
run at the end of every boot. Although there are probably more appropriate
places to put networking-related stuff. In /etc/network/interfaces, you can
specify a command to run before an interface is brought up with 'pre-up'.
From debian's copy of TFM, viewed with 'man interfaces':
# pre-up command
# Run command before bringing the interface up. If
# this command fails then ifup aborts, refraining from
# marking the interface as configured, prints an error
# message, and exits with status 0. This behavior may
# change in the future.
Again, this probably isn't exactly the right place to put it, but it will
get you working. The reason I say this is that, if you add or remove
interfaces, and your interfaces get renumbered, this command will fail and
the interface won't come up. I suspect the proper place to put it is in the
kernel modules' config file, so the command is run as soon as the module is
loaded. Or you may even be able to pass the region as a parameter to the
module itself.
--
<http://ale.cx/> (AIM:troffasky) (UnSoEsNpEaTm@xxxxxx)
12:09:13 up 8 days, 16:28, 2 users, load average: 0.29, 0.26, 0.20
Yes. I'm just guessing.
.
- Follow-Ups:
- Re: Wireless problem
- From: phil
- Re: Wireless problem
- References:
- Wireless problem
- From: phil
- Wireless problem
- Prev by Date: Re: Tar error code
- Next by Date: Re: Radio prog about oss
- Previous by thread: Wireless problem
- Next by thread: Re: Wireless problem
- Index(es):
Relevant Pages
|
|