1197 lines
44 KiB
HTML
1197 lines
44 KiB
HTML
|
<!--startcut ==============================================-->
|
||
|
<!-- *** BEGIN HTML header *** -->
|
||
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
|
<HTML><HEAD>
|
||
|
<title>More 2-Cent Tips LG #83</title>
|
||
|
</HEAD>
|
||
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
|
||
|
ALINK="#FF0000">
|
||
|
<!-- *** END HTML header *** -->
|
||
|
|
||
|
<!-- *** BEGIN navbar *** -->
|
||
|
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_mail.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="http://www.linuxgazette.com/cgi-bin/talkback/all.py?site=LG&article=http://www.linuxgazette.com/issue83/lg_tips.html"><IMG ALT="[ Talkback ]" SRC="../gx/navbar/talkback.jpg" WIDTH="121" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../lg_faq.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="lg_answer.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 *** -->
|
||
|
|
||
|
<!--endcut ============================================================-->
|
||
|
|
||
|
<TABLE BORDER><TR><TD WIDTH="200">
|
||
|
<A HREF="http://www.linuxgazette.com/">
|
||
|
<IMG ALT="LINUX GAZETTE" SRC="../gx/2002/lglogo_200x41.png"
|
||
|
WIDTH="200" HEIGHT="41" border="0"></A>
|
||
|
<BR CLEAR="all">
|
||
|
<SMALL>...<I>making Linux just a little more fun!</I></SMALL>
|
||
|
</TD><TD WIDTH="380">
|
||
|
|
||
|
|
||
|
<center>
|
||
|
<BIG><BIG><STRONG><FONT COLOR="maroon">More 2-Cent Tips</FONT></STRONG></BIG></BIG><BR>
|
||
|
<STRONG>By <A HREF="../authors/.html"></A></STRONG></BIG>
|
||
|
|
||
|
</TD></TR>
|
||
|
</TABLE>
|
||
|
<P>
|
||
|
|
||
|
<!-- END header -->
|
||
|
|
||
|
<center><STRONG>See also: The Answer Gang's
|
||
|
<a href="../tag/kb.html">Knowledge Base</a>
|
||
|
and the <i>LG</i>
|
||
|
<a href="http://www.linuxgazette.com/search.html">Search Engine</a></STRONG>
|
||
|
</center><HR>
|
||
|
<UL>
|
||
|
<!-- index_text begins -->
|
||
|
<li><A HREF="#tips/1"
|
||
|
><strong>Canon BJC 250</strong></a>
|
||
|
<li><A HREF="#tips/2"
|
||
|
><strong>sendmail and Courier</strong></a>
|
||
|
<li><A HREF="#tips/3"
|
||
|
><strong>Postfix hates Outlook</strong></a>
|
||
|
<li><A HREF="#tips/4"
|
||
|
><strong>ping with ipmasq</strong></a>
|
||
|
<li><A HREF="#tips/5"
|
||
|
><strong>multilink</strong></a>
|
||
|
<li><A HREF="#tips/6"
|
||
|
><strong>power management</strong></a>
|
||
|
<li><A HREF="#tips/7"
|
||
|
><strong>Adding Win98 to a second HD</strong></a>
|
||
|
<li><A HREF="#tips/8"
|
||
|
></a>MDaemon Warning - Virus Found --or--
|
||
|
<br><A HREF="#tips/8"
|
||
|
><strong>If You're Not Part of the Solution, You're Part of the Precipitate</strong></a>
|
||
|
|
||
|
<li><A HREF="#tips/9"
|
||
|
><strong>autocad on linux</strong></a>
|
||
|
<li><A HREF="#tips/10"
|
||
|
><strong>ringing a bell when compilation is finished</strong></a>
|
||
|
<li><A HREF="#tips/11"
|
||
|
></a>RedHat 7.3 on Dell Inspiron 8100 Laptop --or--
|
||
|
<br><A HREF="#tips/11"
|
||
|
><strong>Configuring the GUI, the GUI way</strong></a>
|
||
|
|
||
|
<li><A HREF="#tips/12"
|
||
|
><strong>Diald problems again</strong></a>
|
||
|
<li><A HREF="#tips/13"
|
||
|
><strong>dual boot with XP</strong></a>
|
||
|
<li><A HREF="#tips/14"
|
||
|
><strong>Hiding SAMBA shares</strong></a>
|
||
|
<li><A HREF="#tips/15"
|
||
|
><strong>recompiling the kernel with a X11 keymap</strong></a>
|
||
|
<li><A HREF="#tips/16"
|
||
|
><strong>Linux multilanguage</strong></a>
|
||
|
<li><A HREF="#tips/17"
|
||
|
><strong>Re: exe to iso files</strong></a>
|
||
|
<li><I>Linux Journal's</I> Weekly News Notes
|
||
|
<a href="#tips/lj">Tech Tips</a>
|
||
|
<ul>
|
||
|
<LI>Keeping NAT connections alive
|
||
|
<li><A HREF="http://noframes.linuxjournal.com/subscribe/lja-sub.html"
|
||
|
>subscribe</A> to LJWNN
|
||
|
</ul>
|
||
|
<!-- 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">Canon BJC 250</FONT></H3>
|
||
|
Sun, 15 Sep 2002 12:08:39 -0700
|
||
|
<BR>dfox (<a href="mailto:linux-questions-only@ssc.com?cc=dfox@m206-157.dsl.tsoft.com&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%231">dfox from m206-157.dsl.tsoft.com</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P>
|
||
|
Regarding Bessie's problem in the sept. 2002 issue of LG (Help Wanted
|
||
|
#1):
|
||
|
<A HREF="../issue82/lg_mail.html#wanted/1"
|
||
|
>http://www.linuxgazette.com/issue82/lg_mail.html#wanted/1</A>
|
||
|
</P>
|
||
|
<P>
|
||
|
I also have one of these printers, and it has worked nicely, at least for
|
||
|
monochrome. I have done limited color testing - early on, it would print in
|
||
|
color if I selected a different printer driver at that time (bj 200 is only
|
||
|
capable of doing monochrome). Colors were somewhat washed out, and i never
|
||
|
got around to really testing things like gamma correction. Besides, that was
|
||
|
some time ago, before cups et al.
|
||
|
</P>
|
||
|
<P>
|
||
|
I sent bessie an email asking if she were using cups. There is a little
|
||
|
difference in the revs of cups at least with Mandrake 8.1 which is what I'm
|
||
|
currently running. If I use printerdrake, i am able to select a bj200 driver,
|
||
|
which is perfect for doing monochrome printing, and the test page prints just
|
||
|
fine. If i use another printer configuration tool, there is no corresponding
|
||
|
entry for my printer. However, selecting a similar model driver is doable if
|
||
|
the exact model is not listed -- and seemingly in (how?) recent cups it is
|
||
|
not. And seemingly, there are different printer databases. (i built cups
|
||
|
1.1.10 I think sometime ago from source).
|
||
|
</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">sendmail and Courier</FONT></H3>
|
||
|
Thu, 5 Sep 2002 07:45:51 -0700
|
||
|
<BR>Dan Wilder (<a href="mailto:linux-questions-only@ssc.com?cc=linux-questions-only@ssc.com,&cc=dan@ssc.com&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%232">dan from ssc.com</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<blockquote><font color="#000066">This is in regards to September's help wanted #2:
|
||
|
<A HREF="../issue82/lg_mail.html#wanted/2"
|
||
|
>http://www.linuxgazette.com/issue82/lg_mail.html#wanted/2</A>
|
||
|
-- Heather</font></blockquote>
|
||
|
<P><STRONG>
|
||
|
Hi,
|
||
|
</STRONG></P>
|
||
|
<P><STRONG>
|
||
|
First, you'll have a problem using sendmail and maildir, since, sendmail
|
||
|
does not support maildir, only qmail and postfix support this. If you've a
|
||
|
</STRONG></P>
|
||
|
<P>
|
||
|
However, consider using procmail as the local delivery agent. I believe
|
||
|
sendmail will support this, though I should mention I haven't used
|
||
|
sendmail for quite a few years. Anyway, procmail supports maildir
|
||
|
delivery.
|
||
|
</P>
|
||
|
<P>
|
||
|
-- Dan Wilder
|
||
|
</P>
|
||
|
|
||
|
<blockquote><font color="#000066">A different reader seemed to believe that sendmail cannot, only postfix
|
||
|
and qmail -- but yet another reader chimed in that it's the default on
|
||
|
his distro for sendmail to use procmail as its local delivery, after
|
||
|
which it's of course no problem. Sadly they had confidentiality notes
|
||
|
on their mails, so no juicy details. Sorry.
|
||
|
-- Heather</font></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">Postfix hates Outlook</FONT></H3>
|
||
|
Sat, 07 Sep 2002 01:33:43 -0500
|
||
|
<BR>Dustin Puryear (<a href="mailto:linux-questions-only@ssc.com?cc=dustin@puryear-it.com&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%233">dustin from puryear-it.com</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<blockquote><font color="#000066">This is for help wanted #3 in September's issue:
|
||
|
<A HREF="../issue82/lg_mail.html#wanted/3"
|
||
|
>http://www.linuxgazette.com/issue82/lg_mail.html#wanted/3</A>
|
||
|
-- Heather</font></blockquote>
|
||
|
<P>
|
||
|
Determine if the mail server is trying to perform reverse resolution for
|
||
|
your IP address. This can lead to odd time-out problems with various
|
||
|
services. A quick test is to add a mapping for your IP address to the mail
|
||
|
server's <TT>/etc/hosts</TT> and see if the problem goes away.
|
||
|
</P>
|
||
|
<P>
|
||
|
Regards, Dustin
|
||
|
</P>
|
||
|
<HR width="10%" align="center"><P>
|
||
|
From: SnT_BaBS <<A HREF="mailto:babs@sntteam.org"
|
||
|
>babs@sntteam.org</A>>
|
||
|
</P>
|
||
|
<P>
|
||
|
I think that u can't access root account with pop3 server for security reason ...
|
||
|
</P>
|
||
|
<P>
|
||
|
Maybe i'm wrong ... but it can be ...
|
||
|
</P>
|
||
|
<P>
|
||
|
Regards
|
||
|
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
|
||
|
height="24" width="20" align="middle">
|
||
|
</P>
|
||
|
|
||
|
<blockquote><font color="#000066">Babs here has to at least be partly right. Postfix doesn't speak POP3
|
||
|
-- it speaks SMTP! Common pop3 servers include qpopper, solidpop,
|
||
|
or ipop3d.
|
||
|
-- Heather</font></blockquote>
|
||
|
|
||
|
<!-- 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">ping with ipmasq</FONT></H3>
|
||
|
Mon, 02 Sep 2002 11:12:44 -0700
|
||
|
<BR>David Ranch (<a href="mailto:linux-questions-only@ssc.com?cc=dranch@trinnet.net&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%234">dranch from trinnet.net</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<blockquote><font color="#000066">This is in reply to the September 2002 help wanted #4:
|
||
|
<A HREF="../issue82/lg_mail.html#wanted/4"
|
||
|
>http://www.linuxgazette.com/issue82/lg_mail.html#wanted/4</A>
|
||
|
-- Heather</font></blockquote>
|
||
|
<P>
|
||
|
Hello Matt and LG,
|
||
|
</P>
|
||
|
<P>
|
||
|
My name is David Ranch and I am the author of the IP Masquerade HOWTO
|
||
|
as well as the TrinityOS documentation project.
|
||
|
</P>
|
||
|
<P>
|
||
|
Anyway, regarding your eth0/eth1 issue, have you checked the DUPLEX
|
||
|
setting on the Ethernet switch? The tell-tale signature of this
|
||
|
is the "carrier" transitions in your "ifconfig' output. Since you
|
||
|
have a switch and not a dual-speed hub, make sure it's set to FULL
|
||
|
DUPLEX for that port connected to eth1. You also might want to
|
||
|
force the speed on that port to 100 as well. Ethernet auto-negotiation
|
||
|
has always been a problem.
|
||
|
</P>
|
||
|
<P>
|
||
|
If that doesn't fix things, do you have a different Ethernet card
|
||
|
to try? Personally, I think all LNX* network cards are pretty crappy
|
||
|
though they do work. I've had great luck with any Tulip-based network
|
||
|
card (Netgear FA310 [not the 311, etc]), Intel EtherExpress, etc.
|
||
|
</P>
|
||
|
<P>
|
||
|
Ps. The comment from Heather at the bottom of
|
||
|
</P>
|
||
|
<P>
|
||
|
<A HREF="../issue82/lg_mail.html#wanted/4"
|
||
|
>http://www.linuxgazette.com/issue82/lg_mail.html#wanted/4</A>
|
||
|
</P>
|
||
|
<P>
|
||
|
is plain wrong. The IPMASQ code has supported ICMP MASQ since
|
||
|
the Linus kernel 1.2 days (possibly earlier).
|
||
|
</P>
|
||
|
<P>
|
||
|
--David
|
||
|
</P>
|
||
|
|
||
|
<blockquote><font color="#000066">In fact, I did see some references to it behaving correctly - later -
|
||
|
but never have figured out why it wouldn't work in real life while I was
|
||
|
dealing with it. Which means that while it's surely supported, if I'm
|
||
|
in a situation on a 2.2.x kernel where ICMP is not working past NAT, I
|
||
|
have no idea how to convince it to start working.
|
||
|
</font></blockquote>
|
||
|
<blockquote><font color="#000066">Oh well, we all have our specialties; I'll go back to tweaking X
|
||
|
displays and tuning up laptops, now.
|
||
|
</font></blockquote>
|
||
|
<blockquote><font color="#000066">I absolutely agree that the Tulip chipset is the good stuff. Never
|
||
|
leave home without it.
|
||
|
-- 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">multilink</FONT></H3>
|
||
|
Mon, 02 Sep 2002 13:19:44 -0700
|
||
|
<BR>David A. Ranch (<a href="mailto:linux-questions-only@ssc.com?cc=dranch@trinnet.net&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%235">dranch from trinnet.net</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P>
|
||
|
Hello John, LG,
|
||
|
</P>
|
||
|
<P>
|
||
|
My name is David Ranch and I am the author of the
|
||
|
IP Masqeurade HOWTO as well as the TrinityOS
|
||
|
guide.
|
||
|
</P>
|
||
|
<P>
|
||
|
Anyway, I saw your LG question:
|
||
|
</P>
|
||
|
<P><BLOCKQuote>
|
||
|
<A HREF="../issue82/lg_mail.html#wanted/5"
|
||
|
>http://www.linuxgazette.com/issue82/lg_mail.html#wanted/5</A>
|
||
|
</BLOCKQuote></P>
|
||
|
<P>
|
||
|
First off, one of the posters mention that EQL is the
|
||
|
solution. This is incorrect as EQL is rarely
|
||
|
supported any other terminal servers than possibly
|
||
|
older Livingston Portmaster. Like you mentioned,
|
||
|
you want MultiLink PPP.
|
||
|
</P>
|
||
|
|
||
|
<blockquote><font color="#000066">Oops, I thought they were one and the same. Thanks for pointing out my
|
||
|
misconception.
|
||
|
-- John Karns
|
||
|
-- Heather</font></blockquote>
|
||
|
<P>
|
||
|
Before you start looking into setting this up,
|
||
|
you should call your ISP and see if they allow
|
||
|
ML-PPP? Many don't and the few that do usually
|
||
|
only support it for ISDN users.
|
||
|
</P>
|
||
|
|
||
|
<blockquote><font color="#000066">Good point, one which I forgot to make.
|
||
|
-- John
|
||
|
-- Heather</font></blockquote>
|
||
|
<P>
|
||
|
Anyway, here are some URLs that should help you
|
||
|
in your MLPPP quest if your ISP does infact support
|
||
|
ML-PPP for dialup users.
|
||
|
</P>
|
||
|
<P>
|
||
|
<A HREF="http://www.google.com/search?hl=en&"
|
||
|
>http://www.google.com/search?hl=en&</A>;ie=UTF-8&oe=UTF-8&q=setting+up+multilink+ppp+on+linux&btnG=Google+Search
|
||
|
</P>
|
||
|
<P>
|
||
|
--David
|
||
|
</P>
|
||
|
|
||
|
<blockquote><font color="#000066">And thanks for the URL's.
|
||
|
-- John
|
||
|
-- Heather</font></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">power management</FONT></H3>
|
||
|
Tue, 17 Sep 2002 08:47:00 +0000
|
||
|
<BR>sgupta (<a href="mailto:linux-questions-only@ssc.com?cc=sgupta@pressroom.com&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%236">sgupta from pressroom.com</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P>
|
||
|
Hello.
|
||
|
</P>
|
||
|
<P>
|
||
|
My new PC running Linux has the new Intel motherboard that supports only
|
||
|
ACPI, not APM. I understand from the vendor that Linux does not support
|
||
|
ACPI as yet. Hence, I can't put my machine in stand-by or sleep mode.
|
||
|
The only solutions are to keep it running (room temperature gets high
|
||
|
during day time ~80 degrees) or power off.
|
||
|
</P>
|
||
|
<P>
|
||
|
Is Linux planning to support ACPI any time soon? Are there other
|
||
|
alternatives to power off? After all, one of the best advantages of Linux
|
||
|
is that you don't need to boot it every time you want to use the machine.
|
||
|
It can run for a long time without crashing.
|
||
|
</P>
|
||
|
<P>
|
||
|
Thanks.
|
||
|
<BR>SG
|
||
|
</P>
|
||
|
<BLOCKQUOTE>
|
||
|
[Ashwin N]
|
||
|
Linux <EM>has</EM> support for ACPI in 2.4.x kernels. I suppose it wasn't there
|
||
|
in the older kernels.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
You'll need to install/upgrade your Linux distribution/kernel.
|
||
|
</BLOCKQUOTE>
|
||
|
<P><STRONG>
|
||
|
Hello.
|
||
|
Thanks for the prompt reply. I guess the vendor knows less about Linux than I
|
||
|
do. He installed RH 7.3 with kernel 2.4.18-3 on the PC, which as you say supports
|
||
|
ACPI. Unfortunately, it is not activated. In the directory <TT>/etc/rc.d/init.d</TT> I
|
||
|
can find apmd but not acpid. Do I have to reconfigure/recompile the kernel to get it
|
||
|
working. I checked up all the Linux How-Tos and FAQs and can't find any information
|
||
|
about getting ACPI to work.
|
||
|
</STRONG></P>
|
||
|
<P><STRONG>
|
||
|
Thanks.
|
||
|
<BR>SG
|
||
|
</STRONG></P>
|
||
|
<BLOCKQUOTE>
|
||
|
[Rick Moen]
|
||
|
Googling found this unofficial HOWTO:
|
||
|
<A HREF="http://www.columbia.edu/~ariel/acpi/acpi_howto.txt"
|
||
|
>http://www.columbia.edu/~ariel/acpi/acpi_howto.txt</A>
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE><DL><DT>
|
||
|
It's linked from this summary page:
|
||
|
<DD><A HREF="http://mobilix.org/apm_linux.html"
|
||
|
>http://mobilix.org/apm_linux.html</A>
|
||
|
</DL></BLOCKQUOTE>
|
||
|
<BLOCKQUOTE><DL><DT>
|
||
|
And perhaps you've already come across the ACPI 4 Linux Project:
|
||
|
<DD><A HREF="http://acpi.sourceforge.net"
|
||
|
>http://acpi.sourceforge.net</A>
|
||
|
</DL></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">Adding Win98 to a second HD</FONT></H3>
|
||
|
Fri, 13 Sep 2002 21:57:46 +0300
|
||
|
<BR>Nigel Ridley (<a href="mailto:linux-questions-only@ssc.com?cc=linux-questions-only@ssc.com&cc=nigel@i-amfaithweb.net&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%237">nigel from i-amfaithweb.net</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P>
|
||
|
O.K. I know this is a lame one but I don't want to mess up!
|
||
|
</P>
|
||
|
<P>
|
||
|
My children are now of the age that they are fighting over whose turn it
|
||
|
is on the (old) computer - it has Windows 95 and (unfortunately) they like
|
||
|
some of the silly games that children love - namely Mario (no I haven't
|
||
|
found one to run under Linux).
|
||
|
</P>
|
||
|
<P>
|
||
|
So now I am under pressure to use my Linux box as a second Windows machine
|
||
|
to satisfy the children (no funds for even a second hand 'puter).
|
||
|
</P>
|
||
|
<P>
|
||
|
On my Linux box I have two hd's, one 20 GB - the main one and a second one
|
||
|
of 6 GB. I want to put Windows 98 on the second hd.
|
||
|
How do I make sure that Windows uses the second hd and not wipe out my
|
||
|
Linux one?
|
||
|
Also how do I rescue the mbr from Windows after the install? - I'm using
|
||
|
Mandrake 8.2 with Lilo.
|
||
|
</P>
|
||
|
<P>
|
||
|
Nigel Ridley
|
||
|
</P>
|
||
|
<BLOCKQUOTE>
|
||
|
[JimD]
|
||
|
Take out the Linux drive. Make it a slave. Install the smaller
|
||
|
drive (as standalone at first). Install Win '9x. Change the smaller
|
||
|
drive to be the master (if necessary) and re-install the big drive.
|
||
|
(Leave a small non-DOS partition near the front of it if you can).
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
Now boot from a rescue CD or floppy specifying root=/dev/hdbX (as
|
||
|
appropriate) and add the appropriate entries for an "other" stanza
|
||
|
to your <TT>/etc/lilo.conf.</TT> Then run <TT>/sbin/lilo</TT> to install a new MBR
|
||
|
on the little drive.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
(The MBR on the big drive will be preserved, irrelevant until it's
|
||
|
put back into a system as a master or standalone).
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
You might not need to use that small non-DOS partition that you
|
||
|
created --- but I'd reserve it anyway (if the Win '9x installer will
|
||
|
let you). You can boot from a Linux rescue disc or diskette to run
|
||
|
Linux fdisk and mark the small partition as OS/2 or with some sort
|
||
|
of hibernation volume type --- anything but Linux, since I hear that
|
||
|
newer Microsoft releases with eradicate Linux partitions with extreme
|
||
|
prejudice
|
||
|
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
|
||
|
height="24" width="20" align="middle"> .
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
There are undoubtedly a multitude of alternative approaches. You
|
||
|
could use GRUB and it's notion of "hidden" drives (to swap the
|
||
|
identities of the two drives during the boot process, in memory).
|
||
|
You might be able to install it (standalone) and then make it the
|
||
|
slave (LILO) but I think MS Windows would get unhappy about not having
|
||
|
a C drive.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
[John K.]
|
||
|
If one is resigned to using sharing the system with the rogue OS, then the
|
||
|
above is another good reason to keep MSW straight-jacketed in an
|
||
|
environment such as a virtual machine where it can't do any damage to
|
||
|
things it has no business touching.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
[JimD]
|
||
|
I think John is thrying to suggest that you could use VMWare (or
|
||
|
Plex86 if you're daring, or <A HREF="http://www.winehq.com/">WINE</A>) to run Win '9x as a process under
|
||
|
Linux.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
This works pretty well --- but has a few downsides that might
|
||
|
apply to you're needs:
|
||
|
</BLOCKQUOTE>
|
||
|
|
||
|
<blockQuote><ol>
|
||
|
<LI>VMWare needs lots of memory and plenty of CPU horsepower.
|
||
|
If you machine is older (less than about a 650Mhz Pentium II
|
||
|
or so) or doesn't have lots of memory (128Mb minimum, 512Mb
|
||
|
won't be wasted) then you may find this approach acceptable.
|
||
|
|
||
|
|
||
|
<LI>You might have relatively limited support for sound, USB
|
||
|
joysticks, etc. You said you're kids are fighting over games
|
||
|
(IIRC) and Windows' rehosted under a virtual machine and
|
||
|
running a game is likely to be unpleasantly slow.
|
||
|
|
||
|
|
||
|
<LI>VMWare is pretty good as a product. However it's not free
|
||
|
-- purchasing it will more than double your cost over buying
|
||
|
the requisite copy of Win '98. Plex86 (FreeMWare) is free but
|
||
|
many not be up to the task of running the software you need nor
|
||
|
supporting your hardware. It will certainly be more work (learning
|
||
|
curve) on your part.
|
||
|
|
||
|
|
||
|
<LI>You're kids may have to learn a little Linux/UNIX in order to get
|
||
|
the VMWare (or other) virtual machine running and booted, possibly
|
||
|
switching it to full screen mode and sometimes (perhaps) get back
|
||
|
to it or out of it and back to the Linux host under various
|
||
|
possible situations. You might make this all pretty transparent
|
||
|
(they log in via xdm/gdm/kdm etc, it starts the VM session and
|
||
|
then the just choose shutdown and they log back out).
|
||
|
</ol></blockQuote>
|
||
|
<BLOCKQUOTE>
|
||
|
However, it might be just what you're looking for. Take a look at
|
||
|
these websites:
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE><DL><DT>
|
||
|
VMWare:
|
||
|
<DD><A HREF="http://www.vmware.com"
|
||
|
>http://www.vmware.com</A>
|
||
|
</DL></BLOCKQUOTE>
|
||
|
<BLOCKQUOTE><DL><DT>
|
||
|
WINE:
|
||
|
<DD><A HREF="http://www.winehq.com"
|
||
|
>http://www.winehq.com</A>
|
||
|
</DL></BLOCKQUOTE>
|
||
|
<BLOCKQUOTE><DL><DT>
|
||
|
CodeWeavers (WINE related):
|
||
|
<DD><A HREF="http://www.codeweavers.com"
|
||
|
>http://www.codeweavers.com</A>
|
||
|
</DL></BLOCKQUOTE>
|
||
|
<BLOCKQUOTE><DL><DT>
|
||
|
TransGaming (WINEX):
|
||
|
<DD><A HREF="http://www.transgaming.com"
|
||
|
>http://www.transgaming.com</A>
|
||
|
</DL></BLOCKQUOTE>
|
||
|
<BLOCKQUOTE><DL><DT>
|
||
|
Plex86 (FreeMWare):
|
||
|
<DD><A HREF="http://www.plex86.org"
|
||
|
>http://www.plex86.org</A>
|
||
|
</DL></BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
[Heather]
|
||
|
They might enjoy TuxRacer, which I've actually seen in stores. Linux
|
||
|
can also emulate Nintendos, Game Boys, and some other gaming systems --
|
||
|
you have lots of options.
|
||
|
</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">If You're Not Part of the Solution, You're Part of the Precipitate</FONT></H3>
|
||
|
Thu, 29 Aug 2002 16:54:14 -0700
|
||
|
<BR>Rick Moen (<a href="mailto:linux-questions-only@ssc.com?cc=dan@ssc.com&cc=rick@linuxmafia.com&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%238">the <em>LG</em> Answer Gang</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- ::
|
||
|
If You're Not Part of the Solution, You're Part of the Precipitate
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
:: -->
|
||
|
<P>
|
||
|
Quoting Dan Wilder:
|
||
|
</P>
|
||
|
<P><STRONG><BLOCKQuote>
|
||
|
Another spate of Klez worm reports to the victim, whose email
|
||
|
address is forged in the "From: " header of the virus-bearing mail.
|
||
|
</BLOCKQuote></STRONG></P>
|
||
|
<P>
|
||
|
I've started letting people whose autoresponders send me these
|
||
|
misdirected advisories that they have one day to turn it off or disable
|
||
|
it, after which they'll be permanently killfiled after the next offence.
|
||
|
</P>
|
||
|
<P>
|
||
|
Dear readers: If you don't know how to (or buy) an autoresponder that
|
||
|
does <EM>competent</EM> SMTP header analysis, so you're <EM>sure</EM> it's sending
|
||
|
virus advisories to the correct party, then you honestly have no
|
||
|
business running one, and will end up causing large numbers of people to
|
||
|
classify you as, in effect, a spammer and to act accordingly.
|
||
|
</P>
|
||
|
<P>
|
||
|
Trust me, you don't want to put yourself in that category -- and
|
||
|
nobody's going to care about your protestations of meaning well.
|
||
|
</P>
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- 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">autocad on linux</FONT></H3>
|
||
|
Sat, 31 Aug 2002 13:06:04 -0500
|
||
|
<BR>Richard Brown (<a href="mailto:linux-questions-only@ssc.com?cc=linux-questions-only@ssc.com&cc=rtbrown@sbcglobal.net&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%239">rtbrown from sbcglobal.net</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P>
|
||
|
Saw your not yet. I am a mechanical engineer. I run autocad daily on linux
|
||
|
using vmware. (Running <A HREF="http://www.suse.com/">SuSE</A> 8.0 or 7.3, AMD 1.4 with 768 Mg) Works
|
||
|
beautifully. Frequently I had 10 or 15 sessions of autocad running at the
|
||
|
same time. Never a problem. Nice also when want to reload or update as
|
||
|
from 7.3 to 8.0 simply copy the back the windows 2000 file. To me it is the
|
||
|
preferrable way to run autocad.
|
||
|
</P>
|
||
|
<P>
|
||
|
-richard
|
||
|
</P>
|
||
|
|
||
|
<!-- 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">ringing a bell when compilation is finished</FONT></H3>
|
||
|
Tue, 24 Sep 2002 11:19:14 -0400
|
||
|
<BR>Allan Peda (<a href="mailto:linux-questions-only@ssc.com?cc=pedaa@rockefeller.edu&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2310">pedaa from rockefeller.edu</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P>
|
||
|
Hi:
|
||
|
</P>
|
||
|
<P><BLOCKQuote>
|
||
|
I wanted to share a little bash function I put together to check for the
|
||
|
status code returned by a process (typically "make").
|
||
|
After using IDEs which generate audio feedback after successful
|
||
|
compilation, I realized that this could be done by a bash function,
|
||
|
which I call "ok".
|
||
|
</BLOCKQuote></P>
|
||
|
<P>
|
||
|
I typically run the function right after a long build like this:
|
||
|
</P>
|
||
|
|
||
|
<blockquote><code><font color="#000033"><br>make -f Makefile ; ok
|
||
|
</font></code></blockquote>
|
||
|
<P>
|
||
|
It then returns a pleasant note if all went well, and something less
|
||
|
pleasant if not. Here is the source:
|
||
|
</P>
|
||
|
|
||
|
<blockquote><pre>[zorro@box84 build]$ cat /etc/profile.d/check_return_value.sh
|
||
|
#!/bin/sh
|
||
|
|
||
|
ok() {
|
||
|
if [ $? -eq 0 ]; then
|
||
|
play /usr/share/sounds/chord.au
|
||
|
echo " SUCCESS "
|
||
|
else
|
||
|
play /usr/share/sounds/warning.wav
|
||
|
echo " *ERROR* "
|
||
|
fi
|
||
|
}
|
||
|
</pre></blockquote>
|
||
|
<P>
|
||
|
Works every time (so far).
|
||
|
</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">Configuring the GUI, the GUI way</FONT></H3>
|
||
|
Sat, 24 Aug 2002 15:23:18 -0400
|
||
|
<BR>Benjamin A. Okopnik (<a href="mailto:linux-questions-only@ssc.com?cc=star@starshine.org&cc=ben@callahans.org&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2311">ben from callahans.org</a>)
|
||
|
<BR>Question by Heather Stern (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2311">star@starshine.org</a>)
|
||
|
|
||
|
<!-- ::
|
||
|
Configuring the GUI, the GUI way
|
||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
|
:: -->
|
||
|
<P>
|
||
|
Heather Stern wrote:
|
||
|
</P>
|
||
|
<P><BLOCKQuote>
|
||
|
(In response to q querent having trouble with mice)
|
||
|
</BLOCKQuote></P>
|
||
|
<P>
|
||
|
The section you are looking for in your <TT>/etc/X11/XF86Config-4</TT> file
|
||
|
(well, it might be in just plain <TT>/etc</TT>, but anyway) is "Pointer" for
|
||
|
the mice declarations themselves and "ServerLayout" for the list of
|
||
|
gadgets it will honor.
|
||
|
</P>
|
||
|
<BLOCKQUOTE>
|
||
|
[Ben]
|
||
|
You could also use "<tt>xf86cfg</tt>" if you like graphical tools. I've found
|
||
|
that it takes a little getting used to, but is well done, and - once you
|
||
|
understand the basic idea behind the layout - nicely intuitive.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
[Heather]
|
||
|
Ben presumes you use <A HREF="http://www.debian.org/">Debian</A>. If you use RedHat, you'd want
|
||
|
"<tt>Xconfigurator</tt>". If you use <A HREF="http://www.suse.com/">SuSE</A>, the correct beastie is "<tt>SaX</tt>" and
|
||
|
can also be found in the YaST menus.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
On older distros there was a TCL/tk app called "<tt>XF86Setup</tt>" but it does
|
||
|
nothing to help guess your video card or monitor characteristics. If
|
||
|
you need this, a brief glance at the results of "<tt>lspci</tt>" is worth your
|
||
|
while, and check your notes about what the maximum resolution is for your
|
||
|
monitor, <EM>before</EM> you run the app. It's not very happy when you switch
|
||
|
away from its task and back again.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
The XF86Setup program, at least, has keyboard commands for everything,
|
||
|
so it will work that way until you finally pick the right mouse protocol
|
||
|
and can start clicking on things.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
If you're afraid of jumping to graphical mode until you've got something
|
||
|
like a useful config file created, "<tt>xf86config</tt>" is a totally text mode
|
||
|
program, which asks you questions from the database of X gadgetry.
|
||
|
But do make sure that it creates an XFree86 version 4.x file, and not a
|
||
|
version 3.x file ... they are very different. The section
|
||
|
"ServerLayout" mentioned above didn't exist in version 3.
|
||
|
</BLOCKQUOTE>
|
||
|
|
||
|
<!-- 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">Diald problems again</FONT></H3>
|
||
|
Sun, 1 Sep 2002 09:08:59 +0100
|
||
|
<BR>Neil Youngman (<a href="mailto:linux-questions-only@ssc.com?cc=n.youngman@ntlworld.com&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2312">n.youngman from ntlworld.com</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P>
|
||
|
I've got <A HREF="http://www.debian.org/">Debian</A> 3.0 almost set up to my liking, but one thing I can't get to
|
||
|
work is diald.
|
||
|
</P>
|
||
|
<P>
|
||
|
I installed Debian from scratch and pppd configuration was quite easy. "pon
|
||
|
ntlworld" works, similarly kppp only required me to change auth to noauth in
|
||
|
ppp.options and it worked. Diald OTOH has me puzzled.
|
||
|
</P>
|
||
|
<P>
|
||
|
Debian 3.0 has a completely new diald configuration. All the stuff that used
|
||
|
to appear in <TT>/etc/diald</TT> has gone. The only configuration file it uses seems
|
||
|
to be in <TT>/var/cache.</TT>
|
||
|
</P>
|
||
|
<P>
|
||
|
"ps aux" shows that diald starts up OK. "route" shows that it has set up sl0
|
||
|
as the default interface, but when I try to access anything on the internet I
|
||
|
get an immediate DNS lookup failure. There are none of the usual messages in
|
||
|
<TT>/var/log/messages</TT> indicating that it's trying to dial out and do a DNS lookup.
|
||
|
</P>
|
||
|
<P>
|
||
|
What have I tried?
|
||
|
</P>
|
||
|
|
||
|
<blockQuote><ul>
|
||
|
<LI>I've reconfigured it half a dozen times.
|
||
|
|
||
|
<LI>I've tried "grep diald /var/log/*"
|
||
|
|
||
|
<LI>I've copied my old /etc/diald from potato and selected "old-config" in
|
||
|
"dpkg-reconfigure diald".
|
||
|
|
||
|
<LI>I've copied the dialup rules from old standard.filters into /etc/diald.options
|
||
|
|
||
|
<LI>I've read everything I could find about the new configuration in
|
||
|
/usr/share/doc/diald
|
||
|
|
||
|
<LI>I've google searched for "debian woody diald problem"
|
||
|
|
||
|
<LI>I've searched the debian-user archives
|
||
|
</ul></blockQuote>
|
||
|
<P>
|
||
|
Now I'm stumped. I could throw away the new <TT>/etc/init.d/diald</TT> script and
|
||
|
import the old one potato, together with all the rest of the configuration
|
||
|
for potato, but even if that works, I would prefer not to rely on an
|
||
|
"obsolete" configuration.
|
||
|
</P>
|
||
|
<HR width="10%" align="center">
|
||
|
<blockquote><font color="#000066">But, about a week later, Neil solved it...
|
||
|
-- Heather</font></blockquote>
|
||
|
<P>
|
||
|
I've got this working. It still doesn't work with the Debian 3.0
|
||
|
configuration, but I noticed that one difference from 2.2 was that there was
|
||
|
no named running on 3.0. I installed bind and this together with the 2.2
|
||
|
configuration seems to have got it working.
|
||
|
</P>
|
||
|
<P>
|
||
|
Neil
|
||
|
</P>
|
||
|
|
||
|
<blockquote><font color="#000066">I know that a few apps want to look up the local machine by hostname; I
|
||
|
usually deal with this by adding /etc/hosts entries. But there are a
|
||
|
handful of other advantages to using a local caching name daemon. If
|
||
|
you need the cache to persist through reboots (bad power lines, maybe?)
|
||
|
consider pdnsd.
|
||
|
-- Heather</font></blockquote>
|
||
|
|
||
|
<!-- 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">dual boot with XP</FONT></H3>
|
||
|
Tue, 24 Sep 2002 01:45:27 -0700
|
||
|
<BR>Heather Stern (<a href="mailto:linux-questions-only@ssc.com?cc=debojitacharya@yahoo.com&cc=star@starshine.org&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2313"><em>Linux Gazette</em> Technical Editor</a>)
|
||
|
<BR>Question by debojit acharya (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2313">debojitacharya@yahoo.com</a>)
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P><STRONG>
|
||
|
HalloMy name is Debojit Acharya and i am from india. It will be highly
|
||
|
apperciated if you kindly answer the questions furnished below :-1. I
|
||
|
have a 10 GB hard disk with Win 98 installed on it. Now i want to Install
|
||
|
Win XP and <A HREF="http://www.redhat.com/">Red Hat</A> Linux 7.2 on to a new 80 GB hard drive.
|
||
|
</STRONG></P>
|
||
|
<P>
|
||
|
I have seen this succeed; it depends a little bit on whether your BIOS
|
||
|
likes such large drives, but once you can get the OS' to see them they
|
||
|
deal with the rest of the details pretty well.
|
||
|
</P>
|
||
|
<P><STRONG>
|
||
|
I want to have
|
||
|
multibooting feature with Win 98 (on the old 10GB HDD), Win XP and Linux
|
||
|
(on the new 80 GB HDD) as OSs.
|
||
|
</STRONG></P>
|
||
|
<P>
|
||
|
I don't know if mswin will let you boot XP from a second drive.
|
||
|
</P>
|
||
|
<P>
|
||
|
The easiest way by far for Linux, would be to have <TT>LOADLIN.EXE</TT> and a copy
|
||
|
of your favored linux kernel sitting on the old win98 C: ... then just
|
||
|
offer Linux as one of the mswin boot menu choices.
|
||
|
</P>
|
||
|
<P>
|
||
|
A floppy would work (for Linux at least; possibly for winxp but don't
|
||
|
believe <EM>me</EM> ... check their knowledgebase).
|
||
|
</P>
|
||
|
<P><STRONG>
|
||
|
How to go about it? 2. I had Mandrake Linux 8.2 installed on one of
|
||
|
old HDD's partitions. Later i had tried to delete the partition by
|
||
|
booting from the Mandrake bootable CD. Though the partition got
|
||
|
deleted but had not been uninstalled properly because even now,
|
||
|
at the system startup screen, the default OS is shown as Linux with
|
||
|
Win 98 as the second choice. But after logging into Linux it gets
|
||
|
hanged.
|
||
|
</STRONG></P>
|
||
|
<P>
|
||
|
You still have the old LILO master boot record from the time when you
|
||
|
had Mandrake on <TT>/dev/hda</TT>, however since Mandrake itself ... or more
|
||
|
correctly speaking, that kernel ... is no longer there, the menu option
|
||
|
goes to an explicit location on disk -- which no longer has a kernel!
|
||
|
</P>
|
||
|
<P>
|
||
|
If you store at least one Linux kernel on your <TT>/dev/hda</TT> drive -- for
|
||
|
example, in C:\LINUX -- then you will be able to install a fresh LILO
|
||
|
boot record which points at it, and knows about you wanting to mount
|
||
|
a <TT>/dev/hdbN</TT> partition as your root volume when you select Linux. You
|
||
|
must re-run <TT>/sbin/lilo</TT>, after editing <TT>/etc/lilo.conf</TT> to meet your
|
||
|
new setup. Unfortunately, the kernel and bootloader really do have
|
||
|
to be on the same disk.
|
||
|
</P>
|
||
|
<P>
|
||
|
If you switch to GRUB a different story follows, but it's still probably
|
||
|
a good idea to keep a kernel on your first hard drive.
|
||
|
</P>
|
||
|
<P><STRONG>
|
||
|
Pls help me get out of this.
|
||
|
<br>Thanks. Bye,Debojit.
|
||
|
</STRONG></P>
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- 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">Hiding SAMBA shares</FONT></H3>
|
||
|
Tue, 27 Aug 2002 12:59:52 -0700
|
||
|
<BR>CHADWICK (<a href="mailto:linux-questions-only@ssc.com?cc=chadwick@crosslink.net&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2314">chadwick from crosslink.net</a>)
|
||
|
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P>
|
||
|
Take a look at this link it may help:
|
||
|
</P>
|
||
|
<P><BLOCKQuote>
|
||
|
<A HREF="http://www.oreilly.com/catalog/samba/chapter/ch05.html"
|
||
|
>http://www.oreilly.com/catalog/samba/chapter/ch05.html</A>
|
||
|
</BLOCKQuote></P>
|
||
|
<P>
|
||
|
Look down the page to the section on Preventing Browsing (5.1.1)
|
||
|
</P>
|
||
|
<P>
|
||
|
O'Reilly's books are really great references for technical materials.
|
||
|
</P>
|
||
|
<P>
|
||
|
Hope this helps.
|
||
|
</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">recompiling the kernel with a X11 keymap</FONT></H3>
|
||
|
Sat, 21 Sep 2002 15:05:39 -0700
|
||
|
<BR>Dan Wilder (<a href="mailto:linux-questions-only@ssc.com?cc=&cc=dan@ssc.com&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2315">dan from ssc.com</a>)
|
||
|
<BR>Question by hrdo (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2315"></a>)
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P><STRONG>
|
||
|
Hello Answers Gang,
|
||
|
</STRONG></P>
|
||
|
<P><STRONG>
|
||
|
Is there a way to recompile the kernel so as to get
|
||
|
the X11 keymap in the console?
|
||
|
</STRONG></P>
|
||
|
<P>
|
||
|
See
|
||
|
</P>
|
||
|
|
||
|
<blockquote><code><font color="#000033"><br>linux/drivers/char/defkeymap.c
|
||
|
<br>linux/drivers/char/consolemap.c
|
||
|
</font></code></blockquote>
|
||
|
<P>
|
||
|
paying special attention to the comments at the beginning of
|
||
|
defkeymap.c
|
||
|
</P>
|
||
|
<P>
|
||
|
However, it is not necessary to recompile the kernel. Your
|
||
|
initialization scripts (in <TT>/etc/rc.d</TT>, <TT>/etc/rc.d/init.d</TT>, or <TT>/etc/init.d</TT>
|
||
|
depending on your distribution) very likely have a call to "loadkeys"
|
||
|
someplace in them. This loads a keymap at boot time. If not, you can
|
||
|
easily add such. See
|
||
|
</P>
|
||
|
|
||
|
<blockquote><code><font color="#000033"><br>man loadkeys
|
||
|
</font></code></blockquote>
|
||
|
|
||
|
<!-- 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">Linux multilanguage</FONT></H3>
|
||
|
Tue, 3 Sep 2002 12:27:00 -0500
|
||
|
<BR>Dan Wilder, Ben Okopnik (<a href="mailto:linux-questions-only@ssc.com?cc=Jeffrey_Kwiatkowski@baylor.edu&cc=linux-questions-only@ssc.com&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2316">tag from ssc.com</a>)
|
||
|
<BR>Question by Jeff Kwiatkowski (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2316">Jeffrey_Kwiatkowski@baylor.edu</a>)
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
<P><STRONG>
|
||
|
Hey Jim,
|
||
|
</STRONG></P>
|
||
|
<P><STRONG>
|
||
|
I was reading over some of your responses to people's problems and
|
||
|
it seems you are pretty knowledgable of the linux os.
|
||
|
</STRONG></P>
|
||
|
<BLOCKQUOTE>
|
||
|
[Ben]
|
||
|
These days, Jim sits by the fire in his slippers and points with his
|
||
|
pipe to stuff he wants done... or something like that.
|
||
|
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
|
||
|
height="24" width="20" align="middle"> The Answer Guy
|
||
|
is now The Answer Gang, and we all share the load.
|
||
|
</BLOCKQUOTE>
|
||
|
|
||
|
<blockquote><font color="#000066">With quite a shell collection on the mantelpiece, I'd add. (Jim is our
|
||
|
resident shell-script expert. He has no problem constructing shell
|
||
|
pipelines several apps deep.)
|
||
|
-- Heather</font></blockquote>
|
||
|
<BLOCKQUOTE>
|
||
|
I was wondering
|
||
|
if you could point me in the correct direction with an issue i am
|
||
|
facing. I am looking to write a C program that will use some sort of
|
||
|
API call to detect what language is installed on a linux box and then
|
||
|
launch a correct web page. Does linux have an API? How do you find out
|
||
|
these environment variables? I have been researching for hours and have
|
||
|
come up empty. Any help would be very appreciated.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
[Dan]
|
||
|
No doubt Jim or somebody else has more info, but for starters,
|
||
|
try
|
||
|
</BLOCKQUOTE>
|
||
|
|
||
|
<blockquote><code><font color="#000033"><br> apropos locale
|
||
|
</font></code></blockquote>
|
||
|
<BLOCKQUOTE>
|
||
|
and the related manpages, for example
|
||
|
</BLOCKQUOTE>
|
||
|
|
||
|
<blockquote><code><font color="#000033"><br> man 7 locale
|
||
|
</font></code></blockquote>
|
||
|
<BLOCKQUOTE>
|
||
|
A system's locale is set during installation, and controls
|
||
|
among other things the multilanguage support built into many
|
||
|
GNU programs using the "gettext" utilities. See also
|
||
|
</BLOCKQUOTE>
|
||
|
|
||
|
<blockquote><code><font color="#000033"><br> man gettext
|
||
|
</font></code></blockquote>
|
||
|
<BLOCKQUOTE>
|
||
|
[Ben]
|
||
|
Take a look at the LANG variable. It's somewhat odd (e.g., the default
|
||
|
value for English is 'C' (???))
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
[Heather]
|
||
|
I think the default <EM>value</EM> is 'C' and if you have a basically English
|
||
|
distro that's the language you'll, ahem, C. You can specify one or
|
||
|
another of the English variants but I've seen it cause some things to
|
||
|
act weird - I assume the exact same weirdness they'd offer if I picked
|
||
|
an international variant they dunno how to handle.
|
||
|
</BLOCKQUOTE>
|
||
|
<BLOCKQUOTE>
|
||
|
[Ben]
|
||
|
...but mostly it follows the ISO3166
|
||
|
standard for naming, e.g. "de", "fr", "kr", etc. It's also far from
|
||
|
certain that everyone will have it set on their system. For example, I
|
||
|
read a lot of Russian stuff, but leave my LANG at the default setting
|
||
|
and execute specific programs with a local LANG definition:
|
||
|
</BLOCKQUOTE>
|
||
|
|
||
|
<blockquote><pre>LANG=ru_RU rxvt -n Muttley -e mutt -y
|
||
|
</pre></blockquote>
|
||
|
<BLOCKQUOTE>
|
||
|
In my opinion, though, LANG is as close as you'll come to what you're
|
||
|
looking for as is possible in the wild wooly world of Unix.
|
||
|
</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">Re: exe to iso files</FONT></H3>
|
||
|
Tue, 27 Aug 2002 00:17:37 -0700
|
||
|
<BR>Jim Dennis (<a href="mailto:linux-questions-only@ssc.com?cc=jra@baylink.com&cc=jimd@starshine.org&subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2317">the <em>LG</em> Answer Guy</a>)
|
||
|
<BR>Question by Jay R. Ashworth (<a href="mailto:linux-questions-only@ssc.com?subject=%20Re%3A%20%5BLG%2083%5D%202c%20Tips%20%2317">jra@baylink.com</a>)
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<!-- sig -->
|
||
|
|
||
|
|
||
|
<blockquote><font color="#000066">And if you're trying to write a Linux or otherwise generated ISO under
|
||
|
Windows, you can see "Best of ISO Burning Under Windows" - Issue 68,
|
||
|
11th TAG article:
|
||
|
<A HREF="../issue68/tag/11.html"
|
||
|
>http://www.linuxgazette.com/issue68/tag/11.html</A>
|
||
|
-- Heather</font></blockquote>
|
||
|
<P><STRONG>
|
||
|
Interestingly enough, I discovered, apparently El Torito bootability is
|
||
|
a feature of the image -- I burned those Linux BBC's from a bare ISO,
|
||
|
no command switches to tell the Windows burner to make it bootable, and
|
||
|
it Just Worked.
|
||
|
</STRONG></P>
|
||
|
<P><STRONG>
|
||
|
I hadn't realized that it was (in Linux terms) mkisofs, not cdrecord,
|
||
|
that did that work.
|
||
|
</STRONG></P>
|
||
|
<BLOCKQUOTE>
|
||
|
[JimD]
|
||
|
Yes, it's the -b option to mkisofs that does the trick (and it's obviously
|
||
|
not necessary at record time --- though most other OS have software that
|
||
|
integrate the mkisofs with the burn. I prefer the modularity of he Linux
|
||
|
approach.
|
||
|
</BLOCKQUOTE>
|
||
|
<P><STRONG>
|
||
|
In retrospect it ought to be obvious, but I don't even want to admit to
|
||
|
the amount of time I spent looking for that switch in my (by which I
|
||
|
mean "my sister's") Windows burner software.
|
||
|
</STRONG></P>
|
||
|
|
||
|
<!-- end 17 -->
|
||
|
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
|
||
|
<P> <A NAME="tips/lj"><HR WIDTH="75%" ALIGN="center"></A> <P>
|
||
|
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
|
||
|
<FONT COLOR="navy">LJWNN Tech Tips</FONT></H3>
|
||
|
Mon, 30 Sep 2002 11:22:02 -0700
|
||
|
|
||
|
|
||
|
<h4 align="center"><br>Keeping NAT connections alive
|
||
|
</h4>
|
||
|
<P>
|
||
|
When you ssh from a NAT network, do your connections mysteriously drop
|
||
|
after a few minutes of activity?
|
||
|
</P>
|
||
|
<P>
|
||
|
Keep ssh connections up by adding
|
||
|
</P>
|
||
|
<P>
|
||
|
ProtocolKeepAlives 30
|
||
|
</P>
|
||
|
<P>
|
||
|
to your ~/.ssh/config file.
|
||
|
</P>
|
||
|
<P>
|
||
|
See man ssh_config.
|
||
|
</P>
|
||
|
|
||
|
<!-- end 18 -->
|
||
|
<!-- *** BEGIN copyright *** -->
|
||
|
<hr>
|
||
|
<CENTER><SMALL><STRONG>
|
||
|
<h5>This page edited and maintained by the Editors of <I>Linux Gazette</I><br>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>
|
||
|
<br>Copyright © 2002
|
||
|
<br>Copying license <A HREF="http://www.linuxgazette.com/copying.html">http://www.linuxgazette.com/copying.html</A>
|
||
|
<BR>Published in Issue 83 of <i>Linux Gazette</i>, October 2002</H5>
|
||
|
</STRONG></SMALL></CENTER>
|
||
|
<!-- *** END copyright *** -->
|
||
|
<HR>
|
||
|
|
||
|
<!--startcut ==========================================================-->
|
||
|
<CENTER>
|
||
|
<!-- *** BEGIN navbar *** -->
|
||
|
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_mail.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="http://www.linuxgazette.com/cgi-bin/talkback/all.py?site=LG&article=http://www.linuxgazette.com/issue83/lg_tips.html"><IMG ALT="[ Talkback ]" SRC="../gx/navbar/talkback.jpg" WIDTH="121" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../lg_faq.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="lg_answer.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 ============================================================-->
|