Hi! On 03/28/2014 09:08 AM, Mike Frysinger wrote: > On Fri 28 Mar 2014 09:44:24 Simon Xu wrote: >> The script uses hardcoded 'eth0' which used to work on most systems. >> This fix tries to find a 'working' network interface using the hostname. > > why doesn't hardcoding "lo" work ? > -mike
I think we can't use the loopback interface because test06 fails if invoked with lo: [root@kholmanskikh stas]# /sbin/ifconfig lo:1 1.2.3.4 netmask 255.255.255.0 up [root@kholmanskikh stas]# /sbin/ip maddr add 66:66:00:00:00:66 dev lo:1 ioctl: Invalid argument [root@kholmanskikh stas]# /sbin/ifconfig eth0:1 3.4.5.6 netmask 255.255.255.0 up [root@kholmanskikh stas]# /sbin/ip maddr add 66:66:00:00:00:66 dev eth0:1 [root@kholmanskikh stas]# ------------------------------------------------------------------------------ Start Your Social Network Today - Download eXo Platform Build your Enterprise Intranet with eXo Platform Software Java Based Open Source Intranet - Social, Extensible, Cloud Ready Get Started Now And Turn Your Intranet Into A Collaboration Platform http://p.sf.net/sfu/ExoPlatform _______________________________________________ Ltp-list mailing list Ltp-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ltp-list