BackTrack / KaliLinux. Задай вопрос - получи ответ

Discussion in 'Linux, Freebsd, *nix' started by Freedom, 25 Nov 2008.

  1. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    После установки и обновления KLR стал терять сеть, раньше это происходило после прогона траффа на более чем 3-4 гб, сейчас уже после 2-4 часов работы вне зависимости от кол-ва траффа. network restart не реашет проблему, только ребут. Переставить манагер сетевой или причина кроется в другом?

    ПС До этого на этом же компе стояла KL 2 и все было не вопрос с сетью.
     
  2. KIR@PRO

    KIR@PRO from Exception

    Joined:
    26 Dec 2007
    Messages:
    826
    Likes Received:
    291
    Reputations:
    359
    выложи `dmesg` после того как сеть упадет.
    и еще /etc/network/interfaces
     
    _________________________
  3. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    После обновления полет пока нормальный, не отваливается. Подождем....
     
  4. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    После установки KLR входил в систему минуты 2 ( что при первом входе в систему, что после блокировки экрана), неделю назад обновил - стало влетать за секунду, сегодня опять обновил систему и опять долгий вход. По умолчанию стоит Гном. Как решить этот долгий вход?

    ПС в графическом фейсе наьираем логин, потом пароль и ждать минуты 2-3, если экран заблокировался, то водим пароль, жмем энтер и ждем минуты 2 и только потом присходит разблокировка.
     
  5. rct

    rct Active Member

    Joined:
    13 Jun 2015
    Messages:
    359
    Likes Received:
    107
    Reputations:
    7
    Может сервер, на который закладки отстукивают, перегружен.
     
  6. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    например? Не совсем понял =(
     
  7. Turanchocks_

    Turanchocks_ Elder - Старейшина

    Joined:
    11 May 2013
    Messages:
    1,326
    Likes Received:
    3,283
    Reputations:
    17
    В общем случае -согласен - всего скорей в системе навалено овердохуя прог и демонов которые "автостартуют" ... Не факт, что так, однако имеет место быть такое и довольно часто. Общий бич что для винды, что и для никсов.
     
  8. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    На это можно было бы валить, если бы проблема была постоянной. НО. в KL 2.0 Такой проблемы не было, в KLR она имеет место то быть то не быть, причем в системе координально ничего не меняется, не добавляется. Такое ощущение, что обновился некий пакет, который овердоКуя жрет ресурсов при старте. Вопрос - КАКОЙ? Как его вычислить?
     
  9. Turanchocks_

    Turanchocks_ Elder - Старейшина

    Joined:
    11 May 2013
    Messages:
    1,326
    Likes Received:
    3,283
    Reputations:
    17
    В то время как появятся симптомы запусти в консоли top - сее укажет тебе, какая гадина нагружает проц или оперативу более больше
     
  10. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    Если в этот момент запускаю ТОП из другой консоли, то все - вышибает сразу окно загрузки гнома. Пишит ошибки и все, далее только ребут
     
  11. rct

    rct Active Member

    Joined:
    13 Jun 2015
    Messages:
    359
    Likes Received:
    107
    Reputations:
    7
    Лол, удали это говно и поставь нормальный дистрибутив.
     
  12. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    [​IMG]

    2 ALL - время первой загрузки ( входа ) увеличилось до 3-4 минут после обновления в обед ( один из паектов был xorg). Я так понимаю дело в нем может быть?
     
  13. vikii

    vikii Banned

    Joined:
    29 Dec 2013
    Messages:
    175
    Likes Received:
    73
    Reputations:
    1
    Так то оно так , но htop или top может и ни чего особо загруженного и не показать. Ну тут я как ни странно с rct согласен кривые обновления для kalli не новость.
     
  14. rct

    rct Active Member

    Joined:
    13 Jun 2015
    Messages:
    359
    Likes Received:
    107
    Reputations:
    7
    Ага, с кривым руткитом. Обновления, да.
     
  15. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    После последующего обновления все вернулось на круги свои. Выкладываю логи:

    dmseg

    [ 4504.584309] device eth0 left promiscuous mode
    [ 4504.671873] device wlan0 entered promiscuous mode
    [ 4504.671969] device lo entered promiscuous mode
    [ 4531.719678] device lo entered promiscuous mode
    [ 4531.719749] device eth0 entered promiscuous mode
    [ 4531.740662] device wlan0 left promiscuous mode
    [ 4531.740755] device lo left promiscuous mode
    [ 4531.740827] device eth0 left promiscuous mode
    [ 4531.824949] device wlan0 entered promiscuous mode
    [ 4531.825040] device lo entered promiscuous mode
    [ 4531.825109] device eth0 entered promiscuous mode
    [ 4531.840369] device wlan0 left promiscuous mode
    [ 4531.840461] device lo left promiscuous mode
    [ 4531.840533] device eth0 left promiscuous mode
    [ 4531.919991] device wlan0 entered promiscuous mode
    [ 4531.920132] device lo entered promiscuous mode
    [ 4531.920199] device eth0 entered promiscuous mode
    [ 4531.936140] device wlan0 left promiscuous mode
    [ 4531.936246] device lo left promiscuous mode
    [ 4531.936317] device eth0 left promiscuous mode
    [ 4532.024184] device wlan0 entered promiscuous mode
    [ 4532.024273] device lo entered promiscuous mode
    [ 4532.024338] device eth0 entered promiscuous mode
    [ 4532.050747] device wlan0 left promiscuous mode
    [ 4532.050909] device lo left promiscuous mode
    [ 4532.051011] device eth0 left promiscuous mode
    [ 4545.192146] device eth0 entered promiscuous mode
    [ 4545.216623] device wlan0 left promiscuous mode
    [ 4545.216855] device lo left promiscuous mode
    [ 4545.216960] device eth0 left promiscuous mode
    [ 4545.315632] device wlan0 entered promiscuous mode
    [ 4545.315780] device lo entered promiscuous mode
    [ 4545.315828] device eth0 entered promiscuous mode
    [ 4545.335016] device wlan0 left promiscuous mode
    [ 4545.335082] device lo left promiscuous mode
    [ 4545.335131] device eth0 left promiscuous mode
    [ 4545.412632] device wlan0 entered promiscuous mode
    [ 4545.412849] device lo entered promiscuous mode
    [ 4545.412990] device eth0 entered promiscuous mode
    [ 4545.428218] device wlan0 left promiscuous mode
    [ 4545.428325] device lo left promiscuous mode
    [ 4545.428396] device eth0 left promiscuous mode
    [ 4545.507567] device wlan0 entered promiscuous mode
    [ 4545.507635] device lo entered promiscuous mode
    [ 4545.507680] device eth0 entered promiscuous mode
    [ 4545.520216] device wlan0 left promiscuous mode
    [ 4545.520324] device lo left promiscuous mode
    [ 4545.520395] device eth0 left promiscuous mode
    [ 4545.604991] device wlan0 entered promiscuous mode
    [ 4545.605197] device lo entered promiscuous mode
    [ 4545.605336] device eth0 entered promiscuous mode
    [ 4545.628201] device wlan0 left promiscuous mode
    [ 4545.628390] device lo left promiscuous mode
    [ 4545.628534] device eth0 left promiscuous mode
    [ 4545.708716] device wlan0 entered promiscuous mode
    [ 4545.708813] device lo entered promiscuous mode
    [ 4545.708887] device eth0 entered promiscuous mode
    [ 4545.727021] device wlan0 left promiscuous mode
    [ 4545.727103] device lo left promiscuous mode
    [ 4545.727152] device eth0 left promiscuous mode
    [ 4545.804065] device wlan0 entered promiscuous mode
    [ 4545.804158] device lo entered promiscuous mode
    [ 4545.804224] device eth0 entered promiscuous mode
    [ 4545.823400] device wlan0 left promiscuous mode
    [ 4545.823475] device lo left promiscuous mode
    [ 4545.823522] device eth0 left promiscuous mode
    [ 4545.908680] device wlan0 entered promiscuous mode
    [ 4545.908889] device lo entered promiscuous mode
    [ 4545.909031] device eth0 entered promiscuous mode
    [ 4545.926906] device wlan0 left promiscuous mode
    [ 4545.926976] device lo left promiscuous mode
    [ 4545.927022] device eth0 left promiscuous mode
    [ 4546.007500] device wlan0 entered promiscuous mode
    [ 4546.007583] device lo entered promiscuous mode
    [ 4546.007631] device eth0 entered promiscuous mode
    [ 4546.028233] device wlan0 left promiscuous mode
    [ 4546.028384] device lo left promiscuous mode
    [ 4546.028484] device eth0 left promiscuous mode
    [ 4546.112724] device wlan0 entered promiscuous mode
    [ 4546.112931] device lo entered promiscuous mode
    [ 4546.113072] device eth0 entered promiscuous mode
    [ 4546.126224] device wlan0 left promiscuous mode
    [ 4546.126333] device lo left promiscuous mode
    [ 4546.126412] device eth0 left promiscuous mode
    [ 4546.207600] device wlan0 entered promiscuous mode
    [ 4546.207694] device lo entered promiscuous mode
    [ 4546.207769] device eth0 entered promiscuous mode
    [ 4546.228088] device wlan0 left promiscuous mode
    [ 4546.228199] device lo left promiscuous mode
    [ 4546.228269] device eth0 left promiscuous mode
    [ 4546.307648] device wlan0 entered promiscuous mode
    [ 4546.307712] device lo entered promiscuous mode
    [ 4546.307756] device eth0 entered promiscuous mode
    [ 4546.320147] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 4546.320446] device wlan0 left promiscuous mode
    [ 4546.320581] device lo left promiscuous mode
    [ 4546.320626] device eth0 left promiscuous mode
    [ 4546.401563] device wlan0 entered promiscuous mode
    [ 4546.401645] device lo entered promiscuous mode
    [ 4546.401689] device eth0 entered promiscuous mode
    [ 4546.428862] device wlan0 left promiscuous mode
    [ 4546.429141] device lo left promiscuous mode
    [ 4546.429219] device eth0 left promiscuous mode
    [ 4546.542160] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
    [ 4546.542194] device wlan0 entered promiscuous mode
    [ 4546.542333] device wlan1 left promiscuous mode
    [ 4546.542449] device lo entered promiscuous mode
    [ 4546.542518] device eth0 entered promiscuous mode
    [ 4546.542690] device wlan1 entered promiscuous mode
    [ 4546.558291] device wlan0 left promiscuous mode
    [ 4546.558403] device lo left promiscuous mode
    [ 4546.558504] device eth0 left promiscuous mode
    [ 4546.558625] device wlan1 left promiscuous mode
    [ 4546.613687] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
    [ 4649.342045] PM: Syncing filesystems ... done.
    [ 4649.545773] PM: Preparing system for sleep (mem)
    [ 4649.545932] Freezing user space processes ... (elapsed 0.001 seconds) done.
    [ 4649.547593] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
    [ 4649.548726] PM: Suspending system (mem)
    [ 4649.548762] Suspending console(s) (use no_console_suspend to debug)
    [ 4649.554155] sd 0:0:0:0: [sda] Synchronizing SCSI cache
    [ 4649.602050] nouveau 0000:01:00.0: DRM: suspending console...
    [ 4649.602054] nouveau 0000:01:00.0: DRM: suspending display...
    [ 4649.602084] nouveau 0000:01:00.0: DRM: evicting buffers...
    [ 4649.665167] sd 0:0:0:0: [sda] Stopping disk
    [ 4651.528637] nouveau 0000:01:00.0: DRM: waiting for kernel channels to go idle...
    [ 4651.528654] nouveau 0000:01:00.0: DRM: suspending client object trees...
    [ 4651.530467] nouveau 0000:01:00.0: DRM: suspending kernel object tree...
    [ 4657.092289] PM: suspend of devices complete after 7543.295 msecs
    [ 4657.092750] PM: late suspend of devices complete after 0.456 msecs
    [ 4657.248095] PM: noirq suspend of devices complete after 155.343 msecs
    [ 4657.248595] ACPI: Preparing to enter system sleep state S3
    [ 4657.268314] ACPI : EC: EC stopped
    [ 4657.268314] PM: Saving platform NVS memory
    [ 4657.268601] Disabling non-boot CPUs ...
    [ 4657.268770] Broke affinity for irq 1
    [ 4657.268776] Broke affinity for irq 9
    [ 4657.268779] Broke affinity for irq 12
    [ 4657.268783] Broke affinity for irq 16
    [ 4657.268786] Broke affinity for irq 18
    [ 4657.268790] Broke affinity for irq 19
    [ 4657.268797] Broke affinity for irq 23
    [ 4657.268799] Broke affinity for irq 28
    [ 4657.268800] Broke affinity for irq 29
    [ 4657.269812] smpboot: CPU 1 is now offline
    [ 4657.269967] ACPI: Low-level resume complete
    [ 4657.269967] ACPI : EC: EC started
    [ 4657.269967] PM: Restoring platform NVS memory
    [ 4657.269967] microcode: CPU0 microcode updated early to revision 0x60f, date = 2010-09-29
    [ 4657.269967] Enabling non-boot CPUs ...
    [ 4657.269967] x86: Booting SMP configuration:
    [ 4657.269967] smpboot: Booting Node 0 Processor 1 APIC 0x1
    [ 4657.269805] microcode: CPU1 microcode updated early to revision 0x60f, date = 2010-09-29
    [ 4657.269805] Initializing CPU#1
    [ 4657.286729] cache: parent cpu1 should not be sleeping
    [ 4657.287183] CPU1 is up
    [ 4657.300051] ACPI : EC: 1 stale EC events cleared
    [ 4657.300170] ACPI: Waking up from system sleep state S3
    [ 4657.716652] PM: noirq resume of devices complete after 156.462 msecs
    [ 4657.716895] PM: early resume of devices complete after 0.228 msecs
    [ 4657.716947] usb usb1: root hub lost power or was reset
    [ 4657.716983] usb usb2: root hub lost power or was reset
    [ 4657.717021] usb usb3: root hub lost power or was reset
    [ 4657.717308] usb usb4: root hub lost power or was reset
    [ 4657.717339] usb usb5: root hub lost power or was reset
    [ 4657.717356] usb usb6: root hub lost power or was reset
    [ 4657.717410] nouveau 0000:01:00.0: DRM: resuming kernel object tree...
    [ 4657.721169] rtc_cmos 00:03: System wakeup disabled by ACPI
    [ 4657.726770] sd 0:0:0:0: [sda] Starting disk
    [ 4657.933013] nouveau 0000:01:00.0: DRM: resuming client object trees...
    [ 4657.934492] nouveau 0000:01:00.0: DRM: resuming display...
    [ 4658.056053] ata6: SATA link down (SStatus 0 SControl 300)
    [ 4658.060048] ata5: SATA link down (SStatus 0 SControl 300)
    [ 4658.064055] ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
    [ 4658.068035] usb 7-3: reset high-speed USB device number 3 using ehci-pci
    [ 4658.068037] usb 8-1: reset high-speed USB device number 2 using ehci-pci
    [ 4658.072047] usb 6-2: reset full-speed USB device number 2 using uhci_hcd
    [ 4658.118726] ata2.00: configured for UDMA/100
    [ 4658.208044] usb 1-1: reset low-speed USB device number 2 using uhci_hcd
    [ 4659.269752] nouveau 0000:01:00.0: DRM: resuming console...
    [ 4659.345023] PM: resume of devices complete after 1628.122 msecs
    [ 4659.345635] PM: Finishing wakeup.
    [ 4659.345637] Restarting tasks ... done.
    [ 4659.352513] video LNXVIDEO:00: Restoring backlight state
    [ 4659.495715] sky2 0000:06:00.0 eth0: Link is up at 100 Mbps, full duplex, flow control both
    [ 4659.521162] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
    [ 4659.526515] ata1.00: configured for UDMA/100
    [ 4680.928288] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
    [ 4686.144290] uvcvideo: Failed to query (130) UVC probe control : -110 (exp. 26).
    [ 4691.408276] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
    [ 4696.672292] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
    [ 4701.744291] uvcvideo: Failed to query (130) UVC probe control : -110 (exp. 26).
    [ 4706.816293] uvcvideo: Failed to query (130) UVC probe control : -110 (exp. 26).
    [ 4712.444294] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
    [ 4717.564295] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
    [ 4722.876293] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
    [ 4728.212296] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
    [ 4733.332299] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).
    [ 4738.332299] uvcvideo: Failed to query (130) UVC probe control : -110 (exp. 26).
    [ 4743.404297] uvcvideo: Failed to query (130) UVC probe control : -110 (exp. 26).
    [ 4748.816306] uvcvideo: Failed to query (129) UVC probe control : -110 (exp. 26).



    /etc/network/interfaces

    # This file describes the network interfaces available on your system
    # and how to activate them. For more information, see interfaces(5).

    source /etc/network/interfaces.d/*

    # The loopback network interface
    auto lo
    iface lo inet loopback
     
  16. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    Подробности в студию плз.
     
  17. vikii

    vikii Banned

    Joined:
    29 Dec 2013
    Messages:
    175
    Likes Received:
    73
    Reputations:
    1
    Я подробностей не знаю , может rct расскажет потом. Данным дистрибутивом не пользуюсь просто . Там куча разного софта , нужного и не нужного . Что это за софт и где он собран загадка мне это не интересно. В лайф режиме если только на железо я бы его не рекомендовал , тебе ведь не весь софт нужен правда? Я уже отошел в область окон и кастомизации (для души так сазать), а эта ерунда хулхацкерная утомила да и возраст уже не тот наверное)).
     
  18. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    опять тормозит. После обновления недели 2 назад все было гуд - летало, неделю назад обновился и опять такая фигня с тормозами.

    root@kali:~# netstat -a |wc -l
    584
    root@kali:~# netstat -nta |wc -l
    21
    root@kali:~# netstat -nua |wc -l
    4
    root@kali:~# lsof -n |wc -l
    63096
    root@kali:~# ps aucx |wc -l
    162
    root@kali:~# free -m
    total used free shared buff/cache available
    Mem: 3030 1245 87 65 1698 1698
    Swap: 6130 0 6130
    root@kali:~#
     
  19. Fezam

    Fezam New Member

    Joined:
    6 Apr 2016
    Messages:
    59
    Likes Received:
    4
    Reputations:
    1
    Добавлю - теперь wifi адаптер внешний стал определяться ни как wlan1, а как wlx000c43
     
  20. BlackMiay

    BlackMiay Member

    Joined:
    25 Sep 2011
    Messages:
    17
    Likes Received:
    12
    Reputations:
    3
    Это из-за systemd, много достойных скриптов из-за этого полегло...