1150 lines
42 KiB
HTML
1150 lines
42 KiB
HTML
<!--startcut ======================================================= -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<html>
|
|
<head>
|
|
<META NAME="generator" CONTENT="lgazmail v1.4F.h">
|
|
<TITLE>More 2 Cent Tips & Tricks LG #72</TITLE></HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
|
LINK="#3366FF" VLINK="#A000A0">
|
|
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
|
<P> <hr>
|
|
<CENTER>
|
|
<!-- *** BEGIN navbar *** -->
|
|
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_answer72.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="alcidi.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>
|
|
<P> <hr> <P>
|
|
<!-- QUICK TIPS SECTION ================================ -->
|
|
<!-- endcut ======================================================= -->
|
|
<center>
|
|
<H1><A NAME="tips"><IMG ALIGN=MIDDLE ALT="" SRC="../gx/twocent.jpg">
|
|
More 2¢ Tips!</A></H1> <BR>
|
|
<!-- BEGIN tips -->
|
|
|
|
Send Linux Tips and Tricks to <A HREF="mailto:linux-questions-only@ssc.com">linux-questions-only@ssc.com</A></center>
|
|
</center>
|
|
<UL>
|
|
<!-- index_text begins -->
|
|
<li><A HREF="#tips/1"
|
|
></a>2 cents tip --or--
|
|
<br><A HREF="#tips/1"
|
|
><strong>EZ Email Security With Stunnel</strong></a>
|
|
|
|
<li><A HREF="#tips/2"
|
|
><strong>users permissions</strong></a>
|
|
<li><A HREF="#tips/3"
|
|
><strong>Re: Problem faced while defining permissions for read & wirte access</strong></a>
|
|
<li><A HREF="#tips/4"
|
|
><strong>Informacion sobre PHP</strong></a>
|
|
<li><A HREF="#tips/5"
|
|
><strong>Sendmail backup ?</strong></a>
|
|
<li><A HREF="#tips/6"
|
|
><strong>tests on the net for linux</strong></a>
|
|
<li><A HREF="#tips/7"
|
|
><strong>Need Help on X</strong></a>
|
|
<li><A HREF="#tips/8"
|
|
><strong>Modules Drivers</strong></a>
|
|
<li><A HREF="#tips/9"
|
|
><strong>Routers</strong></a>
|
|
<li><A HREF="#tips/10"
|
|
><strong>LWN links</strong></a>
|
|
<li><A HREF="#tips/11"
|
|
><strong>2-cent Tip: "De-enhancing" enhanced text</strong></a>
|
|
<li><A HREF="#tips/12"
|
|
><strong>2 Euro-Cent tip: Sophisticated excluding backup</strong></a>
|
|
<li><A HREF="#tips/13"
|
|
><strong>Re: [LG 71] help wanted #4</strong></a>
|
|
<li><A HREF="#tips/14"
|
|
><strong>Additional Answer for a 2Cent Tip.</strong></a>
|
|
<li><A HREF="#tips/15"
|
|
><strong>Re: [LG 71] 2c Tips #9</strong></a>
|
|
<li><A HREF="#tips/16"
|
|
><strong>Re: [LG 71] 2c Tips #10-signwriting</strong></a>
|
|
<li><A HREF="#tips/17"
|
|
><strong>Tech Tips from Linux Journal</strong></a>
|
|
<ul>
|
|
<li>How to lie about your uptime
|
|
<li>Adding many users at once
|
|
<li>Speeding up Debian APT using Squid
|
|
<li>Blocking the Nimda worm
|
|
<li>Making Caps Lock work like Control (in X)
|
|
</ul>
|
|
<li>Subscribe to Tech tips from
|
|
<A HREF="http://noframes.linuxjournal.com/subscribe/lja-sub.html"
|
|
><I>Linux Journal's</I> Weekly News Notes</A>
|
|
<!-- index_text ends -->
|
|
</UL>
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/1"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">EZ Email Security With Stunnel</FONT></H3>
|
|
Fri, 12 Oct 2001 19:43:28 -0500
|
|
<BR>Pat Parson (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%231">rndgui57 from directvinternet.com</a>)
|
|
|
|
<!-- ::
|
|
EZ Email Security With Stunnel
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
:: -->
|
|
<P>
|
|
This is a little crash course in how to setup email over SSL painlessly
|
|
using Stunnel. With Stunnel you can keep your email passwords from being
|
|
sent as plain text and possibly intercepted by others. Stunnel is a program
|
|
that you can use to encrypt TCP connections in SSL. First you need to have
|
|
installed a mail transfer agent such as Exim, Sendmail, or Qmail to handle
|
|
the SMTP portion of the mail. Then you need to have installed either an IMAP
|
|
server or a POP3 server such as the Cyrus package or Cuci-pop. Many
|
|
distributions come with Stunnel, if yours does not you can get it from
|
|
<A HREF="http://www.stunnel.org"
|
|
>http://www.stunnel.org</A>.
|
|
</P>
|
|
<P>
|
|
After obtaining and installing Stunnel you need to make a SSL certificate
|
|
for use with Stunnel. A SSL certificate is a kind of unique "key" that is
|
|
used to encrypt the data. OpenSSL provides a makefile to do just that. In my
|
|
distribution it is located in <TT>/usr/share/ssl/certs</TT> . CD to that directory
|
|
and type make stunnel.pem to create the certificate that is named
|
|
stunnel.pem. Now you need to a few lines to your rc.local file to start
|
|
Stunnel at bootup (assuming you ever reboot that is) these lines are:
|
|
</P>
|
|
|
|
<blockquote><pre> /usr/sbin/stunnel -d 995 -r 110
|
|
/usr/sbin/stunnel -d 465 -r 25
|
|
</pre></blockquote>
|
|
<P>
|
|
This will start stunnel listening on port 995 for POP3 and 465 for SMTP. Now
|
|
all you need to do is edit the options for your mail client and there you
|
|
go. No need to worry about cleartext email passwords. If you are too
|
|
impatient to wait for the next reboot you can type the commands given
|
|
previously to start Stunnel right away.
|
|
</P>
|
|
<P>
|
|
There may be some problems with certificate validation for some email
|
|
clients. Make sure when asked by the makefile you get the server name
|
|
correct. If your email client will not let you add certificates you may need
|
|
to change clients or obtain a certificate from a certification authority. If
|
|
you cannot get the certificate vaidation worked out there is no way to
|
|
ensure that you are connecting to the correct machine. Have a nice day.
|
|
</P>
|
|
|
|
<!-- end 1 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/2"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">users permissions</FONT></H3>
|
|
Sun, 30 Sep 2001 22:41:22 -0400
|
|
<BR>Carlos G Kruger (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%232">carlos195 from juno.com</a>)
|
|
|
|
<P>
|
|
Hi, I have gone thru your entire library since the begining but I could
|
|
find an answer to the following questions.
|
|
First after some time I have been able to setup a small network, one
|
|
server and 2 linux boxes and a windows box.
|
|
Using samba, the "clients can see the share". All the clients can read
|
|
and write to this share.
|
|
I have created a share with one of the user's names and add the others to
|
|
this in the smb.conf file.
|
|
I have change the owner and group for the share to be "today--name of the
|
|
group--and add all the users to this group.
|
|
The problem is the user A creates a file in the share, saves and closes,
|
|
then user B opens the file, edits and can't save unless it saves with
|
|
another name.
|
|
</P>
|
|
<P>
|
|
I have used all the combinations for the users, even using the "SETUID,
|
|
SETGUI" but nothing works.
|
|
</P>
|
|
<P>
|
|
At server level I can see that the main directory, sub directories and
|
|
files, with the format
|
|
.rwxwrxwrx root (or user A) today etc.etc
|
|
</P>
|
|
<P>
|
|
User B, C, D are under the smb.conf share [A] and under group.conf
|
|
A::500:B,C,D or
|
|
A:x:500:B,C.D
|
|
</P>
|
|
<P>
|
|
If B creates a file all the rights are changed to B, ditto for A,C or D.
|
|
I can't even change the ownership from B to A, C, or D.
|
|
</P>
|
|
<P>
|
|
I've spent hours and hours of reading and searching on the web but still
|
|
can't find an answer?
|
|
</P>
|
|
<P>
|
|
is there one?
|
|
</P>
|
|
<P>
|
|
please let me know.
|
|
</P>
|
|
<P>
|
|
thanks
|
|
</P>
|
|
<BLOCKQUOTE>
|
|
[Mike Martin]
|
|
One or two things to check
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Do the permissions on the share when accessed through samba and directly
|
|
eg: share a on mount <TT>/mnt/a</TT>
|
|
Do you get the same output from ls -l (You may want them to differ, but
|
|
as a troubleshooting technique it may be an idea)
|
|
So you could check by accessing the share from your linux box , do an:
|
|
</BLOCKQUOTE>
|
|
|
|
<blockquote><code><font color="#000033"><br>ls -l
|
|
</font></code></blockquote>
|
|
<BLOCKQUOTE>
|
|
and if you get:
|
|
</BLOCKQUOTE>
|
|
|
|
<blockquote><code><font color="#000033"><br>rwxr_xrwx
|
|
</font></code></blockquote>
|
|
<BLOCKQUOTE>
|
|
...then there is your problem.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
[Heather]
|
|
You might check if the users are all of the same group in <TT>/etc/passwd;</TT>
|
|
when you create new files, the <EM>files</EM> can only be in one group, and that's
|
|
where it generally comes from.
|
|
</BLOCKQUOTE>
|
|
|
|
<!-- end 2 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/3"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Re: Problem faced while defining permissions for read & wirte access</FONT></H3>
|
|
Thu, 11 Oct 2001 10:20:06 -0500 (COT)
|
|
<BR>John Karns (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%233">The Answer Gang</a>)
|
|
|
|
<P><STRONG>
|
|
Hi!
|
|
I have got a requirement of defining a share,where one user should have
|
|
reader rights & other should be having write rights.The definition is as
|
|
below
|
|
</STRONG></P>
|
|
|
|
<pre><strong>comment = Testing Permissions
|
|
path = /usr/local/support
|
|
valid users = ibm, god
|
|
read list = ibm
|
|
write list = god
|
|
read only = No
|
|
</strong></pre>
|
|
<P><STRONG>
|
|
when i define this the user=GOD gets permissions properly i.e=write
|
|
But the user=IBM also gets write permissions instead of read.
|
|
I have relaxed the permissions on unix by giving 0777 to the path
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
i.e drwxrwxrwx 3 root root 4096 Oct 9 11:53 support
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
This happens to every share which i create & my smb.conf file is tested
|
|
from the diagnosis.txt
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Is there any thing which I am missing
|
|
Please revert to me asap
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Thanks in advance
|
|
Franco.F
|
|
</STRONG></P>
|
|
<P>
|
|
Sorry about the delay in answering, but I've been pretty busy ...
|
|
</P>
|
|
<P>
|
|
There are several parameters which affect this. Usually I just try
|
|
juggling them until I get what I'm looking for.
|
|
</P>
|
|
<P>
|
|
One such parameter is
|
|
</P>
|
|
|
|
<blockquote><pre>[global]
|
|
security = user
|
|
</pre></blockquote>
|
|
<P>
|
|
I put this in the global section.
|
|
</P>
|
|
<P>
|
|
Then for a user's smb share, I have found the following to usually limit
|
|
access. The dir is made read only be default, and overridden by the
|
|
"write list" parameter:
|
|
</P>
|
|
|
|
<blockquote><pre>[joeBlow]
|
|
comment = Joes smb share directory
|
|
path = /usr/smbShares/jblow
|
|
browseable = yes
|
|
read only = yes
|
|
create mode = 0770
|
|
valid users = jblow
|
|
write list = jblow
|
|
public = no
|
|
</pre></blockquote>
|
|
<P>
|
|
Hope this helps.
|
|
</P>
|
|
|
|
<!-- end 3 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/4"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Informacion sobre PHP</FONT></H3>
|
|
Tue, 23 Oct 2001 15:49:47 -0500
|
|
<BR> Iván Overlín Sánchez Rodríguez
|
|
(<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%234">intermail from cybadu.com.mx</a>)
|
|
|
|
<P>
|
|
Buenas Tardes:
|
|
</P>
|
|
<P><BLOCKQuote>
|
|
El motivo de este mail es para pedirle de la mejor manera información
|
|
</BLOCKQuote></P>
|
|
<P>
|
|
acerca de algun manejador de PHP con el cual pueda modificar los
|
|
archivos de páginas de internet bajo Linux <A HREF="http://www.redhat.com/">Red Hat</A> 7.1, he bajado
|
|
algunos editores de PHP pero aun no logro modificar los archivos.
|
|
</P>
|
|
<P>
|
|
Espero su recomendación y agradezco su atención.
|
|
</P>
|
|
<P>
|
|
Gracias
|
|
</P>
|
|
<P>
|
|
ATTE:
|
|
Ing. Iván Overlín Sánchez Rodríguez
|
|
</P>
|
|
<P>
|
|
Translation:
|
|
"Good afternoon. The purpose of this e-mail is to ask you about the best
|
|
editor for PHP scripts ("archives of Internet pages") on Red Hat 7.1 I have
|
|
downloaded several PHP editors but have been unable to edit the files. I
|
|
await your recommendation and am grateful for your attention."
|
|
</P>
|
|
|
|
<blockquote><font color="#001F3F">We need more information. Which editors have you tried and why did they
|
|
not work? I normally use an ordinary text editor (vim) for editing PHP
|
|
files. If you cannot describe it in English, send a Spanish message to
|
|
Rory Krause (<A HREF="mailto:rkrause@ssc.com"
|
|
>rkrause@ssc.com</A>) and he will translate it for us.
|
|
</font></blockquote>
|
|
<blockquote><font color="#001F3F">Necesitamos más de información. Qué editores Vd
|
|
probó, y por qué no rindieron? Suelo usar un típico
|
|
editor de texto (vim) por modificar PHP-archivos. Se Vd no puede describir
|
|
la situación en inglés, mande un mail a Rory Krause
|
|
(<A HREF="mailto:rory@ssc.com"
|
|
>rory@ssc.com</A>) en español, y él nos lo traducirá.
|
|
-- Mike</font></blockquote>
|
|
|
|
<blockquote><font color="#000066">Tip: if something doesn't work as you expect, try to also describe what
|
|
it was you expected, in more detail rather than less.
|
|
-- Heather</font></blockquote>
|
|
|
|
<!-- end 4 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/5"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Sendmail backup ?</FONT></H3>
|
|
Wed, 10 Oct 2001 16:46:05 +0200
|
|
<BR>Robert Kemp (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%235">robertk from ultra.co.za</a>)
|
|
|
|
<P>
|
|
My LINUX (Redhat 6.1) box was compromised , I want to reinstall but I
|
|
have a hell of a lot mail users (sendmail) that I need to backup and
|
|
restore on the new (reinstalled) system.
|
|
</P>
|
|
<P>
|
|
PLease could someone help me out on this one !!!!
|
|
</P>
|
|
<P>
|
|
Regards
|
|
</P>
|
|
<P>
|
|
Robert Kemp
|
|
</P>
|
|
<BLOCKQUOTE>
|
|
[Thomas Adam]
|
|
Of course
|
|
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)"
|
|
height="24" width="20" align="middle"> Since I don't know how your file-system
|
|
is laid out, or where the $USER's mailboxes are
|
|
stored, and how many.......it might be limited.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Assuming that not many of the user's have had
|
|
graphical attachments to their inbox, it should just
|
|
be routine enough to:
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE><BLOCKQuote>
|
|
1. Backup (tar/gz??) files in "<TT>/var/spool/mail/*</TT>" and
|
|
dump them to a tape drive.
|
|
</BLOCKQuote></BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
2. Or you move it to a separate drive that won't be
|
|
affected by this installation.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
3. Seeing as you have a lot of users, is the $USER's
|
|
mailbox on a separate partition??? You see, if you
|
|
upgrade you can intruct Linux not to touch that
|
|
particular partition.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
You might also want to backup "key" configuration
|
|
files:
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE><BLOCKQuote>
|
|
/etc/sendmail.conf
|
|
/etc/aliases
|
|
</BLOCKQuote></BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
...etc
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Other than that, I don't know what else you can do.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Kind Regards
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
[Guy Milliron]
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
and
|
|
<TT>/etc/sendmail.cf.</TT> I'd also back-up <TT>/etc/mail/*</TT>
|
|
</BLOCKQUOTE>
|
|
|
|
<!-- end 5 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/6"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">tests on the net for linux</FONT></H3>
|
|
Wed, 03 Oct 2001 20:03:38 +1000
|
|
<BR>A Student (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%236">32009318 from snetmp.cpg.com.au</a>)
|
|
|
|
<P>
|
|
i am currently working on introduction to linux at university and was
|
|
wondering wether there are any tests or quizez on basic linux that i
|
|
could do to learn more and to test my knowledge
|
|
</P>
|
|
|
|
<blockquote><font color="#001F3F">SAIR Linux and GNU Certification has quizzes on their web site,
|
|
<A HREF="http://www.linuxcertification.com"
|
|
>http://www.linuxcertification.com</A> , "On-Line Quizzes" link.
|
|
</font></blockquote>
|
|
<blockquote><font color="#001F3F">Several organizations including SAIR and the Linux Professional
|
|
Institute (<A HREF="http://www.lpi.org"
|
|
>http://www.lpi.org</A>) offer paid examinations similar to
|
|
A+ and MCSE. You may find some information and ideas on their web
|
|
sites, even if you're not interested in the exams. SAIR's FAQ
|
|
mentions some comparisions they have with other certification
|
|
programs.
|
|
</font></blockquote>
|
|
<blockquote><font color="#001F3F">Linux Gazette has published an 11-part series about the founding and
|
|
development of the LPI, titled "Creating a Linux Certification Program",
|
|
and has published several News Bytes pieces about SAIR. Search for
|
|
"certification" and "SAIR" in the LG search engine.
|
|
</font></blockquote>
|
|
<blockquote><font color="#001F3F">Some other Linux web sites may have quizzes somewhere. Poke around
|
|
<A HREF="http://www.linuxnewbie.org"
|
|
>http://www.linuxnewbie.org</A>, <A HREF="http://www.linux.com"
|
|
>http://www.linux.com</A>, and other Linux
|
|
portals, and search for "quiz".
|
|
-- Mike</font></blockquote>
|
|
|
|
<!-- end 6 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/7"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Need Help on X</FONT></H3>
|
|
Mon, 8 Oct 2001 10:15:36 -0700 (PDT)
|
|
<BR>Joyer Jude (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%237">joyerjude from yahoo.com</a>)
|
|
|
|
|
|
<!-- sig -->
|
|
|
|
<P>
|
|
Hi there,
|
|
</P>
|
|
<P>
|
|
I'm running Linux 2.2.4-2 kernel Redhat Version 7.1
|
|
</P>
|
|
<P>
|
|
on a Celeron 500MHz Intel Chipset MB with 64 MB RAM.
|
|
</P>
|
|
<P>
|
|
Even after a fresh installation Gnome seems to crash
|
|
</P>
|
|
<P>
|
|
(I mean to say Gnome comes up but without Sawfish the
|
|
Window mamnager running and with an error message
|
|
saying urnot running a <A HREF="http://www.gnome.org/">GNOME</A> compilant window manager)
|
|
with no options to close any windows running well it
|
|
looks like its got one single window for every icon on
|
|
the desktop and out of the 4 desktops only one can be
|
|
used ..... usually I worked around this problem by
|
|
running Sawfish manager from the RUN option, now even
|
|
that doesn't seem to start this Sawfish Can u please
|
|
help me out with this
|
|
</P>
|
|
<P>
|
|
waitin for ur reply
|
|
</P>
|
|
<P>
|
|
Joyer
|
|
</P>
|
|
<BLOCKQUOTE>
|
|
[Mike Martin]
|
|
Try this
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
When gnome loads up type gnomecc as a command (either in a terminal or
|
|
as a command) then go to window manager section, change to other wm
|
|
click ok then change back to sawfish - should work
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Let us know if you need any more help!
|
|
</BLOCKQUOTE>
|
|
|
|
<!-- end 7 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/8"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Modules Drivers</FONT></H3>
|
|
Tue, 23 Oct 2001 13:59:21 -0600
|
|
<BR>William Laing (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%238">wmlaing from home.com</a>)
|
|
|
|
<P>
|
|
Hi
|
|
Can someone show me how to install a networking card driver on a 31/2 disk
|
|
into redhat 6.2 text only
|
|
</P>
|
|
<P>
|
|
Thanking you
|
|
Bill
|
|
</P>
|
|
<BLOCKQUOTE>
|
|
[Mike Orr]
|
|
If it's a binary module (*.o file) on a DOS-formatted floppy:
|
|
</BLOCKQUOTE>
|
|
|
|
<blockquote><pre># mcopy a:MODULE.o /lib/modules/VERSION/SUBDIRECTORIES.../net
|
|
# modprobe MODULE : Any error messages?
|
|
# cat /proc/modules : Is it listed?
|
|
# ifconfig eth0 10.0.0.1 : Any error messages?
|
|
# ping -c 1 10.0.0.1 : Success?
|
|
# vi /etc/modules.conf : Distribution-dependant, see below.
|
|
# vi /etc/modules : If you want it always loaded.
|
|
# mcopy a:MODULE.o ~/Backups : In case you need to reinstall it someday.
|
|
</pre></blockquote>
|
|
<BLOCKQUOTE>
|
|
If it's a source module (*.c), you'll have to compile it according to its
|
|
README.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
In <TT>/etc/modules.conf</TT>, you may want an "alias eth0 MODULE" line and/or a
|
|
"options MODULE io=0x330 irq=0xA" line or something like that, depending
|
|
on the module. But <A HREF="http://www.debian.org/">Debian</A> has a front end, <TT>/etc/modutils/aliases</TT>, where
|
|
you put your customizations, then run 'update-modules' to calculate and
|
|
write <TT>/etc/modules.conf.</TT> Check your <A HREF="http://www.redhat.com/">Red Hat</A> docs to see what to do.
|
|
Also see "man 5 modules.conf".
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Your network setup script then has to load the module, unless the kernel
|
|
is loading it automatically on demand, or unless <TT>/etc/modules</TT> takes care
|
|
of it. "modprobe MODULE", or "modprobe eth0" if you've set up the alias.
|
|
</BLOCKQUOTE>
|
|
|
|
<!-- end 8 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/9"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Routers</FONT></H3>
|
|
Tue, 23 Oct 2001 12:10:50 +0300 (EAT)
|
|
<BR>gatheru (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%239">gatheru from treasury.go.ke</a>)
|
|
|
|
<P>
|
|
Hi, I have heard this rumour that linux can be used to create
|
|
</P>
|
|
<P>
|
|
routers instead of going for commercial ones. I would like to know if it
|
|
is true and hints on how to do it ( Actually any information is welcome).
|
|
</P>
|
|
<P>
|
|
regards
|
|
Kamau Gatheru
|
|
</P>
|
|
<BLOCKQUOTE>
|
|
[K.-H.]
|
|
Yes, it is possible to use a Linux box as router. You would need some
|
|
hardware (486 would probably do), >= 1 network card(s) (ethernet probably).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
For starters look at:
|
|
<A HREF="../cgi-bin/htsearch"
|
|
>http://www.linuxgazette.com/cgi-bin/htsearch</A>
|
|
and search for "routers"
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE><DL><DT>
|
|
Another place to look is:
|
|
<DD><A HREF="http://www.linuxdoc.org/HOWTO/HOWTO-INDEX/networking.html#NETROUTING"
|
|
>http://www.linuxdoc.org/HOWTO/HOWTO-INDEX/networking.html#NETROUTING</A>
|
|
</DL></BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
I you would tell us what exactly you would expect that router to do we[1]
|
|
could maybe even tell you if Linux can handle that and how difficult it
|
|
would be to setup.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
[1] not necessarily me -- so reply to the list <<A HREF="mailto:linux-questions-only@ssc.com"
|
|
>linux-questions-only@ssc.com</A>>
|
|
</BLOCKQUOTE>
|
|
|
|
<blockquote><font color="#001F3F">Also see the Linux Router Project, <A HREF="http://lrp.ramhb.co.nz/main.htm"
|
|
>http://lrp.ramhb.co.nz/main.htm</A> .
|
|
-- Mike</font></blockquote>
|
|
|
|
<!-- end 9 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/10"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">LWN links</FONT></H3>
|
|
Fri, 12 Oct 2001 11:51:05 -0700 (PDT)
|
|
<BR>Heather (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%2310"><em>KG</em> Technical Editor</a>)
|
|
|
|
<P>
|
|
<A HREF="http://www.lwn.net/">Linux Weekly News</A> has sprouted a seperate page for the now very long
|
|
Distributions list:
|
|
<A HREF="http://lwn.net/Distributions"
|
|
>http://lwn.net/Distributions</A>
|
|
</P>
|
|
<P>
|
|
Don't count 'em dead yet, folks. But I'd <EM>love</EM> to hear them get the
|
|
sponsorship they need to go on. See our News Bytes for more.
|
|
</P>
|
|
|
|
<!-- end 10 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/11"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">2-cent Tip: "De-enhancing" enhanced text</FONT></H3>
|
|
Fri, 26 Oct 2001 18:37:06 +0000
|
|
<BR>Ben Okopnik (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%2311">fuzzybear from pocketmail.com</a>)
|
|
<BR>The Answer Gang (linux-questions-only@ssc.com)
|
|
|
|
<P>
|
|
One of life's little problems that comes up once in a while is dealing with
|
|
enhanced text. You know, that stuff you get when you try to dump a man page
|
|
as text, or just in reading a file that somebody has "enhanced" - a few
|
|
minutes ago, I got an e-mail from someone using an NT box (!) that had the
|
|
stuff in it. If you still don't know what I'm talking about, here's a
|
|
sample from the "thttpd" man page:
|
|
</P>
|
|
|
|
<blockquote><pre>-----------------------------------------------------------------------------
|
|
N^HNA^HAM^HME^HE
|
|
thttpd - tiny/turbo/throttling HTTP server
|
|
|
|
S^HSY^HYN^HNO^HOP^HPS^HSI^HIS^HS
|
|
-----------------------------------------------------------------------------
|
|
</pre></blockquote>
|
|
<P>
|
|
So, how do we turn this mess into readable text? If you're using the "vi"
|
|
editor, it's a fairly simple task:
|
|
</P>
|
|
|
|
<blockquote><pre>:.,%s/.^H//g
|
|
</pre></blockquote>
|
|
<P>
|
|
Note that to enter the actual "Control-H" sequence rather than a caret
|
|
followed by an "H" (which will not work), the key sequence is "Ctrl-v"
|
|
("Enter raw character") followed by a "Ctrl-h".
|
|
</P>
|
|
<P>
|
|
The above says
|
|
</P>
|
|
|
|
<blockquote><pre>: Enter command mode
|
|
.,% Apply to every line from the current one to the end of the file
|
|
s/.^H Grab all "Control-H"s and the character that precedes them...
|
|
//g ...and delete no matter how many times they occur on a line.
|
|
</pre></blockquote>
|
|
<P>
|
|
In case you've been wondering, the above text "translates" into this:
|
|
</P>
|
|
|
|
<blockquote><pre>-----------------------------------------------------------------------------
|
|
NAME
|
|
thttpd - tiny/turbo/throttling HTTP server
|
|
|
|
SYNOPSIS
|
|
-----------------------------------------------------------------------------
|
|
</pre></blockquote>
|
|
<P>
|
|
Deleting the preceding rather than the following character makes this trick
|
|
work with "enhanced-underlined" text (not shown here) as well as
|
|
"enhanced-bold".
|
|
</P>
|
|
|
|
<blockquote><font color="#001F3F">I always call that "nroff format".
|
|
-- Mike</font></blockquote>
|
|
<BLOCKQUOTE>
|
|
[Dan Wilder]
|
|
Actually it's impact printer format. Works nicely for 9-pin
|
|
printers, as it did for daisywheel and type ball printers, or
|
|
for that matter, for chain printers.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
The use of character-backspace-character to produce bold
|
|
originated with the impact printer, and was used long before
|
|
nroff was written. Nroff merely made use of what was already common
|
|
existing practice. Calling it "nroff format" would be a little
|
|
like calling the rising sun "rooster-crow format".
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
"col -b" is an easy way to filter out the backspaces and duplicate
|
|
characters.
|
|
</BLOCKQUOTE>
|
|
<P><STRONG>
|
|
Interestingly enough, it's not really nroff format... (discussion
|
|
between Mike and Ben about output formats versus input formats, and
|
|
other truly odd things that can be done inside man pages, trimmed
|
|
for clarity.)
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
- "nroff" has its own weird way of doing things:
|
|
</STRONG></P>
|
|
<P><STRONG><BLOCKQuote>
|
|
The \fIlwp-download\fR program will download the document specified...
|
|
</BLOCKQuote></STRONG></P>
|
|
<P><STRONG>
|
|
What this stuff is is a hold-over from the Elder Days, when mighty heroes
|
|
wrestled giants and monitors were fancy things that only the richest of the
|
|
rich could afford; the rest of us scrounged wide-carriage printers and
|
|
bought greenbar by the metric assload (nobody was offering discounts on the
|
|
Imperial assloads (arseloads?)). "Control-H" is a backspace; in order to
|
|
print in bold, you printed a character, backed up over it, then printed it
|
|
again.
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
H^HHE^HEL^HLL^HLO^HO!^H!
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Underlining was done by much the same method, except that instead of
|
|
double-printing the character, you printed an underscore, backed up over it,
|
|
and printed the character:
|
|
</STRONG></P>
|
|
<P><STRONG><BLOCKQuote>
|
|
_^HG_^Ho_^H_o^Hd_^Hb_^Hy_^He
|
|
</BLOCKQuote></STRONG></P>
|
|
<P><STRONG>
|
|
(You could do it in reverse, too, but this has become the standard format.)
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Underscore/bold combos were, of course, a horror to behold. As you can
|
|
imagine, all sorts of utilities to automate this were widely available.
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
_^HG^HG_^Ho^Ho_^Ho^Ho_^Hd^Hd _^HG^HG_^Hr^Hr_^Hi^Hi_^He^He_^Hf^Hf!^H!
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Until I started using Linux, I had not realized that someone had kept the
|
|
creature alive - which, in Unixland, it very much is. Most text utils -
|
|
including "more", "less", and "*cat*", fer Gossake - support it. Midnight
|
|
Commander even displays the stuff in nicely distinct reds and yellows.
|
|
</STRONG></P>
|
|
|
|
<!-- end 11 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/12"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">2 Euro-Cent tip: Sophisticated excluding backup</FONT></H3>
|
|
Sun, 28 Oct 2001 21:44:37 +0100
|
|
<BR>Matthias Posseldt (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%2312">matthi from gmx.li</a>)
|
|
|
|
<P>
|
|
Hi all @ Linuxgazette,
|
|
</P>
|
|
<P>
|
|
I just wrote a small backup script (mpbackup), which has the option to
|
|
exclude files from the backup, and those files are read from
|
|
=2Eexclude_from_backup files in each subdirectory.
|
|
So you create a file <TT>/home/matthias/.exclude_from_backup</TT> and write
|
|
</P>
|
|
|
|
<blockquote><code><font color="#000033"><br>tmp
|
|
<br>build
|
|
<br>kde-cvs
|
|
</font></code></blockquote>
|
|
<P>
|
|
in it. The script will read all .exclude_from_backup files in the
|
|
directories to backup and create a list of it.
|
|
It then creates a tar.bz2 file.
|
|
</P>
|
|
<P>
|
|
You can even write wildcards into the exclude files. All files mentioned
|
|
are relative to the .exclude_from_backup file's directory.
|
|
</P>
|
|
<P>
|
|
You need the included evaluate_file.sh in PATH (or have to edit the
|
|
script).
|
|
</P>
|
|
<P>
|
|
Hope that it helps someone. My 500+ megs home directory is now backed up
|
|
in about 100 megs, because I left out build trees and cvs trees. And every
|
|
user can configure which files go into the backup.
|
|
</P>
|
|
<P>
|
|
Ciao, Matthias
|
|
</P>
|
|
<p align="center">See attached <tt><a href="misc/tips/mpbackup.sh.txt">mpbackup.sh.txt</a></tt></p>
|
|
<p align="center">See attached <tt><a href="misc/tips/evaluate_file.sh.txt">evaluate_file.sh.txt</a></tt></p>
|
|
<BLOCKQUOTE>
|
|
Hello,
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
This is a good shell script. I rememeber I wrote a
|
|
bash script called "keyfiles" when I was at school,
|
|
that ran on your proxy servers.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
(also activated via my "loop4mail" bash shell-script
|
|
daemon.....I think I might include it sometime in
|
|
LWM).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
What would happen was that a file "<TT>/etc/keyfiles.conf</TT>"
|
|
would contain a list of files (with their respective
|
|
paths).
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Then tar would read the file line by line, add the
|
|
files to the archive, and dump the archive to a backup
|
|
partition.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
This is more or less what your script does.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
All in all well done!!!
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
--Thomas Adam, the Linux Weekend Mechanic
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
[Ben]
|
|
<laugh> Great minds think alike, Matthias. I wrote a backup script -
|
|
slightly different idea from yours, though - and have been evaluating it
|
|
for the past couple of months (a backup script is one of those things you
|
|
want to beat to death under various conditions; think of where it leaves
|
|
you if it fails silently...)
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
The idea behind mine is that there are a lot of files that you need to
|
|
transport between your desktop and your laptop if you travel a lot (as I
|
|
do) - things like your bookmark files, document directories, etc. This
|
|
script has two config files, both of them accessible from the script
|
|
itself: a permanent backup list, where you put the files and directories
|
|
that are to be backed up every time, and a temporary list of files that
|
|
will only be added to the current backup. It then restores the backed-up
|
|
files onto the target machine, saving the previous versions in a .tgz file
|
|
in case something has gone screwy.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
I've had no problems with this thing for quite a while now - it has a fair
|
|
number of tests built in - and, heck, since you're putting yours up, I
|
|
might as well add mine to the list.
|
|
</BLOCKQUOTE>
|
|
<p align="center">See attached <tt><a href="misc/tips/backpack.bash.txt">backpack.bash.txt</a></tt></p>
|
|
|
|
<!-- end 12 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/13"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Re: [LG 71] help wanted #4</FONT></H3>
|
|
Tue, 2 Oct 2001 04:56:03 +0200
|
|
<BR>guran (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%2313">guran from nr1.nu</a>)
|
|
|
|
<P>
|
|
This is in response to the
|
|
<A HREF="<TT>../issue71/lg_mail71.html#wanted/4</TT>"
|
|
>Asound ethernet card</A> question
|
|
last issue.
|
|
</P>
|
|
<HR width="10%" align="center"><P>
|
|
Hi
|
|
</P>
|
|
<P>
|
|
One of my sons called me the other day, when he could not find that driver on
|
|
a RedHat 7.1. I adviced him to look for rtl-8139, where he found it, if I
|
|
remember right the same goes for <A HREF="http://www.debian.org/">Debian</A>.
|
|
</P>
|
|
<P>
|
|
regards
|
|
guran
|
|
</P>
|
|
|
|
<!-- end 13 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/14"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Additional Answer for a 2Cent Tip.</FONT></H3>
|
|
Mon, 01 Oct 2001 12:32:02 +0200
|
|
<BR>Matthias Egger (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%2314">cannon from gmx.ch</a>)
|
|
<BR>linux-questions-only (linux-questions-only@ssc.com)
|
|
|
|
<P>
|
|
Hi Answer Gang
|
|
</P>
|
|
<P>
|
|
I was just reading the 'August 2001 - Nr.69' Issue. In your 2 Cent Tip's
|
|
there was a Question called
|
|
' <A HREF="<TT>../issue69/lg_tips69.html#tips/11"
|
|
>Cannot Format Network Drive</A> </TT>'.
|
|
</P>
|
|
<P>
|
|
If i understood it right (english isn't my mother language) the person
|
|
wanted to wipe off every Partition and bevome a new clean and crispy
|
|
Harddisk?
|
|
</P>
|
|
<P>
|
|
Well, in this case i have another little Tip for him (or others with the
|
|
same problem).
|
|
</P>
|
|
<P>
|
|
I sometimes have the same or similar Problem, especially when the System
|
|
hosts Linux and Win200 or WinME. In this cases i use a Bootstrap Killer
|
|
Programm called zap wich comes from IBM.
|
|
</P>
|
|
<P>
|
|
Unfortunately it's only avaiable for DOS, but it's a nice litte
|
|
utillity. You can get it from the IBM Storage Homepage or from this URL
|
|
"<A HREF="http://service.boulder.ibm.com/storage/hddtech/zap.exe"
|
|
>http://service.boulder.ibm.com/storage/hddtech/zap.exe</A>" and it has
|
|
approx. 18 KB.
|
|
</P>
|
|
<P>
|
|
I know it's definitely not a LINUX Answer, but maybe it's a useful Hint.
|
|
</P>
|
|
<P>
|
|
Sincerely
|
|
</P>
|
|
<P>
|
|
Matthias Egger
|
|
</P>
|
|
|
|
<!-- end 14 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/15"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Re: [LG 71] 2c Tips #9</FONT></H3>
|
|
Mon, 01 Oct 2001 15:30:18 -0400
|
|
<BR>martin leisner (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%2315">mleisner from eng.mc.xerox.com</a>)
|
|
<BR>linux-questions-only (linux-questions-only@ssc.com)
|
|
|
|
<P>
|
|
I found the gnu make documentation to be excellent reading. Part of it
|
|
is tutorial.
|
|
</P>
|
|
<P>
|
|
--
|
|
Marty Leisner
|
|
</P>
|
|
|
|
<!-- end 15 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/16"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Re: [LG 71] 2c Tips #10-signwriting</FONT></H3>
|
|
Fri, 26 Oct 2001 12:26:01 -0700
|
|
<BR>LBrown (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2072%5D%202c%20Tips%20%2316">starwings from jps.net</a>)
|
|
<BR>linux-questions-only (linux-questions-only@ssc.com)
|
|
|
|
<P>
|
|
This is in response to the
|
|
<A HREF="<TT>../issue71/lg_tips71.html#tips/10</TT>"
|
|
>Re: signwriting</A> question last
|
|
issue.
|
|
</P>
|
|
<HR width="10%" align="center"><P><STRONG>
|
|
Hi,
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
I was wondering if by signwriting application, Steve Gosden meant
|
|
signwiritng as in the written form of Signed Languages including American
|
|
Sign Language?
|
|
</STRONG></P>
|
|
<BLOCKQUOTE>
|
|
[Ben]
|
|
Hmm. It could be, I suppose; the question was pretty ambiguous.
|
|
</BLOCKQUOTE>
|
|
<P><STRONG>
|
|
Here is a site that is dedicated to it:
|
|
</STRONG></P>
|
|
<P><STRONG><BLOCKQuote>
|
|
<A HREF="http://www.signwriting.org"
|
|
>http://www.signwriting.org</A>
|
|
</BLOCKQuote></STRONG></P>
|
|
<P><STRONG>
|
|
Im hoping to write a signwriting program as soon as both my signwriting and
|
|
my programming are up to it.
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
Here is the part of the site that provides source code, applications and
|
|
programming information for writing software utilizing signwriting:
|
|
</STRONG></P>
|
|
<P><STRONG><BLOCKQuote>
|
|
<A HREF="http://www.signwriting.org/forums/software/software.html"
|
|
>http://www.signwriting.org/forums/software/software.html</A>
|
|
</BLOCKQuote></STRONG></P>
|
|
<BLOCKQUOTE>
|
|
[Ben]
|
|
Very interesting site, Lisa! I'm afraid that I know very little about
|
|
implementing sign languages on a computer - despite knowing a little bit of
|
|
ASL (learned from the docents at the Renaissance Fair while working there.)
|
|
It would actually be an interesting challenge... Linux, along with the Unix
|
|
community in general, has supported access for people with disabilities
|
|
from its very early days - there is accessibility stuff built right into X,
|
|
there's lots of support for Braille output devices, and the Emacs "Audio
|
|
Desktop" is billed as "the first zero-cost Internet access solution for
|
|
blind and visually impaired users." A signwriting program would fit in
|
|
well, and (I would think) would be well received.
|
|
</BLOCKQUOTE>
|
|
<BLOCKQUOTE>
|
|
Hmm. I can visualize a sign "editor" that would let you build each symbol
|
|
in the "sign group", one piece at a time, then let you jump to the next
|
|
position using a set of keys for direction... yeah, definitely a bit of a
|
|
challenge.
|
|
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
|
|
height="24" width="20" align="middle"> Best of luck, and please let us know if and when you have
|
|
something usable; I'm sure that there are a number of folks in the Linux
|
|
community who would be interested in the results.
|
|
</BLOCKQUOTE>
|
|
<P><STRONG>
|
|
thank you and gentle day,
|
|
Lisa Brown
|
|
</STRONG></P>
|
|
<BLOCKQUOTE>
|
|
[Ben]
|
|
<smile> I like that. The same to you, Lisa, in double measure.
|
|
</BLOCKQUOTE>
|
|
|
|
<!-- end 16 -->
|
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
|
<P> <A NAME="tips/17"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
|
<FONT COLOR="navy">Tech Tips from Linux Journal</FONT></H3>
|
|
|
|
<P><DL><DT>
|
|
Subscribe to LJ's Tech Tips:
|
|
<DD><A HREF="http://noframes.linuxjournal.com/subscribe/lja-sub.html"
|
|
>http://noframes.linuxjournal.com/subscribe/lja-sub.html</A>
|
|
</DL></P>
|
|
|
|
<h4 align="center"><br>How to lie about your uptime
|
|
</h4>
|
|
<P>
|
|
Bogus uptime, anyone?
|
|
</P>
|
|
<P>
|
|
The longer the uptime of your Linux box, the cooler you are, right? To
|
|
be cool without leaving your machine on, go to
|
|
<TT>/usr/src/linux/kernel/timer.c</TT> and change the line:
|
|
</P>
|
|
|
|
<blockquote><pre>unsigned long volatile jiffies;
|
|
</pre></blockquote>
|
|
<P>
|
|
to get a bigger uptime at boot. Example:
|
|
</P>
|
|
|
|
<blockquote><pre>unsigned long volatile jiffies = 0x00010000;
|
|
</pre></blockquote>
|
|
<P>
|
|
will start with a 655.36 second (more than 10 min.) uptime. Bigger
|
|
values are left as an exercise for the reader.
|
|
</P>
|
|
<HR width="10%" align="center">
|
|
<h4 align="center"><br>Adding many users at once
|
|
</h4>
|
|
<P>
|
|
It's back to school time and that means adding many users at once. No
|
|
need to do it manually; add many users and set their passwords from a
|
|
single file with the newusers program.
|
|
</P>
|
|
<P>
|
|
It's included with <A HREF="http://www.debian.org/">Debian</A>; if your distribution doesn't have it, get
|
|
the source from the Debian web site:
|
|
<A HREF="http://packages.debian.org/stable/base/passwd.html"
|
|
>http://packages.debian.org/stable/base/passwd.html</A>
|
|
</P>
|
|
<HR width="10%" align="center">
|
|
<h4 align="center"><br>Speeding up Debian APT using Squid
|
|
</h4>
|
|
<P>
|
|
If you have several Debian boxes, speed up software updates and be
|
|
kind to the Debian mirrors. Install Squid on one of them and configure
|
|
APT to use it with:
|
|
</P>
|
|
|
|
<blockquote><pre>Acquire
|
|
{
|
|
http
|
|
{
|
|
Proxy "http://webproxy.example.com:3128/";
|
|
}
|
|
}
|
|
</pre></blockquote>
|
|
<P>
|
|
(If your distribution has automatic upgrades but won't use an HTTP
|
|
proxy, file a bug report.)
|
|
</P>
|
|
<HR width="10%" align="center">
|
|
<h4 align="center"><br>Blocking the Nimda worm
|
|
</h4>
|
|
<P>
|
|
The Linux Journal web site, like others, is getting a lot of traffic
|
|
from the Windows worm du jour. Here's the cron job our sysadmin team
|
|
is using to block them from our <A HREF="http://www.apache.org/">Apache</A>-based site.
|
|
</P>
|
|
<p align="center">See attached <tt><a href="misc/tips/block-nimda.sh.txt">block-nimda.sh.txt</a></tt></p>
|
|
<HR width="10%" align="center">
|
|
<h4 align="center"><br>Making Caps Lock work like Control (in X)
|
|
</h4>
|
|
<P>
|
|
To make your Caps Lock key think it's a Control key, put this in the
|
|
Keyboard section of <TT>/etc/X11/XF86Config:</TT>
|
|
</P>
|
|
|
|
<blockquote><pre> XkbOptions "ctrl:nocaps"
|
|
</pre></blockquote>
|
|
|
|
<!-- end 17 -->
|
|
<P> <hr> </p>
|
|
<!-- *** BEGIN copyright *** -->
|
|
<H5 align="center">This page edited and maintained by the Editors
|
|
of <I>Linux Gazette</I>
|
|
<a href="http://www.linuxgazette.com/copying.html"
|
|
>Copyright ©</a> 2001
|
|
<BR>Published in issue 72 of <I>Linux Gazette</I> November 2001</H5>
|
|
<H6 ALIGN="center">HTML script maintained by
|
|
<A HREF="mailto:star@starshine.org">Heather Stern</a> of
|
|
Starshine Technical Services,
|
|
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H6>
|
|
<!-- *** END copyright *** -->
|
|
<!--startcut ======================================================= -->
|
|
|
|
<CENTER>
|
|
<!-- *** BEGIN navbar *** -->
|
|
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_answer72.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="alcidi.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>
|
|
</BODY></HTML>
|
|
<!--endcut ========================================================= -->
|