[OE-core] about the qemu net interface name

Ni Qingliang niqingliang at insigma.com.cn
Fri Nov 4 09:58:32 UTC 2011


I have checked the version of ifconfig, it blongs to package
"net-tools".

only the latest version 1.60.20110819cvs-1 have the ":" after Interface
name. In this version, the output format of ifconfig has changed.

On Fri, 2011-11-04 at 10:50 +0800, 倪庆亮 wrote:
> file: scripts/runqemu-internal
> line153: POSSIBLE=`$IFCONFIG -a|grep '^tap' | awk `{print $1}'`
> 
> on archlinux, I got that:
> tap0:
> tap1:
> 
> maybe it should be:
> tap0
> tap1
> 
> Is it right?
> 
> so I change it to
> POSSIBLE=`$IFCONFIG -a|grep '^tap' | awk `{print $1}' | sed 's/:$//'`
> 
> --
> Yi Qingliang
> niqingliang at insigma.com.cn
> https://niqingliang2003.wordpress.com
> 

-- 
Yi Qingliang
niqingliang at insigma.com.cn
https://niqingliang2003.wordpress.com





More information about the Openembedded-core mailing list