скрипты и квоты
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
qemu -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=/etc/qemu-ifup -m 256 -vnc 0 /backup/sarge.img
warning: could not configure /dev/net/tun: no virtual network emulation
Could not initialize device 'tap'
стартую от рута
вот мой /etc/network/interfaces
allow-hotplug eth0
auto eth0
iface eth0 inet static
address 0.0.0.0
auto br0
iface br0 inet static
address x.x.x.x
network x.x.x.x
netmask 255.255.255.224
broadcast x.x.x.x
gateway x.x.x.x
dns-nameservers x.x.x.x
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
auto tap0
iface tap0 inet static
address x.x.x.x.x
network x.x.x.x
netmask x.x.x.x
broadcast x.x.x.x.x
gateway x.x.x.x.x
dns-nameservers x.x.x.x
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off
вот мой /etc/qemu-ifup
#!/bin/sh
echo "Executing /etc/qemu-ifup"
echo "Bringing up $1 for bridged mode..."
sudo /sbin/ifconfig $1 0.0.0.0 promisc up
echo "Adding $1 to br0..."
sudo /usr/sbin/brctl addif br0 $1
sleep 2
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
>>> Подробности (Invalid URL, no host part!)
| ← назад | следующие → |