ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Шенцев Алексей Владимирович" <ashen@nsrz.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Старт сетевого интерфейса при загрузке. Was: udevd не стартует
Date: Tue, 10 Oct 2006 10:42:18 +0400
Message-ID: <200610101042.18848.ashen@nsrz.ru> (raw)
In-Reply-To: <452A7BA8.3020602@zaz.zp.ua>

В сообщении от 9 октября 2006 20:41 Gennadiy Redko написал(a):
> Установил ядро 2.6.16-std26-smp-alt10 и модули к нему.
> Почему-то не подгружается 8139too. Добавил в /etc/modules.
> Теперь с этим ядром не стартует эзернет:
> # ifconfig
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>
> # service network start
> Computing interface groups: .. 2 interfaces found
> Starting group 0/virtual (1 interfaces)
>         Starting lo:  'lo' is already up SKIPPED
> Starting group 1/realphys (1 interfaces)
>         Starting eth0:  skipping hotplug iface 'eth0' SKIPPED
> Processing /etc/net/vlantab: empty.
> # ./ifup eth0
> # ifconfig
> eth0      Link encap:Ethernet  HWaddr 00:17:31:C3:B5:30
>           inet addr:10.0.1.4  Bcast:10.0.1.255  Mask:255.255.255.0
>           UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>           RX packets:4 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:1000
>           RX bytes:256 (256.0 b)  TX bytes:2022 (1.9 KiB)
>           Interrupt:17 Base address:0x8c00
>
> lo        Link encap:Local Loopback
>           inet addr:127.0.0.1  Mask:255.0.0.0
>           UP LOOPBACK RUNNING  MTU:16436  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:0
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
Об этом уже не раз говорилось в рассылке.
1) В /etc/sysconfig/hotplug прописать
NETPLUG=no
2) переместите, например в ~/backup/ все каталоги типа /etc/net/ifaces/ethX
3) запустите утилиту initconf из etcnet, точное её место положение можно 
узнатьчерерз rpm -ql etcnet | grep conf
4) Если вас устраивает предложенная конфигурация, запустите снова данную 
утилиту с параметром write, т.е. # initconf write
5) В появившемся файле /etc/net/iftab раскоментируйте всё, что относится к 
вашим интерфейсам.
6) Отредактируйте файлы /etc/net/ifaces/ethX/options под ваши нужды, например 
приведя их к такому виду:
$ cat /etc/net/ifaces/eth0/options
TYPE=eth
MODULE=8139too
BOOTPROTO=static
ONBOOT=yes
7) скопируйте в каталоги для соотвествующих интерфейсов ваши настройки 
ip-адресов и шлюзов, которые вы сохранили на шаге 2), т.е. файлы ipv4address  
ipv4route
8) отключите автостарт ifplugd, т.е. # chkconfig --level 345 ifplugd off
9) включите автостарт сервиса network, т.е. # chkconfig --level 345 network on
10) выполните рестарт сервисов hotplug, network, останов ifplugd, т.е.
# service ifplugd stop && service hotplugd restart && service network restart


-- 
С уважением Шенцев Алексей Владимирович.
E-mail: ashen@nsrz.ru
ICQ: 271053845

  parent reply	other threads:[~2006-10-10  6:42 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-06 11:09 [sisyphus] " Gennadiy Redko
2006-10-06 11:20 ` Led
2006-10-06 11:24 ` Sergey
2006-10-09 13:48   ` Gennadiy Redko
2006-10-10  6:04     ` Sergey
2006-10-10  8:15       ` Gennadiy Redko
2006-10-10 10:12         ` Sergey
2006-10-09 16:41   ` [sisyphus] Старт сетевого интерфейса при загрузке. Was: " Gennadiy Redko
2006-10-10  5:08     ` Rafael Malikov
2006-10-11 22:53       ` Michael Shigorin
2006-10-10  5:57     ` Sergey
2006-10-10  6:06       ` Sergey
2006-10-10  6:42     ` Шенцев Алексей Владимирович [this message]
2006-10-10  8:34       ` Gennadiy Redko
2006-10-16 21:49         ` Michael Shigorin
2006-10-17  5:11           ` Gennadiy Redko
2006-10-17  5:32             ` Michael Shigorin
2006-10-17 15:41               ` Gennadiy Redko
2006-10-17 15:54                 ` Michael Shigorin
2006-10-17 16:01                   ` Eugene Ostapets
2006-10-17 17:55                     ` Michael Shigorin
2006-10-17 18:33                       ` Gennadiy Redko
2006-10-17 18:41                       ` Eugene Ostapets
2006-10-17 16:20                   ` Gennadiy Redko
2006-10-17  6:23             ` Шенцев Алексей Владимирович
2006-10-06 11:24 ` [sisyphus] " Damir Shayhutdinov

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=200610101042.18848.ashen@nsrz.ru \
    --to=ashen@nsrz.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git