* [Sysadmins] p6 etcnet duumy interface
@ 2012-04-18 12:16 Denis Kuznetsov
2012-04-18 15:22 ` Vitaly Kuznetsov
2012-04-20 8:49 ` Sergey
0 siblings, 2 replies; 6+ messages in thread
From: Denis Kuznetsov @ 2012-04-18 12:16 UTC (permalink / raw)
To: ALT Linux sysadmins' discussion
Доброго времени суток!
Никогда не думал что пригодится, но на cisco привык юзать loopback интерфейсы,
аналогом которых в линукс и есть dummy. Краткое howto, что-бы не забыть.
tail /etc/net/ifaces/dummy0/*
==> /etc/net/ifaces/dummy0/ipv4address <==
192.168.192.132/32
==> /etc/net/ifaces/dummy0/options <==
DISABLED=no
ONBOOT=yes
#modprobe duumy
#echo dummy >> /etc/modules
# ifup dummy0
/sbin/modprobe: invalid option -- 'o'
Usage: /sbin/modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n] [-i]
[-q] [-b] [-o <modname>] [ --dump-modversions ] <modname> [parameters...]
/sbin/modprobe -r [-n] [-i] [-v] <modulename> ...
/sbin/modprobe -l -t <dirname> [ -a <modulename> ...]
Cannot find device "dummy0"
типа того приехали...
патч:
--- /etc/net/scripts/create-dummy.old 2012-04-18 08:10:32.176060832 -0400
+++ /etc/net/scripts/create-dummy 2012-04-18 08:11:18.820060313 -0400
@@ -8,5 +8,6 @@
# is done for dummies, so if we see the name already present,
# the work is over.
iface_exists $NAME && exit
-modprobe_with_rename -o $NAME dummy >/dev/null
+#modprobe_with_rename -o $NAME dummy >/dev/null
+ip link add name dummy0 type dummy
$IP link set dev dummy0 name $NAME
--
Denis Kuznetsov
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Sysadmins] p6 etcnet duumy interface
2012-04-18 12:16 [Sysadmins] p6 etcnet duumy interface Denis Kuznetsov
@ 2012-04-18 15:22 ` Vitaly Kuznetsov
2012-04-18 16:25 ` Denis Kuznetsov
2012-04-20 8:49 ` Sergey
1 sibling, 1 reply; 6+ messages in thread
From: Vitaly Kuznetsov @ 2012-04-18 15:22 UTC (permalink / raw)
To: sysadmins
On Wed, 18 Apr 2012 15:16:02 +0300, Denis Kuznetsov wrote:
> # ifup dummy0
> /sbin/modprobe: invalid option -- 'o'
> Usage: /sbin/modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n]
> [-i]
> [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname>
> [parameters...]
> /sbin/modprobe -r [-n] [-i] [-v] <modulename> ...
> /sbin/modprobe -l -t <dirname> [ -a <modulename> ...]
> Cannot find device "dummy0"
>
> типа того приехали...
> патч:
Если в Сизифе то же самое, то напрашивается в багзиллу на etcnet
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Sysadmins] p6 etcnet duumy interface
2012-04-18 15:22 ` Vitaly Kuznetsov
@ 2012-04-18 16:25 ` Denis Kuznetsov
2012-04-18 17:19 ` Michael Shigorin
2012-04-18 19:32 ` Vitaly Kuznetsov
0 siblings, 2 replies; 6+ messages in thread
From: Denis Kuznetsov @ 2012-04-18 16:25 UTC (permalink / raw)
To: sysadmins
Доброго времени суток!
Напрашивается, но негде проверить в сизифе...
On Wednesday 18 April 2012 18:22:42 Vitaly Kuznetsov wrote:
> On Wed, 18 Apr 2012 15:16:02 +0300, Denis Kuznetsov wrote:
> > # ifup dummy0
> > /sbin/modprobe: invalid option -- 'o'
> > Usage: /sbin/modprobe [-v] [-V] [-C config-file] [-d <dirname> ] [-n]
> > [-i]
> > [-q] [-b] [-o <modname>] [ --dump-modversions ] <modname>
> > [parameters...]
> > /sbin/modprobe -r [-n] [-i] [-v] <modulename> ...
> > /sbin/modprobe -l -t <dirname> [ -a <modulename> ...]
> > Cannot find device "dummy0"
> >
> > типа того приехали...
> > патч:
>
> Если в Сизифе то же самое, то напрашивается в багзиллу на etcnet
>
> _______________________________________________
> Sysadmins mailing list
> Sysadmins@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/sysadmins
--
Denis Kuznetsov
mailto: kde@kde.kiev.ua
jabber: denis.e.kuznetsov@gmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Sysadmins] p6 etcnet duumy interface
2012-04-18 16:25 ` Denis Kuznetsov
@ 2012-04-18 17:19 ` Michael Shigorin
2012-04-18 19:32 ` Vitaly Kuznetsov
1 sibling, 0 replies; 6+ messages in thread
From: Michael Shigorin @ 2012-04-18 17:19 UTC (permalink / raw)
To: sysadmins
On Wed, Apr 18, 2012 at 07:25:12PM +0300, Denis Kuznetsov wrote:
> Напрашивается, но негде проверить в сизифе...
Тогда повесь as is -- лучше NOTABUG, чем unknown bug.
--
---- WBR, Michael Shigorin <mike@altlinux.ru>
------ Linux.Kiev http://www.linux.kiev.ua/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Sysadmins] p6 etcnet duumy interface
2012-04-18 16:25 ` Denis Kuznetsov
2012-04-18 17:19 ` Michael Shigorin
@ 2012-04-18 19:32 ` Vitaly Kuznetsov
1 sibling, 0 replies; 6+ messages in thread
From: Vitaly Kuznetsov @ 2012-04-18 19:32 UTC (permalink / raw)
To: sysadmins
On Wed, 18 Apr 2012 19:25:12 +0300, Denis Kuznetsov wrote:
> Доброго времени суток!
>
> Напрашивается, но негде проверить в сизифе...
>
$ rpmdiff -t
/ALT/Sisyphus/files/noarch/RPMS/etcnet-0.9.10-alt6.noarch.rpm
/ALT/p6/files/noarch/RPMS/etcnet-0.9.10-alt5.noarch.rpm
removed REQUIRES etcnet-defaults = 0.9.10-alt6
added REQUIRES etcnet-defaults = 0.9.10-alt5
S.5..... /etc/net/scripts/create-ppp
S.5..... /etc/net/scripts/functions
S.5..... /etc/net/scripts/functions-ipv4
S.5..... /usr/share/man/man5/etcnet-options.5.bz2
можно вешать :)
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Sysadmins] p6 etcnet duumy interface
2012-04-18 12:16 [Sysadmins] p6 etcnet duumy interface Denis Kuznetsov
2012-04-18 15:22 ` Vitaly Kuznetsov
@ 2012-04-20 8:49 ` Sergey
1 sibling, 0 replies; 6+ messages in thread
From: Sergey @ 2012-04-20 8:49 UTC (permalink / raw)
To: ALT Linux sysadmins' discussion
On Wednesday 18 of April 2012 15:16:02 Denis Kuznetsov wrote:
> Никогда не думал что пригодится, но на cisco привык юзать loopback
> интерфейсы, аналогом которых в линукс и есть dummy.
Хм... А я на lo довешиваю IP...
--
С уважением, Сергей
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-04-20 8:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-18 12:16 [Sysadmins] p6 etcnet duumy interface Denis Kuznetsov
2012-04-18 15:22 ` Vitaly Kuznetsov
2012-04-18 16:25 ` Denis Kuznetsov
2012-04-18 17:19 ` Michael Shigorin
2012-04-18 19:32 ` Vitaly Kuznetsov
2012-04-20 8:49 ` Sergey
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