Best of Technical Support
I need to add a new user for a static IP account. How can I set it up so that the new user can dial into our regular hunt group? The way I have it set up now, I would need to assign each user a modem just for them. I was told that I can set things up so users can call into our main hunt group number. —John Jhong Red Hat
That is exactly what we do here at Red Hat. We have a four-line hunt group for which we give users the number only to the first line. Then we put a modem on each of the four lines. If the first line is occupied, the caller is rolled to the second, then the third, then the fourth. I assume this is what you mean by “hunt group”.
All of our users have a static IP number, too. We simply create an extra account for each user. In typical ISP fashion, we usually make it their normal login ID preceded by a capital <\#145>P'. (For example Pdjb would be the dial in account for djb). Next, we create a short shell script that is set up as the “shell” for Pdjb. A typical script might look like this:
#!/bin/bash /usr/sbin/pppd modem crtscts netmask \ 255.255.255.248 :static.ip.address.here
We would put that in /usr/local/bin/Pdjb.
Next, you make that script executable and edit the shell for your Pdjb user to look like so:
Pdjb:fakepasswd:1000:1000:RHS ppp account: /home/ppp:/usr/local/bin/Pdjb
Then the user can dial in directly as Pdjb and PPP will start automatically. This is only a brief introduction to setting up PPP. For more detailed information, see Robert Hart's PPP-HOWTO available at http://sunsite.unc.edu/LDP. —Donnie Barnes, Red Hat Software email@example.com
When I try to start wu.ftpd or in.telnetd, I get the error “Socket operation on non-socket” —Ian Webber Slackware 3.2
Those aren't programs. They are daemons. They should be run only from inetd, which is a “master daemon” that runs all the time, listening for things like FTP and telnet requests. You will find configuration information for inetd in /etc/inetd.conf.
Once inetd receives a request for FTP or telnet, it will then start in.ftpd or in.telnetd and connect its I/O to the socket that requested the connection. With this system, you don't need to have many daemons sitting in memory doing nothing, since inetd can start them when they are needed. —Donnie Barnes, Red Hat Software firstname.lastname@example.org
I have friends who chuckle at me because I have had Linux for about a year and still can't figure out how to get it to print to my HP printer. —Randy Barrett Red Hat 3.0.3
Since you don't specify the model of your HP (and you've been trying for so long) I'll assume it is a 540 or similar printer. What you need to do is download the printing filter aps-491.tgz in /pub/Linux/system/printing from sunsite (or your favorite mirror). All you need to know is to which lp port your printer is connected. The APS Filter installation software will automatically write the filter and set up /etc/printcap so that you can start using your HP printer. —Mark Bishop, Vice President Southern Illinois Linux Users Group email@example.com
Sometimes when I start the XView application by typing openwin, the monitor turns off. Since the monitor power supply is the same as that of the whole system, I need to start all over again.
I have tried various combinations with the XConfig file. —Harjeet
I recommend downloading XFree3.3 from ftp.xfree86.org or your favorite mirror. Read the RELNOTES file before you download anything. XFree 3.3 has a pretty decent tool (XF86Setup) that you run to set up XFree for operation with your particular video card. Once you get XFree up and running by entering startx, XView should pop up with no problem. —Mark Bishop, Vice President Southern Illinois Linux Users Group firstname.lastname@example.org
I just switched over to Linux to do my graphics programming. I cannot find basic Linux C libraries that are equivalent to the Turbo C++ version of C graphic libraries. Where can I find those? —Christopher Carver Red Hat 4.0
There is no direct freeware clone of the Borland BGI graphics library, but there are a number of libraries that should serve your purposes, whether you want to display a few curves on the screen or render complex 3D images. Visit your favorite Sunsite mirror, and explore the /pub/linux/libs/graphics directory. You should find everything you need. If you are looking for a direct clone of the BGI graphics library, look for the file bgi_library.tar.gz which you should also find in the aforementioned sunsite location. It is a good shareware product (with an extended commercial version) that provides source API compatibility. —Chad Robinson, BRT Technical Services Corporation email@example.com
Practical Task Scheduling Deployment
One of the best things about the UNIX environment (aside from being stable and efficient) is the vast array of software tools available to help you do your job. Traditionally, a UNIX tool does only one thing, but does that one thing very well. For example, grep is very easy to use and can search vast amounts of data quickly. The find tool can find a particular file or files based on all kinds of criteria. It's pretty easy to string these tools together to build even more powerful tools, such as a tool that finds all of the .log files in the /home directory and searches each one for a particular entry. This erector-set mentality allows UNIX system administrators to seem to always have the right tool for the job.
Cron traditionally has been considered another such a tool for job scheduling, but is it enough? This webinar considers that very question. The first part builds on a previous Geek Guide, Beyond Cron, and briefly describes how to know when it might be time to consider upgrading your job scheduling infrastructure. The second part presents an actual planning and implementation framework.
Join Linux Journal's Mike Diehl and Pat Cameron of Help Systems.
Free to Linux Journal readers.View Now!
|The Firebird Project's Firebird Relational Database||Jul 29, 2016|
|Stunnel Security for Oracle||Jul 28, 2016|
|SUSE LLC's SUSE Manager||Jul 21, 2016|
|My +1 Sword of Productivity||Jul 20, 2016|
|Non-Linux FOSS: Caffeine!||Jul 19, 2016|
|Murat Yener and Onur Dundar's Expert Android Studio (Wrox)||Jul 18, 2016|
- Stunnel Security for Oracle
- The Firebird Project's Firebird Relational Database
- SUSE LLC's SUSE Manager
- Murat Yener and Onur Dundar's Expert Android Studio (Wrox)
- Managing Linux Using Puppet
- My +1 Sword of Productivity
- Non-Linux FOSS: Caffeine!
- Google's SwiftShader Released
- SuperTuxKart 0.9.2 Released
- Doing for User Space What We Did for Kernel Space
With all the industry talk about the benefits of Linux on Power and all the performance advantages offered by its open architecture, you may be considering a move in that direction. If you are thinking about analytics, big data and cloud computing, you would be right to evaluate Power. The idea of using commodity x86 hardware and replacing it every three years is an outdated cost model. It doesn’t consider the total cost of ownership, and it doesn’t consider the advantage of real processing power, high-availability and multithreading like a demon.
This ebook takes a look at some of the practical applications of the Linux on Power platform and ways you might bring all the performance power of this open architecture to bear for your organization. There are no smoke and mirrors here—just hard, cold, empirical evidence provided by independent sources. I also consider some innovative ways Linux on Power will be used in the future.Get the Guide