Войти

Показать полную графическую версию : Пропало соединение по локальной сети.


Страниц : [1] 2

fraskini
14-03-2015, 03:19
Случилась дикая неприятнось: пропали все соединения , нет ни локальной сети, на VPN, ни DSL. Даже значек сети с трея исчез.Это я типа так почислил линукс. :idiot2: В остальном все работает. Есть вопрос : как это восстановить?Т.е. понятно что надо скачать Network Manager, установить и все должно исправиться, но ты опять затыка. На конфигуре вылетел с ошибкой , а маке вообще не запустился , вот что он выдал.....
(Нажмите, чтобы показать/скрыть)
oem@oem-desktop ~/Загрузки/NetworkManager-1.0.0 $ sudo bash
[sudo] password for oem:
oem-desktop NetworkManager-1.0.0 # ./configure
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 to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for style of include used by make... GNU
checking for 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 how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pid_t... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.18.2
checking for XML::Parser... ok
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for msgmerge... (cached) /usr/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking whether byte ordering is bigendian... no
checking for /etc/redhat-release... no
checking for /etc/fedora-release... no
checking for /etc/mandriva-release... no
checking for /etc/SuSE-release... no
checking for /etc/debian_version... yes
checking for /etc/gentoo-release... no
checking whether to build with code coverage support... no
checking Linux kernel WEXT headers... yes
checking Linux kernel nl80211 headers... yes
checking Linux kernel nl80211 Critical Protocol Start/Stop... yes
checking Linux kernel VLAN_FLAG_LOOSE_BINDING enum value... yes
checking for cos in -lm... yes
checking for dladdr in -ldl... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for DBUS... no
configure: error: Package requirements (dbus-1 >= 1.1 dbus-glib-1 >= 0.94) were not met:

No package 'dbus-1' found
No package 'dbus-glib-1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DBUS_CFLAGS
and DBUS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
oem-desktop NetworkManager-1.0.0 #

Нужна реальная толковая помощь, а не отсылка в википендию...

MakaBooka
14-03-2015, 04:03
Т.е. понятно что надо скачать Network Manager, установить и все должно исправиться »

но чтобы скачать NM, нужна сеть, а её нет ;)

Нужна реальная толковая помощь, а не отсылка в википендию... »

В смысле ты платишь денег чтобы приехали и решили, или всё же "вы в википедию, мне некогда"? ;)

ну перво-наперво, в линуксе надо отвыкать "чистить систему", потому что система не является помойкой и чистить её не надо. это _имеет_ отношение к делу. во-вторых, надо отвыкать, что что-то можно "скачать и поставить".

ставится всё штатным способом из штатных (и добавленных) репозитариев волшебным apt-get. в случает вот такого ахтунга как у тебя, можно скачивать (с официальных сайтов) пакеты и ставить чуть более низкоуровневым dpkg -i <имя пакета>

соответственно раз ты пытаешься ставить мимо пакетного менеджера apt, утилиткой dpkg, то и зависимости будешь разгребать сам. т.е. после скачки пакета NetworkManager (с учётом твоей версии дебиана, с учётом архитектуры i386 или amd64) dpkg ругнётся на отсутствие пакетов, и значит надо будет их скачать и поставить - по тому же алгоритму.

почувствуешь себя немного пакетным менеджером.

главное чтобы остались настройки, конфиги - иначе ко всей это красоте добавиться вдумчивое воспоминание и воспроизведение "как всё было".

yurfed
14-03-2015, 05:06
fraskini, Возьмите vpnpptpsetup. L2TP в наличие
X64 (https://yadi.sk/d/_A7wG7B7fEwMR)
X32 (86) (https://yadi.sk/d/NFhx7HOZfEwNR)
Сама страничка (https://code.google.com/p/vpnpptpsetup/), если не понятно.
ЗЫ Если пишите, то и возможность скачать найдёте :)

fraskini
14-03-2015, 08:26
yurfed, это я сделал сразу, но беда в том, что нет соединения по локальной сети, а раз его нет, но к чему остальное присоеденить?

yurfed
14-03-2015, 09:07
fraskini, а так?
# ifconfig
что говорит?
Даже значек сети с трея исчез »
Можно и нужно какая сетевушка - встроенная, внешняя, свисточек или что то ещё?
Да и системку толком обозначьте.
Если имеется другая ОС, там с сетевушкой всё нормально?
так же
lspci

fraskini
14-03-2015, 09:19
С сетевой все нормально, все устройства и драйвера на месте. Отстутствуют только файлы и библиотеки и аплет NM. Минт 17.1 64бит.(МАТЕ)

ruslandh
14-03-2015, 09:28
С сетевой все нормально, все устройства и драйвера на месте. Отстутствуют только файлы и библиотеки и аплет NM »
Сеть можно и без этого поднять, консольными командами, надо только знать настройки для соединения с провайдером, поэтому вас и спрашивают.

Приведите ссылку, или текстом о настройках вашего провайдера (можно для Мастадая), и текущий вывод:
# ifconfig
ifconfig
lspci -v
»
Лучше выод перенаправить в файл и его сюда прикрепить, типа :

# lspci -v &> /home/user/lspci.txt

Где user - ваш login в системе.

fraskini
14-03-2015, 09:36
сейчас сделаю

fraskini
14-03-2015, 09:54
oem@oem-desktop ~ $ ifconfig
eth0 Link encap:Ethernet HWaddr 00:12:fb:1b:3f:84
inet6 addr: fe80::212:fbff:fe1b:3f84/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:113 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:21895 (21.8 KB)

eth0:avahi Link encap:Ethernet HWaddr 00:12:fb:1b:3f:84
inet addr:169.254.6.234 Bcast:169.254.255.255 Mask:255.255.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

lo Link encap:Локальная петля (Loopback)
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:36 errors:0 dropped:0 overruns:0 frame:0
TX packets:36 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2608 (2.6 KB) TX bytes:2608 (2.6 KB)

oem@oem-desktop ~ $







oem@oem-desktop ~ $ # lspci -v &> /home/oem/lspci.txt
oem@oem-desktop ~ $ sudo bash
[sudo] password for oem:
oem-desktop ~ # # lspci -v &> /home/oem/lspci.txt
oem-desktop ~ # lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Complex
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 12h Processor Root Port
00:10.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
00:10.1 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB XHCI Controller (rev 03)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB EHCI Controller (rev 11)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 13)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD] FCH IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD] FCH Azalia Controller (rev 01)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 11)
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] FCH PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD] FCH USB OHCI Controller (rev 11)
00:15.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 0)
00:15.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Hudson PCI to PCI bridge (PCIE port 3)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 0 (rev 43)
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 6
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 5
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 12h/14h Processor Function 7
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280]
01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
02:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X]
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti XT HDMI Audio [Radeon HD 7970 Series]
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
oem-desktop ~ #



(Нажмите, чтобы показать/скрыть)

ruslandh
14-03-2015, 10:14
# lspci -v &> /home/oem/lspci.txt »
Переводится на убунтовский жаргон, как
sudo lspci -v &> /home/oem/lspci.txt :)

а файлик-то /home/oem/lspci.txt сюда не приложили :)

Как вы выходите в интернет - опишите (можно в Winde).

fraskini
14-03-2015, 10:19
Так через ее родимую и захажу. Файлик не приложил, т.к. не создался, типа тупо взял и скопи-пастил)

yurfed
14-03-2015, 10:40
Так через ее родимую и захажу. »Значит сетевушка у вас рабочая. Это с одного системника или что там у вас?

fraskini
14-03-2015, 10:42
Да все работает, просто после чистки линукса удалились некоторые пакеты.Нет network manager и его аплета

ruslandh
14-03-2015, 11:03
Да все работает, просто после чистки линукса удалились некоторые пакеты.Нет network manager и его аплета »
Поднимите в Linux сетевую и переустановите пакеты, связанные с NewtworkManager и т.п.

типа :
# apt-get install --reinstall имя_пакета

Файлик не приложил, т.к. не создался »
Так вы не ту комаду дали :)
Меня выод lspci -v интересовал, а не lspci.

ЗЫ Проехали.

Сами руками сеть в linux поднимите ?

fraskini
14-03-2015, 11:07
А как поднять сетевую? Я в этом ноль.

Если подскажите как, то попробую.

ruslandh
14-03-2015, 12:01
Так надо знать про то как ты в инет выходишь - адрес от роутера получаешь, или напрямую от провайдера, если напрямую, то что провайдер использует (инструкция для Мастадая).

fraskini
14-03-2015, 12:19
Нет, у меня через ВПН есть выход и через роутер.А если с лайф диска загрузится? Адрес мне провайдер дает.

ruslandh
14-03-2015, 12:40
Можно и так, а потом войти через chroot в свой раздел диска, всё смонтировать, и переставить пакеты.

и через роутер. » Если через роутер, то скорей всего достаточно подеять интерфейс.

# ifconfig eth0 up
# dhcpcd eth0

fraskini
14-03-2015, 12:51
Приложение 'dhcpcd' может быть найдено в следующих пакетах:
* dhcpcd
* dhcpcd5

ruslandh
14-03-2015, 13:17
Ну, оно у вас должно быть уже установлено, если у вас система получает IP адрес от роутера.




© OSzone.net 2001-2012