Скрипт "Установка программ для чайника" (старая редакция)
Установка программ для "чайника" на роутеры ASUS и D-Link с прошивками 1.9.2.7-d-rXXXX и 1.9.2.7-rtn-rXXXX.
Перед прошивкой ознакомьтесь с историей ревизий прошивок
Для быстрого поиска этой темы используйте Google
Скачать панель инструментов (Toolbar) для Internet Explorer, Firefox, Safari (Mac) my.router
http://www.studionr.ru/wl500/15_min.gif http://www.studionr.ru/wl500/trans_logo2.png http://www.studionr.ru/wl500/emulelogo2.png http://www.studionr.ru/wl500/nod32_logo2.pnghttp://s14.rimg.info/0660519a0c0c163...5f0e25b91f.gif
Инструкция по установке (15 пунктов - 15 минут):
- Сбросьте свой роутер в заводские настройки ОБЯЗАТЕЛЬНО (System Setup -> Factory Default) (USB-диск не подключен к роутеру);
- Через веб интерфейс ASUS Wireless Router:
а) Настройте соединение с интернет;
б) Измените логин на (Username: root) ОБЯЗАТЕЛЬНО (System Setup -> Change Name) и введите свой пароль в (System Setup -> Change Password)(латиницей);
в) Введите свои Host name и Workgroup name (USB Application -> Samba), Samba File Shares: -> Disabled - НЕ ВКЛЮЧАТЬ и после установки программ скриптом НЕ ВКЛЮЧАТЬ
г) Настройте доступ к FTP и SSH (на этих картинках заводские установки - настраивайте как вам надо) - Cохраняем настройки, перезагружаемся, проверяем работу Интернет и выключаем роутер
- Подключаем к роутеру HDD-USB (можно флешку 2гб - это минимально (не желательно) - лучше HDD-USB SATA 3,5" с внешним питанием) и только потом включаем роутер.
В случае подключения ДВУХ HDD - первый (swap, opt и data) включаем в нижний usb(host0) на роутере , а второй (data) соответственно в верхний(host1). - Зайдите на роутер телнетом (cmd -> telnet my.router) или через PuTTY
Примечание: my.router - это IP-адрес вашего роутера, например: 192.168.1.1
Скопируйте и вставьте команды:
Code:
wget http://www.studionr.ru/wl500/install.sh
chmod +x install.sh
./install.sh
http://www.studionr.ru/wl500/menu.png
http://www.studionr.ru/wl500/menu2.png
- Выберите с помощью пунктов меню (левая панель): [a - t] нужные вам программы для установки. Нажмите соответствующую букву, затем нажмите <Enter>, после чего статус программы изменится с no на yes. При повторном осуществлении этих действий статус программы поменяется на обратный no. Список программ расположен на двух страницах меню и переход на другую страницу и обратно осуществляется выбором пункта [P] в Page FIRST (SECOND). Также есть возможность выбора или отмены выбора всех программ - пункт [S] в (Un)Select ALL program (можно выбрать все и потом убрать не нужные вам)
- В меню (правая панель) вы увидите модель своего роутера, версию прошивки, версию ядра LINUX, а также информацию о дополнительных настройках текущей установки.
- Выбор [ H ] - HDD connected: ONE или TWO - установка соответственно на ОДИН или ДВА HDD-USB.
- Выбор [ I ] - Internet access: YES/NO - Доступ к ресурсам роутера из Интернет (HTTP, TwonkyMedia, Transmission). Настройка доступа таких ресурсов как FTP (USB Application -> FTP Server -> Enable FTP Server) и SSH (System Setup -> Services Enable -> SSH Server) осуществляются через WEB-морду ASUS (пункт 2. г))
- Пункт [ + ] выбор одного из трех режимов установки:
а) Choice Install FORMAT - НОВАЯ (ПЕРВАЯ) установка с форматированием HDD - по умолчанию.
- ФОРМАТИРОВАНИЕ HDD-USB (ONE) производится на три раздела ext3: SWAP - 256Mб, OPT (для программ) - 1024Mб и DATA (для ваших данных /tmp/harddisk ) - все остальное пространство диска;
- ФОРМАТИРОВАНИЕ HDD-USB (TWO) на один раздел ext3 (part1): DATA (для ваших данных /tmp/harddisk2 ) - все пространство второго диска.
б) Choice Install UPDATE - добавление (обновление) программ из пунктов меню [a - t] без форматирования HDD
в) Choice install REINSTALL - переустановка программ. Подробнее - Пункт [ - ] Выбор торрента-клиента (rTorrent или Transmission). Устанавливается ТОЛЬКО в режимах Choice install FORMAT и REINSTALL. В режиме UPDATE - недоступен.
- Пункт [ = ] Выбор репозитория: main, mirror, archive
Примечание: используйте установку из archive, если у вас возникли проблемы при установке из репозиториев main и mirror. - ВНИМАТЕЛЬНО ПРОВЕРЬТЕ выбранные вами опции и потом выберите пункт [ ! ] - начнется процесс установки выбранных вами программ и режимов установки. Производить установку можно с любой страницы меню.
- Пункт [ ^ ] Проверка и исправление ошибок на одном или на двух HDD-USB (разделы OPT и DATA).
- Выход из программы установки [ 0 ]
Читать обязательно: Описание и настройка устанавливаемых программ и на вашем роутере: http://my.router/lighttpd/
Список программ
Скриншоты
Рекомендуемые дополнительные программы
FAQ: Часто задаваемые вопросы этой темы
Задать вопрос на хабе
Спасибо
История версий скрипта: 1, 2, 3, 4
P.S. БОЛЬШОЕ СПАСИБО этому форуму за предоставленный материал, Олегу за его прошивку и группе дальнейшей разработки прошивки 1.9.2.7-d.
http://s16.rimg.info/556d14c30a2d1a5...3baafe9bb6.gif Версия 12.4 от 09.07.2010
Список установленных программ (полная установка):
Code:
adduser - 1.10.3-1 - a multi-call binary for login and user account administration
avahi - 0.6.24-2 - A system for multicast DNS service discovery, an implementation of Zeroconf.
bash - 3.2.49-1 - A bourne style shell
bzip2 - 1.0.5-2 - Very high-quality data compression program
coreutils - 8.4-1 - Bunch of heavyweight *nix core utilities
cron - 4.1-7 - Standard vixie cron, with cron.d addition
cyrus-sasl-libs - 2.1.23-1 - Provides client or server side authentication (see RFC 2222).
dbus - 1.2.16-1 - D-Bus is a message bus system, a simple way for applications to talk to one another.
dlengine - 2.0-18 -
e2fslibs - 1.41.9-1 - Ext2 Filesystem Libraries
eaccelerator - 0.9.5.3-5.2.12-1 - Yet another php cache / accelerator
eventlog - 0.2.7-1 - library needed by syslog-ng
expat - 2.0.1-1 - XML Parser library
file - 5.04-1 - Ubiquitous file identification utility.
fontconfig - 2.5.0-0 - Font configuration library
freetype - 2.3.6-1 - Free truetype library
gawk - 3.1.7-1 - Gnu AWK interpreter
gconv-modules - 2.2.5-7 - Provides gconv modules missing from the firmware. These are used by glibc iconv() implementation.
gdbm - 1.8.3-2 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines.
glib - 2.20.4-1 - The GLib library of C routines.
grep - 2.5.4-1 - Global regular expression parser
ipkg-opt - 0.99.163-10 - The Itsy Package Manager
libart - 2.3.17-2 - 2-d graphics library.
libcurl - 7.20.0-1 - Curl is a command line tool for transferring files with URL syntax, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FI
libdaemon - 0.13-1 - A lightweight C library that eases the writing of UNIX daemons.
libdb - 4.2.52-3 - Berkeley DB Libraries
libexif - 0.6.19-1 - Library to parse EXIF info in JPEG file and read/write the data from those tags.
libevent - 1.4.13-1 - libevent to implement an event loop
libgd - 2.0.35-5 - An ANSI C library for the dynamic creation of images
libiconv - 1.11-2 -
libidn - 1.16-1 - GNU Libidn is an implementation of the Stringprep, Punycode and IDNA specifications defined by the IETF Internationalized Domai
libjpeg - 6b-3 - collection of jpeg tools
libpng - 1.2.43-1 - Portable Network Graphics Libraries
libsigc++ - 2.2.3-1 - libsigc++ implements a typesafe callback system for standard C++.
libtorrent - 0.12.6-1 - libtorrent is a BitTorrent library with a focus on high performance and good code.
libuclibc++ - 0.2.2-8 - C++ standard library designed for use in embedded systems
libxml2 - 2.7.7-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project.
libxslt - 1.1.26-1 - An XML Stylesheet processor based on libxml2
lighttpd - 1.4.26-1 - A fast webserver with minimal memory footprint.
mc - 4.7.0.2-1 - Midnight Commander File Manager
microdc2 - 0.15.6-3 - A command-line based Direct Connect client.
mysql - 4.1.22-3 - Popular free SQL database system
mediatomb - 0.11.0-5 - UPnP AV Mediaserver for Linux.
microperl - 5.8.8-11 - Microperl.
nano - 2.2.1-1 - A pico like editor
ncurses - 5.7-1 - NCurses libraries
ncursesw - 5.7-1 - NCurses libraries with wide char support.
openldap-libs - 2.3.43-1 - Open Lightweight Directory Access Protocol
openssh-sftp-server - 5.4p1-1 - sftp-server only from a FREE version of the SSH protocol suite of network connectivity tools.
openssl - 0.9.7m-5 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari
ossp-js - 1.6.20070208-1 - a stand-alone distribution of the JavaScript (JS) programming language reference implementation from Mozilla.
pcre - 8.02-1 - Perl-compatible regular expression library
php - 5.2.13-1 - The php scripting language
php-curl - 5.2.13-1 - libcurl extension for php
php-dev - 5.2.13-1 - php native development environment
php-fcgi - 5.2.13-1 - The php scripting language, built as an fcgi module
php-gd - 5.2.13-1 - libgd extension for php
php-imap - 5.2.13-1 - imap extension for php
php-ldap - 5.2.13-1 - ldap extension for php
php-mbstring - 5.2.13-1 - mbstring extension for php
php-mysql - 5.2.13-1 - mysql extension for php
php-pear - 5.2.13-1 - PHP Extension and Application Repository
php-xmlrpc - 5.2.13-1 - xmlrpc extension for php
polipo - 1.0.4.1-1 - Polipo is a small and fast caching web proxy.
popt - 1.15-1 - A C library for parsing command line parameters.
privoxy - 3.0.16-1 - A Web proxy based on Internet Junkbuster.
procps - 3.2.8-1 - PROCPS System Utilities
python - 2.5-1 - This is a package that sets up the default python.
python25 - 2.5.5-2 - Python is an interpreted, interactive, object-oriented programming language.
python3 - 3.1.2-1 - Python is an interpreted, interactive, object-oriented programming language.
readline - 6.1-2 - The GNU Readline library provides a set of functions for use by applications that allow users to edit command lines as they are
rrdcollect - 0.2.3-4 - A system for reading system statistical data and feeding it to RRDtool
rrdtool - 1.2.30-1 - Round-Robin Database tool. Database collator and plotter
rtorrent - 0.8.6-1 - rtorrent is a BitTorrent client for ncurses, using the libtorrent library.
samba35 - 3.5.3-1 - Samba suite provides file and print services to SMB/CIFS clients. This is a newer version.
samba35-swat - 3.5.3-1 - the Samba Web Admin Tool for samba35
screen - 4.0.3-2 - A screen manager that supports multiple logins on single terminal
sed - 4.2.1-1 - Stream editor.
slang - 2.1.4-1 - S-Lang is a multi-platform library designed to allow a developer to create robust multi-platform software.
spawn-fcgi - 1.6.3-1 - spawn-fcgi is used to spawn fastcgi applications
sqlite - 3.6.23-1 - SQLite is a small C library that implements a self-contained, embeddable, zero-configuration SQL database engine.
syslog-ng - 2.0.9-2 - Syslog replacement logging on behalf of remote hosts
tar - 1.23-1 - heavyweight version of the Tape ARchiver
termcap - 1.3.1-2 - Terminal emulation library
transmission - 2.01-1 - Lightweight BitTorrent client and daemon, with web interface bundled.
uclibc-opt - 0.9.28-13 - micro C library for embedded Linux systems
unrar - 3.9.8-1 - unrar is an application that can decompress files and archives created using the RAR compression scheme
vnstat - 1.10-2 - Network traffic monitor with log
wget-ssl - 1.12-2 - A network utility to retrieve files from the Web
which - 2.18-1 - which prints out the full path of the executablesthat bash(1) would execute when the passed program names would have been enter
xinetd - 2.3.14-9 - Highly configurable, modular and secure inetd
xmlrpc-c - 1.11.00-3 - A library providing modular implementation of XML-RPC for C and C++.
zlib - 1.2.4-1 - zlib is a library implementing the 'deflate' compression system.