Форум обсуждения систем  

Вернуться   Форум обсуждения систем "Умный дом", проектов Ардуино, OpenWRT и других DIY устройств > Форум умного дома > Сделай сам > OpenWRT/LEDE

Ответ
 
Опции темы Поиск в этой теме Опции просмотра
Старый 03.01.2013, 21:34   #31
MiRRoR
Junior Member
 
Регистрация: 03.01.2013
Сообщений: 1
Вес репутации: 0
MiRRoR is an unknown quantity at this point
По умолчанию

Здравствуйте! TP-Link TL-MR3020 Прошил на OpenWRT. Стал настраивать почти как в 3 посте Network, Wireless, Firewall.

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 netmask '255.255.255.0'
option dns '192.168.1.1'
option ipaddr '192.168.2.99'
option gateway '192.168.1.20'
list dns '8.8.8.8'
list dns '8.8.4.4'

config interface 'wwan'
option proto 'static'
option netmask '255.255.255.0'
option gateway '192.168.1.1'
option dns '192.168.1.1'
option ipaddr '192.168.1.20'
Wireless

Цитата:
config wifi-device 'radio0'
option type 'mac80211'
option hwmode '11ng'
option htmode 'HT20'
list ht_capab 'SHORT-GI-40'
list ht_capab 'RX-STBC1'
list ht_capab 'TX-STBC1'
list ht_capab 'DSSS_CCK-40'
option disabled '0'
option channel '1'
option country 'RU'
option txpower '20'

config wifi-iface
option ssid 'WiFi'
option device 'radio0'
option mode 'sta'
option bssid 'C8:6C:87:72:C4:EC'
option key 'qwert'
option encryption 'psk2+tkip+aes'
option network 'wwan'
Firewall

Цитата:
config defaults
option syn_flood '1'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'

config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option network ' '

config zone
option name 'wan'
option network 'wan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
option masq '1'
option mtu_fix '1'

config forwarding
option src 'lan'
option dest 'wan'

config forwarding
option src 'wan'
option dest 'lan'

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'
После чего перезапустил роутер и теперь Windows пишет Неопознанная сеть. Что делать?!

Последний раз редактировалось MiRRoR; 03.01.2013 в 22:02.
MiRRoR вне форума   Ответить с цитированием
Старый 04.01.2013, 12:39   #32
Admin
Administrator
 
Аватар для Admin
 
Регистрация: 12.04.2010
Адрес: Москва
Сообщений: 9,616
Вес репутации: 9821
Admin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant futureAdmin has a brilliant future
По умолчанию

Вы подключаетесь через LAN ?
Эти настройки для подключения к WiFi сети в режиме клиента
Admin вне форума   Ответить с цитированием
Старый 06.01.2013, 02:45   #33
amod-cccp
Senior Member
 
Аватар для amod-cccp
 
Регистрация: 05.01.2013
Адрес: Беларусь
Сообщений: 241
Вес репутации: 633
amod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond repute
По умолчанию

Вопрос. При переходе на OpenWrt, подключится к провайдеру по VPN можно будет?
amod-cccp вне форума   Ответить с цитированием
Старый 06.01.2013, 06:53   #34
andr128
Senior Member
 
Аватар для andr128
 
Регистрация: 16.09.2012
Адрес: Irkutsk
Сообщений: 555
Вес репутации: 1604
andr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond repute
По умолчанию

А что в понятие VPN вы вкладываете? Если PPPoE, то пост №9
andr128 вне форума   Ответить с цитированием
Старый 06.01.2013, 13:14   #35
amod-cccp
Senior Member
 
Аватар для amod-cccp
 
Регистрация: 05.01.2013
Адрес: Беларусь
Сообщений: 241
Вес репутации: 633
amod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond repute
По умолчанию

Вот что провайдер пишет: http://aplus.by/ru/help/article/item/7.html#content
Надеюсь откроется страничка.
amod-cccp вне форума   Ответить с цитированием
Старый 07.01.2013, 09:24   #36
andr128
Senior Member
 
Аватар для andr128
 
Регистрация: 16.09.2012
Адрес: Irkutsk
Сообщений: 555
Вес репутации: 1604
andr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond repute
По умолчанию

У меня нет возможности проверить pptp. Поэтому попробуйте сами настроить по аналогии.

http://wiki.openwrt.org/doc/howto/vpn.client.pptp

http://wiki.openwrt.org/doc/uci/netw...net.connection
andr128 вне форума   Ответить с цитированием
Старый 07.01.2013, 11:48   #37
amod-cccp
Senior Member
 
Аватар для amod-cccp
 
Регистрация: 05.01.2013
Адрес: Беларусь
Сообщений: 241
Вес репутации: 633
amod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond repute
По умолчанию

Спасибо. Куплю роутер, сразу попробую.
amod-cccp вне форума   Ответить с цитированием
Старый 19.01.2013, 04:32   #38
amod-cccp
Senior Member
 
Аватар для amod-cccp
 
Регистрация: 05.01.2013
Адрес: Беларусь
Сообщений: 241
Вес репутации: 633
amod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond reputeamod-cccp has a reputation beyond repute
По умолчанию

Скажите пожалуйста. Существует ли в OpenWRT разделение интернет канала на подключенные устройства?
Попробую объяснить. Например ставим transmission. И что бы при обращении в интернет с другого устройства подключенного по wifi, по умерил свой аппетит и не забивал канал. Или дайте ключевые слова в гугл. Думаю найдется решение.
Извините если технически не грамотно написал. Я еще только учусь.
amod-cccp вне форума   Ответить с цитированием
Старый 19.01.2013, 04:55   #39
andr128
Senior Member
 
Аватар для andr128
 
Регистрация: 16.09.2012
Адрес: Irkutsk
Сообщений: 555
Вес репутации: 1604
andr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond reputeandr128 has a reputation beyond repute
По умолчанию

bandwidth management openwrt

насчет transmission - наверно вы сами можите регулировать скорость. Как уменьшить ширину канала автоматом я не подскажу.

Последний раз редактировалось andr128; 19.01.2013 в 16:08.
andr128 вне форума   Ответить с цитированием
Ответ

Метки
network openwrt, wi-fi openwrt, настройка сети openwrt


Здесь присутствуют: 29 (пользователей: 0 , гостей: 29)
 

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Текущее время: 15:14. Часовой пояс GMT +3.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot
Яндекс.Метрика