as root:<br>crontab -e<br>then add a line:<br>0 6 * * * /usr/local/sbin/restart-networking<br><br>and close with the standard vi <esc>:wq<br><br>in /usr/local/sbin/restrt-networking<br>#!/bin/bash<br>service network stop<br>
rmmod <module for NIC1><br>rmmod <module for NIC2><br>#repeat for all network cards<br>service network start<br>service dhcpd restart<br><br>save the file and <br>chmod 755<br><br>I suspect the NIC is failing or the cable is crap.<br>
<br><div class="gmail_quote">On Mon, Mar 3, 2008 at 2:30 PM, Daniel Howard <<a href="mailto:dhhoward@comcast.net">dhhoward@comcast.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Guys, I've got an installed K12LTSP server that has suddenly started<br>
forgetting daily that it has an active network connection to the clients<br>
and I find I have to both reactivate the network card, and also to<br>
restart DHCP services. Anyone seen this before? As an interim solution<br>
until I can seriously troubleshoot it to ID a network card, gigabit<br>
switch, or cable issue, is there a cron job I could use to restart these<br>
services every day?<br>
<br>
Best, Daniel<br>
<font color="#888888">--<br>
Daniel Howard<br>
President and CEO<br>
Georgia Open Source Education Foundation<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
</font></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III <br>CEO & Director of Engineering <br>Local Net Solutions,LLC <br><a href="http://www.localnetsolutions.com">http://www.localnetsolutions.com</a><br>
<br>GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)<br><<a href="mailto:jkinney@localnetsolutions.com">jkinney@localnetsolutions.com</a>><br>Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7