LINUX.ORG.RU

Сообщения mannaz2004

 
Форум — General

u-boot mod - проблема сборки

Добрый день. Пытаюсь собрать u-boot mod по tp-link_tl-wr841n_v9. Скачал openwrt, собрал toolchain из исходников. Скачал последованию версию u-boot mod гит хаба. Прописал Makefile нужные пути. Запускаю сборку

root@test:/home/mannaz/openwrt/u-boot_mod# make tp-link_tl-wr841n_v9
Removing configuration...
Preparing configuration for target: tp-link_tl-wr841n_v9

  Device vendor/model:  TP-Link TL-WR841N/D v9
  Custom recovery web:  no
  Image size limit:     123 KB
  Default FLASH size:   16 MB
  GPIO reset button:    12
  Button active low:    yes
  LZMA compression:     yes
  RAM-loadable only:    no

Preparing web server files...

r - ap143.o
r - ../common/spi_flash.o
r - ../common/common.o
r - ../common/qca-eth-953x.o
r - ../common/athr_s27_phy.o
r - uip.o
r - uip_arch.o
r - uip_arp.o
r - httpd.o
r - fs.o
r - qca_common.o
r - qca_clocks.o
r - qca_sf.o
r - qca_dram.o
r - qca_pci.o
r - qca_usb.o
r - qca_ls_uart.o
r - qca_gpio_init.o
r - qca95xx_pll_init.o
r - cpu.o
r - cache.o
mips-openwrt-linux-musl-ld: net/libnet.a(tftp.o):(.bss+0x0): multiple definition of `seed2'; net/libnet.a(net.o):(.bss+0x6e04): first defined here
mips-openwrt-linux-musl-ld: net/libnet.a(tftp.o):(.bss+0x4): multiple definition of `seed1'; net/libnet.a(net.o):(.bss+0x6e08): first defined here
mips-openwrt-linux-musl-ld: net/libnet.a(bootp.o):(.bss+0x18): multiple definition of `seed1'; net/libnet.a(net.o):(.bss+0x6e08): first defined here
mips-openwrt-linux-musl-ld: net/libnet.a(bootp.o):(.bss+0x14): multiple definition of `seed2'; net/libnet.a(net.o):(.bss+0x6e04): first defined here
make[1]: *** [Makefile:285: u-boot] Ошибка 1
make: *** [Makefile:255: tp-link_tl-wr841n_v9] Ошибка 2

Сборка происходит с ошибкой. Не могу понять, что делаю не правильно.

 

mannaz2004
()
Форум — Linux-hardware

RAID P420 (DL380 G8)

Добрый день. У кого есть опыт работы с RAID контроллером P420. Хочу дамой прикупить сервер DL380E G8. В нём используемый RAID контроллер P420. Хотел бы узнать в него любые диски ставить можно? Интересует SATA диски на 2 ТБ. С час стоит P410, с ним проблем нет. Кто экспериментировал отпишитесь.

 ,

mannaz2004
()
Форум — Development

Компеляция QT проекта по x64 не понятный глюк

Добрый день. Помогите понят почему такой глюк. Пишу программу на QT для работы с сокетами, написал клинскую часть на на QT для Orange PI, всё собралось и работает как часы. Начал писать серверную часть пишу windows, поставил компилятор под x64 всё собирается нормально запускается но при этом программа глючит, подключаюсь к сокету и больше не чего не работает. Удалил компилятор под x64 поставил под 32 бита проблема исчезла. Написал серверную часть программы. Начал собирать под linux x64(debian), и проблема повторилась, собралось, но также работает не корректно. Помогите понять иза чего? Собираю вот так, через консоль.

qmake -project "CONFIG+=QT" "QT+=network"
qmake server.pro
make

 

mannaz2004
()
Форум — Admin

samba + авторизация ad косяк

Добрый день, хочу настроить samba в качестве файлового сервера настроил krb

nano /etc/krb5.conf




    [logging]

    default = FILE:/var/log/krb5.log

    kdc = FILE:/var/log/krb5kdc.log

    [libdefaults]

;    default_realm = PROHORY.LOCAL

;    clockskew = 500
 ;   dns_lookup_realm = false
  ;  dns_lookup_kdc = true
   ; ticket_lifetime = 324000

;default_tgs_enctypes = aes256-cts-hmac-sha1-96 rc4-hmac des-cbc-crc des-cbc-md5
 ;  default_tkt_enctypes = aes256-cts-hmac-sha1-96 rc4-hmac des-cbc-crc des-cbc-md5
   permitted_enctypes = aes256-cts-hmac-sha1-96 rc4-hmac des-cbc-crc des-cbc-md5
;
;default_tkt_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5
;

 default_tgs_enctypes = rc4-hmac
 default_tkt_enctypes = rc4-hmac
 permitted_enctypes = rc4-hmac

;Read more: http://plutonit.ru/view_post.php?id=535#ixzz4sXn4D2ji



; default_tgs_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5


default_realm = PROHORY.LOCAL
 allow_weak_crypto = true
 krb4_config = /etc/krb.conf
 krb4_realms = /etc/krb.realms
 ticket_lifetime = 600
 kdc_timesync = 1
 ccache_type = 4
 forwardable = true
 proxiable = true
 dns_lookup_realm = true
 dns_lookup_kdc = true
 default_tkt_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5
 default_tgs_enctypes = arcfour-hmac-md5 des-cbc-crc des-cbc-md5

    [realms]

    PROHORY.LOCAL = {

    kdc = DC1.PROHORY.LOCAL

    admin_server = DC1.PROHORY.LOCAL

    default_domain = PROHORY.LOCAL

    }

    [domain_realm]

    .prohory.local = PROHORY.LOCAL

    [login]

    krb4_convert = true

    krb4_get_tickets = false

Пытаюсь получить тикет пишет


root@LinuxServer:/etc/samba# kinit mannaz@prohory.local
Password for mannaz@prohory.local:
kinit: KDC has no support for encryption type while getting initial credentials

 

mannaz2004
()
Форум — Admin

perl выполнение внешних программ

Добрый день, потребовалось читать вывод программы, запускаю через perl, не работает, не чего вы выдаёт.

open my $a, "/usr/local/bin/ices -c /etc/ices/ices.conf |";
 while (my $line = <$a>) { # читаем
    print $line;
 }
 close $a; # закрываем выходной поток

Помогите разобраться что делаю не так.

 

mannaz2004
()
Форум — Admin

lighttpd не работает виртуальные хосты с php

Добрый день не могу настроить lighttpd виртуальные хосты чтоб на них работали php. Создаю виртуальный хост, кладу php файлы пытаюсь зайти выдаёт ошибку «No input file specified.», а если этот же файл кидаю по умолчанию /var/www/html то от туда всё работает нормально. Помогите пожалуйста.

 ,

mannaz2004
()
Форум — Admin

perl + com port (SerialPort)

Добрый день, помогите разобраться почему не работает Perl с COM, Perl не принимает данные вот сам срипт:

#!/usr/bin/perl -w
use Device::SerialPort;
my $port = Device::SerialPort->new("/dev/ttyUSB0");

# 19200, 81N on the USB ftdi driver
$port->user_msg(ON);
$port->baudrate(19200);
$port->databits(8);
$port->parity("none");
$port->stopbits(1);
$port->write("1");
while (1) {
    # Poll to see if any data is coming in
    my $char = $port->lookfor();

    # If we get data, then print it
    # Send a number to the arduino
    if ($char) {
        print "Received character: $char \n";
    }
}
Команды до контролера доходят и также с него уходят это проверено. Но Perl выдаёт
pi@raspberrypi ~/m $ ./1
Received character:
PuTTY
Не пойму почему, что не так я делаю?

 , ,

mannaz2004
()
Форум — Admin

Запуск сервера CS GO не понятные ошибки

Добрый день хочу запустить сервер cs go на linux (Linux spam 3.2.0-4-686-pae #1 SMP Debian 3.2.63-2 i686 GNU/Linux) в результате не понятные ошибки, кто в встречался с данной проблемой

mannaz@spam:/opt/csgo_server$ ./srcds_run -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_hostage +map cs_office -port 27015
./srcds_run: 32: ./srcds_run: pushd: not found
./srcds_run: 35: ./srcds_run: popd: not found
cs_office
Enabling debug mode

Server will auto-restart if there is a crash.
LD_LIBRARY_PATH=/opt/csgo_server/bin:/opt/csgo_server:/opt/csgo_server/bin:
Illegal instruction (core dumped)

warning: Can't read pathname for load map: Ошибка ввода/вывода.
email debug.log to linux@valvesoftware.com
Чтв Мар 19 13:36:57 VLAT 2015: Server restart in 10 seconds

Содержания лога

----------------------------------------------
CRASH: Чтв Мар 19 13:37:43 VLAT 2015
Start Line: ./srcds_linux -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_hostage +map cs_office -port 27015
[New LWP 25912]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
Core was generated by `./srcds_linux -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup'.
Program terminated with signal 4, Illegal instruction.
#0  0xb75147d3 in ConVar::Create(char const*, char const*, int, char const*, bool, float, bool, float, void (*)(IConVar*, char const*, float)) () from /opt/csgo_server/bin/libvstdlib.so
#0  0xb75147d3 in ConVar::Create(char const*, char const*, int, char const*, bool, float, bool, float, void (*)(IConVar*, char const*, float)) () from /opt/csgo_server/bin/libvstdlib.so
#1  0xb7514c17 in ConVar::ConVar(char const*, char const*, int) () from /opt/csgo_server/bin/libvstdlib.so
#2  0xb74ffa41 in _GLOBAL__sub_I__ZN14ConCommandBase18s_pConCommandBasesE () from /opt/csgo_server/bin/libvstdlib.so
#3  0xb7527c8e in __do_global_ctors_aux () from /opt/csgo_server/bin/libvstdlib.so
#4  0xb74ff3e1 in _init () from /opt/csgo_server/bin/libvstdlib.so
#5  0x00000000 in ?? ()
No symbol table info available.
eax            0x0      0
ecx            0xffffffd0       -48
edx            0x9065bea        151411690
ebx            0xb753e400       -1219238912
esp            0xbfc1b000       0xbfc1b000
ebp            0xbfc1b048       0xbfc1b048
esi            0x0      0
edi            0xb752aad7       -1219319081
eip            0xb75147d3       0xb75147d3 <ConVar::Create(char const*, char const*, int, char const*, bool, float, bool, float, void (*)(IConVar*, char const*, float))+227>
eflags         0x10282  [ SF IF RF ]
cs             0x73     115
ss             0x7b     123
ds             0x7b     123
es             0x7b     123
fs             0x0      0
gs             0x33     51
From        To          Syms Read   Shared Object Library
0xb77194b0  0xb7734188  Yes (*)     /lib/i386-linux-gnu/i686/cmov/libm.so.6
0xb7712a60  0xb77139a8  Yes (*)     /lib/i386-linux-gnu/i686/cmov/libdl.so.2
0xb76fc610  0xb7708708  Yes (*)     /lib/i386-linux-gnu/i686/cmov/libpthread.so.0
0xb75a9c90  0xb76bae9c  Yes (*)     /lib/i386-linux-gnu/i686/cmov/libc.so.6
0xb7744820  0xb775b05f  Yes (*)     /lib/ld-linux.so.2
0xb7552cb0  0xb756ef38  Yes (*)     /opt/csgo_server/bin/libtier0.so
0xb74ff530  0xb7527c9c  Yes (*)     /opt/csgo_server/bin/libvstdlib.so
(*): Shared library is missing debugging information.
Dump of assembler code for function _ZN6ConVar6CreateEPKcS1_iS1_bfbfPFvP7IConVarS1_fE:
......
.....
...
   0xb7514813 <+291>:   mov    %eax,0x8(%esp)
   0xb7514817 <+295>:   call   0xb7558180 <Warning>
   0xb751481c <+300>:   movl   $0x7f7fffff,0x2c(%ebx)
   0xb7514823 <+307>:   movsd  -0x28(%ebp),%xmm0
   0xb7514828 <+312>:   jmp    0xb75147ee <_ZN6ConVar6CreateEPKcS1_iS1_bfbfPFvP7IConVarS1_fE+254>
End of assembler dump.
Stack level 0, frame at 0xbfc1b050:
 eip = 0xb75147d3 in ConVar::Create(char const*, char const*, int, char const*, bool, float, bool, float, void (*)(IConVar*, char const*, float)); saved eip 0xb7514c17
 called by frame at 0xbfc1b0a0
 Arglist at 0xbfc1b048, args:
 Locals at 0xbfc1b048, Previous frame's sp is 0xbfc1b050
 Saved registers:
  ebx at 0xbfc1b03c, ebp at 0xbfc1b048, esi at 0xbfc1b040, edi at 0xbfc1b044, eip at 0xbfc1b04c
End of Source crash report
----------------------------------------------

Помогите, подскажите в какую сторону копать

 

mannaz2004
()
Форум — Admin

Вопрос по OpenVPN

добрый день в хотел спросить у знатоков OpenVPN. В его конфиге можно указать выполнять внешние скрипты на определённые сабытия такие как up script, down script,client-connect script и так даллия. В этих скриптах можно получить переменные окружения (Environmental Variables), их можно сравнивать. Но меня интересует можно через эти переменные окружения OpenVPN выставить параметр, например в событии client-connect передать пользователю ifconfig_pool_remote_ip ну и другие параметры? Или переменные окружения можно тока читать а передать на сервер OpenVPN не чего нельзя?

 

mannaz2004
()
Форум — Admin

Вопрос по 3G USB модему

Добрый день есть USB модем Huawei E171. Когда его вставляешь в USB появляться 3 COM порта. На сколько я слышал, что один для данных другой для AT команд. Интересует можно ли одновременно, отправлять SMS, голосовой вызов, и интернет. По раздельно SMS и интернет работает. У кого есть опыт? можно заставить в двух режимах. Если я правильно понимаю то для отправки SMS используются AT команды, также и для набора номера, предполагаю слать смс и звонить нельзя одновременно, но с интернетом другая вещь там отправляются AT команды для соединения модема, а дальше данные идут по другому com порту, порт для AT команд по идее свободен. Но точно не уверен

 

mannaz2004
()
Форум — Admin

Глюк с MySQL помогите разобраться

Добрый день, выполняю запросы в MySQL из PHP, php не каких ошибок не возвращает, включил log в mysql запросы приходят, если их скопировать и выполнить в консоле mySQL всё добавляется. А через PHP без полезно.


		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Кулеры
', 'Кулер THERMALTAKE CL-P0504 ,92мм,2500 об/мин,27 дБ, s775', '010000047', '1', '340', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Процессоры
', 'Процессор Intel Celeron 430, LGA 775, 0.5Мб, (HH80557RG033512)', '010000048', '1', '1550', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Жесткие диски
', 'Жесткий диск Seagate Barracuda 3.5" [ST3250318AS] 250Gb Cache 8Mb,7200rpm,SATA-3', '010000050', '1', '3000', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Кабели, шлейфы, переходники,розетки
', 'Кабель Адаптер Molex — POWER SATA', '010000052', '9', '60', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Маршрутизаторы, коммутаторы,Точки доступа
', 'Коммутатор D-Link DGS-1005D 5x10/100/1000Base-T[DGS-1005D/GE]', '010000091', '1', '1450', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Многоплоскостные сканеры
', 'Сканер штрихкода MК-3780 Fusion USB белый', '010000097', '1', '10500', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Одноплоскостные сканеры
', 'Сканер штрихкода МК-9540 Voyager RS232 белый', '010000099', '1', '5500', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Кабели, шлейфы, переходники,розетки
', 'Кабель LPT DB25(m)-CN36(m),Bitronix 3м', '010000103', '5', '320', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Кабели, шлейфы, переходники,розетки
', 'Кабель SATA - SATA, 0.45м', '010000104', '12', '60', 'none')
		331513 Query	INSERT INTO `price` (`category`, `name`, `cod`, `number`, `cost`, `manufacturer`) VALUES ('Сетевые карты
', 'Сетевая карта D-Link DGE-528T 10/100/1000 MBps, PCI', '010000112', '9', '520', 'none')
mannaz2004
()
Форум — Admin

Не понятные проблемы с Apache

Добрый день есть на сервере Apache со вчерашнего дня стал тупить раз через раз страницы отрываются.

решил посмотреть, что идёт через 80 порт

tcpdump -i eth0 -t -n -vvv -X  port 80

В результате вот такой хлам, как толька ip заблокировал apache стал работать как раньше

IP (tos 0x0, ttl 83, id 48036, offset 0, flags [DF], proto TCP (6), length 52)
    5.135.135.42.15554 > 5.63.*.*.80: Flags [S], cksum 0x37f9 (correct), seq 1332567589, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
        0x0000:  4500 0034 bba4 4000 5306 3fad 0587 872a  E..4..@.S.?....*
        0x0010:  053f 9a82 3cc2 0050 4f6d 5e25 0000 0000  .?..<..POm^%....
        0x0020:  8002 2000 37f9 0000 0204 05b4 0103 0308  ....7...........
        0x0030:  0101 0402                                ....
IP (tos 0x0, ttl 104, id 53293, offset 0, flags [DF], proto TCP (6), length 52)
    5.135.135.42.4816 > 5.63.*.*.80: Flags [S], cksum 0xaf5c (correct), seq 1911156279, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
        0x0000:  4500 0034 d02d 4000 6806 1624 0587 872a  E..4.-@.h..$...*
        0x0010:  053f 9a82 12d0 0050 71e9 ee37 0000 0000  .?.....Pq..7....
        0x0020:  8002 2000 af5c 0000 0204 05b4 0103 0308  .....\..........
        0x0030:  0101 0402                                ....
IP (tos 0x0, ttl 97, id 35977, offset 0, flags [DF], proto TCP (6), length 52)
    5.135.135.42.59509 > 5.63.*.*.80: Flags [S], cksum 0x6774 (correct), seq 427997409, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
        0x0000:  4500 0034 8c89 4000 6106 60c8 0587 872a  E..4..@.a.`....*
        0x0010:  053f 9a82 e875 0050 1982 b8e1 0000 0000  .?...u.P........
        0x0020:  8002 2000 6774 0000 0204 05b4 0103 0308  ....gt..........
        0x0030:  0101 0402                                ....
IP (tos 0x0, ttl 105, id 8890, offset 0, flags [DF], proto TCP (6), length 52)
    5.135.135.42.41599 > 5.63.*.*.80: Flags [S], cksum 0x8aae (correct), seq 1074312471, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
        0x0000:  4500 0034 22ba 4000 6906 c297 0587 872a  E..4".@.i......*
        0x0010:  053f 9a82 a27f 0050 4008 b517 0000 0000  .?.....P@.......
        0x0020:  8002 2000 8aae 0000 0204 05b4 0103 0308  ................
        0x0030:  0101 0402                                ....
IP (tos 0x0, ttl 112, id 14623, offset 0, flags [DF], proto TCP (6), length 52)
    5.135.135.42.14543 > 5.63.*.*.80: Flags [S], cksum 0x18fd (correct), seq 911055412, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
        0x0000:  4500 0034 391f 4000 7006 a532 0587 872a  E..49.@.p..2...*
        0x0010:  053f 9a82 38cf 0050 364d 9a34 0000 0000  .?..8..P6M.4....
        0x0020:  8002 2000 18fd 0000 0204 05b4 0103 0308  ................
        0x0030:  0101 0402                                ....

Помогите решить проблему

mannaz2004
()
Форум — Admin

DD-WRT + fprobe-ulog непонятный глюк

Добрый день, решил на роутере настроить netflow коллектор, Зашёл в веб интерфейс включил RFlow в результате роутер вставал через пол дня, в результате выяснил что он грузил проц на 100%. Решил поставить fprobe-ulog скачал пакет

 http://downloads.openwrt.org/backfire/10.03.1/brcm-2.4/packages/fprobe-ulog_1.1-1_brcm-2.4.ipk 
Залил на роутер запустил с параметрами
./fprobe-ulog 192.168.1.22:9000
в результате
Mem: 118584K used, 5824K free, 0K shrd, 2340K buff, 102312K cached
CPU: 48.0% usr 50.5% sys  0.0% nic  0.0% idle  0.0% io  0.0% irq  1.3% sirq
Load average: 2.50 1.20 0.61 5/39 23227
  PID  PPID USER     STAT   VSZ %VSZ %CPU COMMAND
23187     1 root     S     9208  7.3 99.2 ./fprobe-ulog 192.168.1.22:9000
 1348     1 root     S     2612  2.1  0.2 /usr/sbin/nmbd -D --configfile=/tmp/smb.conf
21086   939 root     S     1312  1.0  0.2 dropbear -b /tmp/loginprompt -r /tmp/root/.ssh/ssh_host_rsa_key -d /tmp/root/.ssh/ssh_host_dss_key -p 22  -a
23192 21088 root     R     1232  0.9  0.2 top
 1352     1 root     S     2796  2.2  0.0 /usr/sbin/smbd -D --configfile=/tmp/smb.conf


Что не так понять не могу скорость трафика 512кб роутер asus rt-n16 процик 400Mz должно по идее за глаза хватить. Помоги кто встречался с похожей проблемой

mannaz2004
()
Форум — Admin

Iptables+ Континент АП

Добрый день. Связи с автоматизацией все России добралось и до нас, теперь нами приходиться работать УСФД, требуется туннель который устанавливает Континент АП, а дальше в браузер открыть внутренний сайт, но тут одна проблема непонятная если делаю через nat то всё это дело тупит по чёрному. Соединения устанавливаться, начинаешь открывать страницу, открывается по 5 минут, а если без NAT на прямую то проблем нету всё летает. в iptables не каких запрещающих правил для FORWARD, проверял tcpdump на обоих интерфейсах трафик идёт не чего нет что бы могло мешать. Помогите кто встречался с подобной проблемой

mannaz2004
()
Форум — Admin

не подключаеться pptp

Добрый день не могу настроить pptp вроде всё правельно а в логи сыпиться

Aug 12 21:20:57 srv-gate pppd[2348]: Connect: ppp2 <--> /dev/pts/3
Aug 12 21:20:57 srv-gate pptp[2353]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Aug 12 21:20:57 srv-gate pptp[2359]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Aug 12 21:20:57 srv-gate pptp[2359]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Aug 12 21:20:57 srv-gate pptp[2359]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Aug 12 21:20:58 srv-gate pppd[2348]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth eap> <magic 0x996f157e> <pcomp> <accomp>]
Aug 12 21:20:58 srv-gate pptp[2359]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Aug 12 21:20:58 srv-gate pptp[2359]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Aug 12 21:20:58 srv-gate pptp[2359]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 26543).
Aug 12 21:20:58 srv-gate pppd[2348]: rcvd [LCP ConfReq id=0x1 <auth chap MD5> <mru 1460> <magic 0x79952410>]
Aug 12 21:20:58 srv-gate pppd[2348]: sent [LCP ConfAck id=0x1 <auth chap MD5> <mru 1460> <magic 0x79952410>]
Aug 12 21:20:58 srv-gate pppd[2348]: rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> < 03 02> <pcomp> <accomp>]
Aug 12 21:20:58 srv-gate pppd[2348]: Received bad configure-rej:  02 06 00 00 00 00 03 02 07 02 08 02
Aug 12 21:20:59 srv-gate pppd[2348]: rcvd [LCP ConfReq id=0x2 <auth chap MD5> <mru 1460> <magic 0x79952410>]
Aug 12 21:20:59 srv-gate pppd[2348]: sent [LCP ConfAck id=0x2 <auth chap MD5> <mru 1460> <magic 0x79952410>]
Aug 12 21:21:01 srv-gate pppd[2348]: rcvd [LCP ConfReq id=0x3 <auth chap MD5> <mru 1460> <magic 0x79952410>]
Aug 12 21:21:01 srv-gate pppd[2348]: sent [LCP ConfAck id=0x3 <auth chap MD5> <mru 1460> <magic 0x79952410>]
Aug 12 21:21:01 srv-gate pppd[2348]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth eap> <magic 0x996f157e> <pcomp> <accomp>]
Aug 12 21:21:01 srv-gate pppd[2348]: rcvd [LCP ConfRej id=0x1 <asyncmap 0x0> < 03 02> <pcomp> <accomp>]
Aug 12 21:21:01 srv-gate pppd[2348]: Received bad configure-rej:  02 06 00 00 00 00 03 02 07 02 08 02
Aug 12 21:21:03 srv-gate pppd[2348]: rcvd [LCP ConfReq id=0x4 <auth chap MD5> <mru 1460> <magic 0x79952410>]
Aug 12 21:21:03 srv-gate pppd[2348]: sent [LCP ConfAck id=0x4 <auth chap MD5> <mru 1460> <magic 0x79952410>]

mannaz2004
()
Форум — Admin

apache2 от несколько пользователей

Добрый день. Хочу настроить чтоб виртуальные хосты работали от разных пользователей.

1. Установил apt-get install apache2-mpm-itk
2. Создал нового пользователя zapoved
3. <VirtualHost *:80>
  ServerName ******
  ServerAlias *********
    DocumentRoot /home/zapoved/www/sait/
  CustomLog /var/log/apache2/zapoved_access.log combined
  ErrorLog /var/log/apache2/zapoved_error.log
<IfModule mpm_itk_module>
AssignUserId zapoved zapoved
</IfModule>
</VirtualHost>
4. Создаю папку через joomla проверяю права а там www-data
где накосячил не знаю помогите разобраться.

mannaz2004
()
Форум — Admin

Видео поток по HTTP в DLNA

Добрый день. Есть провайдер который вещает каналы в Unicast (http://172.16.0.12:8012 как пример) можно ли этот поток вещать в DLNA?

mannaz2004
()
Форум — Admin

проблемы с pppd

Добрый день есть сервер Ubuntu 10.4, иногда падает интерфейс ppp10 поднятие его в ручную не даёт успеха. Заметил такой косяк, что запускается 2 pppd.

5825 ?        Ss     0:00 sshd: mannaz [priv]
 5885 ?        S      0:00  \_ sshd: mannaz@pts/1
 5886 pts/1    Ss     0:00      \_ -bash
 9603 pts/1    R+     0:00          \_ ps xaf
 9466 ?        Ss     0:00 /usr/sbin/pppd call domolink
 9468 ?        S      0:00  \_ sh -c pptp 172.16.4.1 --nolaunchpppd
 9471 ?        S      0:00      \_ pptp 172.16.4.1 --nolaunchpppd
 9490 ?        S      0:00 pptp 172.16.4.1 --nolaunchpppd
 9507 ?        Ss     0:00 /usr/sbin/pppd call domolink
 9509 ?        S      0:00  \_ sh -c pptp 172.16.4.1 --nolaunchpppd
 9510 ?        S      0:00      \_ pptp 172.16.4.1 --nolaunchpppd
Не понятно откуда берётся второй процесс.

mannaz2004
()
Форум — Admin

Поломался dhclient в ubuntu 10.04

Добрый день поломался dhclient не получает ip, решил разобраться почему и обнаружил такую не приятную вещь.

root@server-linux:~# ifup -v eth2
Configuring interface eth2=eth2 (inet)
run-parts --verbose /etc/network/if-pre-up.d
run-parts: executing /etc/network/if-pre-up.d/bridge
run-parts: executing /etc/network/if-pre-up.d/vlan
run-parts: executing /etc/network/if-pre-up.d/wireless-tools
run-parts: executing /etc/network/if-pre-up.d/wpasupplicant

dhclient -1 -v -pf /run/dhclient.eth2.pid -lf /var/lib/dhcp/dhclient.eth2.leases eth2
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Usage: dhclient [-1dqrx] [-nw] [-p <port>] [-s server]
                [-cf config-file] [-lf lease-file][-pf pid-file] [-e VAR=val]
                [-sf script-file] [interface]
Failed to bring up eth2.

Косяк неправленые параметры dhclient. Не могу найти из какого срипта он запускается, хочу изменить параметры запуска, не подскажите?

mannaz2004
()
Форум — Admin

DHCP клиент не получает настройки

Добрый день. Сервер перестал получать DHCP настройки провайдера. Если в ручную запустить

/sbin/dhclient
то сетевая карта получает настройки! Как исправить?

mannaz2004
()

RSS подписка на новые темы