Best of Technical Support
inetd on my system, Slackware 2.0.28, stops on occasion, barring access from telnet. Is there an easy way to automatically restart inetd if it dies?
—Mark Johnson, Mark.Johnson@InfoHarvest.ca
You're running an extremely old version of inetd, and some versions did have stability problems. Several solutions to your problem are available. If it is possible to upgrade your system, newer versions usually work fine, and you'll receive other benefits as well. If you'd like a replacement, try such alternatives as xinetd or daemontools, both of which are quite stable and add some features to the mix. However, if your cron service is trustworthy and you don't need to restart the service the second it dies, you might try running the following script every five minutes or so from cron:
#!/bin/sh ISINETS=`ps ax | grep inetd | grep -v grep | wc -l` if [ $ISINETD != 1 ]; then /usr/sbin/inetd fi
—Chad Robinson, firstname.lastname@example.org
We've said this before, but please replace telnet with OpenSSH to avoid exposing your passwords and other sensitive data to the network. Packages for the OpenSSH client and server are available for all the Linux distributions, and compatible clients are available for every common platform. SSH is as easy to use as telnet, and it automatically encrypts your connection.
—Don Marti, email@example.com
I'm operating SuSE 8.0 on my IBM ThinkPad 600E and am trying to connect to our LAN server at work. How do I configure TCP/IP so it automatically recognizes the addresses?
Run YaST2, the SuSE setup tool, and go to the Network address setup screen. Select Automatic address setup (via DHCP) to use a DHCP server if one is available, or select Static address setup and fill in an IP address and subnet mask to set the address manually.
—Don Marti firstname.lastname@example.org
Webinar: 8 Signs You’re Beyond Cron
11am CDT, April 29th
Join Linux Journal and Pat Cameron, Director of Automation Technology at HelpSystems, as they discuss the eight primary advantages of moving beyond cron job scheduling. In this webinar, you’ll learn about integrating cron with an enterprise scheduler.Join us!
|Play for Me, Jarvis||Apr 16, 2015|
|Drupageddon: SQL Injection, Database Abstraction and Hundreds of Thousands of Web Sites||Apr 15, 2015|
|Non-Linux FOSS: .NET?||Apr 13, 2015|
|Designing Foils with XFLR5||Apr 08, 2015|
|diff -u: What's New in Kernel Development||Apr 07, 2015|
- Drupageddon: SQL Injection, Database Abstraction and Hundreds of Thousands of Web Sites
- Play for Me, Jarvis
- Non-Linux FOSS: .NET?
- Designing Foils with XFLR5
- Not So Dynamic Updates
- Flexible Access Control with Squid Proxy
- New Products
- Users, Permissions and Multitenant Sites
- New GeekGuide: Beyond Cron