К основному контенту

mpd.conf конфиг

startup:
# configure the console
set console port 5005
set console ip 127.0.0.1
set console open
# configure the web server
set web user root пароль
set web port 5006
set web open
default:
#load PPPoE1
load PPPoE1
load PPPoE0
PPPoE0:
new -i ng0 PPPoE0 PPPoE0
set iface route 10.159.0.0/16
set iface disable on-demand
set iface idle 0
set iface up-script /usr/local/etc/mpd4/add
set ipcp yes vjcomp
set ipcp ranges 10.159.38.242/32 10.2.0.0/0
set bundle disable multilink

set bundle no noretry
set auth authname Имя_юзера_в_договоре
set link no acfcomp protocomp
set link disable pap chap
set link accept chap
set link keep-alive 10 60
set link max-redial 0
open

PPPoE1:
new -i ng1 PPPoE1 PPPoE1
set ipcp yes vjcomp
set ipcp ranges 10.2.64.3/32 0.0.0.0/0
set bundle disable multilink
set bundle no noretry
set auth authname имя_в_договоре
set link no acfcomp protocomp
set link disable pap chap
set link accept chap
set link keep-alive 10 60
set link max-redial 0
set iface route default
set iface disable on-demand
set iface idle 0
set iface up-script /usr/local/etc/mpd4/add
open

// ДАЛЬШЕ по дефалту настройки

Комментарии

Популярные сообщения из этого блога

Настройка принтера HP Laserjet 1020 в ubuntu (kubuntu).

1. Скачиваем необходимый драйвер с официального сайта. $ wget -O foo2zjs.tar.gz http://foo2zjs.rkkda.com/foo2zjs.tar.gz --2010-01-03 11:19:24-- http://foo2zjs.rkkda.com/foo2zjs.tar.gz Преобразование адреса foo2zjs.rkkda.com... 74.208.41.246 Устанавливается соединение с foo2zjs.rkkda.com|74.208.41.246|:80... соединились. Запрос HTTP послан, ожидание ответа... 200 OK Длина: 1588047 (1,5M) [application/x-tar] Сохраняется в каталог: `foo2zjs.tar.gz'. 100%[============================================================================>] 1 588 047 43,0K/s в 55s 2010-01-03 11:20:19 (28,1 KB/s) - `foo2zjs.tar.gz' сохранён [1588047/1588047] 2. Распаковываем полученный архив: tar zxf foo2zjs.tar.gz cd foo2zjs 3. Теперь компилируем и инсталируем. Файл INSTALL содержит много информации и инструкций. Рекомендуется прочитать. $ make # # Dependencies... # # ... OK! ...

rtorrent

#.rtorrent.rc scgi_port = localhost:5000 min_peers = 10 max_peers = 50 max_uploads = 10 download_rate = 2000K upload_rate = 500K directory = /home/torrents/torrents/ session = /home/torrents/torrents/.rtsession schedule = watch_directory,60,60,load_start=/home/torrents/torrents/watch/*.torrent port_range = 7899-7899 port_random = no check_hash = yes peer_exchange = yes

Unix Toolbox

System Running kernel and system information # uname -a # Get the kernel version (and BSD version) # lsb_release -a # Full release info of any LSB distribution # cat /etc/SuSE-release # Get SuSE version # cat /etc/debian_version # Get Debian version Use /etc/DISTR-release with DISTR= lsb (Ubuntu), redhat, gentoo, mandrake, sun (Solaris), and so on. # uptime # Show how long the system has been running + load # hostname # system's host name # hostname -i # Display the IP address of the host. # man hier # Description of the file system hierarchy # last reboot # Show system reboot history Hardware Informations Kernel detected hardware # dmesg # Detected hardware and boot messages # lsdev # information about installed hardware # dd if=/d...