1

(21 odpowiedzi, napisanych Oprogramowanie / Software)

Nawet w uboocie pisze, że to 16MB flash (MX25L12805D(c2 2018c220) (16384 Kbytes)), gdyby było 128 NAND, to owy model stałby się niezłą konkurencją dla innych Netgear'ów (WNDR4300), i nie tylko. Chociaż pomijając te 16 MB (i tak jest z co pokazywać), a skupiając się na CPU to  ładna maszyna.

Cezary napisał/a:

Ty miałeś 0 i 1 ustawione, nie 10 i 20.

Ale w Twoim configu (network) jest 10 i 20, i jest tak samo u mnie.
ifconfig:

br-lan    Link encap:Ethernet  HWaddr 10:FE:ED:3E:29:5F
          inet addr:192.168.10.1  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::12fe:edff:fe3e:295f/64 Scope:Link
          inet6 addr: fdec:6276:589a::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:310080 errors:0 dropped:0 overruns:0 frame:0
          TX packets:361467 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:88311243 (84.2 MiB)  TX bytes:367916310 (350.8 MiB)

br-lan2   Link encap:Ethernet  HWaddr 16:FE:ED:3E:29:60
          inet addr:192.168.20.1  Bcast:192.168.20.255  Mask:255.255.255.0
          inet6 addr: fdec:6276:589a:10::1/60 Scope:Global
          inet6 addr: fe80::14fe:edff:fe3e:2960/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:1770 (1.7 KiB)

eth0      Link encap:Ethernet  HWaddr 10:FE:ED:3E:29:5F
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:2319 errors:0 dropped:4 overruns:0 frame:0
          TX packets:2331 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:233542 (228.0 KiB)  TX bytes:1992853 (1.9 MiB)
          Interrupt:5

eth1      Link encap:Ethernet  HWaddr 00:00:00:02:05:02
          inet addr:10.0.221.102  Bcast:10.0.223.255  Mask:255.255.252.0
          inet6 addr: fe80::200:ff:fe02:502/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2246888 errors:0 dropped:111 overruns:0 frame:0
          TX packets:304987 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:483591280 (461.1 MiB)  TX bytes:92164758 (87.8 MiB)
          Interrupt:4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:759 errors:0 dropped:0 overruns:0 frame:0
          TX packets:759 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:99007 (96.6 KiB)  TX bytes:99007 (96.6 KiB)

wlan0     Link encap:Ethernet  HWaddr 10:FE:ED:3E:29:60
          inet addr:87.246.220.131  Bcast:87.246.223.255  Mask:255.255.252.0
          inet6 addr: fe80::12fe:edff:fe3e:2960/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3116 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:491099 (479.5 KiB)  TX bytes:2719 (2.6 KiB)

wlan0-1   Link encap:Ethernet  HWaddr 12:FE:ED:3E:29:60
          inet6 addr: fe80::10fe:edff:fe3e:2960/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:201 errors:0 dropped:0 overruns:0 frame:0
          TX packets:145 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19380 (18.9 KiB)  TX bytes:18967 (18.5 KiB)

wlan0-2   Link encap:Ethernet  HWaddr 16:FE:ED:3E:29:60
          inet6 addr: fe80::14fe:edff:fe3e:2960/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:1588 (1.5 KiB)

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.0.221.1      0.0.0.0         UG    10     0        0 eth1
0.0.0.0         87.246.220.1    0.0.0.0         UG    20     0        0 wlan0
10.0.220.0      0.0.0.0         255.255.252.0   U     10     0        0 eth1
10.0.221.1      0.0.0.0         255.255.255.255 UH    10     0        0 eth1
87.246.220.0    0.0.0.0         255.255.252.0   U     20     0        0 wlan0
87.246.220.1    0.0.0.0         255.255.255.255 UH    20     0        0 wlan0
192.168.10.0    0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.20.0    0.0.0.0         255.255.255.0   U     0      0        0 br-lan2

ip route

default via 10.0.221.1 dev eth1  proto static  src 10.0.221.102  metric 10
default via 87.246.220.1 dev wlan0  proto static  src 87.246.220.131  metric 20
10.0.220.0/22 dev eth1  proto static  scope link  metric 10
10.0.221.1 dev eth1  proto static  scope link  src 10.0.221.102  metric 10
87.246.220.0/22 dev wlan0  proto static  scope link  metric 20
87.246.220.1 dev wlan0  proto static  scope link  src 87.246.220.131  metric 20
192.168.10.0/24 dev br-lan  proto kernel  scope link  src 192.168.10.1
192.168.20.0/24 dev br-lan2  proto kernel  scope link  src 192.168.20.1

ping eth1

root@OpenWrt:~# ping -I eth1 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=50 time=35.183 ms
64 bytes from 8.8.8.8: seq=1 ttl=50 time=37.064 ms

ping wlan0

root@OpenWrt:~# ping -I wlan0 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=50 time=34.094 ms
64 bytes from 8.8.8.8: seq=1 ttl=50 time=41.019 ms
64 bytes from 8.8.8.8: seq=2 ttl=50 time=32.709 ms

Mam taki pomysł, nie wiem czy wykonalny i czy dobrze mówię.
Jakby zrobić taką konfigurację, bo może się gryzie ten WAN port z sta jak jest podłączony kabel WAN
http://i.imgur.com/ho3UrSd.png

Chodzi mi o to żeby WAN.1.1 był niezależny od WAN.2.2, tak jakby mieć dwa niezależne od siebie porty WAN.

Cezary napisał/a:

To też jest ath9k przecież.

To już nie wiem o co chodzi, ale bastuje bo nie mam już siły do niego... Dzięki Cezary za wielką pomoc, jesteś wielki smile
A tak zapytam, w route -n
192.168.10.0 nie powinien mieć metric 10, a 192.168.20.0 metric 20?

Dzięki za wstawkę, failsafe a następnie zrobiłem reguły firewalla, network, dhcp wg. Ciebie, zmieniłem tylko wireless pod swoje połączenie sta i routing (u Ciebie 192.168.1.1 u mnie: 87.246.220.1 (tak pokazuje route -n -e, dodałem przez putty po inicjacji routera i przy połączeniu wlan0 także powinno być dobrze), i dupa blada, to samo. Są dwie możliwości: eth1 rozpieprza cały routing wan2, albo sterownik WiFi, wspomniałeś że masz ath9k, a ja mam ar933x_wmac (TL-WR740N V4), wg. co pokazuje /etc/config/wireless.  Raczej skłaniam się do teorii nr. 2 Co o Tym myślisz?

Cezary napisał/a:

Jeszcze jedno - wifi łączy się z opóźnieniem. Więc jeżeli to z rc.local wykona się najpierw a wifi stanie później to nadpisze routing znowu.

Mistrzu, weź wrzuć swój config co zrobiłeś i Ci działał, bo już nie mogę, zaraz wgram OFW, a następnie wywalę ten router przez okno normalnie... Nawet jak dodam do crona aby wykonywał skrypt co minutę, to nie działa SSID_2 nie ma dostępu do Internetu, ale pinguje w putty interfejs wlan0.

hugo999 napisał/a:

Na moje oko to coś z firewallem jest nie tak. Skoro mówisz że jak podłączasz kabel do WANA gdy jesteś podpięty pod SSID2 to pingi umierają

Firewall jest dobry, to route coś się wali, bo jak dodałem do rc.local

ip rule add from 172.16.0.0/24 table wann
ip route add default via 87.246.220.1 dev wlan0 table wann
ip route flush cache

A potem z palca przez putty

ip route add default via 87.246.220.1 dev wlan0 table wann

to nie wyświetla, że jest już taki route, a powinno. Czyli nie ładuje tych reguł przy starcie OpenWRT

@Cezary
Dziwna sprawa, bo jak jestem podłączony do SSID_2 do tego co ma lecieć połączenie przez sta i w momencie gdy wan jest podłączony, to nie ma internetu - tak jak wspominałem, ale jak zrobię z palca te ip rule, i ip route, to na komputerze jest połączenie przez sta na SSID_2 prawidłowo (w czasie gdy jestem podłączony do SSID_2), ale gdy chcę się podłączyć drugim komputerem, lub telefonem do SSID_2 to na tym telefonie / drugim komputerze nie ma znów połączenia z Internetem.

Już wątpię w tą konfigurację, bo powinna działać bez tych ip reguł...

szymonik44 napisał/a:

Ale jak to zrobić?

W putty: vi /etc/config/wireless, usuwasz option disabled '1' z sekcji config wifi-device, następnie zapisujesz, i znów w putty wydajesz polecenie: uci commit wireless, i znów polecenie: wifi.

Posługiwanie się vi:
http://lewandowicz.eu/instrukcje/vi.php

Czyli jak już usuniesz: naciskasz escape, następnie shift i dwukropek, i wpisujesz wq i enter

SirLancelot1982 napisał/a:

1/ UPnP do VPN i klienta Torrent chciałem ale skoro bezpieczniej przekierować z ręki to tak zrobię.

2/ Nie za bardzo wiem jak z CRONA z ręki to zrobić...

3/ Ok już widzę.

Dzięki!

2.
http://eko.one.pl/?p=openwrt-cron

0 4 * * 3 reboot
Cezary napisał/a:

Wystaw całą konfigurację z 15.05

3maj
https://www.dropbox.com/s/rxuv2rf1p3oxqte/CONF.zip?dl=0

Edycja:

Dziwne, gdy jest podpięty WAN to SSID_2 nie działa z poziomu systemu ping - Destination port unreachable, gdy odłączę WAN to SSID_2 działa, czyli przechodzą pingi...

Cezary napisał/a:

Nazwa tabeli jest dowolna. I nie rób reboot, przecież to nigdzie jest jest zachowane. Chcesz zachować do dodaj sobie do /etc/rc.local.

Wgrałem 15.05
route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.0.221.1      0.0.0.0         UG    0      0        0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG    1      0        0 wlan0
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 br-lann
10.0.220.0      0.0.0.0         255.255.252.0   U     0      0        0 eth1
10.0.221.1      0.0.0.0         255.255.255.255 UH    0      0        0 eth1
10.10.0.0       0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 wlan0
192.168.0.1     0.0.0.0         255.255.255.255 UH    1      0        0 wlan0

Zmieniło z wlan0-2 na wlan0 więc

ip rule add from 10.0.0.0/24 table wann
ip route add default via 192.168.0.1 dev wlan0 table wann
ip route flush cache

(Nadal w ifconfig mam wlan0, wlan0-1, wlan0-2)

Podłączam się do SSID_2, i nic...

Edycja

Tak patrzę na route -n
10.10.0.0 ma metric 0, nie powinien mieć 1?
A nie, bo 10.10 do SSID_1
A 10.0.0.0 ma metric 0, ten od SSID_2

Cezary napisał/a:

ping -I eth1 8.8.8.8
ping -I wlan0-2 8.8.8.8

ip masz zainstalowane. Dodaj sobei coś takiego:

echo "200 wan2" >> /etc/iproute2/rt_tables
ip rule add from 10.0.0.0/24 table wan2
ip route add default via 192.168.0.1 dev wlan0-2 table wan2
ip route flush cache

Lub sobie popraw dane jak coś przekręciłem.

PS. I czemu to robisz na gargoyle a nie na 15.05 jak napisałeś?

Dzisiaj wgrałem gargoyle, porównać czy na gargoyle by działało.

Edycja.

ping -I eth1 8.8.8.8
ping -I wlan0-2 8.8.8.8

Pingi przechodzą
U mnie wan2 to wann i tak zmieniłem, adresacja wydaje się ok, dodałem, następnie reboot i lipa SSID_1 działa, SSID_2 nie działa. Zaraz wgram 15.05 i zobaczę jeszcze raz.

Cezary napisał/a:

Z ciekawości zrobiłem taką samą konfigurację.  I działa. Mówiłem że to kwestia konfiguracji.

1. dodaj różne metric do interfejsów wan bo inaczej ci się dwa gatewaye nie zrobią.
2. sprawdź czy ping na tych interfejsach działa
3. zainstaluj ip i jawnie wskaż że z adresacji sieci lan2 ma iść na gatewaya z wan2.

1. Metric zrobione:

root@Gargoyle:~# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         10.0.221.1      0.0.0.0         UG    0      0        0 eth1
0.0.0.0         192.168.0.1     0.0.0.0         UG    1      0        0 wlan0-2
10.0.0.0        0.0.0.0         255.255.255.0   U     0      0        0 br-lann
10.0.220.0      0.0.0.0         255.255.252.0   U     0      0        0 eth1
10.10.0.0       0.0.0.0         255.255.255.0   U     0      0        0 br-lan
192.168.0.0     0.0.0.0         255.255.255.0   U     1      0        0 wlan0-2

2. Jak zrobić tego pinga, jeżeli Ci chodzi o np. odłączenie kabla wan, następnie zalogowanie się do Sieci B, polecenie ping w putty, to działa, tak samo działa na odwrót.
3.

root@Gargoyle:~# opkg install ip
WARNING: Package ip is already installed, ignoring
         Use --force-reinstall to force reinstallation

No packages to install.

Domyślam się, że polecenie ip, tylko jak dodać coś takiego?

Zzpiowany config:
https://www.dropbox.com/s/qfi6sex93w0sq … g.zip?dl=0

Cezary napisał/a:

Muszą być oba na raz. Pokaż log z systemu.

root@OpenWrt:~# logread
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.740000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.750000] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.750000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.760000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.850000] PPP generic driver version 2.4.2
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.860000] NET: Registered protocol family 24
Thu Oct  1 19:46:24 2015 kern.debug kernel: [   12.920000] ath: EEPROM regdomain: 0x0
Thu Oct  1 19:46:24 2015 kern.debug kernel: [   12.920000] ath: EEPROM indicates default country code should be used
Thu Oct  1 19:46:24 2015 kern.debug kernel: [   12.920000] ath: doing EEPROM country->regdmn map search
Thu Oct  1 19:46:24 2015 kern.debug kernel: [   12.920000] ath: country maps to regdmn code: 0x3a
Thu Oct  1 19:46:24 2015 kern.debug kernel: [   12.920000] ath: Country alpha2 being used: US
Thu Oct  1 19:46:24 2015 kern.debug kernel: [   12.920000] ath: Regpair used: 0x3a
Thu Oct  1 19:46:24 2015 kern.debug kernel: [   12.940000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.940000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.950000] cfg80211: Calling CRDA for country: US
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.950000] cfg80211: Regulatory domain changed to country: US
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.960000] cfg80211:  DFS Master region: FCC
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.960000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.970000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 3000 mBm), (N/A)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.980000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 1700 mBm), (N/A)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   12.990000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2300 mBm), (0 s)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   13.000000] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 3000 mBm), (N/A)
Thu Oct  1 19:46:24 2015 kern.info kernel: [   13.010000] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Thu Oct  1 19:46:27 2015 cron.info crond[811]: crond (busybox 1.23.2) started, log level 5
Thu Oct  1 19:46:28 2015 authpriv.info dropbear[828]: Not backgrounding
Thu Oct  1 19:46:30 2015 user.emerg syslog: setting up led WAN
Thu Oct  1 19:46:30 2015 user.emerg syslog: setting up led LAN1
Thu Oct  1 19:46:30 2015 user.emerg syslog: setting up led LAN2
Thu Oct  1 19:46:30 2015 user.emerg syslog: setting up led LAN3
Thu Oct  1 19:46:30 2015 user.emerg syslog: setting up led LAN4
Thu Oct  1 19:46:30 2015 user.emerg syslog: setting up led WLAN
Thu Oct  1 19:46:31 2015 daemon.info procd: - init complete -
Thu Oct  1 19:46:31 2015 daemon.warn netifd: You have delegated IPv6-prefixes but haven't assigned them to any interface. Did you forget to set option ip6assign on your lan-interfaces?
Thu Oct  1 19:46:31 2015 kern.info kernel: [   22.840000] device eth0 entered promiscuous mode
Thu Oct  1 19:46:31 2015 kern.info kernel: [   22.850000] IPv6: ADDRCONF(NETDEV_UP): br-lan: link is not ready
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'lan' is enabled
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'lan' is setting up now
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'lan' is now up
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'loopback' is enabled
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'loopback' is setting up now
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'loopback' is now up
Thu Oct  1 19:46:31 2015 kern.info kernel: [   22.930000] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'wan' is enabled
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'wan6' is enabled
Thu Oct  1 19:46:31 2015 kern.info kernel: [   22.940000] IPv6: ADDRCONF(NETDEV_UP): br-wlan: link is not ready
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'wlan' is enabled
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'wlan' is setting up now
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'wlan' is now up
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Network device 'lo' link is up
Thu Oct  1 19:46:31 2015 daemon.notice netifd: Interface 'loopback' has link connectivity
Thu Oct  1 19:46:32 2015 user.notice firewall: Reloading firewall due to ifup of lan (br-lan)
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.060000] cfg80211: Calling CRDA for country: PL
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.060000] cfg80211: Regulatory domain changed to country: PL
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.070000] cfg80211:  DFS Master region: ETSI
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.070000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.080000] cfg80211:   (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.090000] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.100000] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.110000] cfg80211:   (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
Thu Oct  1 19:46:32 2015 kern.info kernel: [   24.120000] cfg80211:   (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Thu Oct  1 19:46:33 2015 kern.info kernel: [   25.060000] eth0: link up (1000Mbps/Full duplex)
Thu Oct  1 19:46:33 2015 kern.info kernel: [   25.060000] br-lan: port 1(eth0) entered forwarding state
Thu Oct  1 19:46:33 2015 kern.info kernel: [   25.070000] br-lan: port 1(eth0) entered forwarding state
Thu Oct  1 19:46:33 2015 daemon.notice netifd: Network device 'eth0' link is up
Thu Oct  1 19:46:33 2015 daemon.notice netifd: Bridge 'br-lan' link is up
Thu Oct  1 19:46:33 2015 daemon.notice netifd: Interface 'lan' has link connectivity
Thu Oct  1 19:46:33 2015 kern.info kernel: [   25.080000] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Thu Oct  1 19:46:33 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:34 2015 kern.info kernel: [   25.420000] eth1: link up (100Mbps/Full duplex)
Thu Oct  1 19:46:34 2015 kern.info kernel: [   25.420000] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Thu Oct  1 19:46:34 2015 daemon.notice netifd: Network device 'eth1' link is up
Thu Oct  1 19:46:34 2015 daemon.notice netifd: Interface 'wan' has link connectivity
Thu Oct  1 19:46:34 2015 daemon.notice netifd: Interface 'wan' is setting up now
Thu Oct  1 19:46:34 2015 daemon.notice netifd: Interface 'wan6' has link connectivity
Thu Oct  1 19:46:34 2015 daemon.notice netifd: Interface 'wan6' is setting up now
Thu Oct  1 19:46:34 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:34 2015 daemon.notice netifd: wan (1092): udhcpc (v1.23.2) started
Thu Oct  1 19:46:35 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:35 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:35 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:35 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:35 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:35 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:35 2015 daemon.notice netifd: wan (1092): Sending discover...
Thu Oct  1 19:46:35 2015 daemon.notice netifd: radio0 (931): Configuration file: /var/run/hostapd-phy0.conf
Thu Oct  1 19:46:35 2015 kern.info kernel: [   26.740000] IPv6: ADDRCONF(NETDEV_UP): wlan0-1: link is not ready
Thu Oct  1 19:46:35 2015 kern.info kernel: [   26.750000] device wlan0-1 entered promiscuous mode
Thu Oct  1 19:46:35 2015 daemon.notice netifd: radio0 (931): wlan0-1: interface state UNINITIALIZED->COUNTRY_UPDATE
Thu Oct  1 19:46:35 2015 daemon.notice netifd: radio0 (931): Using interface wlan0-1 with hwaddr 12:fe:ed:3e:29:60 and ssid "NoForSyrianGuys"
Thu Oct  1 19:46:35 2015 kern.info kernel: [   27.070000] br-lan: port 1(eth0) entered forwarding state
Thu Oct  1 19:46:36 2015 kern.info kernel: [   27.380000] device wlan0-2 entered promiscuous mode
Thu Oct  1 19:46:36 2015 kern.info kernel: [   27.390000] br-wlan: port 1(wlan0-2) entered forwarding state
Thu Oct  1 19:46:36 2015 kern.info kernel: [   27.390000] br-wlan: port 1(wlan0-2) entered forwarding state
Thu Oct  1 19:46:36 2015 kern.info kernel: [   27.400000] IPv6: ADDRCONF(NETDEV_UP): wlan0-2: link is not ready
Thu Oct  1 19:46:36 2015 kern.info kernel: [   27.400000] IPv6: ADDRCONF(NETDEV_CHANGE): br-wlan: link becomes ready
Thu Oct  1 19:46:36 2015 daemon.notice netifd: radio0 (931): Using interface wlan0-2 with hwaddr 16:fe:ed:3e:29:60 and ssid "OpenWRT"
Thu Oct  1 19:46:36 2015 daemon.notice netifd: Bridge 'br-wlan' link is up
Thu Oct  1 19:46:36 2015 daemon.notice netifd: Interface 'wlan' has link connectivity
Thu Oct  1 19:46:36 2015 kern.info kernel: [   27.750000] br-wlan: port 1(wlan0-2) entered disabled state
Thu Oct  1 19:46:37 2015 daemon.notice netifd: radio0 (931): wlan0-1: interface state COUNTRY_UPDATE->ENABLED
Thu Oct  1 19:46:37 2015 daemon.notice netifd: radio0 (931): wlan0-1: AP-ENABLED
Thu Oct  1 19:46:37 2015 kern.info kernel: [   28.640000] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Thu Oct  1 19:46:37 2015 daemon.notice netifd: radio0 (931): Successfully initialized wpa_supplicant
Thu Oct  1 19:46:37 2015 daemon.notice netifd: Bridge 'br-wlan' link is down
Thu Oct  1 19:46:37 2015 daemon.notice netifd: Interface 'wlan' has link connectivity loss
Thu Oct  1 19:46:37 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:38 2015 daemon.notice netifd: wan (1092): Sending discover...
Thu Oct  1 19:46:38 2015 daemon.notice netifd: wan (1092): Sending select for 10.0.221.101...
Thu Oct  1 19:46:38 2015 daemon.notice netifd: wan (1092): Lease of 10.0.221.101 obtained, lease time 50000
Thu Oct  1 19:46:38 2015 daemon.notice netifd: Interface 'wan' is now up
Thu Oct  1 19:46:38 2015 daemon.notice netifd: Interface 'wwan' is enabled
Thu Oct  1 19:46:38 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:38 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:38 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:38 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:38 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:38 2015 daemon.warn odhcpd[793]: DHCPV6 SOLICIT IA_NA from 000100011d6a5a151867b0dfaecd on br-lan: no addresses available
Thu Oct  1 19:46:38 2015 kern.info kernel: [   30.260000] wlan0: authenticate with 64:70:02:e6:db:f2
Thu Oct  1 19:46:38 2015 kern.info kernel: [   30.280000] wlan0: send auth to 64:70:02:e6:db:f2 (try 1/3)
Thu Oct  1 19:46:38 2015 kern.info kernel: [   30.290000] wlan0: authenticated
Thu Oct  1 19:46:38 2015 kern.info kernel: [   30.300000] wlan0: associate with 64:70:02:e6:db:f2 (try 1/3)
Thu Oct  1 19:46:39 2015 kern.info kernel: [   30.410000] wlan0: associate with 64:70:02:e6:db:f2 (try 2/3)
Thu Oct  1 19:46:39 2015 kern.info kernel: [   30.410000] wlan0: RX AssocResp from 64:70:02:e6:db:f2 (capab=0x431 status=0 aid=1)
Thu Oct  1 19:46:39 2015 kern.info kernel: [   30.420000] wlan0: associated
Thu Oct  1 19:46:39 2015 kern.info kernel: [   30.420000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Thu Oct  1 19:46:39 2015 daemon.notice netifd: Network device 'wlan0' link is up
Thu Oct  1 19:46:39 2015 daemon.notice netifd: Interface 'wwan' has link connectivity
Thu Oct  1 19:46:39 2015 daemon.notice netifd: Interface 'wwan' is setting up now
Thu Oct  1 19:46:39 2015 daemon.notice netifd: wwan (1193): udhcpc (v1.23.2) started
Thu Oct  1 19:46:39 2015 daemon.notice netifd: wwan (1193): Sending discover...
Thu Oct  1 19:46:39 2015 daemon.notice netifd: wwan (1193): Sending select for 192.168.0.101...
Thu Oct  1 19:46:39 2015 daemon.notice netifd: wwan (1193): Lease of 192.168.0.101 obtained, lease time 7200
Thu Oct  1 19:46:39 2015 daemon.notice netifd: Interface 'wwan' is now up
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: started, version 2.73 cachesize 150
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: DNS service limited to local subnets
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq-dhcp[1214]: DHCP, IP range 10.10.0.2 -- 10.10.0.11, lease time 12h
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq-dhcp[1214]: DHCP, IP range 10.0.0.2 -- 10.0.0.11, lease time 12h
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: using local addresses only for domain lan
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: reading /tmp/resolv.conf.auto
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: using local addresses only for domain lan
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: using nameserver 10.0.220.1#53
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: using nameserver 10.0.220.1#53
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: read /etc/hosts - 1 addresses
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: read /tmp/hosts/dhcp - 1 addresses
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq[1214]: read /tmp/hosts/odhcpd - 0 addresses
Thu Oct  1 19:46:40 2015 daemon.info dnsmasq-dhcp[1214]: read /etc/ethers - 0 addresses
Thu Oct  1 19:46:40 2015 kern.info kernel: [   31.920000] br-lan: port 2(wlan0-1) entered forwarding state
Thu Oct  1 19:46:40 2015 kern.info kernel: [   31.930000] br-lan: port 2(wlan0-1) entered forwarding state
Thu Oct  1 19:46:40 2015 kern.info kernel: [   31.930000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-1: link becomes ready
Thu Oct  1 19:46:40 2015 daemon.notice netifd: Network device 'wlan0-1' link is up
Thu Oct  1 19:46:41 2015 kern.info kernel: [   33.220000] br-wlan: port 1(wlan0-2) entered forwarding state
Thu Oct  1 19:46:41 2015 kern.info kernel: [   33.220000] br-wlan: port 1(wlan0-2) entered forwarding state
Thu Oct  1 19:46:41 2015 kern.info kernel: [   33.230000] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0-2: link becomes ready
Thu Oct  1 19:46:41 2015 daemon.notice netifd: Network device 'wlan0-2' link is up
Thu Oct  1 19:46:41 2015 daemon.notice netifd: Bridge 'br-wlan' link is up
Thu Oct  1 19:46:41 2015 daemon.notice netifd: Interface 'wlan' has link connectivity
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1214]: exiting on receipt of SIGTERM
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: started, version 2.73 cachesize 150
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP no-DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth no-DNSSEC loop-detect inotify
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: DNS service limited to local subnets
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq-dhcp[1282]: DHCP, IP range 10.10.0.2 -- 10.10.0.11, lease time 12h
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq-dhcp[1282]: DHCP, IP range 10.0.0.2 -- 10.0.0.11, lease time 12h
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: using local addresses only for domain lan
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: reading /tmp/resolv.conf.auto
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: using local addresses only for domain lan
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: using nameserver 10.0.220.1#53
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: using nameserver 10.0.220.1#53
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: read /etc/hosts - 1 addresses
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: read /tmp/hosts/dhcp - 1 addresses
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq[1282]: read /tmp/hosts/odhcpd - 0 addresses
Thu Oct  1 19:46:42 2015 daemon.info dnsmasq-dhcp[1282]: read /etc/ethers - 0 addresses
Thu Oct  1 19:46:42 2015 kern.info kernel: [   33.930000] br-lan: port 2(wlan0-1) entered forwarding state
Thu Oct  1 19:46:42 2015 user.notice firewall: Reloading firewall due to ifup of wlan (br-wlan)
Thu Oct  1 19:46:43 2015 daemon.info dnsmasq-dhcp[1282]: DHCPREQUEST(br-lan) 10.0.0.11 18:67:b0:df:ae:cd
Thu Oct  1 19:46:43 2015 daemon.info dnsmasq-dhcp[1282]: DHCPACK(br-lan) 10.0.0.11 18:67:b0:df:ae:cd Laptop
Thu Oct  1 19:46:43 2015 kern.info kernel: [   35.220000] br-wlan: port 1(wlan0-2) entered forwarding state
Thu Oct  1 19:46:44 2015 user.notice firewall: Reloading firewall due to ifup of wan (eth1)
Thu Oct  1 19:46:46 2015 user.notice firewall: Reloading firewall due to ifup of wwan (wlan0)
Thu Oct  1 19:46:51 2015 kern.notice kernel: [   42.610000] random: nonblocking pool is initialized
Thu Oct  1 19:49:44 2015 authpriv.info dropbear[1622]: Child connection from 10.0.0.11:50651
Thu Oct  1 19:49:52 2015 authpriv.notice dropbear[1622]: Password auth succeeded for 'root' from 10.0.0.11:50651
root@OpenWrt:~#
Cezary napisał/a:

relayd jest do czegoś innego.

Masz coś na myśli co mogło by pomóc aby oba połączenia były aktywne na raz?

Znalazłem problem. Kiedy jestem na sieci B sieć A nie działa dopóki nie odłączę kabla do WANu, w tedy Sieć A działa a sieć B nie. W czym tkwi problem, może reguły firewalla? Może pomoże dodatek relayd. Nie wiem co o tym myślić.

*działa - czyli pinguje z poziomu komputera.

Teraz zakomentowałem wszystkie te zmiany (lan2 wan2) co miały być, i powróciło do normy. Zaraz zrobię od nowa konfiguracje i dam znak.

EDIT.
Zrobiłem konfiguracje od nowa, i zaczęło trybić. smile Teraz zobaczymy Sieć B.

@Cezary

Dziwne, po reboot gdy się podłączam do WIFI A, i pinguję przez system operacyjny wyskakuje Reply from 10.0.0.1: Destination port unreachable, lecz gdy odłączę kabel z niebieskiego wejścia i podłącze go znów, to wraca do normy i pinguje dobrze.

Cezary napisał/a:

Bez tego option ifname na wan i bez tego na lan jak nie zamierzasz żadnego fizycznego porty dołączyć.

Konfiguracja zrobiona, putty pinguje, ale z poziomu systemu: Reply from 10.0.0.1: Destination port unreachable. (Sieć A)

Cezary napisał/a:

I nowa sekcja do dhcp, tak.

network:
config interface 'lan2'
    option ifname 'eth0'
i
config interface 'wan2'
    option ifname 'eth1'

tak ma być?

Cezary napisał/a:

A to nie, robisz drugi wan, drugi lan i całkowicie nową konfigurację firewalla. Nigdzie nie opisywałem takiej konfiguracji.

Generalnie - domyślna konfiguracja zapewnia A. Do B potrzebujesz:
- w network zrobić wan2 i lan2
- w wireless sta podłączyć do wan2, dodatkowe ap podłączyć do lan2
- w firewallu całkowicie skopiować istniejące sekcje i zrobić analogicznie jak masz dla wan i lan.

Prościej były by drugi router postawić niż tak kombinować.

I nowa sekcja do DHCP też chyba

Jeszcze raz, bo chyba nie nadajemy na tych samych falach.
Router ma rozgłaszać dwie sieci:
Sieć A: Ma rozgłaszać Internet przez WiFi który dostarczam po kablu (Podłączam kabel do niebieskiego wejścia)
Sieć B: Ma rozgłaszać Internet przez WiFi który jest dostarczany przez inny router (Inny provider niż w sieci A) (Połączenie a'la most tylko z własną pulą DHCP).
Gdy usunę option ifname 'eth1' z sekcji 'wan' w pliku network Internet z niebieskiego wejścia nie chodzi

Cezary napisał/a:

Ale za dużo tego masz.

sekcja config interface 'wwan' - do wyrzucenia
sekcja: config interface 'wan6' - do wyrzucenia
sekcja: config interface 'wan - wywal ten macadres (czemu wpadłeś na taki pomysł?) wywal option ifname 'eth1'
Ponad to nie masz w wireless sekcji z sta a masz trzy ap - kompletnie zrobione inaczej niż w tym co podałem. A potem się dziwisz że nie działa.

Gdy wywalę option ifname 'eth1' w tedy nie mam połączenia kablem z routera do karty sieciowej
Zamieniłem ap na sta, i nie pokazuje żadnego SSID.
network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fdab:07bf:ec0c::/48'

config interface 'lan'
    option ifname 'eth0'
    option force_link '1'
    option type 'bridge'
    option proto 'static'
    option ipaddr '172.16.0.1'
    option netmask '255.255.255.0'
    option ip6assign '60'

config interface 'wan'
    option ifname 'eth1'
    option proto 'dhcp'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '0 1 2 3 4'

wireless

config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11g'
    option path 'platform/ar933x_wmac'
    option htmode 'HT20'
    option country 'PL'
    option channel '11'
    option txpower '17'

config wifi-iface
    option device 'radio0'
    option mode 'ap'
    option ssid 'Internet z niebieskiego wejscia'
    option network 'lan'
    option encryption 'psk2'
    option key ''

config wifi-iface
    option device 'radio0'
    option mode 'ap'
    option ssid 'Internet z innego routera'
    option network 'lan'
    option encryption 'psk2'
    option key ''

config wifi-iface
    option device 'radio0'
    option network 'lan'
    option mode 'sta'
    option ssid 'Router co ma dawac polaczenie do ssid "Internet z innego routera"'
    option encryption 'psk2'
    option key ''
Cezary napisał/a:

http://eko.one.pl/?p=openwrt-ath9k#trybapapclient

Dokładnie tak. Jedna konfiguracja jako sta (klient) podłączony pod wan i druga robiąca "wirtualnego ap" na tym samym radiu jako lan

Utworzyło pomyślnie 2 sieci, tylko z tej drugiej co ma pobierać Internet od innego routera nie działa.
wireless

config wifi-device 'radio0'
    option type 'mac80211'
    option hwmode '11g'
    option path 'platform/ar933x_wmac'
    option htmode 'HT20'
    option country 'PL'
    option channel '11'
    option txpower '17'

config wifi-iface
    option device 'radio0'
    option mode 'ap'
    option ssid 'SSID Z WANA'
    option network 'lan'
    option encryption 'psk2'
    option key 'HASLO'

config wifi-iface
    option device 'radio0'
    option mode 'ap'
    option ssid 'SSID Z WLAN'
    option network 'wwan'
    option encryption 'psk2'
    option key 'HASLO'

config wifi-iface
    option device 'radio0'
    option network 'lan'
    option mode 'ap'
    option ssid 'INNY ROUTER'
  option encryption 'psk2'
    option key 'HASLO'

network

config interface 'loopback'
    option ifname 'lo'
    option proto 'static'
    option ipaddr '127.0.0.1'
    option netmask '255.0.0.0'

config globals 'globals'
    option ula_prefix 'fdab:07bf:ec0c::/48'

config interface 'lan'
    option ifname 'eth0'
    option force_link '1'
    option type 'bridge'
    option proto 'static'
    option ipaddr '172.16.0.1'
    option netmask '255.255.255.0'
    option ip6assign '60'

config interface 'wan'
    option ifname 'eth1'
    option proto 'dhcp'
    option macaddr '00:00:00:00:00:01'

config interface 'wan6'
    option ifname 'eth1'
    option proto 'dhcpv6'

config interface 'wwan'
    option ifname 'eth0'
    option force_link '1'
    option type 'bridge'
    option proto 'static'
    option ipaddr '192.168.10.1'
    option netmask '255.255.255.0'
    option ip6assign '60'

config switch
    option name 'switch0'
    option reset '1'
    option enable_vlan '1'

config switch_vlan
    option device 'switch0'
    option vlan '1'
    option ports '0 1 2 3 4'

A jak wezmę w ssid 'inny router' option mode 'sta' to nie wyswietla zadnej sieci

Na początku pragnę was przywitać jako nowy użytkownik tego forum, mam nadzieję że dobrze trafiłem. Ostatnim czasem bawię się OpenWRT 15.05, chciałbym utworzyć 2 SSID, jedna by odpowiadała za Internet ciągnięty z WANa, druga robiła jako AP+Client. Niestety nie posiadam routera z dualbandem, ponieważ gdy wprowadzam do wireless config wifi-device 'radio1', następnie w konsoli uci commit | wifi | logread, w tedy wifi nie wstaję, bo w logread jest że nie można uruchomić radio1 (chyba to jest zarezerwowane dla pasma 5GHz), gdybym miał ten dualband, to byłoby z górki, a bez tego dualbandu, nie wiem co począć dalej, zrobić może VLAN (eth0.1, eth0.2), czy coś innego.  Jakbyście wytłumaczyli mi tak łopatologicznie co trzeba zrobić, byłbym wdzięczny.