old-www/LDP/LG/issue58/lg_tips58.html

493 lines
17 KiB
HTML

<!--startcut ======================================================= -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<META NAME="generator" CONTENT="lgazmail v1.3E.e">
<TITLE>More 2 Cent Tips & Tricks LG #58</TITLE></HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
LINK="#3366FF" VLINK="#A000A0">
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
<P>
<CENTER>
<!-- *** BEGIN navbar *** -->
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_answer58.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="index.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../index.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="../faq/index.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="collinge.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
<!-- *** END navbar *** -->
</CENTER>
</p>
<!-- QUICK TIPS SECTION ================================================== -->
<center>
<H1><A NAME="tips"><IMG ALIGN=MIDDLE ALT="" SRC="../gx/twocent.jpg">
More 2&cent; Tips!</A></H1> <BR>
Send Linux Tips and Tricks to <A HREF="mailto:gazette@ssc.com">gazette@ssc.com</A></center>
<!-- BEGIN tips -->
<UL>
<!-- index_text begins -->
<li><A HREF="#2c/1"
><strong>Linux Gazette #57 (September) - File with Device info</strong></a>
<li><A HREF="#2c/2"
><strong>samba printing under SuSE Linux 6.4</strong></a>
<li><A HREF="#2c/3"
><strong>CB Radio Connection a bad idea</strong></a>
<li><A HREF="#2c/4"
><strong>Reflection replacement?</strong></a>
<li><A HREF="#2c/6"
><strong>Question from a newbie - Exchange?</strong></a>
<li><A HREF="#2c/7"
><strong>International KB Layouts</strong></a>
<li><A HREF="#2c/9"
><strong>Tape Library</strong></a>
<li><A HREF="#2c/10"
><strong>Modems</strong></a>
<li><A HREF="#2c/11"
><strong>Palm OS Emulator</strong></a>
<li><A HREF="#2c/12"
><strong>telnet server & inetd</strong></a>
<li><A HREF="#2c/13"
><strong>BeOS partition</strong></a>
<li><A HREF="#2c/14"
><strong>Remote process</strong></a>
<!-- index_text ends -->
</UL>
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/1"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Linux Gazette #57 (September) - File with Device info</FONT></H3>
Mon, 04 Sep 2000 13:24:36 +1100
<BR>From: Brendon Oliver
(<a href="mailto:brendono@softcentre.com.au">brendono@softcentre.com.au</a>)
<BLOCKQUOTE>
Hi there,
</BLOCKQUOTE>
<BLOCKQUOTE>
Regarding the 'File With Device Information' in the September Issue, you
should also mention that if you have the <tt>pciutils</tt> package installed,
<TT>/sbin/lspci</TT> is much more useful than eyeballing <TT>/proc/pci</TT>.
Just my thoughts....
</BLOCKQUOTE>
<BLOCKQUOTE>
Regards,
<br>- Brendon.
</BLOCKQUOTE>
<!-- sig -->
<!-- end 1 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/2"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">samba printing under SuSE Linux 6.4</FONT></H3>
Sun, 3 Sep 2000 15:06:32 +0200
<BR>From: Matthias Arndt
(<A HREF="mailto:matthiasarndt@gmx.net"
>matthiasarndt@gmx.net</A>)
<BLOCKQUOTE>
Dear Editor,
</BLOCKQUOTE>
<BLOCKQUOTE>
here is another 2cent tip.
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm forced to print to a printer connected to a Windows box. This box is
networked with my Linux box and I wanted to setup a working samba printer-
I had problems setting up the printer under Suse 6.4 The passwords and
resource names were correct, but smbclient couldn't connect to the Windows box.
I simply added the commandline option "<TT>-I 192.168.0.2</TT>" in the file
<TT>/etc/apsfilterrc.stcolor</TT> in the line <tt>REMOTE_PRINTER=</tt>
(I'm using the stcolor driver from GhostScript. Check for the file
corresponding to the printer driver you've selected in Yast.)
</BLOCKQUOTE>
<BLOCKQUOTE>
The option above specifies the IP address of the machine where the printer is
connected to. It now works without any problems.
</BLOCKQUOTE>
<BLOCKQUOTE>
cheers, Matthias
</BLOCKQUOTE>
<!-- sig -->
<!-- end 2 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/3"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">CB Radio Connection a bad idea</FONT></H3>
Mon, 04 Sep 2000 21:57:45 -0700
<BR>From: Steve Wilson
(<A HREF="mailto:stevew@home.com"
>stevew@home.com</A>)
<BLOCKQUOTE>
First off - the guy was right, it IS illegal pretty much anywhere in the
world.
</BLOCKQUOTE>
<BLOCKQUOTE>
Second - it won't work because the modems are engineered for a different
kind of communications channel - RF connections have different
characteristics compared to phone lines.
</BLOCKQUOTE>
<BLOCKQUOTE>
Amateur radio ( which requires a license obtained by taking at test) has
had a low speed connection for around 15 years called packet radio.
There is quite a bit of support for this technology within Linux (including
modems implemented using sound cards...) These will work over an FM radio
channel.
(CB is AM/SSB which has a much lower quality) and usually only work
at 1200 to 9600 baud. Not blazingly fast.
</BLOCKQUOTE>
<BLOCKQUOTE>
Hope this clears up some points.
</BLOCKQUOTE>
<BLOCKQUOTE>
Steve Wilson, KA6S
</BLOCKQUOTE>
<!-- sig -->
<!-- end 3 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/4"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Reflection replacement?</FONT></H3>
Mon, 18 Sep 2000 23:57:34 -0300
<BR>From: "Toshiro Viera Stalker"
(<a href="mailto:toshiro@nettaxi.com">toshiro@nettaxi.com</a>)
<P><STRONG>
Hi! I would like to access my graphics Linux desktop from my
Windows box; I was able to do it using a software called Reflection
(I guess you know it), is there any (free) software with the same
capabilities of Reflection?
</STRONG></P>
<P><STRONG>
Regards,
<br>Toshiro.
</STRONG></P>
<BLOCKQUOTE>
There's MI/X, the MicroImages X server. Some people like it.
I can't personally vouch for it. MicroImages provides it as
part of the Windows support of its GIS software.
</BLOCKQUOTE>
<BLOCKQUOTE>
<A HREF="http://www.microimages.com/freestuff/mix"
>http://www.microimages.com/freestuff/mix</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
X-WinPro is shareware. License is a <em>lot</em> less than Reflection/X.
Personally I've found it useful.
</BLOCKQUOTE>
<BLOCKQUOTE>
<A HREF="http://www.lab-pro.com"
>http://www.lab-pro.com</A>
</BLOCKQUOTE>
<BLOCKQUOTE>
--
Dan Wilder
</BLOCKQUOTE>
<!-- sig -->
<!-- end 5 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/6"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Question from a newbie - Exchange?</FONT></H3>
Wed, 30 Aug 2000 14:55:48 -0400
<BR>From: Duane Tackett
(<a href="mailto:duanesworld777@yahoo.com">duanesworld777@yahoo.com</a>)
<BLOCKQUOTE>
James,
</BLOCKQUOTE>
<BLOCKQUOTE>
I am a Linux newbie with a significant MS Windows background
(several MS certs, etc) and I am trying to wean myself off of my Windows
partition at work. The only thing holding me back is MS
Exchange/Outlook. Is there an Exchange client for Linux? I have looked
high and low and can't find one. I hae configured the server (I
administer it) to be a pop3 server, so I can get my mail that way, but I
loose a lot of the functionality that way. Any help would be
appreciated.
</BLOCKQUOTE>
<BLOCKQUOTE>
Duane Tackett
</BLOCKQUOTE>
<BLOCKQUOTE>
According to a message on the linux-admin list, TradeSuite
(they have a server, too) can be found at <A HREF="http://www.bynari.com"
>http://www.bynari.com</A>.
Looks like the client is free though the Exchange support might
not be. Oh yeah, and Exchange can be told to serve its mail
up as webmail... maybe that will do until your company can
transition to a more flexible mail system
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle"> -- Heather
</BLOCKQUOTE>
<BLOCKQUOTE><em>Got more than just a tip in the "dealing with MS Exchange"
category? feel free to send us an article ... -- Heather</em>
</BLOCKQUOTE>
<!-- sig -->
<!-- end 6 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/7"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">International KB Layouts</FONT></H3>
Sun, 3 Sep 2000 18:43:08 -0700
<BR>From: "Ross Williams"
(<a href="mailto:overhacked@bigfoot.com">overhacked@bigfoot.com</a>)
<P><STRONG>
Is there any easy-to-read FAQ or HOWTO about how to type international characters in XFree86? I am a Spanish student, and I would like to write my essays in LyX. I would just like an easy way to learn about things like `compose keys' and `dead keys.' Can you help me? Thanx.
</STRONG></P>
<BLOCKQUOTE>
The answer to that would be "yes". Quoting from my own "Introduction to
Shell Scripting":
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQuote>
...for a fairly decent and simple explanation, see Hans de Goede's
"fixkeys.tgz", which contains a neat little "HOWTO". For a more in-depth
study, the
"<a href="http://www.linuxdoc.org/HOWTO/Keyboard-and-Console-HOWTO.html"
>Keyboard-and-Console-HOWTO</a>" is an awesome reference on the
subject.
</BLOCKQuote></BLOCKQUOTE>
<BLOCKQUOTE>
Ben Okopnik
</BLOCKQUOTE>
<!-- sig -->
<p><em>Don't be scared off by the fact it hasn't changed since 1998;
the console itself doesn't change much. For even more fun,
the <a href="http://www.linuxdoc.org/HOWTO/Danish-HOWTO.html"
>Danish-HOWTO</a> was just updated in March and covers all sorts
of other aspects about international needs. There are a few
other specific nationalities covered at linuxdocs.org too.
-- Heather </em></p>
<!-- end 8 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/9"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Tape Library</FONT></H3>
Fri, 01 Sep 2000 07:40:46 -0400
<BR>From: Charles Deling
(<a href="mailto:charles@a-plus.net">charles@a-plus.net</a>)
<p><strong>
I am looking for some software that will talk to my tape library. I have
looked at several different commercial packages, but none of them really
work the way I need them to. I would like to find an application that
would tell me what tapes are in the library (by reporting back the bar
codes), then load the tapes that I select into the drives I want. Then
I can run taper/tar/cpio/mt to my hearts content. I could write my own
software, but I am lazy.
</strong></p>
<p><strong>
Thank you!
<br>Charles H. Deling
</strong></p>
<BLOCKQUOTE>
Perhaps amanda would do the trick. If not, perhaps its simplistic shell
script mentality will make it easier to adjust to your needs.
Gentle readers: any more suggestions? -- Heather
</BLOCKQUOTE>
<!-- sig -->
<!-- end 9 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/10"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Modems</FONT></H3>
Sat, 9 Sep 2000 01:10:48 -0400
<BR>From: Carl & Tracy KershawSmith
(<a href="mailto:tazdevil@caribe.net">tazdevil@caribe.net</a>)
<p><strong>
Just read a reply about a true modem. I've been searching for one ever
since a friend mentioned it to me. He has an ISA True modem. And
wouldn't you know it mine is not. It's a PCI and so far no luck finding
a PCI True modem. Any ideas on where I might score one?
</strong></p>
<p><strong>
Hoping for the right answer,
<br>Kookaberra
</strong></p>
<BLOCKQUOTE>
Yes, at least one of the links from <a href="http://www.linmodems.org"
>linmodems.org</a> is the homepage
of a Wallace and Gromit fan who keeps track of which cheap store
brand modems are complete "hard" or crippled "soft" modems,
including, to my great annoyance, the fact that some pccards
are software controlled. Arrgh
<IMG SRC="../gx/dennis/unsmily.gif" ALT=":("
height="24" width="20" align="middle"> -- Heather
</BLOCKQUOTE>
<!-- sig -->
<!-- end 10 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/11"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Palm OS Emulator</FONT></H3>
Mon, 11 Sep 2000 16:19:11 +0200
<BR>From: Andrew Higgs
(<a href="mailto:ahiggs@ps.co.za">ahiggs@ps.co.za</a>)
<p><strong>
Hi all,
</strong></p>
<p><strong>
I was wondering if anyone knew of an Emulator for Palm OS. I would like
to write apps for Palm OS and test them before installing. Is this
possible?
</strong></p>
<p><strong>
Kind regards
<br>Andrew Higgs
</strong></p>
<BLOCKQUOTE>
Look at <a href="http://www.freshmeat.net/">freshmeat.net</a> for the app
<tt>copilot</tt>. It needs a ROM though,
which you can either upload from your real Pilot, or get from
the Palm Computing developers' site (once you agree to their
restrictions for using the debug ROM, of course). -- Heather
</BLOCKQUOTE>
<!-- sig -->
<!-- end 11 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/12"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">telnet server & inetd</FONT></H3>
Fri, 15 Sep 2000 16:13:03 -0700
<BR>From: Andrew Wilkes
(<a href="mailto:awilkes@fourthstage.com">awilkes@fourthstage.com</a>)
<p><strong>
Dear James,
</strong></p>
<p><strong>
I used your answer for the 'telnet - connection closed by foreign
host' to get telnet working on a custom red hat install I did.
</strong></p>
<p><strong>
I begin to think that I left off a package that I really needed when
I selected packages in the 'select package' window during the install.
</strong></p>
<p><strong>
I haven't yet found a description of which individual RPM modules
(inetd in.telnetd) are rolled up into what packages that can be selected on
the package selection window in the install screen.
Any help you can give will be much appreciated.
</strong></p>
<p><strong>
Andrew Wilkes
</strong></p>
<BLOCKQUOTE>
If you know which file you want, but not what RPM it's in,
this script will do the trick ($1 = directory full of rpms,
$2 = file you are seeking)
</BLOCKQUOTE>
<blockquote><pre> #!/bin/bash
cd $1
for i in *.rpm ; do rpm -qpl $i | grep -q $2 &amp;&amp; echo $i ; done
</pre></blockquote>
<BLOCKQUOTE>
Hope that helps a few folks out there! -- Heather
</BLOCKQUOTE>
<!-- sig -->
<!-- end 12 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/13"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">BeOS partition</FONT></H3>
Mon, 18 Sep 2000 21:06:35 -0400
<BR>From: gsproc
(<a href="mailto:gsproc@core.com">gsproc@core.com</a>)
<p><strong>
I have a BeOS partition on hda3. I also have windows on another
partition. linux "sees" the windows partition and mounting it is no
problem. But how can I make linux "see" the BeOS partition? I've been
in etc/fstab to no avail.
</strong></p>
<BLOCKQUOTE>
Readonly support for the BeOS filesystem is available in the
2.4.0 test kernels. I have no idea how safe it is yet. -- Heather
</BLOCKQUOTE>
<!-- sig -->
<!-- end 13 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="2c/14"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Remote process</FONT></H3>
Wed, 20 Sep 2000 10:07:09 +0100
<BR>From: "Andy Larkum" <A.Larkum@lboro.ac.uk>
<p><strong>
Hello!
</strong></p>
<p><strong>
I have a small query. I want to log into a Linux machine, set a process =
running, and log out again, leaving the process running. It has been =
suggested that I can do this by simply using 'nohup command &amp;' but this =
didn't work, because the process was killed as soon as I logged out =
again.
</strong></p>
<p><strong>
Any help would be greatly appreciated.
</strong></p>
<p><strong>
Andy
</strong></p>
<BLOCKQUOTE>
<tt>screen</tt> with autodetach mode turned on would work nicely. We use
it here all the time. -- Heather
</BLOCKQUOTE>
<!-- sig -->
<!-- end 14 -->
<!--startcut ======================================================= -->
<P> <hr> </p>
<!-- *** BEGIN copyright *** -->
<H5 align="center">This page edited and maintained by the Editors
of the <I>Linux Gazette</I>
<a href="http://www.linuxgazette.com/copying.html"
>Copyright &copy;</a> 2000
<BR>Published in issue 58 of the <I>Linux Gazette</I> October 2000</H5>
<H6 ALIGN="center">HTML script maintained by
<A HREF="mailto:star@tuxtops.com">Heather Stern</a> of
Tuxtops, Inc.,
<A HREF="http://www.tuxtops.com/">http://www.tuxtops.com/</A>
</H6>
<!-- *** END copyright *** -->
</BODY></HTML>
<!--endcut ========================================================= -->