[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#909204: ippusbxd: dummy0 network interface creation



Package: ippusbxd
Version: 1.33-1
Severity: normal
Tags: upstream, patch



I followed the advice in readme.md by loading the dummy module and
doing

 root@test:~# ifconfig dummy0 192.168.7.80 netmask 255.255.255.0 multicast

I got

 SIOCSIFADDR: No such device
 dummy0: ERROR while getting interface flags: No such device
 SIOCSIFNETMASK: No such device
 dummy0: ERROR while getting interface flags: No such device

so I used ip (without error) instead.

 ip link add dummy0 type dummy
 ip link set dummy0 up multicast on
 ip addr add 192.168.7.80/24 dev dummy0

The first command also loads the dummy module. 'ifconfig dummy0' shows

 dummy0: flags=4291<UP,BROADCAST,RUNNING,NOARP,MULTICAST>  mtu 1500
         inet 192.168.7.80  netmask 255.255.255.0  broadcast 0.0.0.0
         inet6 fe80::3cd1:42ff:fe61:343c  prefixlen 64  scopeid 0x20<link>
         ether 3e:d1:42:61:34:3c  txqueuelen 1000  (Ethernet)
         RX packets 0  bytes 0 (0.0 B)
         RX errors 0  dropped 0  overruns 0  frame 0
         TX packets 17  bytes 1471 (1.4 KiB)
         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

(As a matter of interest, net-tools is not installed by default on Debian).

Regards,

Brian.


Reply to: