![]() |
Показаны 4 сообщений на этой странице |
Форум сетевых администраторов (http://netadmin.ws/forum/index.php)
- Локальные и глобальные сети (http://netadmin.ws/forum/forumdisplay.php?forumid=81)
-- Ethernet-подключение в Ubuntu работает после установки до первой загрузки в Windows (http://netadmin.ws/forum/showthread.php?threadid=13010)
Ethernet-подключение в Ubuntu работает после установки до первой загрузки в Windows
В нашей сети DHCP-сервер. В Windows всё работает всегда и отлично. Вчера установил Ubuntu 9.04. Сразу после установки загрузился в неё. Сеть, как и положено в сетях с DHCP, автоматически заработала. Но в данной версии дистрибутива нет некоторых пакетов для работы VPN, через которую наш провайдер раздаёт доступ в интернет. Поэтому пришлось загрузиться в Windows, чтобы скачать эти пакеты. Скачал, загружаюсь снова в Ubuntu, и вдруг обнаруживаю, что ethernet больше не поднимается.
Вот кусок syslog'а, созданный во время попыток системы поднять сеть:
quote:
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) starting connection 'Auto eth0'
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> (eth0): device state change: 3 -> 4
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) scheduled...
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) started...
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) scheduled...
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 1 of 5 (Device Prepare) complete.
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) starting...
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> (eth0): device state change: 4 -> 5
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) successful.
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) scheduled.
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 2 of 5 (Device Configure) complete.
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) started...
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> (eth0): device state change: 5 -> 7
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Beginning DHCP transaction.
Sep 24 06:07:53 x86-crash-host dhclient: Internet Systems Consortium DHCP Client V3.1.1
Sep 24 06:07:53 x86-crash-host dhclient: Copyright 2004-2008 Internet Systems Consortium.
Sep 24 06:07:53 x86-crash-host dhclient: All rights reserved.
Sep 24 06:07:53 x86-crash-host dhclient: For info, please visit http://www.isc.org/sw/dhcp/
Sep 24 06:07:53 x86-crash-host dhclient:
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> dhclient started with pid 3778
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 3 of 5 (IP Configure Start) complete.
Sep 24 06:07:53 x86-crash-host NetworkManager: <info> DHCP: device eth0 state changed normal exit -> preinit
Sep 24 06:07:53 x86-crash-host dhclient: Listening on LPF/eth0/00:1b:fc:32:44:f5
Sep 24 06:07:53 x86-crash-host dhclient: Sending on LPF/eth0/00:1b:fc:32:44:f5
Sep 24 06:07:53 x86-crash-host dhclient: Sending on Socket/fallback
Sep 24 06:07:54 x86-crash-host dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
Sep 24 06:07:57 x86-crash-host dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Sep 24 06:08:05 x86-crash-host dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
Sep 24 06:08:17 x86-crash-host dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
Sep 24 06:08:26 x86-crash-host dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> Device 'eth0' DHCP transaction took too long (>45s), stopping it.
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> eth0: canceled DHCP transaction, dhcp client pid 3778
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Timeout) scheduled...
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Timeout) started...
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> (eth0): device state change: 7 -> 9
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> Marking connection 'Auto eth0' invalid.
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> Activation (eth0) failed.
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> Activation (eth0) Stage 4 of 5 (IP Configure Timeout) complete.
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> (eth0): device state change: 9 -> 3
Sep 24 06:08:39 x86-crash-host NetworkManager: <info> (eth0): deactivating device (reason: 0).
quote:
crash@localhost:~$ lspci -nn | grep Ether
00:07.0 Bridge [0680]: nVidia Corporation MCP61 Ethernet [10de:03ef] (rev a2)
crash@localhost:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:1b:fc:32:44:f5
inet6 addr: fe80::21b:fcff:fe32:44f5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:4837 (4.8 KB) TX bytes:3952 (3.9 KB)
Interrupt:252
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 B) TX bytes:240 (240.0 B)
quote:
> 05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 01)
Есть проблемки с этой карточкой.
Пробуйте
"If your ethernet cable is connected at boot time and you are experiencing the no link problem, try this: Shutdown, power down. Unplug your host (this cuts power to the card if wake-on-lan power is maintained). Wait 15 seconds. Plug in. Boot ubuntu."
Выйти из системы, выключить комп, выдернуть его из розетки и желательно сетевой шнурок тоже, подождать 15 секунд, загрузится в Ubuntu.
и объясняется почему "Windows by defaults disables the NIC at Windows shutdown time in order to disable Wake-On-Lan, and this NIC will remain disabled until the next time Windows turns it on."
Пробуйте
http://ubuntuforums.org/showthread.php?t=538448
Ð_т наверное на каком-нибудь русскоязычном форуме по убунте лучше спросить.
Я бы нетворк менагер вообще отрубил, и настроил бы немного подругому.
нетворк менагер - это если сеть часто меняется, например тебе надо на ноуте несколько подключений держать - для работы, дома, wifi и т.д.
Если комп стационарный - можно попробовать обойтись классическими средствами.
__________________
Чайник, мечтающий стать самоваром!
Дело не в nm, так как wicd тот же аналогично не может после того, как я из Винды в Бунту загружусь, поднять сеть. Дело в чем-то более "классическом" (читай: низкоуровневом). Сегодня установил другой линь, всё отлично работает. Видимо, эта особенность характерна лишь для данного дистрибутива - Ubuntu 9.04...
x86-cRash добавил 25-09-2009 в 10:40:12:
Так что тему можно закрыть.
Думаю, что причина НЕ в дистрибутиве, а ядре.
__________________
Чайник, мечтающий стать самоваром!
| Формат времени GMT. Текущее время 13:30. | Показаны 4 сообщений на этой странице |
Powered by: vBulletin Version 2.2.4
Copyright © Jelsoft Enterprises Limited 2000, 2001.