ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: ABATAPA <altlinux-sisyphus@yandex.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] etcnet и hotplug
Date: Mon, 3 Apr 2006 18:11:15 +0400
Message-ID: <200604031811.16034.altlinux-sisyphus@yandex.ru> (raw)

	Доброго дня!

Я уже писАл вопрос про изменения в etcnet тут, но теперь пойдем дальше.
Повторюсь: 
Есть у клиентов один "сервачок"-роутер: машина без клавиатуры и монитора на 
чердаке промышленного здания. Внутри - Сизиф, разумеется :). В ней три 
сетевые карты (ne2k_pci) - одна в "канал", две - на два их хаба/свича.     
  Конфигурация - etcnet, eth0 получает ip по dhcp, два других - статические 
192.168.0.1 и 192.168.1.1, все были настроены с USE_HOTPLUG=no. Третий 
интерфейс - ppp0, настроен pptp (PPPPERSIST=on, PPPMAXFAIL=0), зависимостей 
не было.
...
  Все работало на декабрьском Сизифе, тут принесли поменять железо, стал 
обновлять.  


При загрузке с HOTPLUG=no не появляется ни одного интерфейся, с HOTPLUG=yes не 
поднимается ppp0.
Пойдем "простым логическим ходом"(с).
Грузимся в runlevel 1.
Делаем `service network start`. Имеем ряд ошибок вида:
Starting eth0: .SIOCGIFFLAGS: No such device
Оно и понятно - hotplug-то не стартовал, устройств еще нет.
Если сделать это же после `service hotplug start` - все OK.
Но, согласно /etc/rc.d/rc3.d/ (а так же chkconfig и содержимому самих 
скриптов), hotplug у нас стартует c приоритетом 32, а network - 10.

В /etc/net/ifaces/eth0/options:
TYPE=eth
USE_HOTPLUG=no
BOOTPROTO=dhcp
MODULE=ne2k-pci
NEVER_RMMOD=yes

В /etc/net/ifaces/eth{1,2}/options:
TYPE=eth
USE_HOTPLUG=no
BOOTPROTO=static
MODULE=3c59x
NEVER_RMMOD=yes

В /etc/net/ifaces/ppp0:
PPPTYPE=pptp
USE_HOTPLUG=no
PPTP_SERVER=172.16.0.1
HOST=eth0
ONBOOT=yes
RESTORE_DEFAULTROUTE=yes

Сизиф - сегодняшний.

Что посоветуете?
-- 
ABATAPA


             reply	other threads:[~2006-04-03 14:11 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-03 14:11 ABATAPA [this message]
2006-04-04  9:43 ` ABATAPA
2006-04-04 10:29   ` Michael Shigorin
2006-04-04 10:38     ` ABATAPA
2006-04-04 10:17 ` Sergey
2006-04-04 10:34   ` ABATAPA
2006-04-04 10:41     ` Led
2006-04-04 11:02       ` ABATAPA
2006-04-04 11:37         ` Led
2006-04-04 11:46           ` ABATAPA
2006-04-04 11:54             ` Led
2006-04-04 12:16           ` Sergey
2006-04-04 12:30             ` Led
2006-04-04 10:53     ` Sergey
2006-04-04 11:08       ` ABATAPA
2006-04-04 11:30         ` Sergey
2006-04-04 11:40           ` ABATAPA
2006-04-04 11:12       ` Sergey
2006-04-04 12:21         ` ABATAPA
2006-04-04 12:38           ` Sergey
2006-04-04 13:01             ` ABATAPA
2006-04-04 14:28               ` Sergey
2006-04-04 15:19                 ` ABATAPA
2006-04-04 15:41                   ` Sergey
2006-04-05  6:42                     ` ABATAPA
2006-04-05  6:30                 ` Yuriy Kashirin
2006-04-05  6:40                   ` ABATAPA
2006-04-04 10:19 ` Sergey
2006-04-04 10:27   ` ABATAPA

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=200604031811.16034.altlinux-sisyphus@yandex.ru \
    --to=altlinux-sisyphus@yandex.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