Re: [OE-core] about the qemu net interface name

2011-11-04 Thread Ni Qingliang
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:

Re: [OE-core] about the qemu net interface name

2011-11-04 Thread Phil Blundell
On Fri, 2011-11-04 at 17:58 +0800, Ni Qingliang wrote: 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. Parsing the output of

[OE-core] about the qemu net interface name

2011-11-03 Thread Ni Qingliang
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