From: "Andriy Dobrovol`s`kii" <adobrovolskii@gmail.com>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] network in p5
Date: Thu, 24 Sep 2009 16:28:27 +0300
Message-ID: <9bd187690909240628g487e702fp8d527336a1d43d91@mail.gmail.com> (raw)
In-Reply-To: <20090924141901.3d14d9a7@sem.localdomain>
2009/9/24 Mikhail Efremov <sem@altlinux.ru>:
> On Thu, 24 Sep 2009 12:53:36 +0300 Andriy Dobrovol`s`kii wrote:
>> Автоматически получать адрес не желает категорически. При установке
>> указал получение по dhcp.
>> Более того, не спасает даже попытка запустить
>> dhcpcd eth0
>> eth0: dhcpcd 4.0.14 starting
>> Reloading named service: [ DONE ]
>> eth0: broadcasting for a lease
>> eth0: timed out
>
> Я пока вижу только что dhcp сервер не ответил.
> Что выдает dhcpcd -dd eth0?
>
dhcpcd -dd eth0
eth0: dhcpcd 4.0.14 starting
eth0: hardware address = 00:24:1d:8a:bf:97
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
eth0: broadcasting for a lease
eth0: sending DHCP_DISCOVER with xid 0x4cf52073, next in 4.44 seconds
eth0: sending DHCP_DISCOVER with xid 0x4cf52073, next in 8.91 seconds
eth0: sending DHCP_DISCOVER with xid 0x4cf52073, next in 15.77 seconds
eth0: sending DHCP_DISCOVER with xid 0x4cf52073, next in 32.33 seconds
eth0: timed out
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason FAIL
eth0: broadcasting for a lease
eth0: sending DHCP_DISCOVER with xid 0x10cc5f79, next in 3.43 seconds
eth0: sending DHCP_DISCOVER with xid 0x10cc5f79, next in 8.46 seconds
eth0: sending DHCP_DISCOVER with xid 0x10cc5f79, next in 15.50 seconds
eth0: sending DHCP_DISCOVER with xid 0x10cc5f79, next in 31.75 seconds
eth0: ignoring packet with xid 0x66f6d2b as it's not ours (0x10cc5f79)
eth0: sending DHCP_DISCOVER with xid 0x10cc5f79, next in 64.51 seconds
eth0: timed out
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason FAIL
eth0: broadcasting for a lease
eth0: sending DHCP_DISCOVER with xid 0x5582b430, next in 3.23 seconds
eth0: sending DHCP_DISCOVER with xid 0x5582b430, next in 7.15 seconds
eth0: sending DHCP_DISCOVER with xid 0x5582b430, next in 15.04 seconds
eth0: sending DHCP_DISCOVER with xid 0x5582b430, next in 32.08 seconds
eth0: sending DHCP_DISCOVER with xid 0x5582b430, next in 63.34 seconds
eth0: timed out
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason FAIL
eth0: broadcasting for a lease
eth0: sending DHCP_DISCOVER with xid 0x574ca04f, next in 3.42 seconds
eth0: sending DHCP_DISCOVER with xid 0x574ca04f, next in 8.87 seconds
eth0: sending DHCP_DISCOVER with xid 0x574ca04f, next in 16.73 seconds
eth0: sending DHCP_DISCOVER with xid 0x574ca04f, next in 32.18 seconds
eth0: sending DHCP_DISCOVER with xid 0x574ca04f, next in 63.27 seconds
eth0: timed out
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason FAIL
eth0: broadcasting for a lease
eth0: sending DHCP_DISCOVER with xid 0x63494a24, next in 4.44 seconds
eth0: sending DHCP_DISCOVER with xid 0x63494a24, next in 8.75 seconds
eth0: sending DHCP_DISCOVER with xid 0x63494a24, next in 15.70 seconds
eth0: sending DHCP_DISCOVER with xid 0x63494a24, next in 31.93 seconds
eth0: carrier lost
eth0: waiting for carrier
^Ceth0: received SIGINT, stopping
Ситуация повторилась при холодной перезагрузке. Вывод запрошенной
команды выше. Полез в /etc/net. Оказалось, он считал, что интерфейс
должен подымать НМ. Тот только жаловался на отсутствие сети. Поменял
настройки на контроль этцнетом.
service network restart
Computing interface groups: .. 2 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 1/realphys (1 interfaces)
Stopping eth0: ...OK
Stopping group 0/virtual (1 interfaces)
Stopping lo: .OK
Computing interface groups: .. 2 interfaces found
Starting group 0/virtual (1 interfaces)
Starting lo: ....OK
Starting group 1/realphys (1 interfaces)
Starting eth0: ....eth0: dhcpcd 4.0.14 starting
eth0: hardware address = 00:24:1d:8a:bf:97
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason PREINIT
eth0: broadcasting for a lease
eth0: sending DHCP_DISCOVER with xid 0x4ef25360, next in 4.06 seconds
eth0: sending DHCP_DISCOVER with xid 0x4ef25360, next in 8.79 seconds
eth0: sending DHCP_DISCOVER with xid 0x4ef25360, next in 16.22 seconds
eth0: sending DHCP_DISCOVER with xid 0x4ef25360, next in 31.49 seconds
eth0: timed out
eth0: executing `/lib/dhcpcd/dhcpcd-run-hooks', reason FAIL
!..OK
Processing /etc/net/vlantab: empty.
и
ip a l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast
state UNKNOWN qlen 1000
link/ether 00:24:1d:8a:bf:97 brd ff:ff:ff:ff:ff:ff
3: pan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN
link/ether 4e:65:0c:39:84:c7 brd ff:ff:ff:ff:ff:ff
Снова пришлось прописать сеть руками... :((
--
Regards,
Andrii Dobrovol`s`kyj
next prev parent reply other threads:[~2009-09-24 13:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-24 9:53 Andriy Dobrovol`s`kii
2009-09-24 10:19 ` Mikhail Efremov
2009-09-24 11:27 ` Andriy Dobrovol`s`kii
2009-09-24 17:19 ` Владимир Гусев
2009-09-25 2:52 ` Denis G. Samsonenko
2009-09-24 13:28 ` Andriy Dobrovol`s`kii [this message]
2009-09-24 22:18 ` Mikhail Efremov
2009-09-25 8:37 ` Andriy Dobrovol`s`kii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9bd187690909240628g487e702fp8d527336a1d43d91@mail.gmail.com \
--to=adobrovolskii@gmail.com \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git