Code Monkey home page Code Monkey logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
можно ваш /etc/config/wireless (пароль можете 
затереть)

Original comment by [email protected] on 17 Jun 2013 at 7:18

from openwrt-on-dir-320-b1.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
попробуйте после 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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
не помогло

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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Для тех, кто не хочет портить 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.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Вариант 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.