И это всё МОЁ

Привет!

Пока был в отпуске, практически полностью перевел все голосовые звонки на мессенджер, в моем случае Viber.

Плюсы: высокое качество звука, возможность видеозвонков (на которые тоже подсел)

Минусы: ну иногда ничего не работало и приходилось переходить на обычный GSM, так как мобильный интернет был очень слабый. Проблемы возникали в деревнях, но в любых крупных поселках и уж тем более в городах проблем не было. А на носу 5G, то есть все будет только улучшаться.

Что интересно: стоимость моего пакета минут выше стоимости пакета трафика (250 рублей против 200), при этом минуты у меня ограничены, а вот трафик — нет.

Родных и близких я приучил звонить мне по Viber (напишите свое название), но вот почему-то деловые звонки через интернет совершать не принято. Пока прикатываю коллег подумать на эту тему.

Я пытаюсь доказать, что звонить через GSM нужно только в экстренных случаях.

А ты что думаешь?

P.S. Думаю что есть и свободные месенджеры с голосом, но я о них не знаю.








 , ,








13:29

sway tray

И это всё МОЁ

продолжаю доставать всех c sway. waylan радует своей отзывчивостью и невероятно низкой нагрузкой на проц,единственное без чего работать невозможно это трей который не работает в любых барах. В waybar у меня еще показываются иконки от некоторых типа nm-applet, но не кликабельные и потому бесполезные. А у многих работает как тут например
https://github.com/VichoReyes/dotfiles

у кого нить еще пашет? Не понимаю в чем причина, перепробовал все советы какие нашел








 ,








И это всё МОЁ

Посмотрел видео тут https://darklang.com/ честно выглядит очень круто, то что он рассказывает впринципе покрывает все или почти все проблемы вокруг создания веб-бекендов, плюс безопасность на уровне синтаксиса, типов и версионирования кода это круто, в одной из моих прошлых контор у нас похожее было на самопальных костылях.

Интеграция реальных данных прямо в редактор кода тоже выглядит офигенно, и принципе довольно очевидная и простая штука, просто в 99% случаев продакшен и редактор кода никак не общаются.

Из минусов конечно вендор-лок, но честно экономия затрат на разработку / прототипирование / быстрый запуск может быть сильно выгоднее. Попробую когда (и если) будет бесплатный план.

Что думаете?








 , , , ,








И это всё МОЁ
И это всё МОЁ

В очередной раз пытаюсь выбежать из Apple walled garden-а, и ищу, куда бы вместо iCloud складывать фотки и видео. Требования следующие:



  • Совместимость Android/iOS/macOS. Винда и линупсы опционально приветствуются

  • Lossless-бекап живых фото из айфона: чтобы можно было восстановить live photo без геморроя в библиотеке в случае надобности.

  • Контроль над файлами: где-то (либо у меня на сервере, либо у меня на компьютере) всегда должны быть доступны все оригиналы.

  • Бекап на внешнее облако, неважно — своё или SaaS.


Если кто-то пользуется подобным, предлагайте варианты. Nextcloud/ownCloud отпадает по второму пункту — поэтому и ищется замена.









 , ,








И это всё МОЁ

Доброго здоровьица,
суть беды: функция открывает(fopen) файл /proc/meminfo и выводит значение, после чего закрывает(fclose).В течение всей работы вызовы функции в разных частях кода дают неизменное значение памяти, чего быть не может.








 ,








И это всё МОЁ

Наблюдаю сильную рассиинхронизацию времени внутри kvm (qemu) с хостом.

qemu запускается так:

qemu-system-x86_64 -net bridge,br=brqemu -net nic,model=virtio,macaddr=xx:xx:xx:00:00:03 -enable-kvm \
-drive file=/dev/storage/kvm-root,if=virtio \
-drive file=/dev/storage/kvm-home,if=virtio -m 4096 -vnc 127.0.0.1:0 -kernel bzImage -append root=/dev/vda

Т.е. ничего про rtc нету, в надежде на дефолты. Был -smp 6, потом убрал, не помогло (кому-то в гугле помогало, я надеялся на то же).

Версия qemu - 3.1.0, до этого была 2.3.0, с тем же эффектом.

Рассинхрон идёт сразу после старта и очень быстрыми темпами, из-за которых, похоже, ntpd не справляется и отказывается синхронизировать часы.

Скорость рассинхрона - 1 миллисекунда за секунду, что как-то дохера, по-моему. Т.е. буквально запускаешь ntpdate -q pool.ntp.org и на каждом запуске видишь, как уплывает время в даль.

Ещё данные:

# ntpq -c rv
associd=0 status=c018 leap_alarm, sync_unspec, 1 event, no_sys_peer,
version="ntpd [email protected] Mon Sep 16 09:36:00 UTC 2019 (1)",
processor="x86_64", system="Linux/3.18.12-gentoo", leap=11, stratum=16,
precision=-10, rootdelay=0.000, rootdisp=47.745, refid=STEP,
reftime=(no time),
clock=e12b1e52.0e2f50b6 Tue, Sep 17 2019 10:56:50.055, peer=0, tc=6,
mintc=3, offset=0.000000, frequency=56.721, sys_jitter=0.976562,
clk_jitter=0.977, clk_wander=0.000

При старте ntpd в логах ошибка:

Sep 17 10:58:15 qemu-03 ntpd[9231]: kernel reports TIME_ERROR: 0x6041: Clock Unsynchronized
Sep 17 10:58:15 qemu-03 ntpd[9231]: kernel reports TIME_ERROR: 0x6041: Clock Unsynchronized

Какое-то время ntpd пытается синхронизировать часы (бывает stratum 3), но потом уходит в stratum 16 и всё.

(ntpd запущен пару минут назад):

# ntpq -c pe 

remote refid st t when poll reach delay offset jitter
==============================================================================
stratum2-2.NTP. 129.70.130.71 2 u 6 64 3 15.934 1019.81 788.720
stratum2-4.NTP. 129.70.130.70 2 u 5 64 3 14.933 1042.84 811.482
sv1.ggsrv.de 205.46.178.169 2 u 3 64 3 0.977 1099.32 855.223
server1.sim720. 193.190.230.65 2 u 4 64 3 0.977 1089.37 835.586

Куда вообще копать и что с этим можно сделать? Тупо обновляться до последних версий ядра и qemu в надежде на фикс не хочется, хотелось бы знать причину.

Ядро на хосте: 3.18.11

Ядро на kvm: 3.18.12








 ,








И это всё МОЁ

Сабж коллеги! Имеется кастомный 404.php, который я пытаюсь запихать в Location вида:

location /404.php
limit_req _параметры_

Но, судя по всему, .php location блок перехватывает, и скрипт запускается как обычный, но не работает limit_req. Т.е Location не отрабатывает, как его запихать туда? Named_location уже попробовал, ноль эффекта, с 404.html, к примеру, работать будет такой трюк.. Добавление параметров fastcgi так же не меняет погоды.








 








И это всё МОЁ

Приветствую!

Нужно переписать скрипт работающий с https/ssl сертификатами на устройствах микротик.
Скрипт работает в среде linux, выполняет задачу - получить(обновить) сертификаты (в частности у letsencript), авторизоваться на микротике по ssh ключу, добавить сертификаты в микротик(удалить старые, добавить новые), дальше удаляет сертификаты у себя. Скрипт работает с отдельным файлом конфигурации.
Сейчас скрипт работает с одним устройством микротик(одним файлом конфигурации).
Скрипт: letsencrypt-routeros.sh

#!/bin/bash
CONFIG_FILE=letsencrypt-routeros.settings

if [[ -z $1 ]] || [[ -z $2 ]] || [[ -z $3 ]] || [[ -z $4 ]] || [[ -z $5 ]]; then
echo -e "Usage: $0 or $0 [RouterOS User] [RouterOS Host] [SSH Port] [SSH Private Key] [Domain]\n"
source $CONFIG_FILE
else
ROUTEROS_USER=$1
ROUTEROS_HOST=$2
ROUTEROS_SSH_PORT=$3
ROUTEROS_PRIVATE_KEY=$4
DOMAIN=$5
fi

if [[ -z $ROUTEROS_USER ]] || [[ -z $ROUTEROS_HOST ]] || [[ -z $ROUTEROS_SSH_PORT ]] || [[ -z $ROUTEROS_PRIVATE_KEY ]] || [[ -z $DOMAIN ]]; then
echo "Check the config file $CONFIG_FILE or start with params: $0 [RouterOS User] [RouterOS Host] [SSH Port] [SSH Private Key] [Domain]"
echo "Please avoid spaces"
exit 1
fi

CERTIFICATE=/etc/letsencrypt/live/$DOMAIN/cert.pem
KEY=/etc/letsencrypt/live/$DOMAIN/privkey.pem
CHAIN=/etc/letsencrypt/live/$DOMAIN/chain.pem


#Create alias for RouterOS command
routeros="ssh -i $ROUTEROS_PRIVATE_KEY $ROUTEROS_USER@$ROUTEROS_HOST -p $ROUTEROS_SSH_PORT"

#Check connection to RouterOS
$routeros /system resource print
RESULT=$?

if [[ ! $RESULT == 0 ]]; then
echo -e "\nError in: $routeros"
echo "More info: wiki.mikrotik.com/wiki/Use_SSH_ ... key_login)"
exit 1
else
echo -e "\nConnection to RouterOS Successful!\n"
fi

if [ ! -f $CERTIFICATE ] && [ ! -f $KEY ]; then
echo -e "\nFile(s) not found:\n$CERTIFICATE\n$KEY\n"
echo -e "Please use CertBot Let'sEncrypt:"
echo "============================"
echo "certbot certonly --preferred-challenges=dns --manual -d $DOMAIN --manual-public-ip-logging-ok"
echo "or (for wildcard certificate):"
echo "certbot certonly --preferred-challenges=dns --manual -d *.$DOMAIN --manual-public-ip-logging-ok --server acme-v02.api.letsencrypt.org/directory";
echo "==========================="
echo -e "and follow instructions from CertBot\n"
exit 1
fi

# Remove previous certificate
$routeros /certificate remove [find name=$DOMAIN.pem_0]

# Create Certificate
# Delete Certificate file if the file exist on RouterOS
$routeros /file remove $DOMAIN.pem > /dev/null
# Upload Certificate to RouterOS
scp -q -P $ROUTEROS_SSH_PORT -i "$ROUTEROS_PRIVATE_KEY" "$CERTIFICATE" "$ROUTEROS_USER"@"$ROUTEROS_HOST":"$DOMAIN.pem"
sleep 2
# Import Certificate file
$routeros /certificate import file-name=$DOMAIN.pem passphrase=\"\"
# Delete Certificate file after import
$routeros /file remove $DOMAIN.pem

# Create Key
# Delete Certificate file if the file exist on RouterOS
$routeros /file remove $KEY.key > /dev/null
# Upload Key to RouterOS
scp -q -P $ROUTEROS_SSH_PORT -i "$ROUTEROS_PRIVATE_KEY" "$KEY" "$ROUTEROS_USER"@"$ROUTEROS_HOST":"$DOMAIN.key"
sleep 2
# Import Key file
$routeros /certificate import file-name=$DOMAIN.key passphrase=\"\"
# Delete Certificate file after import
$routeros /file remove $DOMAIN.key

# Create Chain
# Delete Chain file if the file exist on RouterOS
$routeros /file remove $DOMAIN-chain.pem> /dev/null
# Upload Chain to RouterOS
scp -q -P $ROUTEROS_SSH_PORT -i "$ROUTEROS_PRIVATE_KEY" "$CHAIN" "$ROUTEROS_USER"@"$ROUTEROS_HOST":"$DOMAIN-chain.pem"
sleep 2
# Import Chain file
$routeros /certificate import file-name=$DOMAIN-chain.pem passphrase=\"\"
# Delete Chain file after import
$routeros /file remove $DOMAIN-chain.pem

# Setup Certificate to SSTP Server
#$routeros /interface sstp-server server set certificate=$DOMAIN.pem_0
$routeros /ip service set www-ssl certificate=$DOMAIN.pem_0
$routeros /ip hotspot profile set hsprof1 login-by=https ssl-certificate=$DOMAIN.pem_0

exit 0

Файл конфигурации: letsencrypt-routeros.settings
ROUTEROS_USER=admin
ROUTEROS_HOST=10.0.254.254
ROUTEROS_SSH_PORT=22
ROUTEROS_PRIVATE_KEY=/opt/letsencrypt-routeros/id_dsa
DOMAIN=vpnserver.yourdomain.com

Пример выполнения скрипта:
uptime: 6w6d22h11m15s
version: 6.44 (stable)
build-time: Feb/25/2019 14:11:04
factory-software: 6.36.1
free-memory: 202.0MiB
total-memory: 256.0MiB
cpu: MIPS 1004Kc V2.15
cpu-count: 4
cpu-frequency: 880MHz
cpu-load: 6%
free-hdd-space: 4848.0KiB
total-hdd-space: 16.3MiB
write-sect-since-reboot: 19348
write-sect-total: 41673
bad-blocks: 0%
architecture-name: mmips
board-name: hEX
platform: MikroTik


Connection to RouterOS Successful!

certificates-imported: 1
private-keys-imported: 0
files-imported: 1
decryption-failures: 0
keys-with-no-certificate: 0

certificates-imported: 0
private-keys-imported: 1
files-imported: 1
decryption-failures: 0
keys-with-no-certificate: 0

certificates-imported: 0
private-keys-imported: 0
files-imported: 0
decryption-failures: 0
keys-with-no-certificate: 0

Нужно научить работать скрипт с несколькими файлами конфигурации вида letsencrypt-routeros_ХХ.settings(несколькими устройствами микротик)
При этом скрипт должен !!!Только Один раз обращаться к серверу letsencript за обновлением серификатов(иначе ip инициатора забанят).
Дальше поэтапно(именно поэтапно - с одним закончил перешел к следующему) обновляет все устройства в соответствии с файлами конфигурации, в файл лога пишет отчет о выполнении по каждому конфиг файлу, дальше удаляет серты у себя.
Источник кода








 ,








И это всё МОЁ

Что происходит, когда браузер видит конструкции типа:

tg://resolve?domain=some_domain

apt:...

magnet:...

Каков механизм взаимодействия браузера с внешними программами и как я могу зарегистрировать свой протокол?








 , ,








И это всё МОЁ

Добрый день!
Подскажите,
есть программа в Linux socat (это универсальная утилита командной строки, предназначенная для создания двунаправленных потоков передачи данных между каналами, такими как файлы, сетевые шины, устройства с последовательным интерфейсом, сокеты).
Работает она в arch Linux без проблем, перенаправляет данные с последовательного UART в USB к которому подключено CDC устройство. Но данная программа не устанавливается на Onion OS, которая работает на плате Omega2.

Может быть кто-нибудь знает, как сделать так или где искать аналог для Onion OS или установить socat на Onion OS, работающую на плате Omega2, чтобы работало и перенаправляло данные с последовательного UART в USB к которому подключено CDC устройство, так же как работает в arch Linux?








 , ,








И это всё МОЁ

Здравствуйте. На вирт. машине пытаюсь собрать MySQL CLuster на двух серверах с Debian.
При запуске сервер управления

ndb_mgmd -f /var/lib/mysql-cluster/config.ini

появляется ошибка
[MgmtSrvr] ERROR -- Could not determine which nodeid to use for this node. Specify it with --ndb-nodeid= on command line

Сначала пытался выполнить команду для отключения проверки идентификатора узла

ndb_mgmd with the --no-nodeid-checks

но это не помогло и снова показывается та же самая ошибка
Потом я указал id для каждого узла в /var/lib/mysql-cluster/config.ini

[ndbd default]
NoOfReplicas=1
[ndb_mgmd]
NodeId=1
hostname=198.168.183.150
datadir=/var/lib/mysql-cluster
[ndbd]
hostname=198.168.183.151
NodeId=2
datadir=/usr/local/mysql/data
[mysqld]
NodeId=3
hostname=198.168.183.150

И с помощью команды

ndb_mgmd --ndb-nodeid=1
присвоить id узла(Пробовал каждый id присвоить).
И вот это сообщение
[MgmtSrvr] INFO -- Trying to get configuration from other mgmd(s) using 'nodeid=1,localhost:1186'...
появляется каждые 20 секунд примерно до бесконечности...

И собственно вопрос: почему так происходит ?Уже весь гугл перерыл, находил такие же проблемы, но те решения мне не помогли(и не надо пожалуйста отправлять меня в гугл, я все описанные действия оттуда взял, при чём с англоязычных сайтов)

Я пользовался этим мануалом при установке https://www.digitalocean.com/community/tutorials/how-to-create-a-multi-node-m...








 , , ,








И это всё МОЁ

Не дает покоя моя душонка :). Как то раз в прошлом году пытался его установить, но до eselect доходил после дошел до компиляции ядра, не смог нормально до установить. Сразу опишу мою конфигурацию железа, вы там сориентируйте пожалуйста если у вас есть опыт, сколько время займет базовая установка:



  • ЦП: Intel Core i5, 3.1Ггц

  • Оперативка: 4 гига

  • Видеокарта: Nvidia GeForce GTX 550 Ti

  • HDD: SEAGATE ST500DM002 (Скорость вращения шпинделя - 7200 оборотов/мин., макс. скорость передачи данных
    110 Мбайт/с)









 








И это всё МОЁ

Собсна, сабж.
Хочу себе тонкий, легкий, долгоживущий небольшой ноут , либо планшет-трансформер, для ношения с собой, переноски по квартире и просто для удобства.
Мой «стационарный» десятилетний ноут 18.4 дюйма с седьмой коркой и прочим уже давно просто стоит на столе, как постоянный комп, ибо заряд уже не держит, да и весит аки слон. Зато шустрый, да... Но таскать его куда либо то еще занятие.

Задачи: легкий кодинг в любом месте квартиры (хотя если бы тянул иде и андроид эмулятор, было бы круто), тексты, мб сериал посмотреть.

Спрашиваю тут, потому что часто сталкивался на форуме с темами, что на современных ноутах в онтопе что-то, да не взлетает.

Кто чем пользуется?

Бюджет до 20к я бы сказал, не хочу тратить много бабла на железку, которая не основная.

З.Ы. У жены леново миих 3, плашмет с клавой и десяткой. Сам по себе железка прикольная, но слабый от слова вообще, да и с вопросом онтопа не ясно, вроде там все не очевидно с его установкой.








 








И это всё МОЁ

А можно составить работающую Eula, которая разрешала бы всем пользоваться софтом по одним условиям, а компании A под другими, например в 10 раз дороже. Интересуют именно законы США, а не РФ.








 ,








И это всё МОЁ

Пытаюсь очередной раз завести плагин vim-xkbswitch. Система Ubuntu 19.04 с Gnome 3.32.0. Для своей работы плагин требует библиотеку xkb-switch, с которой и обнаружились проблемы. Плагин просто не работает.

Тыканье xkb-switch показало, что по всей видимости я наткнулся на эту проблему.

Автор библиотеки ierton о проблеме осведомлён, но не знает, что делать. Поэтому и прошу помощи здесь: всё-таки популярный плагин и популярная DE, может вместе разберёмся.








 , , , ,








И это всё МОЁ

При сборке прошивки выдается ошибка

root@osboxes:~/openwrt# make -j5 V=-1
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python2-cleanup'... ok.
Checking 'python'... ok.
Checking 'python3'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'ldconfig-stub'... ok.
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libgnutls', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libopenldap', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libidn2', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libssh2', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
WARNING: Makefile 'package/network/utils/nftables/Makefile' has a dependency on 'jansson', which does not exist
make[2]: Entering directory '/root/openwrt/scripts/config'
make[2]: Leaving directory '/root/openwrt/scripts/config'
make[2]: Entering directory '/root/openwrt'
make[3]: Entering directory '/root/openwrt/scripts/config'
make[3]: Leaving directory '/root/openwrt/scripts/config'
make[3]: Entering directory '/root/openwrt'
make[3]: Leaving directory '/root/openwrt'
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libgnutls', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libopenldap', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libidn2', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libssh2', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
WARNING: Makefile 'package/network/utils/nftables/Makefile' has a dependency on 'jansson', which does not exist
configuration written to .config

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

make[2]: Leaving directory '/root/openwrt'
time: target/linux/prereq#0.06#0.01#0.19
make[1] world
make[2] tools/compile
make[2] package/cleanup
make[3] -C tools/flock compile
make[3] -C tools/xz compile
make[3] -C tools/sed compile
make[3] -C tools/patch compile
make[3] -C tools/tar compile
make -r world: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/root/openwrt/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 1

Вот подробнее:

root@osboxes:~/openwrt# make -j1 V=s
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on 'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build dependency on 'libpam', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libgnutls', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libopenldap', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libidn2', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a dependency on 'libssh2', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/network/utils/iproute2/Makefile' has a dependency on 'libcap', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency on 'liblzma', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a dependency on 'libnetsnmp', which does not exist
WARNING: Makefile 'package/network/utils/nftables/Makefile' has a dependency on 'jansson', which does not exist
make[1]: Entering directory '/root/openwrt'
make[2]: Entering directory '/root/openwrt'
+ mkdir -p /root/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi
+ cd /root/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi
+ mkdir -p bin lib include stamp
mkdir -p /root/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp
touch /root/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/.prepared
+ mkdir -p /root/openwrt/staging_dir/host
+ cd /root/openwrt/staging_dir/host
+ mkdir -p bin lib include stamp
mkdir -p /root/openwrt/build_dir/host/stamp /root/openwrt/staging_dir/host/include/sys
install -m0644 /root/openwrt/tools/include/*.h /root/openwrt/staging_dir/host/include/
install -m0644 /root/openwrt/tools/include/sys/*.h /root/openwrt/staging_dir/host/include/sys/
ln -sf lib /root/openwrt/staging_dir/host/lib64
touch /root/openwrt/staging_dir/host/.prepared
make[3]: Entering directory '/root/openwrt/tools/flock'
make[3]: Leaving directory '/root/openwrt/tools/flock'
time: tools/flock/compile#0.00#0.00#0.13
make[3]: Entering directory '/root/openwrt/tools/xz'
make[3]: Leaving directory '/root/openwrt/tools/xz'
time: tools/xz/compile#0.01#0.00#0.15
make[3]: Entering directory '/root/openwrt/tools/sed'
make[3]: Leaving directory '/root/openwrt/tools/sed'
time: tools/sed/compile#0.01#0.00#0.14
make[3]: Entering directory '/root/openwrt/tools/patch'
make[3]: Leaving directory '/root/openwrt/tools/patch'
time: tools/patch/compile#0.01#0.00#0.15
make[3]: Entering directory '/root/openwrt/tools/tar'
(cd /root/openwrt/build_dir/host/tar-1.32/; if [ -x configure ]; then cp -fpR /root/openwrt/scripts/config.{guess,sub} /root/openwrt/build_dir/host/tar-1.32// && CC="gcc" CFLAGS="-O2 -I/root/openwrt/staging_dir/host/include " CXX="g++" CPPFLAGS="-I/root/openwrt/staging_dir/host/include " LDFLAGS="-L/root/openwrt/staging_dir/host/lib " CONFIG_SHELL="/usr/bin/env bash" bash ./configure --target=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/root/openwrt/staging_dir/host --exec-prefix=/root/openwrt/staging_dir/host --sysconfdir=/root/openwrt/staging_dir/host/etc --localstatedir=/root/openwrt/staging_dir/host/var --sbindir=/root/openwrt/staging_dir/host/bin --without-posix-acls --without-selinux --without-xattrs --disable-acl --disable-nls ; fi )
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... none needed
checking for gcc option to accept ISO Standard C... (cached) none needed
checking for x86_64-pc-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /root/openwrt/staging_dir/host/bin/grep
checking for egrep... /root/openwrt/staging_dir/host/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for Minix Amsterdam compiler... no
checking for x86_64-pc-linux-gnu-ar... no
checking for ar... ar
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for x86_64-pc-linux-gnu-ar... ar
checking for special C compiler options needed for large files... (cached) no
checking for _FILE_OFFSET_BITS value needed for large files... (cached) no
checking for inline... inline
checking for fcntl.h... yes
checking for linux/fd.h... yes
checking for memory.h... (cached) yes
checking for net/errno.h... no
checking for sgtty.h... yes
checking for string.h... (cached) yes
checking for sys/param.h... yes
checking for sys/device.h... no
checking for sys/gentape.h... no
checking for sys/inet.h... no
checking for sys/io/trioctl.h... no
checking for sys/mtio.h... yes
checking for sys/time.h... yes
checking for sys/tprintf.h... no
checking for sys/tape.h... no
checking for unistd.h... (cached) yes
checking for locale.h... yes
checking for sys/types.h... (cached) yes
checking for features.h... yes
checking for linewrap.h... no
checking for sys/socket.h... yes
checking for dirent.h... yes
checking for fnmatch.h... yes
checking for wctype.h... yes
checking for stdio_ext.h... yes
checking for sys/stat.h... (cached) yes
checking for getopt.h... yes
checking for sys/cdefs.h... yes
checking for limits.h... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for crtdefs.h... no
checking for langinfo.h... yes
checking for xlocale.h... yes
checking for sys/mman.h... yes
checking for priv.h... no
checking for malloc.h... yes
checking for selinux/selinux.h... no
checking for strings.h... (cached) yes
checking for sysexits.h... yes
checking for utime.h... yes
checking for netdb.h... yes
checking for sys/wait.h... yes
checking for pwd.h... yes
checking for grp.h... yes
checking for sys/buf.h... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking for st_fstype string in struct stat... no
checking for mode_t... yes
checking for pid_t... yes
checking for off_t... yes
checking for uid_t in sys/types.h... yes
checking for major_t... no
checking for minor_t... no
checking for dev_t... yes
checking for ino_t... yes
checking for ssize_t... yes
checking for fchmod... yes
checking for flockfile... yes
checking for funlockfile... yes
checking for pathconf... yes
checking for btowc... yes
checking for canonicalize_file_name... yes
checking for getcwd... yes
checking for readlink... yes
checking for realpath... yes
checking for readlinkat... yes
checking for chown... yes
checking for fchown... yes
checking for _set_invalid_parameter_handler... no
checking for fchdir... yes
checking for fdopendir... yes
checking for faccessat... yes
checking for fchmodat... yes
checking for lchmod... no
checking for fcntl... yes
checking for symlink... yes
checking for mempcpy... yes
checking for fnmatch... yes
checking for isblank... yes
checking for iswctype... yes
checking for mbsrtowcs... yes
checking for wmemchr... yes
checking for wmemcpy... yes
checking for wmempcpy... yes
checking for fstatat... yes
checking for futimens... yes
checking for getdelim... yes
checking for getdtablesize... yes
checking for getprogname... no
checking for getexecname... no
checking for gettimeofday... yes
checking for iswcntrl... yes
checking for iswblank... yes
checking for link... yes
checking for openat... yes
checking for linkat... yes
checking for lstat... yes
checking for mbsinit... yes
checking for mbrtowc... yes
checking for mprotect... yes
checking for mkdirat... yes
checking for mkfifoat... yes
checking for mknodat... yes
checking for mknod... yes
checking for tzset... yes
checking for nl_langinfo... yes
checking for renameat... yes
checking for renameat2... no
checking for setenv... yes
checking for sleep... yes
checking for snprintf... yes
checking for strdup... yes
checking for strndup... yes
checking for strtoimax... yes
checking for strtoumax... yes
checking for symlinkat... yes
checking for localtime_r... yes
checking for timegm... yes
checking for pipe... yes
checking for unlinkat... yes
checking for utime... yes
checking for futimes... yes
checking for futimesat... yes
checking for utimensat... yes
checking for lutimes... yes
checking for vasnprintf... no
checking for wcrtomb... yes
checking for wcwidth... yes
checking for mkfifo... yes
checking for setlocale... yes
checking for fsync... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for C/C++ restrict keyword... __restrict
checking whether clearerr_unlocked is declared... yes
checking whether feof_unlocked is declared... yes
checking whether ferror_unlocked is declared... yes
checking whether fflush_unlocked is declared... yes
checking whether fgets_unlocked is declared... yes
checking whether fputc_unlocked is declared... yes
checking whether fputs_unlocked is declared... yes
checking whether fread_unlocked is declared... yes
checking whether fwrite_unlocked is declared... yes
checking whether getc_unlocked is declared... yes
checking whether getchar_unlocked is declared... yes
checking whether putc_unlocked is declared... yes
checking whether putchar_unlocked is declared... yes
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for d_ino member in directory struct... yes
checking for long file names... yes
checking whether <wchar.h> uses 'inline' correctly... yes
checking for nl_langinfo and CODESET... yes
checking for a traditional french locale... none
checking whether // is distinct from /... no
checking whether realpath works... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether chown dereferences symlinks... yes
checking whether chown honors trailing slash... yes
checking whether chown always updates ctime... yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking if environ is properly declared... yes
checking for complete errno.h... yes
checking type of array argument to getgroups... gid_t
checking whether lstat correctly handles trailing slash... yes
checking whether fchdir is declared... yes
checking for working fcntl.h... yes
checking for promoted mode_t type... mode_t
checking for mbstate_t... yes
checking whether stdin defaults to large file offsets... yes
checking whether fseeko is declared... yes
checking for fseeko... yes
checking whether stat file-mode macros are broken... no
checking for nlink_t... yes
checking whether getcwd (NULL, 0) allocates memory for result... yes
checking for getcwd with POSIX signature... yes
checking whether getcwd is declared... yes
checking whether getdelim is declared... yes
checking whether getdtablesize is declared... yes
checking whether getline is declared... yes
checking for getopt.h... (cached) yes
checking for getopt_long_only... yes
checking whether getopt is POSIX compatible... yes
checking for working GNU getopt function... yes
checking for working GNU getopt_long function... yes
checking for struct timeval... yes
checking for wide-enough struct timeval.tv_sec member... yes
checking whether limits.h has LLONG_MAX, WORD_BIT, ULLONG_WIDTH etc.... no
checking for wint_t... yes
checking whether wint_t is too small... no
checking for unsigned long long int... yes
checking for long long int... yes
checking whether stdint.h conforms to C99... yes
checking whether stdint.h predates C++11... no
checking whether stdint.h has UINTMAX_WIDTH etc.... no
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking whether iswcntrl works... yes
checking for towlower... yes
checking for wctype_t... yes
checking for wctrans_t... yes
checking for O_CLOEXEC... yes
checking for wchar_t... yes
checking for good max_align_t... yes
checking whether NULL can be used in arbitrary expressions... yes
checking whether malloc, realloc, calloc are POSIX compliant... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for a traditional japanese locale... none
checking for a transitional chinese locale... none
checking for a french Unicode locale... none
checking for mmap... yes
checking for MAP_ANONYMOUS... yes
checking whether memchr works... yes
checking whether memrchr is declared... yes
checking whether <limits.h> defines MIN and MAX... no
checking whether <sys/param.h> defines MIN and MAX... yes
checking whether time_t is signed... yes
checking whether alarm is declared... yes
checking for working mktime... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for compound literals... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... yes
checking whether setenv is declared... yes
checking search.h usability... yes
checking search.h presence... yes
checking for search.h... yes
checking for tsearch... yes
checking for sigset_t... yes
checking whether snprintf returns a byte count as in C99... yes
checking whether snprintf is declared... yes
checking whether strdup is declared... yes
checking whether strerror(0) succeeds... yes
checking whether strndup is declared... yes
checking whether strnlen is declared... yes
checking whether strtoimax is declared... yes
checking whether strtoumax is declared... yes
checking for struct timespec in <time.h>... yes
checking whether unsetenv is declared... yes
checking whether the utimes function works... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for intmax_t... yes
checking where to find the exponent in a 'double'... word 1 bit 20
checking for snprintf... (cached) yes
checking for strnlen... yes
checking for wcslen... yes
checking for wcsnlen... yes
checking for mbrtowc... (cached) yes
checking for wcrtomb... (cached) yes
checking whether _snprintf is declared... no
checking whether vsnprintf is declared... yes
checking for alloca as a compiler built-in... yes
checking whether program_invocation_name is declared... yes
checking whether program_invocation_short_name is declared... yes
checking whether program_invocation_name is defined... yes
checking whether program_invocation_short_name is defined... yes
checking whether btowc(0) is correct... yes
checking whether btowc(EOF) is correct... guessing yes
checking for __builtin_expect... yes
checking whether this system has an arbitrary file name length limit... yes
checking for library containing clock_gettime... none required
checking for clock_gettime... yes
checking for clock_settime... yes
checking for closedir... yes
checking for d_ino member in directory struct... (cached) yes
checking for dirfd... yes
checking whether dirfd is declared... yes
checking whether dirfd is a macro... no
checking whether // is distinct from /... (cached) no
checking whether dup works... yes
checking whether dup2 works... yes
checking for error_at_line... yes
checking for euidaccess... yes
checking for fchownat... yes
checking whether fchownat works with AT_SYMLINK_NOFOLLOW... yes
checking whether fchownat works with an empty file name... yes
checking whether fcntl handles F_DUPFD correctly... yes
checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
checking whether fdopendir is declared... yes
checking whether fdopendir works... yes
checking for struct stat.st_blocks... yes
checking for flexible array member... yes
checking whether conversion from 'int' to 'long double' works... yes
checking for working GNU fnmatch... yes
checking for __fpending... yes
checking whether __fpending is declared... yes
checking for fseeko... (cached) yes
checking whether fstatat (..., 0) works... yes
checking whether futimens works... yes
checking whether getcwd handles long file names properly... yes
checking for getpagesize... yes
checking whether getcwd aborts when 4k < cwd_length < 16k... no
checking for working getdelim function... yes
checking whether getdtablesize works... yes
checking for getgroups... yes
checking for working getgroups... yes
checking whether getgroups handles negative values... yes
checking for getline... yes
checking for working getline function... yes
checking for getpagesize... (cached) yes
checking whether getpagesize is declared... yes
checking whether program_invocation_name is declared... (cached) yes
checking whether program_invocation_short_name is declared... (cached) yes
checking whether __argv is declared... no
checking whether gettimeofday clobbers localtime buffer... no
checking for gettimeofday with POSIX signature... almost
checking for group_member... yes
checking whether INT32_MAX < INTMAX_MAX... yes
checking whether INT64_MAX == LONG_MAX... yes
checking whether UINT32_MAX < UINTMAX_MAX... yes
checking whether UINT64_MAX == ULONG_MAX... yes
checking whether iswblank is declared... yes
checking whether langinfo.h defines CODESET... yes
checking whether langinfo.h defines T_FMT_AMPM... yes
checking whether langinfo.h defines ALTMON_1... no
checking whether langinfo.h defines ERA... yes
checking whether langinfo.h defines YESEXPR... yes
checking for lchown... yes
checking whether the compiler supports the __inline keyword... yes
checking whether link obeys POSIX... yes
checking for __xpg4... no
checking whether link(2) dereferences a symlink... no
checking whether linkat() can link symlinks... yes
checking whether linkat handles trailing slash correctly... yes
checking whether locale.h conforms to POSIX:2001... yes
checking whether locale.h defines locale_t... yes
checking whether struct lconv is properly defined... yes
checking whether lseek detects pipes... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... (cached) yes
checking whether mbrtowc handles incomplete characters... guessing yes
checking whether mbrtowc works as well as mbtowc... guessing yes
checking whether mbrtowc handles a NULL pwc argument... guessing yes
checking whether mbrtowc handles a NULL string argument... guessing yes
checking whether mbrtowc has a correct return value... guessing yes
checking whether mbrtowc returns 0 when parsing a NUL character... guessing yes
checking whether mbrtowc works on empty input... yes
checking whether the C locale is free of encoding errors... no
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether mbrtowc handles incomplete characters... (cached) guessing yes
checking whether mbrtowc works as well as mbtowc... (cached) guessing yes
checking whether mbsrtowcs works... guessing yes
checking for mempcpy... (cached) yes
checking for memrchr... yes
checking whether mkdir handles trailing slash... yes
checking whether mkdir handles trailing dot... yes
checking for mkdtemp... yes
checking for mkfifo... yes
checking whether mkfifo rejects trailing slashes... yes
checking whether mknod can create fifo without root privileges... configure: error: in `/root/openwrt/build_dir/host/tar-1.32':
configure: error: you should not run configure as root (set FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
See `config.log' for more details
Makefile:31: recipe for target '/root/openwrt/build_dir/host/tar-1.32/.configured' failed
make[3]: *** [/root/openwrt/build_dir/host/tar-1.32/.configured] Error 1
make[3]: Leaving directory '/root/openwrt/tools/tar'
time: tools/tar/compile#9.88#2.96#37.90
tools/Makefile:157: recipe for target 'tools/tar/compile' failed
make[2]: *** [tools/tar/compile] Error 2
make[2]: Leaving directory '/root/openwrt'
tools/Makefile:155: recipe for target '/root/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.tools_compile_yyyyynnyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnyyy' failed
make[1]: *** [/root/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_musl_eabi/stamp/.tools_compile_yyyyynnyyynyyyyynyynnyyyynyyyyyyyyyyyyyyynyynynnyyynnyyy] Error 2
make[1]: Leaving directory '/root/openwrt'
/root/openwrt/include/toplevel.mk:216: recipe for target 'world' failed
make: *** [world] Error 2







 








И это всё МОЁ

Доброго времени суток!
По протоколу POP3 в Outlook 2013 не приходят в папку «Нежелательная почта» письма из папки «Спам» в Zimbra, но приходят по протоколу IMAP.
Получается, что протокол POP3 не может получать спам или неправильно настроен сам почтовый сервер с Zimbra?








 , ,








И это всё МОЁ
Отрицательно5
Мне все равно3
Положительно1
Всего голосов: 9




 ,








И это всё МОЁ

Добрый день! Муз. колонка стала автономно играть 30 минут вместо пары часов в начале службы. Разобрал, достал АКБ
По model number цены на аналог от 1500 руб. Если просто погуглить по емкости и вольтажу, то есть в 2 раза дешевле, но не известно подойдёт ли.

Вообще хотелось бы увеличить ёмкость, место есть в колонке. Но в теме АКБ я не силён, а хотелось бы получить на выходе безопасное решение. Как я понимаю, где-то есть контроллер заряда. Он обычно отдельно от батареи или внутри неё. Кaкая-то микросхема внутри моего АКБ есть, не знаю контроллер или что-то ещё.
Если менять АКБ то целиком, или припаивать новые «банки» к чипу внутри старого АКБ? Место свободное в 2 раза больше примерно, чем сам АКБ. Конкретно 125*40*30 мм место.