Comment 9 for bug 109725

Revision history for this message
In , Javier Fernández-Sanguino (jfs) wrote : How about the following patch

tags 224468 patch
thanks

From my understanding, the following patch should solve the issue,
shouldn't it? (it sets the hardware address before 'upping' the interface)

Regards

Javi

$ diff -u inet.defn.orig inet.defn
--- inet.defn.orig 2004-01-21 15:17:01.000000000 +0100
+++ inet.defn 2004-01-21 15:20:04.000000000 +0100
@@ -33,9 +33,10 @@
     mtu size -- MTU size

   up
+ [[ ifconfig %iface% hw %hwaddress%]]
     ifconfig %iface% %address% netmask %netmask% [[broadcast %broadcast%]] \
        [[pointopoint %pointopoint%]] [[media %media%]] [[mtu %mtu%]] \
- [[hw %hwaddress%]] up
+ up
     route add -net %network% \
         if ( mylinuxver() < mylinux(2,1,100) )
     [[ route add default gw %gateway% %iface% ]]