Jak ustawić układ radiowy na Router Station cd..
|
Triektor |
Dodano 02-02-2010 11:08
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
pakiety
busybox - 1.15.3-1
dnsmasq - 2.52-1
dropbear - 0.52-4
firewall - 1-10
hotplug2 - 1.0-beta-1
iptables - 1.4.6-1
iptables-mod-conntrack - 1.4.6-1
iptables-mod-nat - 1.4.6-1
iw - 0.9.19-1
kernel - 2.6.32.7-1
kmod-ath - 2.6.32.7+2010-01-25-2
kmod-ath5k - 2.6.32.7+2010-01-25-2
kmod-button-hotplug - 2.6.32.7-1
kmod-crc-ccitt - 2.6.32.7-1
kmod-crypto-aes - 2.6.32.7-1
kmod-crypto-arc4 - 2.6.32.7-1
kmod-crypto-core - 2.6.32.7-1
kmod-input-core - 2.6.32.7-1
kmod-input-gpio-buttons - 2.6.32.7-1
kmod-input-polldev - 2.6.32.7-1
kmod-ipt-conntrack - 2.6.32.7-1
kmod-ipt-core - 2.6.32.7-1
kmod-ipt-nat - 2.6.32.7-1
kmod-ipt-nathelper - 2.6.32.7-1
kmod-leds-gpio - 2.6.32.7-1
kmod-mac80211 - 2.6.32.7+2010-01-25-2
kmod-ppp - 2.6.32.7-1
kmod-pppoe - 2.6.32.7-1
libc - 0.9.30.1-37
libgcc - 4.3.3+cs-37
libiptc - 1.4.6-1
liblua - 5.1.4-5
libnl-tiny - 0.1-1
libuci - 0.7.5-1
libuci-lua - 0.7.5-1
libxtables - 1.4.6-1
lua - 5.1.4-5
luci-core - 0.9+svn5662-1
luci-http - 0.9+svn5662-1
luci-lmo - 0.9+svn5662-1
luci-lucid - 0.9+svn5662-1
luci-nixio - 0.9+svn5662-1
luci-px5g - 0.9+svn5662-1
luci-sgi-cgi - 0.9+svn5662-1
luci-sys - 0.9+svn5662-1
luci-theme-base - 0.9+svn5662-1
luci-theme-openwrt - 0.9+svn5662-1
luci-uci - 0.9+svn5662-1
luci-web - 0.9+svn5662-1
mtd - 11
opkg - 513-1
ppp - 2.4.4-4
ppp-mod-pppoe - 2.4.4-4
swconfig - 5
uci - 0.7.5-1
ucitrigger - 0.7.5-1
udevtrigger - 106-1
wireless-tools - 29-4
ifconfig
br-lan Link encap:Ethernet HWaddr 00:15:6D:C1:21:1A
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:430 errors:0 dropped:0 overruns:0 frame:0
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:99299 (96.9 KiB) TX bytes:22669 (22.1 KiB)
eth0 Link encap:Ethernet HWaddr 00:15:6D:C1:21:19
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:4
eth1 Link encap:Ethernet HWaddr 00:15:6D:C1:21:1A
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:430 errors:0 dropped:0 overruns:0 frame:0
TX packets:137 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:105319 (102.8 KiB) TX bytes:22669 (22.1 KiB)
Interrupt:5
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan0 Link encap:Ethernet HWaddr 00:0C:42:3A:91:DC
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
br-lan no wireless extensions.
wlan0 IEEE 802.11abg Mode:Managed Access Point: Not-Associated
Tx-Power=16 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
/etc/config/wireless
config wifi-device radio0
option type mac80211
option channel 2
option macaddr 00:0c:42:3a:92:59
option hwmode 11g
option txpower 18
config wifi-iface
option device radio0
option network lan
option mode ap
option ssid OpenWrt
option encryption none
config wifi-device radio1
option type mac80211
option channel 10
option macaddr 00:0c:42:3a:91:dc
option hwmode 11g
option txpower 16
config wifi-iface
option device radio1
option network lan
option mode ap
option ssid Open
option encryption none
I jeszcze coś takiego wyskakuje przy komendzie wifi
/sbin/wifi: eval: line 1: hostapd_set_bss_options: not found
/sbin/wifi: eval: line 1: hostapd: not found
Failed to start hostapd for phy0
/sbin/wifi: eval: line 1: hostapd_set_bss_options: not found
/sbin/wifi: eval: line 1: hostapd: not found
Failed to start hostapd for phy1
Spoko szefie, jeżeli coś braknie to popraw. Uczeń dopiero się uczy więc nie blokuj.
Edytowany przez Triektor dnia 02-02-2010 11:17
|
|
|
|
arteq |
Dodano 02-02-2010 11:12
|
VIP
Posty: 1918
Dołączył: 04/03/2006 17:42
|
a gdze temat !!!
zainstaluj hostapd i powinno smigac
Pozdrawiam, Artur
http://digi-led.pl Elementy elektroniczne | urz?dzenia sieciowe | us?ugi informatyczne
http://openwrt.pl - Polskie Centrum OpenWrt
o p e n (your) r o u t e r . p l
|
|
|
|
Triektor |
Dodano 02-02-2010 11:16
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
właśnie miałem napisać że już działa bo go przecież zainstalowałem tak jak w błędzie było napisane a za temat przepraszam proszę usunąć. Za co jeszcze jest odpowiedzialny hostapd |
|
|
|
Triektor |
Dodano 02-02-2010 11:19
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
I po co ja zadaje tak denne pytania jak wszystko na google.
ZA WSZYSTKO DZIĘKI
POZDRAWIAM |
|
|
|
Triektor |
Dodano 02-02-2010 11:42
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
Jeszcze jedno. Karta działa na kanałach 1-11, jak mogę uruchomić pozostałe ??? |
|
|
|
obsy |
Dodano 02-02-2010 11:46
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
http://eko.one.pl/?p=openwrt-konfigur...sugiikanau
|
|
|
|
Triektor |
Dodano 02-02-2010 12:03
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
config 'wifi-device' 'radio0'
option 'type' 'mac80211'
option 'channel' '12'
option 'macaddr' '00:0c:42:3a:92:59'
option 'hwmode' '11g'
option 'country' 'PL'
config 'wifi-iface'
option 'device' 'radio0'
option 'network' 'lan'
option 'mode' 'ap'
option 'ssid' 'Open1'
option 'encryption' 'none'
config 'wifi-device' 'radio1'
option 'type' 'mac80211'
option 'country' 'PL'
option 'channel' '11'
option 'macaddr' '00:0c:42:3a:91:dc'
option 'hwmode' '11g'
i wyskakujący komunikat
Configuration file: /var/run/hostapd-phy0.conf
wlan0: IEEE 802.11 Configured channel (12) not found from the channel list of current mode (1) IEEE 802.11g
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
Failed to start hostapd for phy0
Configuration file: /var/run/hostapd-phy1.conf
Using interface wlan1 with hwaddr 00:0c:42:3a:91:dc and ssid 'Open2'
|
|
|
|
obsy |
Dodano 02-02-2010 12:27
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
Cytat wlan0: IEEE 802.11 Hardware does not support configured channel
Sprzęt na to nie pozwala. Pokaż jeszcze wynik iw list
|
|
|
|
Triektor |
Dodano 02-02-2010 12:35
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
wiphy phy1
Band 1:
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Band 2:
Frequencies:
* 5180 MHz [36] (20.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (20.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (20.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (20.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (disabled)
* 5280 MHz [56] (disabled)
* 5300 MHz [60] (disabled)
* 5320 MHz [64] (disabled)
* 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] (20.0 dBm) (passive scanning, no IBSS)
* 5765 MHz [153] (20.0 dBm) (passive scanning, no IBSS)
* 5785 MHz [157] (20.0 dBm) (passive scanning, no IBSS)
* 5805 MHz [161] (20.0 dBm) (passive scanning, no IBSS)
* 5825 MHz [165] (20.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 4
Coverage class: 0 (up to 0m)
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* new_station
* new_mpath
* set_mesh_params
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* (null)
* (null)
* set_wiphy_netns
* connect
* disconnect
Wiphy phy0
Band 1:
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
* 2467 MHz [12] (disabled)
* 2472 MHz [13] (disabled)
* 2484 MHz [14] (disabled)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Band 2:
Frequencies:
* 5180 MHz [36] (20.0 dBm) (passive scanning, no IBSS)
* 5200 MHz [40] (20.0 dBm) (passive scanning, no IBSS)
* 5220 MHz [44] (20.0 dBm) (passive scanning, no IBSS)
* 5240 MHz [48] (20.0 dBm) (passive scanning, no IBSS)
* 5260 MHz [52] (disabled)
* 5280 MHz [56] (disabled)
* 5300 MHz [60] (disabled)
* 5320 MHz [64] (disabled)
* 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] (20.0 dBm) (passive scanning, no IBSS)
* 5765 MHz [153] (20.0 dBm) (passive scanning, no IBSS)
* 5785 MHz [157] (20.0 dBm) (passive scanning, no IBSS)
* 5805 MHz [161] (20.0 dBm) (passive scanning, no IBSS)
* 5825 MHz [165] (20.0 dBm) (passive scanning, no IBSS)
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 4
Coverage class: 0 (up to 0m)
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* mesh point
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* new_station
* new_mpath
* set_mesh_params
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* (null)
* (null)
* set_wiphy_netns
* connect
* disconnect
|
|
|
|
Triektor |
Dodano 02-02-2010 12:38
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
Chce włączyć kartę na kanał 5600 GHz żebym nadawał sygnał a według tego nie da się. Inną katę potrzebuje czy RS nie obsługuje tych kanałów dla karty r52. Jaka będzie kompatybilna ??? |
|
|
|
obsy |
Dodano 02-02-2010 12:53
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
Z ciekawości: zrób z konsoli na tych kartach
iw reg set PL
iw reg get
jeżeli chcesz band A (5GHz) to opcja powinna być option 'hwmode' '11a' (jako podstawa częstotliwości)
|
|
|
|
Triektor |
Dodano 02-02-2010 13:10
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
root@OpenWrt:~# iw reg set PL
root@OpenWrt:~# iw reg get
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
To chyba źle.
A co do 5GHz to:
config 'wifi-device' 'radio0'
option 'type' 'mac80211'
option 'channel' '40'
option 'macaddr' '00:0c:42:3a:92:59'
option 'hwmode' '11a'
option 'country' 'PL'
config 'wifi-iface'
option 'device' 'radio0'
option 'network' 'lan'
option 'mode' 'ap'
option 'ssid' 'Open1'
option 'encryption' 'none'
config 'wifi-device' 'radio1'
option 'type' 'mac80211'
option 'country' 'PL'
option 'channel' '11'
option 'macaddr' '00:0c:42:3a:91:dc'
option 'hwmode' '11g'
config 'wifi-iface'
option 'device' 'radio1'
option 'network' 'lan'
option 'mode' 'ap'
option 'ssid' 'Open2'
option 'encryption' 'none'
i
root@OpenWrt:~# wifi
Configuration file: /var/run/hostapd-phy0.conf
wlan0: IEEE 802.11 Configured channel (40) not found from the channel list of current mode (2) IEEE 802.11a
wlan0: IEEE 802.11 Hardware does not support configured channel
Could not select hw_mode and channel. (-1)
wlan0: Unable to setup interface.
rmdir[ctrl_interface]: No such file or directory
Failed to start hostapd for phy0
Configuration file: /var/run/hostapd-phy1.conf
Using interface wlan1 with hwaddr 00:0c:42:3a:91:dc and ssid 'Open2' |
|
|
|
obsy |
Dodano 02-02-2010 13:13
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
No źle. To oznacza tyle że nie możesz przestawić "regulatory domain" wiec nie możesz włączyć 12 i 13 kanału.
|
|
|
|
Triektor |
Dodano 02-02-2010 13:15
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
No to fajnie nie dość że 2.4 GHz nie działa tak jak powinno to i 5GHz nie chce się załączyć.
Edytowany przez Triektor dnia 02-02-2010 13:15
|
|
|
|
obsy |
Dodano 02-02-2010 13:22
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
Masz tam dwie karty czy jedną? Jeżeli dwie to czemu iwconfig pokazuje tylko jeden interfejs? Sprawdź także działanie na ath9h i na madwifi.
|
|
|
|
obsy |
Dodano 02-02-2010 13:22
|
VIP
Posty: 5775
Dołączył: 31/10/2006 20:06
|
PS. Arteq ma taką kartę, tak? I u niego działa?
|
|
|
|
Triektor |
Dodano 02-02-2010 13:33
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
Arteq ma R52N a ja mam zwykłą R52. Różnica tylko inny chipset.
Ucięło mi iwconfig dlatego nie ma.
Podpowiedz jak mam sprawdzić na ath9h i madwifi. Wystarczy że nagram paczki i wifi detect?
Arteq jak tobie działa karta R52H jakie kanały obsługuje i czy próbowałeś coś z R52. |
|
|
|
arteq |
Dodano 02-02-2010 15:15
|
VIP
Posty: 1918
Dołączył: 04/03/2006 17:42
|
Ja mam karte R52N czyli Nka na 2,4 Ghz i 5 Ghz. U mnie działa bez problemu oto konfig:
iwconfig
root@OpenWrt:/# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 no wireless extensions.
br-lan no wireless extensions.
wlan0 IEEE 802.11abgn Mode:Master Frequency:2.427 GHz Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Power Management:off
mon.wlan0 IEEE 802.11abgn Mode:Monitor Frequency:2.427 GHz Tx-Power=20 dBm
RTS thr:off Fragment thr:off
Power Management:off
wireless
config 'wifi-device' 'radio0'
option 'type' 'mac80211'
option 'macaddr' '00:0c:42:61:25:ac'
option 'hwmode' '11ng'
option 'disabled' '0'
option 'channel' '4'
option 'ht_capab' 'SHORT-GI-40 DSSS_CCK-40 HT40+'
config 'wifi-iface'
option 'device' 'radio0'
option 'network' 'lan'
option 'mode' 'ap'
option 'ssid' 'OpenWrt'
option 'encryption' 'none'
zrób jak pisze obsy kasujesz /etcconfig/wireless potem wifi detect > /etc/config/wireless i rebocik. Następnie aktywujesz radio i juz powinno nadawać.
Edytowany przez arteq dnia 02-02-2010 15:16
Pozdrawiam, Artur
http://digi-led.pl Elementy elektroniczne | urz?dzenia sieciowe | us?ugi informatyczne
http://openwrt.pl - Polskie Centrum OpenWrt
o p e n (your) r o u t e r . p l
|
|
|
|
Triektor |
Dodano 02-02-2010 18:37
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
Daje sobie spokój widocznie układ radiowy jest niekompatybilny jak będę miał inny to sprawdzę. |
|
|
|
Triektor |
Dodano 02-02-2010 18:38
|
User
Posty: 21
Dołączył: 07/02/2007 21:18
|
Arteq a ty który obraz nagrałeś na RS pro? |
|
|