From: Denis Kirienko <dk@altlinux.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: [Sysadmins] etcnet: переименование интерфейсов Date: Fri, 03 Aug 2007 17:02:40 +0400 Message-ID: <46B32770.9070401@altlinux.ru> (raw) [-- Attachment #1: Type: text/plain, Size: 1458 bytes --] Добрый день! Начал переводить сервер с Master 2.4 на Server 4.0, поэтому в ближайшее время буду мучать всех вопросами. Начнем с etc/net. Установщиком сконфигурировал интерфейсы eth0, eth1, eth2, eth3. Захотел переименовать их во что-то удобоваримое. Сделал файл /etc/net/iftab: fiber mac 00:04:76:39:cc:b0 adsl mac 00:01:02:a0:79:18 local mac 00:11:5b:ce:ed:a5 unused mac 00:50:da:b5:1b:b7 Переименовал каталоги /etc/net/ifaces/eth[0-3] в fiber, adsl, local, unused. В файл options для каждого интерфейса добавил строчку TYPE=eth Если теперь сделать service network restart то получаю следующее (интерфейс unused имеет параметр DISABLED=yes): Computing interface groups: .... 4 interfaces found Processing /etc/net/vlantab: empty. Stopping group 1/realphys (3 interfaces) Stopping adsl: OK Stopping fiber: OK Stopping local: OK Stopping group 0/virtual (1 interfaces) Stopping lo: .OK Computing interface groups: .... 4 interfaces found Starting group 0/virtual (1 interfaces) Starting lo: .....OK Starting group 1/realphys (3 interfaces) Starting adsl: SIOCGIFFLAGS: No such device !FAILED Starting fiber: SIOCGIFFLAGS: No such device !FAILED Starting local: SIOCGIFFLAGS: No such device !FAILED Processing /etc/net/vlantab: empty. Ну и после этого ни один из интерфейсов adsl, fiber, local не поднялся. Что еще нужно сделать? -- Денис [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --]
next reply other threads:[~2007-08-03 13:02 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2007-08-03 13:02 Denis Kirienko [this message] 2007-08-03 13:37 ` Alexander Volkov 2007-08-03 13:55 ` Denis Kirienko 2007-08-07 6:36 ` Vladimir V. Kamarzin
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=46B32770.9070401@altlinux.ru \ --to=dk@altlinux.ru \ --cc=sysadmins@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 sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git