ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Pavel <p2n@ya.ru>
To: community@lists.altlinux.org
Subject: [Comm] branch 4.1 и etcnet
Date: Mon, 28 Jul 2008 23:37:41 +0500
Message-ID: <g6l3jq$e62$1@ger.gmane.org> (raw)

Доброе время суток!

Скажите пожалуйста, как в 4.1 (идеологически правильно) настраивать имена интерфейсов в etcnet?

Создал файл /etc/net/iftab
> # eth000        mac 00:1D:60:5C:87:88
> # eth001        mac 00:02:B3:13:DD:C0
> # eth002        mac 00:80:C8:38:D4:F8
> eth000  businfo 0000:02:0b.0
> eth001  businfo 0000:02.0a.0
> eth002  businfo usb-0000.00.1d.7-5
но при ребуте имена интерфейсов не назначаются, плюс к этому имена первых двух устраивают чехарду. На данный момент в качестве костылей используется строгий порядок загрузки драйверов сетевых карт - файл /etc/modprobe.d/blacklist-nic:
> blacklist ipg
> blacklist e100
> blacklist asix
+ параметры MODULE=<модуль> и USE_HOTPLUG=no в /etc/net/ifaces/eth[0-2]/options (спасибо asy@!); имена имеют вид ethX (хотелось бы иметь вида eth00X).

Заранее благодарен вам за ответы!

# ethtool -i eth0
> Cannot get driver information: Operation not supported

# lspci
> <skip>
> 02:0a.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 08)
> 02:0b.0 Ethernet controller: Sundance Technology Inc / IC Plus Corp IP1000 Family Gigabit Ethernet (rev 41)

# ethtool -i eth1
> driver: e100
> version: 3.5.23-k4-NAPI
> firmware-version: N/A
> bus-info: 0000:02:0a.0

# ethtool -i eth2
> driver: asix
> version: 14-Jun-2006
> firmware-version: ASIX AX88772 USB 2.0 Ethernet
> bus-info: usb-0000:00:1d.7-5

# lsusb
> # lsusb
> Bus 004 Device 002: ID 2001:3c05 D-Link Corp. [hex] DUB-E100 Fast Ethernet [asix]
> <skip>

# ip addr show
> 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue
>     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 qlen 1000
>     link/ether 00:1d:60:5c:87:88 brd ff:ff:ff:ff:ff:ff
>     inet 192.168.0.6/24 brd 192.168.0.255 scope global eth0
>     inet 192.168.254.1/30 brd 192.168.254.3 scope global eth0
> 3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
>     link/ether 00:02:b3:13:dd:c0 brd ff:ff:ff:ff:ff:ff
>     inet 10.115.62.2/30 brd 10.115.62.3 scope global eth1
> 4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
>     link/ether 00:80:c8:38:d4:f8 brd ff:ff:ff:ff:ff:ff
>     inet 192.168.1.2/24 brd 192.168.1.255 scope global eth2
> 5: tun000: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 100
>     link/[65534]
>     inet 172.16.0.1 peer 172.16.0.2/32 scope global tun000



-- 
С уважением, Павел
email/xmpp: p2n-at-ya-dot-ru



             reply	other threads:[~2008-07-28 18:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-28 18:37 Pavel [this message]
2008-07-29 18:23 ` [Comm] branch 4.1 и etcnet [РЕШЕНО] Paul

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='g6l3jq$e62$1@ger.gmane.org' \
    --to=p2n@ya.ru \
    --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