Linux 에서 iw reg set 명령이 전혀 먹히지 않는 상태(iw list에 disable된 것을 풀려고 합니다)

Pelain의 이미지

>> 우선 질문을 먼저 남기겠습니다
1. iw reg set 명령으로 원하는 대로 전혀 변경이 되지 않는다.

이 문제를 해결하려고 하는데요.. 현재 환경과 관련 정보에 대해 아래에 나열했습니다. 이래저래 다 해봐도 당최 해결이 안되어서요.. 아시는 분 좀 가르침을 ㅠ_ㅠ.

- 현재 버전
Linux version 2.6.28.2-chapelhill0 (root@KoersGT) (gcc version 4.3.4 (Gentoo 4.3.4 p1.2, pie-10.1.5) ) #2 Thu Feb 10
22:09:26 KST 2011

- iw list 상태(802.11a 영역을 쓰려고 하기에 그부분만)
Frequencies:
* 5180 MHz [36] (30.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (30.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (30.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (30.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (30.0 dBm) (passive scanning, no IBSS, radar detection)
* 5280 MHz [56] (30.0 dBm) (passive scanning, no IBSS, radar detection)
* 5300 MHz [60] (30.0 dBm) (passive scanning, no IBSS, radar detection)
* 5320 MHz [64] (30.0 dBm) (passive scanning, no IBSS, radar detection)
* 5500 MHz [100] (disabled)
* 5520 MHz [104] (disabled)
* 5540 MHz [108] (disabled)
* 5560 MHz [112] (disabled)
* 5580 MHz [116] (disabled)
* 5600 MHz [120] (disabled)
* 5620 MHz [124] (disabled)
* 5640 MHz [128] (disabled)
* 5660 MHz [132] (disabled)
* 5680 MHz [136] (disabled)
* 5700 MHz [140] (disabled)
* 5745 MHz [149] (30.0 dBm) (passive scanning, no IBSS)
* 5765 MHz [153] (30.0 dBm) (passive scanning, no IBSS)
* 5785 MHz [157] (30.0 dBm) (passive scanning, no IBSS)
* 5805 MHz [161] (30.0 dBm) (passive scanning, no IBSS)
* 5825 MHz [165] (30.0 dBm) (passive scanning, no IBSS)

- iw reg get 상태 (country가 00으로 나옵니다;; 왜 이런지;;)
country 00:
(2402 - 2472 @ 40), (6, 20)
(2457 - 2482 @ 20), (6, 20), PASSIVE-SCAN, NO-IBSS
(2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN, NO-IBSS
(5170 - 5250 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS
(5735 - 5835 @ 40), (6, 20), PASSIVE-SCAN, NO-IBSS

- iw reg set US (임시로 US로 설정. 하지마 다른 분들과 다르게 명령 수행 후 쓸 수 있는 대역 정보는 물론.. 그냥 아무런 값이 안나옵니다.. 그냥 아래와 같은 상태)
RB600 ~ # iw reg set US
RB600 ~ #

- 위 사항에 대해 dmesg로 끝부분만 보면..
RB600 ~ # dmesg
..
..
[ 8.880541] cfg80211: Calling CRDA to update world regulatory domain
[ 8.880722] cfg80211: Calling CRDA for country: EU
[ 9.693615] ath9k 0000:00:0f.0: enabling device (0000 -> 0002)
[ 11.252043] ath: EEPROM regdomain: 0x0
[ 11.252062] ath: EEPROM indicates default country code should be used
[ 11.252073] ath: doing EEPROM country->regdmn map search
[ 11.252092] ath: country maps to regdmn code: 0x3a
[ 11.252102] ath: Country alpha2 being used: US
[ 11.252111] ath: Regpair used: 0x3a
[ 11.274707] phy0: Selected rate control algorithm 'ath9k_rate_control'
[ 11.282810] Registered led device: ath9k-phy0::radio
[ 11.282904] Registered led device: ath9k-phy0::assoc
[ 11.283007] Registered led device: ath9k-phy0::tx
[ 11.283095] Registered led device: ath9k-phy0::rx
[ 11.283115] phy0: Atheros AR9280 Rev:2 mem=0xca2c0000, irq=19
[ 11.283240] cfg80211: Calling CRDA for country: US
[ 11.516733] EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
[ 32.546363] device eth0 entered promiscuous mode
[ 32.566306] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 32.607874] device wlan0 entered promiscuous mode
[ 32.675108] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 36.564736] PHY: 24520:00 - Link is Up - 1000/Full
[ 36.564847] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 36.564996] br0: port 1(eth0) entering learning state
[ 43.644386] br0: no IPv6 routers present
[ 47.396386] eth0: no IPv6 routers present
[ 49.083945] br0: port 2(wlan0) entering disabled state
[ 49.157005] br0: port 2(wlan0) entering learning state
[ 51.564352] br0: topology change detected, propagating
[ 51.564377] br0: port 1(eth0) entering forwarding state
[ 59.212354] wlan0: no IPv6 routers present
[ 64.156393] br0: topology change detected, propagating
[ 64.156419] br0: port 2(wlan0) entering forwarding state

- 무선 랜카드 정보는 아래와 같습니다
RB600 ~ # iwconfig wlan0
wlan0 IEEE 802.11abgn Mode:Master Frequency:2.437 GHz Tx-Power=20 dBm
Retry long limit:7 RTS thr=2347 B Fragment thr=2346 B
Power Management:off

RB600 ~ #

- 현재 wlan0은 IP할당이나 그런 것은 전혀 안되어 있는 상태인데.. 이런 경우도 연관이 있는건지요?

익명 사용자의 이미지

저는 BT5에서
tail -f -n 0 /var/log/messages로 모니터링하는 상태에서
iw reg set US로 설정하니까 바뀝니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.