LINUX.ORG.RU

Сообщения Depher

 

Как настроить конфигурацию evolution для новых создаваемых пользователей?

Форум — Admin

Здравствуйте. Есть ли возможность преднастроить (параметры отобравжения, почты, редактора и тд.) клиент evolution и дальше эту конфигурацию распространить на всех новых пользователей, чтобы не приходилось на каждом новом пользователе (клиенте) щёлкать по настройкам в графике. В официальной документации нашёл только резервное копирование, но там происходит копирование вместе с почтовой учётной записью, что не требуется.

 ,

Depher
()

Настройка kerberos для принтера вместе с sssd

Форум — Admin

Кто-то настраивал аутентификацию kerberos для принтера установленного на AD в машине введённой в домен через sssd.(любой дистрибутив Linux)

Домен Active Directory. Принтер подключённый к контроллеру домена. Linux введённый с помощью sssd в домен AD. В cups добавлен принтер по протоколу SMB/CIFS и на принтер установлена аутентификация kerberos.

Но при отправке задания на печать аутентификация не проходит. Расшаренные папки Windows по kerberos монтируются.

 , , , ,

Depher
()

docker iptables

Форум — Admin

Приветствую. Docker изменяет правила iptables на:

Chain INPUT (policy ACCEPT 190 packets, 16644 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy DROP 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER-USER  all  --  any    any     anywhere             anywhere            
    0     0 DOCKER-ISOLATION-STAGE-1  all  --  any    any     anywhere             anywhere            
    0     0 ACCEPT     all  --  any    docker0  anywhere             anywhere             ctstate RELATED,ESTABLISHED
    0     0 DOCKER     all  --  any    docker0  anywhere             anywhere            
    0     0 ACCEPT     all  --  docker0 !docker0  anywhere             anywhere            
    0     0 ACCEPT     all  --  docker0 docker0  anywhere             anywhere            

Chain OUTPUT (policy ACCEPT 188 packets, 15972 bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain DOCKER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 ACCEPT     tcp  --  !docker0 docker0  anywhere             172.17.0.2           tcp dpt:https
    0     0 ACCEPT     tcp  --  !docker0 docker0  anywhere             172.17.0.2           tcp dpt:http
    0     0 ACCEPT     tcp  --  !docker0 docker0  anywhere             172.17.0.2           tcp dpt:ssh

Chain DOCKER-ISOLATION-STAGE-1 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER-ISOLATION-STAGE-2  all  --  docker0 !docker0  anywhere             anywhere            
    0     0 RETURN     all  --  any    any     anywhere             anywhere            

Chain DOCKER-ISOLATION-STAGE-2 (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DROP       all  --  any    docker0  anywhere             anywhere            
    0     0 RETURN     all  --  any    any     anywhere             anywhere            

Chain DOCKER-USER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  any    any     anywhere             anywhere       

По документации к docker создал /etc/docker/daemon.json с содержимым: { «iptables»: false } Теперь docker меняет iptables так:

Chain INPUT (policy ACCEPT 6411 packets, 3575K bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 DOCKER-USER  all  --  any    any     anywhere             anywhere            

Chain OUTPUT (policy ACCEPT 6877 packets, 1010K bytes)
 pkts bytes target     prot opt in     out     source               destination         

Chain DOCKER-USER (1 references)
 pkts bytes target     prot opt in     out     source               destination         
    0     0 RETURN     all  --  any    any     anywhere             anywhere       

Как остановить этот беспредел?

 ,

Depher
()

Buffer I/O error on dev sr0

Форум — Linux-hardware

Привет. После загрузки ОС в лог сыпется ошибка

Buffer I/O error on dev sr0
и systemd-udevd нагружает процессор. Привода для дисков - нет. Есть подозрения, что это связано с 4G модемом YOTA, но он определяется и работает нормально (Vimtron Electronics) и ошибка это появляется через раз. В чём может быть дело?
uname -a
Linux Descartes 5.2.3-arch1-1-ARCH #1 SMP PREEMPT Fri Jul 26 08:13:47 UTC 2019 x86_64 GNU/Linux
lsusb
Bus 011 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 1376:4e61 Vimtron Electronics Co., Ltd. 
Bus 004 Device 002: ID 048d:1336 Integrated Technology Express, Inc. SD/MMC Cardreader
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 002: ID 0458:003a KYE Systems Corp. (Mouse Systems) NetScroll+ Mini Traveler / Genius NetScroll 120
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 006: ID 1c4f:0002 SiGma Micro Keyboard TRACER Gamma Ivory
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 1, async page read
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 0, async page read
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 1, async page read
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 4 flags 0
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 0, async page read
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 0 flags 0
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 1, async page read
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 4 flags 0
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 0, async page read
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 0 flags 0
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 1, async page read
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 4 flags 0
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 0, async page read
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 0 flags 0
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 0 flags 80700
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 2525, async page read
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 10100 flags 0
авг 05 16:21:53 Descartes kernel: Buffer I/O error on dev sr0, logical block 2524, async page read
авг 05 16:21:53 Descartes kernel: buffer_io_error: 29250 callbacks suppressed
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 10096 flags 0
авг 05 16:21:53 Descartes kernel: print_req_error: I/O error, dev sr0, sector 10096 flags 80700
авг 05 16:21:53 Descartes kernel: print_req_error: 29558 callbacks suppressed
авг 05 16:21:48 Descartes kernel: Buffer I/O error on dev sr0, logical block 1, async page read
авг 05 16:21:48 Descartes kernel: Buffer I/O error on dev sr0, logical block 0, async page read
авг 05 16:21:48 Descartes kernel: Buffer I/O error on dev sr0, logical block 1, async page read
авг 05 16:21:48 Descartes kernel: print_req_error: I/O error, dev sr0, sector 4 flags 0
авг 05 16:21:48 Descartes kernel: Buffer I/O error on dev sr0, logical block 0, async page read
И ещё вот это выдаёт
авг 05 16:27:08 Descartes kernel: rndis_host 4-1:1.0 eth0: unregister 'rndis_host' usb-0000:04:00.0-1, RNDIS device
авг 05 16:27:21 Descartes kernel: usb 6-3: new high-speed USB device number 3 using ehci-pci
авг 05 16:27:21 Descartes kernel: usb 6-3: New USB device found, idVendor=1286, idProduct=812a, bcdDevice= 0.00
авг 05 16:27:21 Descartes kernel: usb 6-3: New USB device strings: Mfr=3, Product=2, SerialNumber=0
авг 05 16:27:21 Descartes kernel: usb 6-3: Product: Yota Modem
авг 05 16:27:21 Descartes kernel: usb 6-3: Manufacturer: YOTA
авг 05 16:27:25 Descartes kernel: usb 6-3: USB disconnect, device number 3
авг 05 16:27:39 Descartes kernel: usb 6-3: new high-speed USB device number 4 using ehci-pci
авг 05 16:27:40 Descartes kernel: usb 6-3: unable to read config index 0 descriptor/start: -71
авг 05 16:27:40 Descartes kernel: usb 6-3: can`t read configurations, error -71
авг 05 16:27:40 Descartes kernel: usb 6-3: new high-speed USB device number 5 using ehci-pci
авг 05 16:27:40 Descartes kernel: usb 6-3: New USB device found, idVendor=1376, idProduct=4e61, bcdDevice= 1.00
авг 05 16:27:40 Descartes kernel: usb 6-3: New USB device strings: Mfr=1, Product=2, SerialNumber=4
авг 05 16:27:40 Descartes kernel: usb 6-3: Product: Mobile Composite Device Bus
авг 05 16:27:40 Descartes kernel: usb 6-3: Manufacturer: Marvell
авг 05 16:27:40 Descartes kernel: usb 6-3: SerialNumber: Mobile Composite Device Bus
авг 05 16:27:45 Descartes kernel: rndis_host 6-3:1.0 eth0: register 'rndis_host' at usb-0000:00:13.2-3, RNDIS device, ac:50:43:ef:e8:df
авг 05 16:27:45 Descartes systemd-udevd[470]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.

 

Depher
()

Xfce, настройка двух мониторов

Форум — Desktop

Добрый день, первый монитор через HDMI подключён к видеокарте GeForce GTX 660 (драйвер nvidia-340xx), второй через VGA подключён к разъёму в материнской плате, где графический процессор radeon 3000 (драйвер xf86-video-ati). В xfce4-settings «Дисплей», если поместить второй экран справа или снизу от основного, то создаётся как бы один большой экран (разрешение как бы больше чем экран и при движении мышкой двигается весь рабочий стол), если расположить второй экран слева или сверху от основного, то ситуация уже лучше, создаётся два экрана, панель и всё что было на рабочем столе перемещается на второй экран, а мышка остаётся на основном мониторе и не может перемещаться между экранами. Нужно, чтобы панель и содержимое рабочего стола оставалось на основном экране и мышка могла перемещаться между экранами, как это можно реализовать?
Вывод xrandr:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080     60.00*+  59.94    50.00  
   1680x1050     59.95  
   1600x900      60.00  
   1440x900      59.89  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   800x600       75.00    72.19    60.32    56.25  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    72.81    59.94  
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
VGA-1-0 connected (normal left inverted right x axis y axis)
   1440x900      59.89 +  74.98  
   1280x1024     75.02    60.02  
   1280x960      60.00  
   1152x864      75.00  
   1024x768      75.03    70.07    60.00  
   832x624       74.55  
   800x600       75.00    60.32    56.25  
   640x480       75.00    59.94  
   720x400       70.08  
DVI-1-0 disconnected (normal left inverted right x axis y axis)
  1440x900 (0x44) 106.500MHz -HSync +VSync
        h: width  1440 start 1520 end 1672 total 1904 skew    0 clock  55.93KHz
        v: height  900 start  903 end  909 total  934           clock  59.89Hz
  1280x1024 (0x45) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x46) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1152x864 (0x49) 108.000MHz +HSync +VSync
        h: width  1152 start 1216 end 1344 total 1600 skew    0 clock  67.50KHz
        v: height  864 start  865 end  868 total  900           clock  75.00Hz
  1024x768 (0x4a) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x4b) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x4c) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x4e) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x4f) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x50) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x51) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x52) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

 , , ,

Depher
()

Как перенести данные в полностью новый raid с новыми дисками и новой OS

Форум — Admin

Есть raid1 на NAS4Free с двумя HDD по 1TB, у NAS4Free куча ошибок, WebGUI не запускается и тд, ещё один из дисков вот вот рассыпется. Закупили два HDD по 2TB, хочу поставить XigmaNAS (самая последняя версия), как перенести все данные из старого в новый raid1?

 ,

Depher
()

Как организовать сетевой диск?

Форум — General

ОС: Arch Задача: сделать сетевой диск, чтобы был доступен и по локальной сети и по интернету(если компьютер в другом городе), с возможностью просмотра видео, которое хранится на диске. Соединение должно быть зашифровано, так-же желательно, чтобы можно было соединиться и с Windows машинами. В какую сторону копать? Samba, NFS, SFTP, SSHFS, VPN, cjdns?

 

Depher
()

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