Bug 27242 - не работает dummy
Summary: не работает dummy
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: etcnet (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P3 normal
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-18 23:30 MSK by Denis Kuznetsov
Modified: 2012-04-19 13:42 MSK (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kuznetsov 2012-04-18 23:30:15 MSK
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
Comment 2 Sergey Bolshakov 2012-04-19 13:42:00 MSK
/usr/share/doc/etcnet-0.9.10/examples/dummy