LINK="#3366FF" VLINK="#A000A0">

[ Prev ][ Table of Contents ][ Front Page ][ FAQ ][ Next ]

More 2¢ Tips!


Send Linux Tips and Tricks to gazette@linuxgazette.net


2C tip

Sat, 25 Nov 2000 14:13:28 +0100 (CET)
From: Richard Torkar (ds98rito@thn.htu.se)
I read your 2C tip regarding finding the rpm package a certain file belongs to in the latest edition of linuxgazette.com http://linuxgazette.net/issue58/lg_tips58.html
I have no idea if this is what you mean instead of your script but here it goes:
# rpm -qf /usr/bin/afm2tfm
tetex-afm-1.0.7-7
So the file /usr/bin/afm2tfm belongs to tetex-afm-1.0.7-7.
Is this what you meant?
Regards,
Richard Torkar


on creating tty for virtual consoles...

Mon, 6 Nov 2000 15:43:04 -0800 (PST)
Carlos Torres (Vlaadbrain@operamail.com)

Hi I recently downloaded smalllinux (kernel 2.2.0) and have had slight trouble getting tiny X running. I tries to load onto /dev/tty5 and smalllinux only has four tty's for VT. how do you use mknod? I can't make out what major and minor numbers are and they are required to make the device.
Anyway hope you can help me...
Thanx
Vlaad

The major number should be the same, and the minor number should increase by one for each. You should be able to see the pattern if you do
ls -al /dev/tty[0-9]
Under bash, the usual linux shell, those brackets indicate that it could be any character 0 through 9 there.

Well i found out what to do by probing LDP but thanx for reding these emails
I believe it was..

# mknod -m 666 /dev/tty5 c 4 5

I think this is what I need for a X server anyway! ;-} well let me kow if on the right track!1
Thanx VlaAd

Yep, you're right on target! -- Heather


Linux and Lexmark Printers

Wed, 1 Nov 2000 10:03:31 -0800
Allen Tate (allendtate@yahoo.com) asking...
Tip From: Dan Wilder

Has anyone out there had any luck setting up Lexmark Printers on any Linux distribution?

We've been using networked Lexmarks for years at LJ.
Key (at least for the older ones we use) is configuring as a network printer using port 9100, with something like:
:lp=lex2.ssc.com%9100
for the lp line in your printcap entry.
We've a newer one on order, will post if the key is something very different.
--- Dan


Serial consoles (issue #59)

Sun, 5 Nov 2000 19:59:11 -0700
From: Michal Jaegermann (tag)
In an answer to Joseph Annino you forgot to mention two details. One - you will need to run some getty program on a serial console you want to log in so an entry in /etc/inittab will be needed. As modem controls are not used then 'mingetty' should work fine but most anything ('agetty', 'getty_ps', 'mgetty', ....) also will do.
Also Josephs wants to use that console for admnistration hence, presumably, he wants to login there as 'root'. If this is indeed that case then an entry for the console port in /etc/securetty will be also needed or logging will run into some problems.
I also have a comment to Richard N. Turner entry about cron jobs. I would be much more careful with sourcing there things like /home/mydir/.bash_profile. Cron jobs run unwatched and possibly with root priviledges. Unless you can guarantee that something nasty will not show up in a sourced file now and anytime in the future you can be for a rude surprise. Setting precisely controlled environment in a script meant to be run from cron is much more appealing option. Depending on the whole computing setup such arrangements with sourcing can be ok, although I prefer to err here on a side of a caution, but readers should be at least aware about a potential big security hole.
Regards,
Michal


Gant charts / Project

Mon, 06 Nov 2000 08:50:40 +0000
Clive de Salis (mch.uk.systems@cwcom.net) asked...
Tip From: Ben Okopnik

On Mon, Nov 06, 2000 at 08:50:40AM +0000, Clive de Salis wrote: Dear All

I've converted my office in Birmingham in the UK to run entirely on Linux using Slackware and have successfully run the business for nearly 3 years now without my customers realising that I don't run Windows or use Microsoft Office.... Which just shows that it can be done.

I'm getting ready to convert the Monmouth office to the same using the Mandrake distribution. There is, however, one software application that I can't find for Linux ... and that is the equivalent to Microsoft Project. Do you know of a Gant Chart based project planning tool for Linux?

Good to hear yet another "Linux in business" success story! Project management software for Linux is not a huge field, although there seem to be at least several groups - some with rather serious money behind them - working on remedying the lack. There are several pieces of software already in existence that use Gantt charts; check out
http://linas.org/linux/pm.html
for a good start on software in the Call Center, Bug Tracking and Project Management categories.
Good luck in your endeavours,
Ben


This page edited and maintained by the Editors of Linux Gazette Copyright © 2000
Published in issue 60 of Linux Gazette December 2000
HTML script maintained by Heather Stern of Tuxtops, Inc., http://www.tuxtops.com/