Freshtomato настройка 3g модема
Но у стоковой прошивки есть огромное преимущество: ни одна другая альтернативная прошивка не может похвастаться такой же скоростью работы как маршрутизатора в целом, так и Wi-Fi в частности.
Как расшифровываются названия файлов прошивок Tomato by Shibby
Названия файлов прошивок содержат в себе информацию о модели маршрутизатора, состава ПО и версии прошивки. Разберем на примере:
- K26 – версия ядра Linux 2.6
- USB — в прошивке есть поддержка USB порта, возможно подключение внешних накопителей (диски, флешки)
- RT — поддержка маршрутизаторов серии RT-N
- MIPSR2 — поддержка процессоров используемых в маршрутизаторах Asus RT-N16, NetGear WNR3500Lv1 и т.д.
- 093 — версия прошивки Tomato by Shibby
- AIO — состав прошивки (набор дополнительного программного обеспечения включенного в прошивку)
Прошивка TOMATO для NetGear WNR3500L
Это прошивка написана для роутеров на чипсетах Broadcom и является второй по скорости работы после заводской. Но при этом имеет множество возможностей, развивается по сей день и позволяет установить дополнительное программное обеспечение (при подключении внешнего жесткого диска и репозитория).
Именно об этой прошивке пойдет речь данной статье.
Подготовка жесткого диска для прошивки Tomato
Прошивка поддерживает внешние жесткие диски и флешки с интерфейсом USB. Я использую Western Digital Scorpio Blue WD2500BEVT на 250 Гб во внешнем боксе с интерфейсом USB. Дополнительных источников питания не использую, с нагрузкой справляется штатный блок питания маршрутизатора.
Прошивка TomatoUSB поддерживает несколько файловых систем EXT2/3, NTFS, FAT. Для максимальной скорости обмена данными с диском и меньшей нагрузке на процессор я рекомендую использовать файловую систему EXT3.
Настройка OpenVpn
Опишу также кратко настройку VPN сервера с храненим ключей на flash.
Генерирование ключей детально описано в моем посте
"Настройка OpenVPN с использованием сертификатов X.509 (На примере FreeBSD и роутера на DD-WRT)"В конце поста также описано, какие файлы что должны содержать и где находиться.
Считаем, что у Вас уже это все есть, если нет то я думаю не составит большого труда это сделать.
Помещаем всю структуру фалов и папок на флешке в папку openvpn.
Заходим VPN Tunneling
Выбираем Server1, затем Basic.
После чего добавляю свою дополнительные значения конфигурации
Примечание: все пути у конфигам, ключам и сертификатам в /opt/openvpn, т.к. я добавил все эти данные на флеш.
Поэтому я не использую следующую вкладку Keys.
Если у Вас нет дополнительного носителя информации подключенного к роутеру, то можно указать все данные в этой вкладке и убрать из дополнительной конфигурации все пути к ним
После чего можно нажать ниже Start и если Вы все настроили правильно, то должны подключиться и в Status должна быть следующая картина
Обязательно нужно перезагрузить, чтоб убедиться, что все работает нормально после рестарта системы и Вы все изменения сохранили.
Настройка Wifi
Заходим Basic-> Network раздел Wireles
Ставим галочку "Enable Wireless",
Выставляем SSID - название безпроводной сети которое будет светиться.
Напротив Channel нажимаем Scan и получаем, данные на каких каналах висят соседние wifi роутеры.
Как правило автоматом выбирается тот канал, на котором меньше всего будет помех.
Вводим ключ доступа к сети, который должен будет вводиться на устройствах, которые хотят подключиться к нашей беспроводной сети.
Так же можно настроить фильтр по mac адресам.
Заходим Basic-> Wireless Filter
Внем можно указать, каким устройствам можно подключаться (как у меня) или наоборот нельзя.
Если у Вас постоянно кто-то новый подсоединяется к беспроводной сети, то лучше эту опцию не трогать, т.к. каждый раз нужно будет добавлять mac адрес устройства в доверенные.
Добавляем Mac адрес и описание, что это за устройство. Нажимаем Add.
Выставляем 2-й вариант, который разрешает подсоединяться только устройству с указанным Mac/
Примечание: также можно выставить множество дополнительных настроек для Wifi в Advanced-> Wireless. Например мощность передачи.
Как сбросить настройки Tomato
В большинстве случаев к роутеру с прошивкой TOMATO сразу после прошивки не возможно получить доступ. Поэтому нужно сбросить настройки к значениям по-умолчанию, для чего делаем Hard Reset:
- выключаем маршрутизатор;
- нажимаем и удерживаем кнопку Reset (понадобится спичка, зубочистка и т.п.);
- включаем роутер;
- через 20..30 секунд отпускаем кнопку Reset.
Спустя несколько минут настройки сбросятся к значениям по-умолчанию. Роутер получит адрес 192.168.1.1, точка доступа будет именоваться Tomato24.
Для подключения в качестве имени пользователя используйте — admin, пароль — admin.
Автомонтирование разделов в Tomato
Прошивка Tomato может автоматически монтировать все разделы в папку /mnt. Чтобы это произошло активируйте опцию «Automount» на странице настроек USB and NAS -> USB Support (/nas-usb.asp)
Но эта настройка не распространяется на SWAP и его нужно подключать вручную.
Для подключения раздела подкачки используйте команду в окне опций «Run after mounting»:
где sda2 — раздел подкачки
При подключении файла подкачки пропишите там же такую команду:
где /opt/swapfile — адрес (путь) файла подкачки.
Просмотр IP TV провайдера
Если провайдер передает IP TV мультикастом не используя VLAN, то нужно входящий трафик завернуть на телевизионную приставку. К примеру, если приставка подсоединена в четвертый порт коммутатора, то его нужно объединить с WAN портом:
Как отформатировать диск в EXT3 и создать раздел подкачки SWAP-Linux из под Windows
Если будет использовать раздел подкачки SWAP, то для его создания воспользуйтесь MiniTool® Partition Wizard Free.
Как создать файл подкачки
Для маршрутизатора NetGear WNR3500L достаточно файла подкачки 64-128 МБайт. Чтобы его создать используйте следующие команды подключившись к роутеру по SSH (пример для 64 МБ):
MultiWAN
Number of WAN ports: This lets you select the number of WAN ports to be used on the device. On routers with only one physical WAN interface, options with WAN ports larger than one will be greyed out. This allows you to select only “1 WAN” on such devices.
Check Connections Every: This is a quick way to make FreshTomato automatically test the reliability of your WAN connection. (Default: Disabled). Choosing any setting other than [Disabled] will execute the Watchdog script. The Watchdog script uses ping or traceroute to test WAN connection status.
This setting specifies how often you want the router to send ICMP ping packets to check that it is still connected to the Internet. Choosing any setting other than Disabled will make the Target 1 and Target 2 fields appear.
Подготовка диска к использованию
Чтобы в дальнейшем использовать внешний репозиторий создадим в корне диска папку opt и назначим ей точку монтирования /opt:
Где sda1 раздел диска, который мы будем использовать для записи данных и установки дополнительного ПО из репозитория.
Чтобы монтирование происходило каждый раз при включении маршрутизатора добавим команду
в поле «Run after mounting» на странице USB and NAS -> USB Support (/nas-usb.asp)
Настройка интернета
У моего провайдера используется PPPoE
Заходим Basic-> Network раздел WAN/Internet
Здесь просто выбираете тип соединения с провайдером и забиваете данные. Поле Service Name - просто комментарий, можно написать название провайдера
Включаем поддержку USB устройств
Также будет полезным подключить что-то к USB, например flash.
Нужна для сохранения данных.
Как вариант использование в качестве файлового сервера внутри сети и не только.
Также можно подключить принтер использовать роутер как принтсервер для сети (если принтер не обладает этой возможностью сам, а также не хочется держать какой-то ПК постоянно включенным)
Для начала включаем поддержку USB устройств.
Поддержку файловых систем.
Автоматическое монтирование устройства в /mnt (устройство будет смонтировано либо в /mnt/sda/ , либо в /mnt/sdb/).
Также у меня выполняется монтирование каталога /mnt/sda/ поверх /opt, т.е. в /opt теперь будет тоже самое содержимое что и в /mnt/sda/.
Соответсвенно делаю и отмонтирование.
Очень полезно, т.к это делается до запуска остальных приложений и вполне может заменять настройки в fstab
Т.е. устройство примонтировалось и готово к работе
Установка репозитория Entware
Нужно подключиться к маршрутизатору по SSH и выполнить в консоли следующие команды:
После чего можно установить необходимые приложения:
Что использовать раздел подкачки или файл подкачки
На ядрах Linux 2.6 и выше файл подкачки работает так же быстро как и раздел подкачки. Поэтому используйте то что вам удобнее.
Альтернативные прошивки для NetGear WNR3500L
Как узнать состав прошивки Tomato by Shibby
Только аббревиатура AIO (All in one) понятна с первого взгляда, ее применяют когда в прошивку включены все возможные модули. Для остальных случаев используйте следующую таблицу:
Изменение темы админки
Первое что я делаю, это изменение темы на более приятную глазам
Attached Devices
The Attached Devices section includes a table listing devices FreshTomato detects as attached to its USB ports. The table includes columns describing the device's Type, and the Host controller number on which the device was detected. The column headings also include a plain English Description of the media found and the media's status as mounted or unmounted.
If a drive is not mounted, clicking on the [Mount] option beside it will mount the drive, to a mountpoint as described earlier.
If a drive is mounted, clicking on the [Unmount] button will unmount the drive, leaving it ready to remove/disconnect.
Где брать прошивки для NetGear WNR3500L
Актуальные прошивки Tomato для маршрутизатора NetGear WNR3500L версии 1 лучше брать здесь:
-
— Прошивка TomatoUSB доработанная Michal Rupental (Tomato by Shibby) — Прошивка FreshTomato, дальнейшее развитие Tomato by Shibby
Notes
Changing USB storage settings which require loading/reloading of the USB storage drivers may affect the content in your syslog (system log) file. For example, enabling or disabling filesystems, or unmounting the drive where the syslog file is stored may cause storage errors and possibly loss of some syslog content.
For this reason, it is recommended that if you want to change any USB filesystem settings, you first reconfigure syslog to be stored in RAM. Only then should you adjust filesystem settings and/or unmount the drive. After that, you can safely configure syslog to be safely stored on USB storage once again, where it should not be interrupted.
USB filesystem corruption is one of the most common causes of system instability. Keep this in mind when troubleshooting router issues. You could experience a VPN connectivity issue, WiFi instability or any other sort of random problem which might be directly or indirectly caused by USB filesystem issues. Make sure to add USB filesystem checks to your troubleshooting checklist.
The Network page includes most settings needed to configure the network. It is divided into sections including MultiWAN, WAN Settings, Ethernet Ports Configuration, LAN and Wireless setttings.
Какую прошивку выбрать для роутера
Идеальный вариант — это использовать прошивку «все-в-одном», но следует помнить, что в NetGear WNR3500L v1 всего 8 МБ флеш памяти. И поэтому не каждая прошивка «влезет». И если быть более точным, то максимальный размер прошивки не должен превышать 7,5 Мбайт. Учитывайте это когда будете заливать прошивку в роутер.
Я заливал следующие прошивки и они гарантированно работают (во всяком случае запускаются):
Как прошить Tomato в NetGear WNR3500L
А уже потом из прошивки DD-WRT нужно залить TOMATO.
Настройка времени
Заходим Basic->Time
Time Zone - выбираем Ваш часовой пояс
Auto Update Time - указываем как часто синхронизировать время
NTP Time Server - указываем с какими серверами синхронизировать время
USB Support
Core USB Support: Checking this enables the FreshTomato USB driver/services for hardware equipped with USB ports. When Core USB Support is enabled, a series of more specific options become available for configuration. These options will depend on your router's specifications.
USB 3.0 Support: Checking this enables support for USB 3.x (xHCI) operation on USB 3.0 (or higher) ports. (Default: )
USB 2.0 Support: Checking this enables support for USB 2.0 (EHCI) operation on USB 2.0 (or higher) ports. (Default: )
USB 1.1 Support: Checking this enables support for:
USB Printer Support: Checking this loads the driver for USB printing support. (Default: ).
Bidirectional copying: Checking this enables bidirectional communications on your USB printer connection. Modern USB printers can communicate in two directions: receiving the print job and related data from the PC/network client and; transmitting status messages back to the printer driver about job status, ink or toner levels, etcetera. Disabling Bidirectional copying may make some printers work better when connected to a FreshTomato router. (Default: Enabled).
USB Storage Support: Checking this enables driver/service support for USB storage. (Default: ).
Ext2 / Ext3 File System Support: Enabling this loads the filesystem drivers to access media formatted with the Ext2 and Ext3 filesystems. These partitions are usually created in Linux/Unix/BSD and similar operating systems. (Default: ).
NTFS Support: Enabling this loads the filesystem drivers to access media formatted with Microsoft's NTFS filesystem. Generally, this provides compatiblity with partitions formatted within Windows (since Windows NT/2000). (Default: ).
FAT File System Support: Checking this enables filesystem drivers for the FAT filesystem. This is largely for providing compatiblity with USB flash drives. This filesystem is also used on many SD/CompactFlash/MMC flash memory cards, and other older storage media. (Default: ).
Automount: Enabling this makes FreshTomato automatically mount all partitions detected when a USB drive is inserted or during bootup to mount points in subdirectories in /mnt. (Default: ).
Run after mounting: Here, you can enter a script or series of shell commands to be executed when a USB storage device is mounted.
Run before unmounting: Here you can enter a script of series of shell commands to be executed just before a USB storage device is unmounted/removed.
Hotplug script: Here, you can specify Linux shell commands that will be executed when a USB device is attached or removed.
HDD Spindown: Checking this box makes FreshTomato spin down mechanical hard drives when they are idle. There is no need to use this on solid state drives, such as SSDs or USB flash drives, as they have no motor/moving parts. (Default: Enabled).
3G/4G Modem Support: Checking this enables FreshTomato's support for 3G/4G USB modem dongles. This allows you to use a cellular provider as an Internet source. For more details on 3G/4G modem settings, see the WAN Settings section on the Network page.
Как настроить оптимальную скорость загрузки Transmission
У роутера NetGear WNR3500L небольшая производительность поэтому скорость скачивания и раздачи нужно ограничить, чтобы процессор не «захлебнулся». Для себя я выбрал значения 500 кБ на закачку и 250 кБ на отдачу.
Делается это на странице USB and NAS -> BitTorrent Client (/nas-bittorrent.asp)
Выбирая максимальную скорость следует исходить из правила, чтобы при максимальной нагрузке (когда Transmission скачивает и раздает файлы, и вы при этом смотрите фильм по DLNA ) значение CPU Load (1 / 5 / 15 mins) не превышало 0.8.
Это гарантирует отзывчивость интерфейса маршрутизатора и предоставляет стабильный доступ в интернет для остальных клиентов домашней сети.
The USB Support menu is divided into sections, including USB Support and Attached Devices. The sections includes settings to enable or disable USB port support, configure USB-related printers and configure USB-attached storage settings.
Настройка локальной сети
Разновидности маршрутизатора NetGear WNR3500L
Маршрутизатор NetGear WNR3500L существует трех видом: v1, v2 и U. Которые отличаются объемом оперативной памяти, емкостью флеш и набором чипов (CPU, Wi-Fi). У меня первая версия данного роутера и именно о нем пойдет дальнейшее изложение.
WAN Settings
Settings in this section are used to configure the WAN interface.
Type: This sets the connection mode the WAN interface uses to connect to your ISP. Depending on which Type you select, other configuration settings specific to that type of connection will be shown or hidden. See below. (Default: DHCP). The Type setting will depend on your ISP's setup.
DHCP: A DHCP server at your ISP will dynamically assign a WAN IP lease to your FreshTomato router. DHCP uses no authentication.
PPPoE: The router's WAN port will respond to authentication requests from your ISP's PPPoE server. This will require you to store in FreshTomato the PPPoE username and password that were assigned by your ISP. If authentication is successful, the PPPoE server will allow you to log on to the ISP's network, and a DHCP server will assign you a WAN IP lease. PPPoE is most often used for DSL networks, again with exceptions. It is suggested you leave the Service Name field blank.
Note: If you use your FreshTomato router for PPPoE authentication, you should ideally configure your DSL or cable modem for bridge mode. Otherwise, if your modem and router both have routing functions enabled, you have a situation called “Double NAT”. Double NAT may create various problems, such as VoIP issues, and reduced speed.
To enable Baby Jumbo Frames:
Then verify (using ifconfig AND ping with packet size 1472) that you have a working PPP MTU of 1500. Not all ISPs support RFC 4638. Usually, packet size will be 1492.
Static: This choice will configure your WAN port with a static IP. You must manually enter the static IP, subnet mask, gateway address and DNS server addresses into FreshTomato. These settings are given to you by your ISP. Static mode is typically used for business accounts, when it's important the IP address doesn't change.
PPTP: This will configure your WAN port to use Microsoft's PPTP (VPN) tunnelling protocol to connect. The encryption in PPTP provides a level of security, so your account credentials can't be stolen as easily. PPTP will require you to enter a username and password, and gateway server settings (given by your ISP).
L2TP: Choosing this will configure your WAN port to connect using Cisco's Layer Two Tunnelling Protocol. FreshTomato will require you enter the L2TP username, password, L2TP server, (static) IP address, subnet mask and gateway settings, as provided by your ISP. By default, only L2TP control messages are encrypted, not content. L2TP provides a tunnel for layer 2 protocols. Content is encrypted by layer 2 protocols, such as Ethernet or PPP.
3G modem: This setting will enable support for a 3G GSM (cellular) network dongle connected to a USB port. Always ensure USB and 3G/4G modem support are checked in the USB Support menu or this mode might not work. The modem might not be detected.
4G/LTE: This enables support for fourth generation GSM (cellular) / LTE USB modem dongles. When choosing 4G/LTE, the PIN code and APN fields will appear, and must be completed with correct settings (see descriptions below). Always ensure USB and 3G/4G modem support are checked in the USB Support menu for this mode to work. If the modem is not detected, check FreshTomato has USB Support enabled in the USB Support menu.
Disabled: Disables the physical WAN port on your router. This effectively makes your FreshTomato device function only as a switch (if it has switching functions) and/or a Wi-Fi access point (if it has those capabilities).
Wireless Client Mode: This enables FreshTomato's Wireless Client mode. Wireless client mode allows the FreshTomato router to act as a client and connect to another router/AP, much like a normal wireless network adapter. (For more details on wireless modes, see Wireless Mode tables below).
Modem device: Here you specify the 3G modem's Linux device path/filename. If you're not sure what to choose, check the USB support page to see if your modem dongle is listed there. The Default device filename is the first serial device on the first USB port: (/dev/ttyUSB0). The “TTY” part of the device's filename represents a serial device and the “USB0” part of the device's filename means that device is connected to the first USB port on the FreshTomato machine. The /ttyUSB devices use the newer Serial→USB device driver framework. If your interface lists, for example, “/dev/ttyACM0 instead, the “ACM” means the device is of type “Abstract Control Model”, which uses Linux's serial modem driver framework. To ensure your modem is detected, check FreshTomato has USB Support enabled in the USB Support menu.
You could also log on to FreshTomato via Telnet and use the lsusb or dmesg commands to get device info. When you set 3G modem or 4G/LTE as the WAN type, other fields will appear, prompting you for more information.
PIN Code: This is the 3-digit PIN code for the SIM card associated with your cell account. Leave this field blank if your SIM card code has been deactivated.
APN: The access point name (provided by your carrier). This specfies a gateway to route data between your cell carrier and the Internet. (Default: internet).
Username: Here you enter the username to access your cell carrier's APN (provided by your cell carrier) gateway.
Some carriers don't require this info.
Password: Here you enter the password to authenticate to your cell carrier's APN (provided by your cell carrier) gateway.
Some carriers do not require this info.
Network Type: This menu appears when WAN type is set to 4G/LTE. (Default setting: 4G/3G/2G). The default setting configures FreshTomato to start negotiating with a 4G connection, and, if that fails, fall back to negotiating a 3G connection,and failing that, a 2G connection.
(Default: 1500), is typical for Ethernet devices, and is usually suitable.
When Default is selected, the number in the Manual field is greyed out
and can't be changed.
Manual: Selecting manual lets you to enter a custom number in the field
beside it. Jumbo Frame sizes typically begin at a size of 2000 bytes.
Use DHCP: This function is rarely used, and it is recommended you leave it disabled. On a few Internet providers, addressing is separated from PPPoE functionality. TBD.
Single Line MLPPP: This is similar to Multilink PPP (MLPPP). Multilink PPP is a version of the Point-to-Point Protocol which allows you to bond two or more physical connections to increase the bandwidth available. Single Line MLPPP is a version which lets you use one modem, but bond the bandwidth of multiple PPPoE sessions. A side effect of using this is that it bypassed some Internet Providers' bandwidth throttling. This is rarely used nowadays.
Query Hilink Modem IP: This function is specifically for Hilink brand modems. (Default: Disabled).
Call Custom Status Script: TBD.
Connect Mode: This chooses which method is used to keep the FreshTomato router connected to the Internet provider. Selecting Connect on Demand will make FreshTomato disconnect from the Internet provider after the time period specified in the Max Idle Time field. FreshTomato will reconnect to the Internet a soon as one of its LAN clients requests Internet access.
Some Internet Providers drop a connection if their router sees no Internet activity. If you select Keepalive, FreshTomato will send small keepalive packets at specified, brief intervals. This will make the connection appear to the Internet Provider as if there is intermittent activity, even when no FreshTomato clients request Internet access. Redial Interval: Here, enter the time in seconds for how often the router should check the Internet connection. (Default: 10 seconds). This option minimizes your Internet connection response time, since generally, the connection will always be up.
Redial Interval: When PPPoE dialling fails, the Redial Interval is used to delay each attempt for the defined number of seconds. (Default: 10 seconds). This allows more time for the PPPoE server or network infrastructure to start functioning properly again before attempting another PPPoE connection.
LCP Echo Interval: The Link Control Protocol sends and receives frames between two peers to determine if they are still connected. The LCP Echo Interval is the period of time between these signals. This is typically used to verify a DSL modem still has a valid PPPoE connection to the Internet provider. (Default: 10 seconds).
LCP Echo Link fail limit: This is the number of times LCP echo request checks can fail between two LCP peers before the status is deemed to be dead. The client DSL modem will then drop the PPPoE link. When the link is terminated, LCP will try to renegotiate a new PPPoE session.
Здравствуйте! Попытался собрать дефолтный make e3200, не собирается transmission. Может кто сталкивался?
Собираю в Ubuntu 18.04 x64
Scanning dependencies of target transmission
make[7]: Leaving directory '/home/builder/freshtomato-mips/release/src/router/transmission/build'
make[7]: Entering directory '/home/builder/freshtomato-mips/release/src/router/transmission/build'
[ 37%] Building C object libtransmission/CMakeFiles/transmission.dir/announcer-udp.c.o
[ 37%] Building C object libtransmission/CMakeFiles/transmission.dir/announcer-http.c.o
[ 37%] Building C object libtransmission/CMakeFiles/transmission.dir/announcer.c.o
[ 38%] Building C object libtransmission/CMakeFiles/transmission.dir/bandwidth.c.o
[ 38%] Building C object libtransmission/CMakeFiles/transmission.dir/bitfield.c.o
[ 39%] Building C object libtransmission/CMakeFiles/transmission.dir/blocklist.c.o
:: warning: warning: "__FILE__" redefined"__FILE__" redefined
: warning: "__FILE__" redefined:
warning: "__FILE__" redefined
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/blocklist.c: In function 'tr_blocklistFileGetRuleCount':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/blocklist.c:174: warning: passing argument 1 of 'blocklistEnsureLoaded' discards qualifiers from pointer target type
[ 40%] Building C object libtransmission/CMakeFiles/transmission.dir/cache.c.o
[ 41%] Building C object libtransmission/CMakeFiles/transmission.dir/clients.c.o
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
[ 42%] Building C object libtransmission/CMakeFiles/transmission.dir/completion.c.o
[ 43%] Building C object libtransmission/CMakeFiles/transmission.dir/ConvertUTF.c.o
: warning: "__FILE__" redefined
[ 44%] Building C object libtransmission/CMakeFiles/transmission.dir/crypto.c.o
: warning: "__FILE__" redefined
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/crypto.c: In function 'tr_cryptoGetMyPublicKey':[ 44%] Building C object libtransmission/CMakeFiles/transmission.dir/crypto-utils.c.o
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/crypto.c:84: warning: passing argument 1 of 'ensureKeyExists' discards qualifiers from pointer target type
: warning: "__FILE__" redefined
[ 46%] Building C object libtransmission/CMakeFiles/transmission.dir/error.c.o
[ 46%] Building C object libtransmission/CMakeFiles/transmission.dir/crypto-utils-openssl.c.o
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
[ 47%] Building C object libtransmission/CMakeFiles/transmission.dir/fdlimit.c.o
: warning: "__FILE__" redefined
[ 48%] Building C object libtransmission/CMakeFiles/transmission.dir/file.c.o
[ 49%] Building C object libtransmission/CMakeFiles/transmission.dir/file-posix.c.o
: warning: "__FILE__" redefined
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/crypto-utils-openssl.c: In function 'tr_x509_cert_new':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/crypto-utils-openssl.c:427: warning: dereferencing type-punned pointer will break strict-aliasing rules
: warning: "__FILE__" redefined
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/file-posix.c: In function 'set_file_for_single_pass':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/file-posix.c:125: warning: implicit declaration of function 'posix_fadvise'
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/file-posix.c:125: warning: nested extern declaration of 'posix_fadvise'
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/file-posix.c: In function 'tr_sys_file_preallocate':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/file-posix.c:845: warning: unused parameter 'handle'
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/file-posix.c:845: warning: unused parameter 'size'
[ 50%] Building C object libtransmission/CMakeFiles/transmission.dir/handshake.c.o
: warning: "__FILE__" redefined
[ 50%] Building C object libtransmission/CMakeFiles/transmission.dir/history.c.o
[ 51%] Building C object libtransmission/CMakeFiles/transmission.dir/inout.c.o
[ 52%] Building C object libtransmission/CMakeFiles/transmission.dir/list.c.o
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
[ 53%] Building C object libtransmission/CMakeFiles/transmission.dir/log.c.o
: warning: "__FILE__" redefined
[ 54%] Building C object libtransmission/CMakeFiles/transmission.dir/magnet.c.o
: warning: "__FILE__" redefined
[ 55%] Building C object libtransmission/CMakeFiles/transmission.dir/makemeta.c.o
: warning: "__FILE__" redefined
[ 57%] Building C object libtransmission/CMakeFiles/transmission.dir/natpmp.c.o
[ 57%] Building C object libtransmission/CMakeFiles/transmission.dir/metainfo.c.o
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
[ 57%] Building C object libtransmission/CMakeFiles/transmission.dir/net.c.o
: warning: "__FILE__" redefined
[ 58%] Building C object libtransmission/CMakeFiles/transmission.dir/peer-io.c.o
: warning: "__FILE__" redefined
[ 59%] Building C object libtransmission/CMakeFiles/transmission.dir/peer-mgr.c.o
: warning: "__FILE__" redefined
[ 60%] Building C object libtransmission/CMakeFiles/transmission.dir/peer-msgs.c.o
: warning: "__FILE__" redefined
[ 61%] Building C object libtransmission/CMakeFiles/transmission.dir/platform.c.o
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/peer-msgs.c: In function 'peermsgs_is_transferring_pieces':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/peer-msgs.c:2581: warning: cast increases required alignment of target type
: warning: "__FILE__" redefined
[ 62%] Building C object libtransmission/CMakeFiles/transmission.dir/platform-quota.c.o
: warning: "__FILE__" redefined
[ 63%] Building C object libtransmission/CMakeFiles/transmission.dir/port-forwarding.c.o
: warning: "__FILE__" redefined
[ 63%] Building C object libtransmission/CMakeFiles/transmission.dir/ptrarray.c.o
: warning: "__FILE__" redefined
[ 64%] Building C object libtransmission/CMakeFiles/transmission.dir/quark.c.o
: warning: "__FILE__" redefined
[ 65%] Building C object libtransmission/CMakeFiles/transmission.dir/resume.c.o
: warning: "__FILE__" redefined
[ 66%] Building C object libtransmission/CMakeFiles/transmission.dir/rpcimpl.c.o
: warning: "__FILE__" redefined
[ 67%] Building C object libtransmission/CMakeFiles/transmission.dir/rpc-server.c.o
: warning: "__FILE__" redefined
[ 68%] Building C object libtransmission/CMakeFiles/transmission.dir/session.c.o
: warning: "__FILE__" redefined
[ 69%] Building C object libtransmission/CMakeFiles/transmission.dir/session-id.c.o
: warning: "__FILE__" redefined
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/session.c: In function 'tr_sessionFindTorrentFile':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/session.c:2683: warning: passing argument 1 of 'metainfoLookupInit' discards qualifiers from pointer target type
[ 69%] Building C object libtransmission/CMakeFiles/transmission.dir/subprocess-posix.c.o
: warning: "__FILE__" redefined
[ 70%] Building C object libtransmission/CMakeFiles/transmission.dir/stats.c.o
: warning: "__FILE__" redefined
[ 71%] Building C object libtransmission/CMakeFiles/transmission.dir/torrent.c.o
: warning: "__FILE__" redefined
[ 72%] Building C object libtransmission/CMakeFiles/transmission.dir/torrent-ctor.c.o
: warning: "__FILE__" redefined
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/torrent.c: In function 'torrentCallScript':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/torrent.c:2280: warning: dereferencing type-punned pointer will break strict-aliasing rules
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/torrent.c:2281: warning: dereferencing type-punned pointer will break strict-aliasing rules
[ 73%] Building C object libtransmission/CMakeFiles/transmission.dir/torrent-magnet.c.o
: warning: "__FILE__" redefined
[ 74%] Building C object libtransmission/CMakeFiles/transmission.dir/tr-dht.c.o
: warning: "__FILE__" redefined
[ 75%] Building C object libtransmission/CMakeFiles/transmission.dir/trevent.c.o
: warning: "__FILE__" redefined
[ 75%] Building C object libtransmission/CMakeFiles/transmission.dir/tr-assert.c.o
: warning: "__FILE__" redefined
[ 77%] Building C object libtransmission/CMakeFiles/transmission.dir/tr-getopt.c.o
[ 77%] Building C object libtransmission/CMakeFiles/transmission.dir/tr-lpd.c.o
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
[ 78%] Building C object libtransmission/CMakeFiles/transmission.dir/tr-udp.c.o
: warning: "__FILE__" redefined
[ 79%] Building C object libtransmission/CMakeFiles/transmission.dir/tr-utp.c.o
: warning: "__FILE__" redefined
[ 80%] Building C object libtransmission/CMakeFiles/transmission.dir/upnp.c.o
[ 81%] Building C object libtransmission/CMakeFiles/transmission.dir/utils.c.o
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
[ 82%] Building C object libtransmission/CMakeFiles/transmission.dir/variant-benc.c.o
[ 82%] Building C object libtransmission/CMakeFiles/transmission.dir/variant.c.o
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
[ 83%] Building C object libtransmission/CMakeFiles/transmission.dir/variant-json.c.o
: warning: "__FILE__" redefined
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/torrent.c: In function 'tr_torrentStat':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/torrent.c:1357: warning: 'seedRatioBytesGoal' may be used uninitialized in this function
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/torrent.c:1356: warning: 'seedRatioBytesLeft' may be used uninitialized in this function
[ 84%] Building C object libtransmission/CMakeFiles/transmission.dir/verify.c.o
[ 85%] Building C object libtransmission/CMakeFiles/transmission.dir/watchdir.c.o
: warning: "__FILE__" redefined
: warning: "__FILE__" redefined
[ 86%] Building C object libtransmission/CMakeFiles/transmission.dir/watchdir-generic.c.o
: warning: "__FILE__" redefined
[ 87%] Building C object libtransmission/CMakeFiles/transmission.dir/watchdir-inotify.c.o
: warning: "__FILE__" redefined
[ 88%] Building C object libtransmission/CMakeFiles/transmission.dir/web.c.o
: warning: "__FILE__" redefined
[ 88%] Building C object libtransmission/CMakeFiles/transmission.dir/webseed.c.o
: warning: "__FILE__" redefined
[ 89%] Building C object libtransmission/CMakeFiles/transmission.dir/wildmat.c.o
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/webseed.c: In function 'webseed_is_transferring_pieces':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/webseed.c:529: warning: cast increases required alignment of target type
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/webseed.c: In function 'webseed_destruct':
/home/builder/freshtomato-mips/release/src/router/transmission/libtransmission/webseed.c:544: warning: cast increases required alignment of target type
[ 90%] Linking C static library libtransmission.a
Error running link command: No such file or directory
libtransmission/CMakeFiles/transmission.dir/build.make:1732: recipe for target 'libtransmission/libtransmission.a' failed
make[7]: *** [libtransmission/libtransmission.a] Error 2
make[7]: Leaving directory '/home/builder/freshtomato-mips/release/src/router/transmission/build'
CMakeFiles/Makefile2:274: recipe for target 'libtransmission/CMakeFiles/transmission.dir/all' failed
make[6]: *** [libtransmission/CMakeFiles/transmission.dir/all] Error 2
make[6]: Leaving directory '/home/builder/freshtomato-mips/release/src/router/transmission/build'
Makefile:139: recipe for target 'all' failed
make[5]: *** [all] Error 2
make[5]: Leaving directory '/home/builder/freshtomato-mips/release/src/router/transmission/build'
Makefile:2903: recipe for target 'transmission' failed
make[4]: *** [transmission] Error 2
make[4]: Leaving directory '/home/builder/freshtomato-mips/release/src/router'
Makefile:113: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/builder/freshtomato-mips/release/src-rt'
Makefile:1061: recipe for target 'bin' failed
make[2]: *** [bin] Error 2
make[2]: Leaving directory '/home/builder/freshtomato-mips/release/src-rt'
Makefile:1117: recipe for target 'o' failed
make[1]: *** [o] Error 2
make[1]: Leaving directory '/home/builder/freshtomato-mips/release/src-rt'
Makefile:1283: recipe for target 'e3200' failed
make: *** [e3200] Error 2
Доброе время суток! как подключить по WI-FI принтер? всю голову поломал. роутер Asus RT-AC66U B1.
может что в настройке добавить или нажать?
заранее спасибо
Этот пост продолжение поста Забрасываем помидорами Asus RT-N16 (прошивка Tomato)
Базовая прошивка обладает достаточно большим рядом возможностей.
Я напишу, что я настраивал и оптимизировал.
Примечание: Для сохранения изменений ВСЕГДА нажимайте "Save" в правом нижнем углу страницы!
Читайте также: