[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Neil Winchurst wrote: > I don't know if this helps, but I have found the following in > /var/lib/dhcp/dhclient-eth0.leases Right ok, How long after renewing your dhcp lease can you connect for. Ie when it says expire 3 2006/9/6 18:35:22 is that when your connection drops? Or is this totally unrelated, i wonder if the router is trying to be too clever for its own good. I don't understand why switching the router on and off helps in this instant. What happens if you just unplug the cable? do you get the same effect If you have the correct deamons installed when you switch off or unplug the router it will automaticly run ifdown eth0 and when the power/cable is reconnected it will run ifup eth0, which in turn causes a new dhcp lease to be obtained. This might be what is happening. Can you confirm that when you loose connection issuing a dhclient as root fixes the problem. Also can you do a "ps -aux | grep dhclient" and see if dhclient has backgrounded properly and if you have a load of them running or something. dhclient should sit in the background after getting the first lease then release at the required interval. You may want to do a killall dhclient (if you have a load) which should kill all instances then run just one and see how long you remain connected. If you don't have killall just do "kill pid" (where pid is the value(s) obtained (for process id) by doing the "ps -aux | grep dhclient" Richard Brown's "Oops internet problems" looks very similar in nature to this one and the both your routing and dns entries are the same. Do you both have the same router? Regards -- Robin Cornelius http://www.byteme.org.uk
Attachment:
signature.asc
Description: OpenPGP digital signature
-- The Mailing List for the Devon & Cornwall LUG http://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html