Comments (6)
можно ваш /etc/config/wireless (пароль можете
затереть)
Original comment by [email protected]
on 17 Jun 2013 at 7:18
from openwrt-on-dir-320-b1.
config wifi-device 'radio0'
option type 'mac80211'
option channel '11'
option hwmode '11ng'
option macaddr 'b8:a3:86:b6:b6:ae'
option htmode 'HT20'
list ht_capab 'GF'
list ht_capab 'SHORT-GI-20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
option txpower '20'
option country 'UA'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'DoferHomeNetwork'
option encryption 'psk-mixed'
option key '*********'
Original comment by [email protected]
on 17 Jun 2013 at 7:23
from openwrt-on-dir-320-b1.
попробуйте после option type 'mac80211' в следующей
строке добавить option path 'platform/rt2800_wmac.0'
Original comment by [email protected]
on 17 Jun 2013 at 1:20
from openwrt-on-dir-320-b1.
не помогло
Jun 18 07:48:36 OpenWrt daemon.notice pppd[1222]: Connect: pppoe-wan <--> eth0.2
Jun 18 07:48:36 OpenWrt user.info sysinit: Configuration file:
/var/run/hostapd-phy0.conf
Jun 18 07:48:36 OpenWrt user.info sysinit: nl80211: Failed to add interface
wlan0 into bridge eth0.1: Operation not supported
Jun 18 07:48:36 OpenWrt user.info sysinit: nl80211 driver initialization failed.
Jun 18 07:48:36 OpenWrt user.info sysinit: Failed to start hostapd for phy0
но, добавив в /etc/rc.local строку
wifi up
перед exit
wifi таки оживает
Original comment by [email protected]
on 18 Jun 2013 at 8:35
from openwrt-on-dir-320-b1.
Для тех, кто не хочет портить rc.local можно
сделать так:
(правим /etc/init.d/network, ОСТОРОЖНО!!! если
накосячите, роутер не будет виден по сети
никак)
1)start() {
stop
[ -e /proc/sys/kernel/core_pattern ] && {
ulimit -c unlimited
echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern
}
service_start /sbin/netifd
setup_switch() { return 0; }
include /lib/network
setup_switch
#важны следующие 3 строки
sleep 5 #можно и больше, например 10
/sbin/wifi down
/sbin/wifi up
}
2)start() {
stop
[ -e /proc/sys/kernel/core_pattern ] && {
ulimit -c unlimited
echo '/tmp/%e.%p.%s.%t.core' > /proc/sys/kernel/core_pattern
}
service_start /sbin/netifd
setup_switch() { return 0; }
include /lib/network
setup_switch
#важны следующие 2 строки
sleep 10
/sbin/wifi up
}
Original comment by [email protected]
on 24 Jun 2013 at 5:07
from openwrt-on-dir-320-b1.
Вариант 2 точно рабочий (проверено на
тестовой bb)
Original comment by [email protected]
on 5 Jul 2013 at 11:16
- Changed state: Fixed
from openwrt-on-dir-320-b1.
Related Issues (20)
- LED Internet HOT 12
- DIR-300 NRU B5-B7 HOT 10
- Компиляция прошивкм HOT 8
- compilation errors HOT 21
- Интернет-радиоприемник HOT 5
- Проблема с настройкой Wi-fi. HOT 3
- l2tp beeline HOT 1
- openwrt l2tp HOT 10
- Не могу создать принт-сервер HOT 5
- ошибка при компиляции с патчем 604-rt2x00-alternative-temperature-compensation HOT 1
- принт-сервер и iptv wi-fi HOT 1
- Обновление HOT 1
- Провайдер Тенет Одесса
- Port Forward HOT 2
- Не ставится core TEE модуль для iptables HOT 1
- UQMI: Command line help typo --autoconnect
- must have - без веб моды
- Не могу обновить список программ!
- Список пакетов входящих в каждую из сборок HOT 1
- автоматический подьем WiFi HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openwrt-on-dir-320-b1.