![]() |
![]() |
#351 |
Junior Member
Регистрация: 24.10.2014
Сообщений: 2
Вес репутации: 0 ![]() |
![]()
Ребята, подскажите, вкл/выкл Wi-Fi в OpenWRT для WR841N только через софт или я плохо искал настройку в вебморде, чтобы хардварный родной переключатель вайфая этого роутера как положено включал-выключал?
Родная заводская прошивка отказалась в какой-то момент раздавать интернет - накатил openWRT, настроил и больше бы не вспоминал, если бы не одно это неудобство - не реагирует роутер на этот переключатель. Мне что, обязательно теперь какие-то скрипты вклинивать: http://cyber-place.ru/showthread.php?p=5742 ? |
![]() |
![]() |
![]() |
#352 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Можно включать/выключать через консоль или скриптом прикрутить к выключателю
|
![]() |
![]() |
![]() |
#353 |
Junior Member
Регистрация: 24.10.2014
Сообщений: 2
Вес репутации: 0 ![]() |
![]()
Пнятно.
Не понятно только почему разрабы прошивки решили избавить переключатель от его родной функциональности по умолчанию ![]() |
![]() |
![]() |
![]() |
#354 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Потому как не всем это нужно, а добавить готовый скрипт это 15 сек.
|
![]() |
![]() |
![]() |
#355 | |
Junior Member
Регистрация: 30.10.2014
Сообщений: 13
Вес репутации: 0 ![]() |
![]()
У меня после этих манипуляций модем в инет не пошёл.
Правда не было файла firewall, создавать я его не стал. Через ВЭБ интерфейс снова вернул как клиента wi-fi сети. Попробовал создать этот недостающий файл, получаю Unable to launch the requested CGI program: /www/cgi-bin/modules/about/index.cgi: Input/output error winscp пишет Рид онли систем. Как вернуть права? Цитата:
|
|
![]() |
![]() |
![]() |
#356 |
Junior Member
Регистрация: 30.10.2014
Сообщений: 13
Вес репутации: 0 ![]() |
![]()
Ввёл эти настройки 1 в 1, модем 1550 инет не поднял. Для wi-fi пароль должен быть не менее 8 символов - на 123 ругался. Может пакет РРР нужен?
Код:
Root@CyberWrt:/www/> dmesg [ 0.000000] Linux version 3.10.4 (cyberwrt@cyberwrt) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r37816) ) #1 Mon Nov 25 16:28:55 MSK 2013 [ 0.000000] MyLoader: sysp=444ba8b5, boardp=5fbcaeef, parts=ebc66edc [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR9330 rev 1 [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 80320b60, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8192 pages, LIFO batch:0 [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 28716k/32768k available (2305k kernel code, 4052k reserved, 602k data, 224k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.080000] Mount-cache hash table entries: 512 [ 0.090000] NET: Registered protocol family 16 [ 0.100000] MIPS: machine is TP-LINK TL-MR3020 [ 0.350000] bio: create slab at 0 [ 0.360000] Switching to clocksource MIPS [ 0.360000] NET: Registered protocol family 2 [ 0.370000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.370000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.370000] TCP: Hash tables configured (established 512 bind 512) [ 0.380000] TCP: reno registered [ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] NET: Registered protocol family 1 [ 0.400000] PCI: CLS 0 bytes, default 32 [ 0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.420000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.430000] msgmni has been set to 56 [ 0.440000] io scheduler noop registered [ 0.440000] io scheduler deadline registered (default) [ 0.440000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART [ 0.460000] console [ttyATH0] enabled, bootconsole disabled [ 0.480000] ath79-spi ath79-spi: master is unqueued, this is deprecated [ 0.480000] m25p80 spi0.0: found s25sl032p, expected m25p80 [ 0.490000] m25p80 spi0.0: s25sl032p (4096 Kbytes) [ 0.490000] 5 tp-link partitions found on MTD device spi0.0 [ 0.500000] Creating 5 MTD partitions on "spi0.0": [ 0.500000] 0x000000000000-0x000000020000 : "u-boot" [ 0.510000] 0x000000020000-0x000000122828 : "kernel" [ 0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.530000] 0x000000122828-0x0000003f0000 : "rootfs" [ 0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.550000] mtd: partition "rootfs" set to be root filesystem [ 0.550000] mtd: partition "rootfs_data" created automatically, ofs=0x280000, len=0x170000 [ 0.560000] 0x000000280000-0x0000003f0000 : "rootfs_data" [ 0.560000] 0x0000003f0000-0x000000400000 : "art" [ 0.570000] 0x000000020000-0x0000003f0000 : "firmware" [ 0.590000] libphy: ag71xx_mdio: probed [ 0.590000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 1.150000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY] [ 1.160000] TCP: cubic registered [ 1.160000] NET: Registered protocol family 17 [ 1.160000] Bridge firewalling registered [ 1.170000] 8021q: 802.1Q VLAN Support v1.8 [ 1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.190000] Freeing unused kernel memory: 224K (80338000 - 80370000) [ 2.930000] usbcore: registered new interface driver usbfs [ 2.940000] usbcore: registered new interface driver hub [ 2.940000] usbcore: registered new device driver usb [ 3.050000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.050000] ehci-platform: EHCI generic platform driver [ 3.060000] ehci-platform ehci-platform: EHCI Host Controller [ 3.060000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 3.070000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 3.100000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 3.100000] hub 1-0:1.0: USB hub found [ 3.100000] hub 1-0:1.0: 1 port detected [ 3.450000] usb 1-1: new full-speed USB device number 2 using ehci-platform [ 3.600000] hub 1-1:1.0: USB hub found [ 3.610000] hub 1-1:1.0: 4 ports detected [ 3.900000] usb 1-1.2: new full-speed USB device number 3 using ehci-platform [ 6.770000] jffs2: notice: (334) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 3 orphan) found. [ 6.950000] SCSI subsystem initialized [ 7.460000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 7.500000] uhci_hcd: USB Universal Host Controller Interface driver [ 7.550000] usb-storage 1-1.2:1.0: USB Mass Storage device detected [ 7.550000] usb-storage 1-1.2:1.1: USB Mass Storage device detected [ 7.560000] usb-storage 1-1.2:1.2: USB Mass Storage device detected [ 7.570000] scsi2 : usb-storage 1-1.2:1.2 [ 7.570000] usb-storage 1-1.2:1.3: USB Mass Storage device detected [ 7.580000] scsi3 : usb-storage 1-1.2:1.3 [ 7.580000] usbcore: registered new interface driver usb-storage [ 8.570000] scsi 2:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2 [ 8.580000] scsi 3:0:0:0: Direct-Access HUAWEI MMC Storage 2.31 PQ: 0 ANSI: 2 [ 8.600000] sd 3:0:0:0: [sda] 122624 512-byte logical blocks: (62.7 MB/59.8 MiB) [ 8.610000] sd 3:0:0:0: [sda] Write Protect is off [ 8.610000] sd 3:0:0:0: [sda] Mode Sense: 0f 0e 00 00 [ 8.610000] sd 3:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 8.660000] sda: sda1 [ 8.680000] sd 3:0:0:0: [sda] Attached SCSI removable disk [ 13.520000] EXT4-fs (sda1): recovery complete [ 13.530000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: [ 15.300000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5 [ 15.310000] Backport generated by backports.git backports-20130617-4-ge3220f5 [ 15.400000] cfg80211: Calling CRDA to update world regulatory domain [ 15.430000] cfg80211: World regulatory domain updated: [ 15.430000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 15.440000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 15.440000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 15.450000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 15.460000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 15.470000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 16.120000] ath: EEPROM regdomain: 0x0 [ 16.120000] ath: EEPROM indicates default country code should be used [ 16.120000] ath: doing EEPROM country->regdmn map search [ 16.120000] ath: country maps to regdmn code: 0x3a [ 16.120000] ath: Country alpha2 being used: US [ 16.120000] ath: Regpair used: 0x3a [ 16.130000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 16.140000] cfg80211: Calling CRDA for country: US [ 16.140000] cfg80211: Regulatory domain changed to country: US [ 16.150000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 16.160000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 16.160000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 16.170000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 16.180000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 16.190000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 16.200000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 16.200000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 [ 16.720000] usbcore: registered new interface driver usbserial [ 16.720000] usbcore: registered new interface driver usbserial_generic [ 16.750000] usbserial: USB Serial support registered for generic [ 16.870000] usbcore: registered new interface driver option [ 16.870000] usbserial: USB Serial support registered for GSM modem (1-port) [ 16.880000] option 1-1.2:1.0: GSM modem (1-port) converter detected [ 16.900000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0 [ 16.900000] option 1-1.2:1.1: GSM modem (1-port) converter detected [ 16.910000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1 [ 19.870000] device eth0 entered promiscuous mode [ 24.960000] cfg80211: Calling CRDA for country: RU [ 24.980000] cfg80211: Regulatory domain changed to country: RU [ 24.980000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 24.990000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 25.000000] cfg80211: (5735000 KHz - 5835000 KHz @ 20000 KHz), (N/A, 3000 mBm) [ 27.220000] device wlan0 entered promiscuous mode [ 27.550000] br-lan: port 2(wlan0) entered forwarding state [ 27.550000] br-lan: port 2(wlan0) entered forwarding state [ 29.550000] br-lan: port 2(wlan0) entered forwarding state [ 42.640000] eth0: link up (100Mbps/Full duplex) [ 42.640000] br-lan: port 1(eth0) entered forwarding state [ 42.650000] br-lan: port 1(eth0) entered forwarding state [ 44.650000] br-lan: port 1(eth0) entered forwarding state Последний раз редактировалось Banan; 03.11.2014 в 10:53. |
![]() |
![]() |
![]() |
#357 |
Administrator
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,618
Вес репутации: 9824 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]()
Пакеты PPP обязательно нужны
|
![]() |
![]() |
![]() |
#358 |
Junior Member
Регистрация: 30.10.2014
Сообщений: 13
Вес репутации: 0 ![]() |
![]()
Установил. Там chap-secrets пустые. Полагаю что-то прописать надобно. Поиск по форуму ничего не дал....
|
![]() |
![]() |
![]() |
#359 |
Junior Member
Регистрация: 30.10.2014
Сообщений: 13
Вес репутации: 0 ![]() |
![]()
Помогите дожать...
Установил пакет firewall Установил kmod-ppp и ppp - они подтянули ещё нужные им. Снова настроил как на 3-й странице. Интернет не пошел. ![]() Т.е. IP раздаются как по Wi-fi, так и по LAN. Модем интернет получает и в роутере он есть (есть бегущая строка и индикатор модема горит постоянно). Пробовал в network и ttyUSB1 и ttyUSB2 без изменений. Пробовал firewall прописать по инструкции с другого сайта все равно интернет не раздается (удаление файла не помогает): Код:
config defaults option syn_flood '1' option input 'ACCEPT' option output 'ACCEPT' option forward 'REJECT' config zone option name 'lan' option input 'ACCEPT' option output 'ACCEPT' option forward 'ACCEPT' option network 'lan' config zone option name 'wan' option network 'wan' option input 'ACCEPT' option output 'ACCEPT' option forward 'REJECT' option masq '1' option mtu_fix '1' config forwarding option src 'lan' option dest 'wan' config rule option src 'wan' option dest_port '22' option target 'ACCEPT' option proto 'tcp' config rule option name 'Allow-DHCP-Renew' option src 'wan' option proto 'udp' option dest_port '68' option target 'ACCEPT' option family 'ipv4' config rule option name 'Allow-Ping' option src 'wan' option proto 'icmp' option icmp_type 'echo-request' option family 'ipv4' option target 'ACCEPT' config rule option name 'Allow-DHCPv6' option src 'wan' option proto 'udp' option src_ip 'fe80::/10' option src_port '547' option dest_ip 'fe80::/10' option dest_port '546' option family 'ipv6' option target 'ACCEPT' config rule option name 'Allow-ICMPv6-Input' option src 'wan' option proto 'icmp' list icmp_type 'echo-request' list icmp_type 'echo-reply' list icmp_type 'destination-unreachable' list icmp_type 'packet-too-big' list icmp_type 'time-exceeded' list icmp_type 'bad-header' list icmp_type 'unknown-header-type' list icmp_type 'router-solicitation' list icmp_type 'neighbour-solicitation' list icmp_type 'router-advertisement' list icmp_type 'neighbour-advertisement' option limit '1000/sec' option family 'ipv6' option target 'ACCEPT' config rule option name 'Allow-ICMPv6-Forward' option src 'wan' option dest '*' option proto 'icmp' list icmp_type 'echo-request' list icmp_type 'echo-reply' list icmp_type 'destination-unreachable' list icmp_type 'packet-too-big' list icmp_type 'time-exceeded' list icmp_type 'bad-header' list icmp_type 'unknown-header-type' option limit '1000/sec' option family 'ipv6' option target 'ACCEPT' config include option path '/etc/firewall.user' О системе Код:
Свободное и используемое место в разделах Filesystem Size Used Available Use% Mounted on rootfs 236.9M 4.8M 215.6M 2% / /dev/root 1.5M 1.5M 0 100% /rom tmpfs 14.1M 76.0K 14.1M 1% /tmp /dev/sda1 236.9M 4.8M 215.6M 2% /overlay overlayfs:/overlay 236.9M 4.8M 215.6M 2% / tmpfs 512.0K 0 512.0K 0% /dev Информация о сетевых устройствах 3g-wan Link encap:Point-to-Point Protocol inet addr:10.193.168.153 P-t-P:10.64.64.64 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 RX packets:23 errors:0 dropped:0 overruns:0 frame:0 TX packets:26 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:3922 (3.8 KiB) TX bytes:1608 (1.5 KiB) br-lan Link encap:Ethernet HWaddr 64:70:02:72:64:37 inet addr:192.168.1.55 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:194 errors:0 dropped:0 overruns:0 frame:0 TX packets:89 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:18020 (17.5 KiB) TX bytes:24537 (23.9 KiB) eth0 Link encap:Ethernet HWaddr 64:70:02:72:64:37 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:219 errors:0 dropped:0 overruns:0 frame:0 TX packets:89 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:23200 (22.6 KiB) TX bytes:24537 (23.9 KiB) Interrupt:4 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:16 errors:0 dropped:0 overruns:0 frame:0 TX packets:16 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:3398 (3.3 KiB) TX bytes:3398 (3.3 KiB) wlan0 Link encap:Ethernet HWaddr 64:70:02:72:64:37 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:54 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:6878 (6.7 KiB) Настройки WiFi адаптера config wifi-device 'radio0' option type 'mac80211' option macaddr '64:70:02:72:64:37' # ваш mac адрес 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 country 'RU' option disabled '0' option txpower '20' option channel 'auto' # Access Point MR3020 #--------------------- config wifi-iface option device 'radio0' # option network 'lan' # LAN и WLAN соединены мостом (bridged) поэтому lan option mode 'ap' # AP mode option ssid 'OpenWrt' # Wi-Fi name option encryption 'psk2' # type crypt option key '#скрыл' # key crypt Настройки сети #============================= # network # # Режим 3G <--> wlan and lan #============================= config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' # LAN (Ethernet) #---------------- config interface 'lan' option ifname 'eth0' option type 'bridge' # LAN и WLAN соединены мостом (bridged) option proto 'static' option ipaddr '192.168.1.55' # ip роутера option netmask '255.255.255.0' # 3G modem будет на интерфесе WAN # ------------------------------- config interface 'wan' option proto '3g' option device '/dev/ttyUSB0' option service 'umts' option apn 'internet.beeline.ru' # настройки на вашего провайдера option username 'beeline' # option password 'beeline' # option auto '1' # auto up 0 - не поднимать 1-поднимать соединение автоматом. Параметры UART порта Список установленных пакетов base-files - 146-r37816 block-mount - 2013-08-16.1-5290ec879aa4d9f4192df00aad4434b0f0afa872 busybox - 1.19.4-7 chat - 2.4.5-10 comgt - 0.32-21 dnsmasq - 2.66-3 dropbear - 2012.55-2 e2fsprogs - 1.42.4-1 fdisk - 2.21.2-2 firewall - 2013-08-14 iw - 3.10-1 jshn - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e kernel - 3.10.4-1-6910dd36396650e8ef41514cdbde550a kmod-ath - 3.10.4+2013-06-27-1 kmod-ath9k - 3.10.4+2013-06-27-1 kmod-ath9k-common - 3.10.4+2013-06-27-1 kmod-cfg80211 - 3.10.4+2013-06-27-1 kmod-crypto-aes - 3.10.4-1 kmod-crypto-arc4 - 3.10.4-1 kmod-crypto-core - 3.10.4-1 kmod-crypto-hash - 3.10.4-1 kmod-crypto-manager - 3.10.4-1 kmod-fs-ext4 - 3.10.4-1 kmod-gpio-button-hotplug - 3.10.4-1 kmod-input-core - 3.10.4-1 kmod-ipt-conntrack - 3.10.4-1 kmod-ipt-core - 3.10.4-1 kmod-ipt-nat - 3.10.4-1 kmod-leds-gpio - 3.10.4-1 kmod-ledtrig-default-on - 3.10.4-1 kmod-ledtrig-netdev - 3.10.4-1 kmod-ledtrig-timer - 3.10.4-1 kmod-lib-crc-ccitt - 3.10.4-1 kmod-lib-crc16 - 3.10.4-1 kmod-mac80211 - 3.10.4+2013-06-27-1 kmod-nls-base - 3.10.4-1 kmod-ppp - 3.10.4-1 kmod-scsi-core - 3.10.4-1 kmod-slhc - 3.10.4-1 kmod-usb-core - 3.10.4-1 kmod-usb-ohci - 3.10.4-1 kmod-usb-serial - 3.10.4-1 kmod-usb-serial-option - 3.10.4-1 kmod-usb-serial-wwan - 3.10.4-1 kmod-usb-storage - 3.10.4-1 kmod-usb-uhci - 3.10.4-1 kmod-usb2 - 3.10.4-1 libblkid - 2.21.2-2 libblobmsg-json - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e libc - 0.9.33.2-1 libext2fs - 1.42.4-1 libgcc - 4.6-linaro-1 libip4tc - 1.4.19.1-2 libip6tc - 1.4.19.1-2 libjson-c - 0.11-2 libjson-script - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e libnl-tiny - 0.1-3 libpthread - 0.9.33.2-1 librt - 0.9.33.2-1 libubox - 2013-08-01-04f194aa8a04926fe7f2e42bbf9ba6c62d49339e libubus - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8 libuci - 2013-06-11.1-1 libusb-1.0 - 1.0.9-1 libuuid - 2.21.2-2 libxtables - 1.4.19.1-2 mtd - 20 netifd - 2013-07-16-2674941b06c1ec67f1aff1bff9212e1372106641 opkg - 618-3 ppp - 2.4.5-10 pppstats - 2.4.5-10 procd - 2013-08-16-85a5ce27f5f02e4ddab6916d69ba7f7375d289d4-1 uboot-envtools - 2013.07-rc1-2 ubox - 2013-08-16.1-5290ec879aa4d9f4192df00aad4434b0f0afa872 ubus - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8 ubusd - 2013-08-08-b20a8a01c7faea5bcc9d34d10dcf7736589021b8 uci - 2013-06-11.1-1 uhttpd - 2013-07-31-fae8886f8aa5d996c8de607abea8b677216549b5 usb-modeswitch - 2013-08-20-575c8e8dec6d1f544debe867ebc0bde051209c17 wpad-mini - 20130807-1 Код:
root@CyberWrt:/www/> dmesg [ 0.000000] Linux version 3.10.4 (cyberwrt@cyberwrt) (gcc version 4.6.4 (OpenWrt/Linaro GCC 4.6-2012.12 r37816) ) #1 Mon Nov 25 16:28:55 MSK 2013 [ 0.000000] MyLoader: sysp=444ba8b5, boardp=5fbcaeef, parts=ebc66edc [ 0.000000] bootconsole [early0] enabled [ 0.000000] CPU revision is: 00019374 (MIPS 24Kc) [ 0.000000] SoC: Atheros AR9330 rev 1 [ 0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 02000000 @ 00000000 (usable) [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x00000000-0x01ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x01ffffff] [ 0.000000] On node 0 totalpages: 8192 [ 0.000000] free_area_init_node: node 0, pgdat 80320b60, node_mem_map 81000000 [ 0.000000] Normal zone: 64 pages used for memmap [ 0.000000] Normal zone: 0 pages reserved [ 0.000000] Normal zone: 8192 pages, LIFO batch:0 [ 0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes [ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768 [ 0.000000] pcpu-alloc: [0] 0 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 8128 [ 0.000000] Kernel command line: board=TL-MR3020 console=ttyATH0,115200 rootfstype=squashfs,jffs2 noinitrd [ 0.000000] PID hash table entries: 128 (order: -3, 512 bytes) [ 0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes) [ 0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Writing ErrCtl register=00000000 [ 0.000000] Readback ErrCtl register=00000000 [ 0.000000] Memory: 28716k/32768k available (2305k kernel code, 4052k reserved, 602k data, 224k init, 0k highmem) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] NR_IRQS:51 [ 0.080000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104) [ 0.080000] pid_max: default: 32768 minimum: 301 [ 0.080000] Mount-cache hash table entries: 512 [ 0.090000] NET: Registered protocol family 16 [ 0.100000] MIPS: machine is TP-LINK TL-MR3020 [ 0.350000] bio: create slab at 0 [ 0.360000] Switching to clocksource MIPS [ 0.360000] NET: Registered protocol family 2 [ 0.370000] TCP established hash table entries: 512 (order: 0, 4096 bytes) [ 0.370000] TCP bind hash table entries: 512 (order: -1, 2048 bytes) [ 0.370000] TCP: Hash tables configured (established 512 bind 512) [ 0.380000] TCP: reno registered [ 0.380000] UDP hash table entries: 256 (order: 0, 4096 bytes) [ 0.390000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) [ 0.400000] NET: Registered protocol family 1 [ 0.400000] PCI: CLS 0 bytes, default 32 [ 0.420000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.420000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.430000] msgmni has been set to 56 [ 0.440000] io scheduler noop registered [ 0.440000] io scheduler deadline registered (default) [ 0.440000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.460000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART [ 0.460000] console [ttyATH0] enabled, bootconsole disabled [ 0.480000] ath79-spi ath79-spi: master is unqueued, this is deprecated [ 0.480000] m25p80 spi0.0: found s25sl032p, expected m25p80 [ 0.490000] m25p80 spi0.0: s25sl032p (4096 Kbytes) [ 0.490000] 5 tp-link partitions found on MTD device spi0.0 [ 0.500000] Creating 5 MTD partitions on "spi0.0": [ 0.500000] 0x000000000000-0x000000020000 : "u-boot" [ 0.510000] 0x000000020000-0x000000122828 : "kernel" [ 0.510000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.530000] 0x000000122828-0x0000003f0000 : "rootfs" [ 0.530000] mtd: partition "rootfs" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 0.550000] mtd: partition "rootfs" set to be root filesystem [ 0.550000] mtd: partition "rootfs_data" created automatically, ofs=0x280000, len=0x170000 [ 0.560000] 0x000000280000-0x0000003f0000 : "rootfs_data" [ 0.560000] 0x0000003f0000-0x000000400000 : "art" [ 0.570000] 0x000000020000-0x0000003f0000 : "firmware" [ 0.590000] libphy: ag71xx_mdio: probed [ 0.590000] eth0: Atheros AG71xx at 0xb9000000, irq 4, mode:MII [ 1.150000] ag71xx ag71xx.0 eth0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY] [ 1.160000] TCP: cubic registered [ 1.160000] NET: Registered protocol family 17 [ 1.160000] Bridge firewalling registered [ 1.170000] 8021q: 802.1Q VLAN Support v1.8 [ 1.180000] VFS: Mounted root (squashfs filesystem) readonly on device 31:2. [ 1.190000] Freeing unused kernel memory: 224K (80338000 - 80370000) [ 2.930000] usbcore: registered new interface driver usbfs [ 2.940000] usbcore: registered new interface driver hub [ 2.940000] usbcore: registered new device driver usb [ 3.050000] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 3.050000] ehci-platform: EHCI generic platform driver [ 3.060000] ehci-platform ehci-platform: EHCI Host Controller [ 3.060000] ehci-platform ehci-platform: new USB bus registered, assigned bus number 1 [ 3.070000] ehci-platform ehci-platform: irq 3, io mem 0x1b000000 [ 3.100000] ehci-platform ehci-platform: USB 2.0 started, EHCI 1.00 [ 3.100000] hub 1-0:1.0: USB hub found [ 3.100000] hub 1-0:1.0: 1 port detected [ 3.450000] usb 1-1: new full-speed USB device number 2 using ehci-platform [ 3.600000] hub 1-1:1.0: USB hub found [ 3.610000] hub 1-1:1.0: 4 ports detected [ 3.900000] usb 1-1.1: new full-speed USB device number 3 using ehci-platform [ 4.010000] usb 1-1.1: not running at top speed; connect to a high speed hub [ 4.100000] usb 1-1.2: new full-speed USB device number 4 using ehci-platform [ 6.230000] eth0: link up (100Mbps/Full duplex) [ 6.770000] jffs2: notice: (335) jffs2_build_xattr_subsystem: complete building xattr subsystem, 1 of xdatum (1 unchecked, 0 orphan) and 12 of xref (0 dead, 3 orphan) found. [ 6.950000] SCSI subsystem initialized [ 7.460000] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 7.500000] uhci_hcd: USB Universal Host Controller Interface driver [ 7.550000] usb-storage 1-1.1:1.0: USB Mass Storage device detected [ 7.550000] scsi0 : usb-storage 1-1.1:1.0 [ 7.560000] usb-storage 1-1.2:1.0: USB Mass Storage device detected [ 7.560000] usb-storage 1-1.2:1.1: USB Mass Storage device detected [ 7.570000] usb-storage 1-1.2:1.2: USB Mass Storage device detected [ 7.580000] usbcore: registered new interface driver usb-storage [ 8.560000] scsi 0:0:0:0: Direct-Access OTi Flash Disk 2.00 PQ: 0 ANSI: 2 [ 9.780000] ready [ 9.780000] sd 0:0:0:0: [sda] 511488 512-byte logical blocks: (261 MB/249 MiB) [ 9.790000] sd 0:0:0:0: [sda] Write Protect is off [ 9.790000] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00 [ 9.800000] sd 0:0:0:0: [sda] No Caching mode page present [ 9.800000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 9.830000] sd 0:0:0:0: [sda] No Caching mode page present [ 9.830000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 9.850000] sda: sda1 [ 9.860000] sd 0:0:0:0: [sda] No Caching mode page present [ 9.870000] sd 0:0:0:0: [sda] Assuming drive cache: write through [ 9.880000] sd 0:0:0:0: [sda] Attached SCSI removable disk [ 13.150000] EXT4-fs (sda1): recovery complete [ 13.170000] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: [ 13.220000] eth0: link down [ 14.960000] Loading modules backported from Linux version master-2013-06-27-0-gdcfa6d5 [ 14.970000] Backport generated by backports.git backports-20130617-4-ge3220f5 [ 15.060000] cfg80211: Calling CRDA to update world regulatory domain [ 15.090000] cfg80211: World regulatory domain updated: [ 15.090000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 15.100000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 15.100000] cfg80211: (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 15.110000] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm) [ 15.120000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 15.130000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 15.790000] ath: EEPROM regdomain: 0x0 [ 15.790000] ath: EEPROM indicates default country code should be used [ 15.790000] ath: doing EEPROM country->regdmn map search [ 15.790000] ath: country maps to regdmn code: 0x3a [ 15.790000] ath: Country alpha2 being used: US [ 15.790000] ath: Regpair used: 0x3a [ 15.910000] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 15.930000] ieee80211 phy0: Atheros AR9330 Rev:1 mem=0xb8100000, irq=2 [ 16.020000] PPP generic driver version 2.4.2 [ 16.050000] cfg80211: Calling CRDA for country: US [ 16.050000] cfg80211: Regulatory domain changed to country: US [ 16.050000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 16.060000] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2700 mBm) [ 16.070000] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 1700 mBm) [ 16.080000] cfg80211: (5250000 KHz - 5330000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 16.090000] cfg80211: (5490000 KHz - 5600000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 16.090000] cfg80211: (5650000 KHz - 5710000 KHz @ 40000 KHz), (300 mBi, 2000 mBm) [ 16.100000] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 3000 mBm) [ 16.150000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 16.280000] xt_time: kernel timezone is -0000 [ 16.380000] nf_conntrack version 0.5.0 (452 buckets, 1808 max) [ 16.840000] usbcore: registered new interface driver usbserial [ 16.840000] usbcore: registered new interface driver usbserial_generic [ 16.860000] usbserial: USB Serial support registered for generic [ 16.920000] usbcore: registered new interface driver option [ 16.920000] usbserial: USB Serial support registered for GSM modem (1-port) [ 16.930000] option 1-1.2:1.0: GSM modem (1-port) converter detected [ 16.940000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB0 [ 16.940000] option 1-1.2:1.1: GSM modem (1-port) converter detected [ 16.960000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB1 [ 16.960000] option 1-1.2:1.2: GSM modem (1-port) converter detected [ 16.990000] usb 1-1.2: GSM modem (1-port) converter now attached to ttyUSB2 [ 20.880000] device eth0 entered promiscuous mode [ 21.300000] eth0: link up (100Mbps/Full duplex) [ 21.300000] br-lan: port 1(eth0) entered forwarding state [ 21.310000] br-lan: port 1(eth0) entered forwarding state [ 23.310000] br-lan: port 1(eth0) entered forwarding state [ 25.330000] cfg80211: Calling CRDA for country: RU [ 25.350000] cfg80211: Regulatory domain changed to country: RU [ 25.350000] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp) [ 25.360000] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm) [ 25.370000] cfg80211: (5735000 KHz - 5835000 KHz @ 20000 KHz), (N/A, 3000 mBm) [ 27.590000] device wlan0 entered promiscuous mode [ 27.910000] br-lan: port 2(wlan0) entered forwarding state [ 27.920000] br-lan: port 2(wlan0) entered forwarding state [ 29.920000] br-lan: port 2(wlan0) entered forwarding state |
![]() |
![]() |
![]() |
#360 |
Senior Member
Регистрация: 25.11.2013
Сообщений: 116
Вес репутации: 0 ![]() |
![]()
Вам нужно включить режим моста между wan и wlan интерфейсами
|
![]() |
![]() |
![]() |
Метки |
network openwrt, wi-fi openwrt, настройка сети openwrt |
Здесь присутствуют: 5 (пользователей: 0 , гостей: 5) | |
|
|