Temat: Problem z połączeniem po wifi w trybie ap+sta

Mam router tl-wr703n działąjący w trybie ap+sta. Przez jakiś czas chodził bez problemu. Pobierał internet po wifi i udostępniał go dalej pod inną nazwą. Niestety teraz nie działa. Nie można z routerem połączyć się po wifi. Po podłączeniu kabla do routera wszystko jest ok, internet z routera jest.

Wpisy w /etc/config/network i /etc/config/wireless są ok.
W /etc/config/wireless nawet jak zmieniłem hasło na żadne - brak zabezpieczeń nigdy nie mogę połączyć się z routerem.

Co mogę jeszcze sprawdzić ?

2

Odp: Problem z połączeniem po wifi w trybie ap+sta

firsboot?

http://klatka.ovh - CABANA PUBLIC SERVER
http://klatka.ovh/psi/ - phpsysinfo
http://temp.klatka.ovh/ - pogodynka

3

Odp: Problem z połączeniem po wifi w trybie ap+sta

A w logu czysto ?

Sprzęt: Seagate GoFlex Home
OS: OpenWrt 18.06.4
Info: 128MB RAM / 1,2GHz CPU /  USB / sATA / RJ45
Osprzęt: 500GB SATA / LCD DPF 2,4" / USB rt2800

4

Odp: Problem z połączeniem po wifi w trybie ap+sta

Firstboota nie chciałem zrobić bo to byłoby najprostrze


Sep 25 20:17:04 OpenWrt kern.debug kernel: [    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
Sep 25 20:17:04 OpenWrt kern.debug kernel: [    0.000000] pcpu-alloc: [0] 0
Sep 25 20:17:04 OpenWrt kern.warn kernel: [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Sep 25 20:17:04 OpenWrt kern.notice kernel: [    0.000000] Kernel command line:  board=TL-WR703N console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Sep 25 20:17:04 OpenWrt kern.warn kernel: [    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
Sep 25 20:17:04 OpenWrt kern.warn kernel: [    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] Writing ErrCtl register=00000000
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] Readback ErrCtl register=00000000
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] Memory: 29192k/32768k available (2179k kernel code, 3576k reserved, 399k data, 204k init, 0k highmem)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] NR_IRQS:48
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.080000] pid_max: default: 32768 minimum: 301
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.080000] Mount-cache hash table entries: 512
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.090000] NET: Registered protocol family 16
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.100000] MIPS: machine is TP-LINK TL-WR703N v1
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.340000] bio: create slab <bio-0> at 0
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.340000] Switching to clocksource MIPS
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.350000] NET: Registered protocol family 2
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.350000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.360000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.360000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.370000] TCP: Hash tables configured (established 1024 bind 1024)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.380000] TCP reno registered
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
Sep 25 20:17:04 OpenWrt kern.info kernel: [    0.390000] NET: Registered protocol family 1
Sep 25 20:17:04 OpenWrt kern.debug kernel: [    0.400000] PCI: CLS 0 bytes, default 32
Sep 25 20:17:04 OpenWrt kern.info kernel: [   31.370000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   31.380000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep 25 20:17:04 OpenWrt kern.debug kernel: [   31.930000] ath: EEPROM regdomain: 0x0
Sep 25 20:17:04 OpenWrt kern.debug kernel: [   31.930000] ath: EEPROM indicates default country code should be used
Sep 25 20:17:04 OpenWrt kern.debug kernel: [   31.930000] ath: doing EEPROM country->regdmn map search
Sep 25 20:17:04 OpenWrt kern.debug kernel: [   31.930000] ath: country maps to regdmn code: 0x3a
Sep 25 20:17:04 OpenWrt kern.debug kernel: [   31.930000] ath: Country alpha2 being used: US
Sep 25 20:17:04 OpenWrt kern.debug kernel: [   31.930000] ath: Regpair used: 0x3a
Sep 25 20:17:04 OpenWrt kern.debug kernel: [   31.930000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Sep 25 20:17:04 OpenWrt kern.debug kernel: [   31.930000] Registered led device: ath9k-phy0
Sep 25 20:17:04 OpenWrt kern.info kernel: [   31.930000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
Sep 25 20:17:04 OpenWrt kern.info kernel: [   31.940000] cfg80211: Calling CRDA for country: US
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.020000] cfg80211: Regulatory domain changed to country: US
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.030000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.030000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.040000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.050000] cfg80211:   (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.060000] cfg80211:   (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.060000] cfg80211:   (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.070000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.530000] PPP generic driver version 2.4.2
Sep 25 20:17:04 OpenWrt kern.info kernel: [   32.780000] ip_tables: (C) 2000-2006 Netfilter Core Team
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.060000] NET: Registered protocol family 24
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.130000] nf_conntrack version 0.5.0 (459 buckets, 1836 max)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.460000] usbcore: registered new interface driver cdc_acm
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.460000] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.490000] usbcore: registered new interface driver usblp
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.510000] usbcore: registered new interface driver usbserial
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.510000] USB Serial support registered for generic
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.520000] usbcore: registered new interface driver usbserial_generic
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.520000] usbserial: USB Serial Driver core
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.680000] USB Serial support registered for GSM modem (1-port)
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.680000] usbcore: registered new interface driver option
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.690000] option: v0.7.2:USB Driver for GSM modems
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.710000] USB Serial support registered for Sierra USB modem
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.710000] usbcore: registered new interface driver sierra
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.720000] sierra: v.1.7.16:USB Driver for Sierra Wireless USB modems
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.840000] mr3020-gpio: TL-MR3020 GPIO exporter version 0.0.1
Sep 25 20:17:04 OpenWrt kern.info kernel: [   33.850000] mr3020-gpio: Cezary Jackiewicz <cezary@eko.one.pl>
Sep 25 20:17:06 OpenWrt kern.info kernel: [   37.000000] device wlan0 entered promiscuous mode
Sep 25 20:17:06 OpenWrt user.notice usb-modeswitch: 1-0:1.0: Manufacturer=Linux_3.3.5_ehci_hcd Product=Generic_Platform_EHCI_Controller Serial=ehci-platform
Sep 25 20:17:08 OpenWrt kern.info kernel: [   39.330000] device wlan0 left promiscuous mode
Sep 25 20:17:08 OpenWrt kern.info kernel: [   39.330000] br-lan: port 1(wlan0) entered disabled state
Sep 25 20:17:09 OpenWrt kern.info kernel: [   39.560000] device wlan0 entered promiscuous mode
Sep 25 20:17:12 OpenWrt user.notice ifup: Enabling Router Solicitations on loopback (lo)
Sep 25 20:17:12 OpenWrt kern.info kernel: [   42.720000] device eth0 entered promiscuous mode
Sep 25 20:17:12 OpenWrt user.info sysinit: Loading defaults
Sep 25 20:17:13 OpenWrt user.info sysinit: Loading synflood protection
Sep 25 20:17:13 OpenWrt user.info sysinit: Adding custom chains
Sep 25 20:17:14 OpenWrt user.info sysinit: Loading zones
Sep 25 20:17:16 OpenWrt user.info sysinit: Loading forwardings
Sep 25 20:17:16 OpenWrt user.info sysinit: Loading rules
Sep 25 20:17:16 OpenWrt user.notice ifup: Enabling Router Solicitations on lan (br-lan)
Sep 25 20:17:16 OpenWrt user.info sysinit: Loading redirects
Sep 25 20:17:17 OpenWrt user.info sysinit: Loading includes
Sep 25 20:17:17 OpenWrt user.info sysinit: Optimizing conntrack
Sep 25 20:17:17 OpenWrt user.info sysinit: Loading interfaces
Sep 25 20:17:17 OpenWrt user.info firewall: adding lan (br-lan) to zone lan
Sep 25 20:17:18 OpenWrt authpriv.info dropbear[1714]: Running in background
Sep 25 20:17:20 OpenWrt user.notice dnsmasq: DNS rebinding protection is active, will discard upstream RFC1918 responses!
Sep 25 20:17:20 OpenWrt user.notice dnsmasq: Allowing 127.0.0.0/8 responses
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq[1775]: started, version 2.59 cachesize 150
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq[1775]: compile time options: IPv6 GNU-getopt no-DBus no-i18n DHCP TFTP no-conntrack no-IDN
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq-dhcp[1775]: DHCP, IP range 192.168.0.100 -- 192.168.0.249, lease time 12h
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq[1775]: using local addresses only for domain lan
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq[1775]: reading /tmp/resolv.conf.auto
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq[1775]: using nameserver 208.67.220.220#53
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq[1775]: using nameserver 8.8.8.8#53
Sep 25 20:17:23 OpenWrt daemon.warn dnsmasq[1775]: ignoring nameserver 192.168.0.100 - local interface
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq[1775]: using local addresses only for domain lan
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq[1775]: read /etc/hosts - 1 addresses
Sep 25 20:17:23 OpenWrt daemon.info dnsmasq-dhcp[1775]: read /etc/ethers - 0 addresses
Sep 25 20:17:24 OpenWrt user.info sysinit: cat: can't open '/sys/class/gpio/gpio18/value': No such file or directory
Sep 25 20:17:24 OpenWrt user.info sysinit: cat: can't open '/sys/class/gpio/gpio20/value': No such file or directory
Sep 25 20:25:25 OpenWrt daemon.info hostapd: wlan0: STA 00:1e:65:d0:14:0c IEEE 802.11: authenticated
Sep 25 20:25:25 OpenWrt kern.info kernel: [  535.600000] br-lan: port 1(wlan0) entered forwarding state
Sep 25 20:25:25 OpenWrt kern.info kernel: [  535.600000] br-lan: port 1(wlan0) entered forwarding state
Sep 25 20:25:26 OpenWrt daemon.info hostapd: wlan0: STA 00:1e:65:d0:14:0c IEEE 802.11: authenticated
Sep 25 20:25:26 OpenWrt daemon.info hostapd: wlan0: STA 00:1e:65:d0:14:0c IEEE 802.11: associated (aid 1)
Sep 25 20:25:40 OpenWrt kern.info kernel: [  550.640000] br-lan: port 1(wlan0) entered forwarding state
Sep 25 20:25:52 OpenWrt daemon.info dnsmasq-dhcp[1775]: DHCPINFORM(br-lan) 192.168.0.162 00:1e:65:d0:14:0c
Sep 25 20:25:52 OpenWrt daemon.info dnsmasq-dhcp[1775]: DHCPACK(br-lan) 192.168.0.162 00:1e:65:d0:14:0c User-Komputer
Sep 25 20:27:28 OpenWrt daemon.info hostapd: wlan0: STA 00:1e:65:d0:14:0c IEEE 802.11: authenticated
Sep 25 20:27:28 OpenWrt daemon.info hostapd: wlan0: STA 00:1e:65:d0:14:0c IEEE 802.11: associated (aid 1)
Sep 25 20:27:56 OpenWrt daemon.info dnsmasq-dhcp[1775]: DHCPINFORM(br-lan) 192.168.0.162 00:1e:65:d0:14:0c
Sep 25 20:27:56 OpenWrt daemon.info dnsmasq-dhcp[1775]: DHCPACK(br-lan) 192.168.0.162 00:1e:65:d0:14:0c User-Komputer
Sep 25 20:28:04 OpenWrt authpriv.info dropbear[2634]: Child connection from 192.168.0.162:53799
Sep 25 20:28:15 OpenWrt authpriv.notice dropbear[2634]: Password auth succeeded for 'root' from 192.168.0.162:53799
root@OpenWrt:~$



root@OpenWrt:~$ cat /etc/config/network
config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config interface 'lan'
        option ifname 'eth0'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.0.100'
        option netmask '255.255.255.0'
        option dns '192.168.0.100 8.8.8.8 208.67.220.220'

config interface 'wan'
        option proto 'dhcp'root@OpenWrt:~$
root@OpenWrt:~$ cat /etc/config/wireless
config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option macaddr '14:e6:e4:ec:fb:1c'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option disabled '0'
        option txpower '18'
        option country 'US'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option network 'lan'
        option ssid 'ooo22'
        option encryption 'none' #'psk'
#        option key '1234567890'

config wifi-iface
        option ssid 'TP-LINK_D1F212'#'Lasser'
        option encryption 'none'#'psk2'
        option device 'radio0'
        option mode 'sta'
        option network 'wan'
#       option key 'Wohmeph4'
root@OpenWrt:~$


root@OpenWrt:~$ uname -a
Linux OpenWrt 3.3.5 #1 Tue May 8 18:59:40 CEST 2012 mips GNU/Linux
root@OpenWrt:~$

OpenWrt Attitude Adjustment r31650 / LuCI Trunk (trunk+svn8676) 

Na moje oko w logu nic nie ma szczególnego.
O dziwo dziś jak ten router wziąłem do siebie to mogłem się połączyć po wifi.
Trochę chyba jednak ten router zmula bo w konsoli jak się coś wpisuje to czasem są opóźnienia... ale nie wiem dlaczego tak się dzieje.

5

Odp: Problem z połączeniem po wifi w trybie ap+sta

Ale to stara wersja systemu smile

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

6

Odp: Problem z połączeniem po wifi w trybie ap+sta

Wgrać najnowszą od Ciebie Cezary i powinno być już stabilnie ?
Które pliki trzeba skopiować żeby zachować ustawienia sieci
/etc/config/network
/etc/config/wireless
/etc/config/firewall
?
Nie wiem dlaczego ten router chodził spory czas ok a ostatnio się poprostu sypał...

7

Odp: Problem z połączeniem po wifi w trybie ap+sta

Moje nie moje, po prostu trunk co chwilę się zmienia, więc w tym przypadku jak chcesz. Możesz nawet "stabilne" 12.09beta zainstalować.

Do w/w spisu jeszcze /etc/config/dhcp, chyba że nic w nim nie mieszałeś.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

8

Odp: Problem z połączeniem po wifi w trybie ap+sta

Przeniosłem swoje ustawienia i teraz wogole wifi nie ma nawet w trybie ap.
Jak mogę sprawdzić dlaczego wifi nie wstaje ?

9

Odp: Problem z połączeniem po wifi w trybie ap+sta

wifi up i co Ci wypisuje?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

10

Odp: Problem z połączeniem po wifi w trybie ap+sta

root@OpenWrt:~$ wifi up
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr 14:e6:e4:ec:fb:1c and ssid "ooo22"
Successfully initialized wpa_supplicant
root@OpenWrt:~$

11

Odp: Problem z połączeniem po wifi w trybie ap+sta

Zrestartuj router. Masz jakiś problem z inicjacją interfejsu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

12

Odp: Problem z połączeniem po wifi w trybie ap+sta

ap jest widoczny dopiero jak się interfejs w trybie sta połączy z siecią docelową, upewnij się, że siećjest w zasięgu i, że dane (ssid hasło) są poprawne.

13

Odp: Problem z połączeniem po wifi w trybie ap+sta

A, i jeszcze jedno - jeżeli sta padnie z jakiegoś powodu to pociągnie za sobą cały interfejs i ap będzie też niewidoczne.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

14 (edytowany przez viper_lasser 2012-09-26 08:44:36)

Odp: Problem z połączeniem po wifi w trybie ap+sta

Chyba mam co było grane
W pliku /etc/config/wireless
w sesji ssd po nazwie sieci do której się łączyłem miałem zakomentowaną drugą i jak usunąłem komentarze w stylu #'inna_siec'
i zrobiłem wifi up to poszło smile

Ale dlaczego na starej wersji kiedyś chodziło a później mimo że była sieć widoczna ale nawet bez zabezpieczeń nie można było się dostać to nie wiem.

15

Odp: Problem z połączeniem po wifi w trybie ap+sta

Trzeba było przez uci ustawiać, przynajmniej nie miał byś takich problemów.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

16

Odp: Problem z połączeniem po wifi w trybie ap+sta

Jednak problem dalej występuje.

root@OpenWrt:~$ wifi up
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr 14:e6:e4:ec:fb:1c and ssid "ooo22"
Successfully initialized wpa_supplicant
root@OpenWrt:~$ cat /etc/config/wireless
config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option macaddr '14:e6:e4:ec:fb:1c'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option disabled '0'
#        option txpower '18'
#        option country 'US'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option network 'lan'
        option ssid 'ooo22'
        option encryption 'none' #'psk'
#        option key '1234567890'

config wifi-iface
        option ssid 'TP-LINK_D1F212'
        option encryption 'none'
        option device 'radio0'
        option mode 'sta'
        option network 'wan'

17

Odp: Problem z połączeniem po wifi w trybie ap+sta

Restart. Na ten -16 nic nie poradzisz, poza restartem sprzętu.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

18

Odp: Problem z połączeniem po wifi w trybie ap+sta

Ale nawet przy tym -16 interfejsu powinny wstaći działać poprawnie, przynajmniej u mnie działa z tym komunikatem, gdzieś przeczytałem, że sta powinien się w pliku konfiguracyjnym znaleźć przed AP, ale pod tym info się nie podpisuję - mi działało w obu przypadkach. Stawiam, że jest jakiś problem z połączeniem do tej sieci TP-LINK..., sprawdź na tym drugim routerze czy klient się łączy, czy nie masz żadnych dziwnych  zabezpieczeń włączonych.

19

Odp: Problem z połączeniem po wifi w trybie ap+sta

Może niech faktycznie sprawdzi samo sta działa...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

20

Odp: Problem z połączeniem po wifi w trybie ap+sta

Dalej lipa
Może w nowych wersjach tryb ap+sta na tl-wr703n nie może jednocześnie działać ?

root@OpenWrt:~$ wifi up
command failed: Device or resource busy (-16)
Configuration file: /var/run/hostapd-phy0.conf
Using interface wlan0 with hwaddr 14:e6:e4:ec:fb:1c and ssid "ooo22"
Successfully initialized wpa_supplicant
root@OpenWrt:~$ cat /etc/config/wireless
config wifi-device 'radio0'
        option type 'mac80211'
        option channel '11'
        option macaddr '14:e6:e4:ec:fb:1c'
        option hwmode '11ng'
        option htmode 'HT20'
        list ht_capab 'SHORT-GI-20'
        list ht_capab 'SHORT-GI-40'
        list ht_capab 'RX-STBC1'
        list ht_capab 'DSSS_CCK-40'
        option disabled '0'

config wifi-iface
        option ssid 'TP-LINK_D1F212'
        option encryption 'none'
        option device 'radio0'
        option mode 'sta'
        option network 'wan'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option network 'lan'
        option ssid 'ooo22'
        option encryption 'none'
root@OpenWrt:~$

21

Odp: Problem z połączeniem po wifi w trybie ap+sta

a wywal ap, zostaw jedynie sta i zobacz czy wstanie.

22

Odp: Problem z połączeniem po wifi w trybie ap+sta

Tak jak miał rację Cezary jak wifi nie wstanie w trybie sta to w ap też nie.
Da się to jakoś obejść ?

Mac addres zmenia się w ten sposób ?
uci set network.wan.macaddr="<mac_address>"
uci commit network
ifdown wan && ifup wan

23

Odp: Problem z połączeniem po wifi w trybie ap+sta

http://eko.one.pl/?p=openwrt-konfigurac … eadresumac

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

24

Odp: Problem z połączeniem po wifi w trybie ap+sta

Podziękował smile