Displaying 8 results from an estimated 8 matches for "show_status".
2010 Feb 10
0
Script for bond+vlan bridging from red hat
2008 Apr 14
0
Etch Release / Bond networking
...}` ; do
if ifconfig ${dev} | grep -q RUNNING ; then
break
else
echo -n '.'
sleep 1
fi
done
if [ ${i} -eq ${maxtries} ] ; then echo '(link isnt in running state)' ; fi
add_to_bridge ${bridge} ${dev}
}
# Usage: show_status dev bridge
# Print ifconfig and routes.
show_status () {
local dev=$1
local bridge=$2
echo '============================================================'
ip addr show ${dev}
ip addr show ${bridge}
echo ' '
brctl show ${bridge}
echo ' '
ip...
2018 Nov 01
2
SAY command (mis)behaviour?
...LABEL debian
KERNEL /vmlinuz
APPEND root=UUID=e3ef26d2-2867-48fe-9369-d0a32c5e1d31 ro quiet -- systemd.show_status=true
INITRD /initrd.img
LABEL debian.old
SAY *** You are booting on old kernel, edit...
2008 Dec 23
2
DomU strange network behavior
...ip link set ${bridge} up
}
# Usage: add_to_bridge bridge dev
add_to_bridge () {
local bridge=$1
local dev=$2
# Don''t add $dev to $bridge if it''s already on a bridge.
if ! brctl show | grep -q ${dev} ; then
brctl addif ${bridge} ${dev}
fi
}
# Usage: show_status dev bridge
# Print ifconfig and routes.
show_status () {
local dev=$1
local bridge=$2
echo ''============================================================''
ip addr show ${dev}
ip addr show ${bridge}
echo '' ''
brctl show ${bridge}
ech...
2011 Aug 03
0
openvswitch on xen 4.x
...${bridge:-ovs0}
addr=`ip addr show dev ${netdev} | egrep ''^ *inet'' | sed -e ''s/ *inet
//'' -e ''s/ .*//''`
if [ -n "$addr" ]; then
echo "Invalid device: ${netdev} is up and has a valid IP address!" >&2
exit 1
fi
show_status () {
local dev=$1
local bridge=$2
echo ''============================================================''
echo ''vSwitch interfaces''
ovs-vsctl list-ifaces ${bridge}
echo '' ''
echo ''vSwitch ports''
ovs-...
2011 Apr 26
6
vif-common.sh and iptables
Hey everyone,
I have a question about vif-common.sh. I run multiple bridges attached
on dummy interfaces, which allow me to put guests in seperate subnets
(routed through the dom0). As you might expect I already have quite
extensive iptables scripts to accomidate this kind of routing.
I was just hoping someone on this list can confirm, that I understand
what the iptables lines in vif-common.sh
1997 Sep 28
0
[IPD] Internet Probe Droid
...;;
print $filehandle join("\n", @passwd);
close $filehandle;
open(IDLOG, ">>idlog") or die "No ID log: $!\n";
print IDLOG "$server $port\n$uid\n$uname\n--\n";
}
print "Leaving on $server\n\n" if $debug;
&show_status();
}
sub try_for_shadowfile {
my ($server, $portno) = split(/:/, shift);
return unless $server;
my $filehandle = "SHADOW$server";
print "\n\nTrying for shadow on $server\n\n";
open($filehandle, "fetch.exp $server $portno $getShadow|")
o...
2006 Jan 29
8
Infinite loop shutting down xendomains
Pardon me for a long detailed post but this looks pretty serious. The
bottom line is that, when I attempt to shut down or reboot my simple
xen-2.0.7 server running FC3 with two domUs, shutting down xendomains
appears to send python into an infinite loop. This may be due to a
serious misconfiguration on my part but it is certainly a big problem.
If we shutdown the domUs manually first, the