Re: dhclient caused no routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On Sat, 2004-06-12 at 21:37, Brian Millett wrote:
>> Hi, the dhclient-3.0.1rc13-1.i386.rpm from rawhide caused the dhcp
>> client on my laptop to not route.  Did not have a default gateway.
>> Downgraded to dhclient-3.0.1rc12-7.i386.rpm and routing (gateway)
>> returned.
>>
>> What changes happened in the updates that caused this?
>
>> * Wed Jun 09 2004 Dan Walsh <dwalsh@xxxxxxxxxx> 1:3.0.1rc12-8
>> - add alex's dhcp-3.0.1rc12-inherit-leases.patch patch
>
> It might be this patch, can you try disabling it?

Thanks for the reply.  I did this:
diff -wruN dhclient-script dhclient-script.test
--- dhclient-script     2004-06-12 16:31:29.000000000 -0500
+++ dhclient-script.test        2004-06-13 12:11:43.000000000 -0500
@@ -128,12 +128,14 @@
   elif [ $relmajor -lt 2 ] || ( [ $relmajor -eq 2 ] && [ $relminor -eq 0
] ) then
     ifconfig $interface inet 0.0.0.0 netmask 0.0.0.0 \
                broadcast 255.255.255.255 up
+       #Add route to make broadcast work. Do not omit netmask.
+    route add default dev $interface netmask 0.0.0.0
   else
     ifconfig $interface 0 up
   fi

   # Add route to make broadcast work. Do not omit netmask.
-  route add default dev $interface netmask 0.0.0.0
+  #route add default dev $interface netmask 0.0.0.0

   # We need to give the kernel some time to get the interface up.
   sleep 1

Then it works fine.

-- 
Brian Millett
Enterprise Consulting Group  "Shifts in paradigms
(314) 205-9030           often cause nose bleeds."
bpmATec-groupDOTcom                     Greg Glenn





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux