848 lines
29 KiB
HTML
848 lines
29 KiB
HTML
<!--startcut ======================================================= -->
|
||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
||
<html>
|
||
<head>
|
||
<META NAME="generator" CONTENT="lgazmail v1.3E.w">
|
||
<TITLE>More 2 Cent Tips & Tricks LG #68</TITLE></HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
||
LINK="#3366FF" VLINK="#A000A0">
|
||
<!-- ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: -->
|
||
<P>
|
||
<CENTER>
|
||
<!-- *** BEGIN navbar *** -->
|
||
<IMG ALT="" SRC="../gx/navbar/left.jpg" WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="bottom"><A HREF="lg_answer68.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="index.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../index.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="../faq/index.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="collinge.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
|
||
<!-- *** END navbar *** -->
|
||
</CENTER>
|
||
</p>
|
||
<!-- QUICK TIPS SECTION ================================================== -->
|
||
<!-- 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:gazette@ssc.com">gazette@ssc.com</A></center>
|
||
<UL>
|
||
<!-- index_text begins -->
|
||
<li><A HREF="#tips/1"
|
||
><strong>Getting s-video to work on Win2k. Tip: working with tech support.</strong></a>
|
||
<li><A HREF="#tips/2"
|
||
><strong>Need to contact a hacker</strong></a>
|
||
<li><A HREF="#tips/3"
|
||
><strong>How do I create a new driver disk for RH7.1 network</strong></a>
|
||
<li><A HREF="#tips/4"
|
||
></a>Account field length in /etc/passwd --or--
|
||
<br><A HREF="#tips/4"
|
||
><strong>Maximum Username Limits in <TT>/etc/passwd</TT></strong></a>
|
||
|
||
<li><A HREF="#tips/5"
|
||
><strong>regarding "LINUX FOR THE PRODUCTION ENVIROMENT"</strong></a>
|
||
<li><A HREF="#tips/6"
|
||
><strong>MySQL Tips and Tricks - finding Linux Magazine</strong></a>
|
||
<li><A HREF="#tips/7"
|
||
><strong>Want to remove linux completly - GRUB still present</strong></a>
|
||
<li><A HREF="#tips/8"
|
||
><strong>lost linux password</strong></a>
|
||
<li><A HREF="#tips/9"
|
||
><strong>Re:prob in lilo booting</strong></a>
|
||
<li><A HREF="#tips/10"
|
||
><strong>I need an answer from you....</strong></a>
|
||
<li><A HREF="#tips/11"
|
||
><strong>Re: central logging and pipping to postgresql db</strong></a>
|
||
<li><A HREF="#tips/12"
|
||
><strong>Re: catch stdin</strong></a>
|
||
<li><A HREF="#tips/13"
|
||
><strong>Completely wiping the MBR using DOS debug</strong></a>
|
||
<li><A HREF="#tips/14"
|
||
><strong>MS Frontpage98 Server extention Redhat Linux 6.0 vs ASP</strong></a>
|
||
<li><A HREF="#tips/15"
|
||
><strong>YAHE: run BIND safely</strong></a>
|
||
<li><A HREF="#tips/16"
|
||
><strong>Linux solution to syncing with Exchange Address books as a client</strong></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">Getting s-video to work on Win2k. Tip: working with tech support.</FONT></H3>
|
||
Mon, 28 May 2001 11:33:29 -0400
|
||
<BR>Qustion From: Jonathan Van Luik
|
||
<br>Tip From: Ben Okopnik (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
<P><STRONG>
|
||
I am trying to help out my friend use his Inspiron 3800. He wants to
|
||
display what is on his laptop onto the television to watch his dvd movies.
|
||
However, now that he has win2k on the laptop he cannot seem to get the fn+f5
|
||
button function to work. This should be very simple. Connect the s-video
|
||
to the t.v., and then push the button. But it isn't working, and I cannot
|
||
get Dell help since it is not my laptop.
|
||
</STRONG></P>
|
||
|
||
<blockquote><font color="#000066">Ben sent him a cheerfully silly note expressing that this is not the right
|
||
place for this question. See the Greeting From Heather Stern in this month's
|
||
TAG for more about that
|
||
<IMG SRC="../gx/dennis/smily.gif" ALT=";)"
|
||
height="24" width="20" align="middle">
|
||
-- Heather</font></blockquote>
|
||
<P>
|
||
Just as a possibly helpful aside, I've spoken to Dell tech support 20
|
||
times or more, never as an owner. I always start out the conversation
|
||
with "Hi, this is Ben Okopnik, and I'm the tech working on Mr. X's
|
||
machine." As long as you have the serial numbers, etc. that they're
|
||
asking for, there shouldn't be a problem; ask to speak to a supervisor
|
||
if there is one. There's absolutely no reason for them to deny you help,
|
||
especially if your friend is there with you.
|
||
</P>
|
||
|
||
<!-- sig -->
|
||
|
||
|
||
<!-- 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">Need to contact a hacker</FONT></H3>
|
||
Thu, 7 Jun 2001 09:01:30 -0700
|
||
<BR>Question From: Kane Felix
|
||
<br>Tip From: Dan Wilder (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P>
|
||
On Thu, Jun 07, 2001 at 08:39:49AM -0000, Kane Felix wrote:
|
||
</P>
|
||
<P><STRONG>
|
||
I have been attempting to contact any hackers in the Tampabay, Orlando, FL
|
||
area. I have a project that needs some expert input, however, I have been
|
||
unsuccessful thus far. Is there a mailing list, or e-mail address listing
|
||
for this area I may locate? If so, please help me to locate it, or offer
|
||
any advice possible.
|
||
</STRONG></P>
|
||
<P>
|
||
Depends on which common meaning of the term "hacker" you intend.
|
||
For "expert code mechanic," try
|
||
</P>
|
||
<P>
|
||
<A HREF="http://www.linuxjournal.com/glue"
|
||
>http://www.linuxjournal.com/glue</A>
|
||
</P>
|
||
<P>
|
||
("Groups of Linux Users Everywhere") for a Linux user group in your
|
||
area.
|
||
</P>
|
||
<P>
|
||
Do you need to restrict yourself to your geographic area? Linux itself
|
||
is written by many people scattered all over the world. The Internet
|
||
provides a substitute for physical proximity. While a little long
|
||
in the tooth, the internet newsgroups still provide forums around which
|
||
many efforts coalesce. Check
|
||
</P>
|
||
<P>
|
||
<A HREF="http://groups.google.com/googlegroups/deja_announcement.html"
|
||
>http://groups.google.com/googlegroups/deja_announcement.html</A>
|
||
</P>
|
||
<P>
|
||
For mailing lists or other forums related to the subject matter
|
||
you're interested in, again check Google. A suitable search will
|
||
reveal various forums. Jump in, participate, you're quite likely
|
||
to find people who can assist you.
|
||
</P>
|
||
<P>
|
||
If your project is open source, consider registering it on SourceForge,
|
||
</P>
|
||
<P>
|
||
<A HREF="http://www.sourceforge.net"
|
||
>http://www.sourceforge.net</A>
|
||
</P>
|
||
<P>
|
||
which provides network CVS access, forums, and other services organized
|
||
around particular projects.
|
||
</P>
|
||
<P>
|
||
--
|
||
Dan Wilder
|
||
</P>
|
||
|
||
<!-- sig -->
|
||
|
||
|
||
<!-- 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">How do I create a new driver disk for RH7.1 network</FONT></H3>
|
||
Tue, 22 May 2001 15:15:21 -0700
|
||
<Br>Question From: Rick Lin
|
||
<BR>Tip From: Breen Mullins (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P><STRONG>
|
||
Hi there,
|
||
I am trying to do an upgrade on a working RH6.2 system, trying to upgrade
|
||
to RH7.1 by using the netboot.img (Install via FTP/HTTP/NFS),
|
||
when I get to the question "do you have a driver disk"
|
||
I insert the driver disk, but the drivers listed do not have the 3com 3c509
|
||
nic card listed
|
||
they all seem to be PCI nic cards.
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
How can I create a new driver disk for the 3c509 ISA card?
|
||
</STRONG></P>
|
||
<P>
|
||
Hi Rick --
|
||
</P>
|
||
<P>
|
||
See the README file from the RedHat CD. It points you to an additional
|
||
drivers.img file that you use to make another floppy. I'd guess that
|
||
the 3C509 driver is there.
|
||
</P>
|
||
<P>
|
||
HTH --
|
||
</P>
|
||
<P>
|
||
Breen
|
||
</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">Maximum Username Limits in <TT>/etc/passwd</TT></FONT></H3>
|
||
Tue, 05 Jun 2001 12:07:20 -0700
|
||
<BR>Question From: José Antonio Pérez Hernández
|
||
<br>Tip From: Jim Dennis (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
<!-- ::
|
||
Maximum Username Limits in <TT>/etc/passwd</TT>
|
||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||
:: -->
|
||
<P><STRONG>
|
||
Hi,
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
I'd like to know how long is the account field in the <TT>/etc/passwd</TT> file
|
||
and if it can be modified: I'm trying to install a system that will
|
||
serve users distinguished with their registration code (14 chars or
|
||
more) instead of their usual user name.
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
Any tip is welcome.
|
||
TIA.
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
Jose Antonio.
|
||
</STRONG></P>
|
||
<P>
|
||
Under any reasonably recent Linux distribution (any glibc based one)
|
||
you can have usernames of up to 31 characters. I think you're
|
||
still required to have an initial alphabetic and I'd be very dubious
|
||
of any effort to use any characters other than alphanumerics and
|
||
maybe underscores.
|
||
</P>
|
||
<P>
|
||
However, I think the software that you're talking about is
|
||
bizarre in this requirement --- and I suspect that it's a severely
|
||
broken model that would lead UNIX software to impose constraints
|
||
on usernames beyond those implicit in the standard libraries.
|
||
</P>
|
||
<P>
|
||
BTW: Limitations on username lengths and similar issues are purely
|
||
a library and userspace issue. The kernel has no notion of usernames.
|
||
UID limits are primarily a kernel issue; although the libraries
|
||
naturally must implement to the kernel's requirements. Linux kernels
|
||
prior to 2.4 used a 16-bit UID (limits us to 65,536 distinct users).
|
||
In 2.4 this has been changed to a 32-bit value allowing us to use
|
||
upto 4-billion UIDs. Although its a rare system that needs to provide
|
||
access to more than 64K users --- there are fairly common administrative
|
||
requirements that UIDs be unique throughout the life of a company or
|
||
organization -- that they never be re-used or that they be retained for
|
||
seven years or whatever.
|
||
</P>
|
||
<P>
|
||
I realize that UID limits weren't part of your question; but they're
|
||
likely to be of interest to other readers, especially others who are
|
||
come across this in the search engines.
|
||
</P>
|
||
|
||
<p>-- Jim Dennis</p>
|
||
|
||
|
||
<!-- 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">regarding "LINUX FOR THE PRODUCTION ENVIROMENT"</FONT></H3>
|
||
Tue, 5 Jun 2001 17:01:15 -0400 (EDT)
|
||
<BR>toby cabot (<a href="mailto:linux-questions-only@ssc.com">toby from caboteria.org</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P>
|
||
Folks,
|
||
</P>
|
||
<P>
|
||
I enjoy your column and invariably learn something from reading it, but
|
||
this time I can answer a question of yours!
|
||
</P>
|
||
<P>
|
||
In your answer to the "LINUX FOR THE PRODUCTION ENVIROMENT" question in
|
||
the June issue you asked what sql-ledger is. It's an accounting package
|
||
written in perl. It uses a relational database back-end (postgres,
|
||
maybe others) and the UI is cgi-scripts. It's pretty good; I used it
|
||
last year when I was consulting to cut and track some invoices. I'm not
|
||
an accountant but it seemed to work just fine for me, and it wasn't that
|
||
hard to figure out.
|
||
</P>
|
||
<P>
|
||
<A HREF="http://www.sql-ledger.org"
|
||
>http://www.sql-ledger.org</A>
|
||
</P>
|
||
<P>
|
||
Regards,
|
||
Toby Cabot
|
||
</P>
|
||
|
||
<!-- 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">MySQL Tips and Tricks - finding Linux Magazine</FONT></H3>
|
||
Wed, 6 Jun 2001 09:32:04 -0000
|
||
<BR> Bö<EFBFBD>var Björgvinsson (<a href="mailto:linux-questions-only@ssc.com">bodvar from atlanta.is</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P>
|
||
For the English version og Linux Magazin(e):
|
||
<A HREF="http://www.linux-magazine.co.uk"
|
||
>http://www.linux-magazine.co.uk</A>
|
||
This was the only version I had seen until I came across this posting of
|
||
Linux being a German Mag.
|
||
</P>
|
||
<P>
|
||
HTH
|
||
</P>
|
||
<P>
|
||
Bodvar
|
||
</P>
|
||
|
||
<!-- sig -->
|
||
|
||
|
||
<!-- 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">Want to remove linux completly - GRUB still present</FONT></H3>
|
||
11 Jun 2001 10:13:01 +0200
|
||
<BR>Question From: Chandina rodrigo
|
||
<br>Tip From: Huibert Alblas (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
|
||
<P><STRONG><BLOCKQuote>
|
||
HI guys..
|
||
I formatted my machine and got rid of windows98 but
|
||
when i boot up i get to the command grub> i'm a new
|
||
user with some undestanding of linux and windws.
|
||
i found this posted i tried this peice of code
|
||
</BLOCKQuote></STRONG></P>
|
||
|
||
<code><strong><font color="#000033"><br>dd if=/dev/zero of=/dev/hda bs=512 count=1
|
||
</font></strong></code>
|
||
<P><STRONG>
|
||
and it said Error: unrecognised command
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
guys i need to install windows again for some project
|
||
work so could u kindly tell me what i should type in
|
||
the grub> so that i can do the normal fdisk with a
|
||
bootable floppy of win98/95
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
Thanks.!!
|
||
</STRONG></P>
|
||
<P>
|
||
This should be no problem,
|
||
</P>
|
||
<P>
|
||
this GRUB thing is the bootmanager installed by your linux distro,
|
||
grub is not linux, so it can not regonise the dd command.
|
||
Since you allready got rid of Linux
|
||
<IMG SRC="../gx/dennis/unsmily.gif" ALT=":-("
|
||
height="24" width="20" align="middle"> the only thinbg left is to
|
||
remove the bootmanager. The dd command would be the right one if you
|
||
were still using Linux.
|
||
</P>
|
||
<P>
|
||
Now, for the solution:
|
||
</P>
|
||
|
||
<blockquote><ul>
|
||
<li>-Take the win9X floppy,
|
||
<li>-boot from this floppy,
|
||
<li>-type: fdisk /mbr
|
||
<li>-repartition with fdisk (dont forget to keep 2 Gig for Linux (do not
|
||
<br> partion this explicidly, just leave it unused) in an extended
|
||
<br> partition in case you want to try linux again)
|
||
<li>-install M$ Windows...
|
||
<li>-get your projekt done
|
||
<li>-get Linux back on your PC (we are a Linux List, I have to say this :-)
|
||
</ul></blockquote>
|
||
<P>
|
||
Hope I could help,
|
||
</P>
|
||
<P>
|
||
Halb
|
||
</P>
|
||
|
||
<!-- 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">lost linux password</FONT></H3>
|
||
Mon, 11 Jun 2001 12:01:15 -0700
|
||
<br>Question From: Selim Javed
|
||
<BR>Tip From: Mike Orr (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P><STRONG>
|
||
dear sir
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
my linux passs forget
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
but
|
||
<br>i'm reboot & booting single
|
||
</STRONG></P>
|
||
<P><STRONG><CODE>
|
||
bash command not access
|
||
</CODE></STRONG></P>
|
||
<P><STRONG>
|
||
pls help me
|
||
</STRONG></P>
|
||
<P>
|
||
What is the exact error message you're seeing?
|
||
</P>
|
||
<P>
|
||
What happens if you type this at the Lilo prompt?
|
||
</P>
|
||
|
||
<blockquote><pre>Lilo: linux init=/bin/sh
|
||
</pre></blockquote>
|
||
|
||
<!-- 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">Re:prob in lilo booting</FONT></H3>
|
||
30 May 2001 10:41:25 +0200
|
||
<br>Question From: saravanan_n
|
||
<BR>Tip From: Huibert Alblas (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P><STRONG>
|
||
Dear sir,
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
I successfully installed windows 2000 and linux,but i need
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
dual booting facility,i have 20 gb seagate hardisk ,i partitioned my
|
||
hardisk as 5 gb for c: 10 gb for d: and for linux the rest of the space
|
||
i use,but while i overwrite the first sector,but this lilo partition is
|
||
not happening,it shows ur partion limit exceeds 1024 cylinders,so please
|
||
give assistance to do the same.
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
with regards
|
||
saravanan
|
||
</STRONG></P>
|
||
<P>
|
||
I hope I understand correctly that you managed to install both W2K and
|
||
some Linux distro. but get into problems dualbooting with Lilo.....
|
||
</P>
|
||
<P>
|
||
If you have an 'older' version of a linux distro, it probably hasnt got
|
||
over the '1024 cylinder problem' yet.
|
||
</P>
|
||
<P>
|
||
I hope you have a bootfloppy ready and working.
|
||
Then the only thing you have to do is:
|
||
</P>
|
||
<P><BLOCKQuote>
|
||
remove old Lilo
|
||
</BLOCKQuote></P>
|
||
<P>
|
||
goto <A HREF="http://freshmeat.net/projects/lilo"
|
||
>http://freshmeat.net/projects/lilo</A>
|
||
</P>
|
||
<P>
|
||
Download source, install, be happy
|
||
</P>
|
||
<P>
|
||
or ask follow up question right here....
|
||
</P>
|
||
<P>
|
||
the new versions of lilo have no problems on new PC's but as you are
|
||
running W2K this should be no problem...
|
||
</P>
|
||
<P>
|
||
Hope I could help..
|
||
</P>
|
||
<P>
|
||
Halb
|
||
</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">I need an answer from you....</FONT></H3>
|
||
Mon, 4 Jun 2001 22:35:28 -0700
|
||
<br>Question From: James G
|
||
<BR>Tip From: Don Marti (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P><STRONG><BLOCKQuote>
|
||
I am wondering if there is a way using CGI/Perl or C
|
||
to create a program that learns and mimics the packets
|
||
sent by programs like realplayer etc, and then be able
|
||
to modify the packets so that information like
|
||
destination, who sent it etc. I have read a lot on
|
||
packet swtiching, bridge proxies etc and I have no
|
||
idea on what to do.....
|
||
</BLOCKQuote></STRONG></P>
|
||
<P>
|
||
The first thing you want to learn is a packet sniffer, such as
|
||
ethereal:
|
||
<A HREF="http://www.ethereal.com"
|
||
>http://www.ethereal.com</A>
|
||
</P>
|
||
<P><DL><DT>
|
||
or tcpdump:
|
||
<DD><A HREF="http://www.tcpdump.org"
|
||
>http://www.tcpdump.org</A>
|
||
</DL></P>
|
||
<P>
|
||
That should give you some idea of what the proprietary application is
|
||
sending over the wire. Next, you'll want to experiment with mimicking
|
||
it. You can get the information you need to do this from the
|
||
excellent "Unix Network Programming" volume 1, by W. Richard Stevens.
|
||
(It's C-centric, but you can apply the ideas to other programming
|
||
languages too.)
|
||
</P>
|
||
<P>
|
||
<A HREF="http://vig.prenhall.com/catalog/professional/product/1"
|
||
>http://vig.prenhall.com/catalog/professional/product/1</A>,4096,013490012X,00.html
|
||
</P>
|
||
<P>
|
||
--
|
||
Don Marti
|
||
</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">Re: central logging and pipping to postgresql db</FONT></H3>
|
||
Tue, 5 Jun 2001 19:02:16 -0700
|
||
<BR>Question From: control
|
||
<BR>Tip From: Don Marti (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
<!-- sig -->
|
||
|
||
<P><STRONG><BLOCKQuote>
|
||
not only do i want to have a central logserver, i also want to find a
|
||
way to log these events to a postgresql database table--this includes
|
||
and is not limited to only "secure","messages" files but all syslogd
|
||
events. what should i do?
|
||
</BLOCKQuote></STRONG></P>
|
||
<P>
|
||
syslogd supports writing to a named pipe. See man syslog.conf. So,
|
||
you could write a script to read from the named pipe and do inserts
|
||
into the database.
|
||
</P>
|
||
<P>
|
||
If something bad happens to the database, you'll still want regular logs
|
||
to fall back on, so you should log the important stuff to files too.
|
||
</P>
|
||
<P>
|
||
--
|
||
Don Marti
|
||
</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">Re: catch stdin</FONT></H3>
|
||
Thu, 7 Jun 2001 09:21:08 -0700
|
||
<br>Question From: sami
|
||
<BR>Tip From: Mike Orr (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
<P><STRONG>
|
||
On Thu, Jun 07, 2001 at 06:59:12PM +0500, sami ullah jan wrote:
|
||
i need to do something like this:
|
||
</STRONG></P>
|
||
<P><STRONG><CODE>
|
||
telnet "host"
|
||
<BR>'catch' stdin
|
||
<BR>enter username
|
||
<BR>'catch' stdin
|
||
<BR>enter passwd
|
||
</CODE></STRONG></P>
|
||
<P><STRONG>
|
||
how do i go about 'catching' the stdin?
|
||
</STRONG></P>
|
||
<P>
|
||
It sounds like you want a script to automatically log into one place.
|
||
There are a few possibilities:
|
||
</P>
|
||
<P><BLOCKQuote>
|
||
1) The 'expect' program allows a script to wait for certain characters
|
||
from the host (e.g., "ogin:" or "ssword:") and then send the specified
|
||
text. That's usually used for programs that want the entire session
|
||
under program control. Whether you can use 'expect' to log in and then
|
||
switch to interactive mode, I don't know.
|
||
</BLOCKQuote></P>
|
||
<P>
|
||
2) If you use ssh instead of telnet, you can set up your account on
|
||
'host' so that it will allow you to log into it without having to type
|
||
a password. See "man ssh".
|
||
</P>
|
||
<P>
|
||
--
|
||
Mike Orr
|
||
</P>
|
||
<P><STRONG>
|
||
hi,
|
||
thanx for the quick reply before. u guys are doig a great job.
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
QS. how do u go about writing on the soundcard? what do u need to know? i
|
||
presume its not as simple as writing to a terminal device.
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
thanx,
|
||
sami.
|
||
</STRONG></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">Completely wiping the MBR using DOS debug</FONT></H3>
|
||
Sat, 9 Jun 2001 15:36:11 +0100 (BST)
|
||
<BR>Chandima rodrigó (<a href="mailto:linux-questions-only@ssc.com">sri_prince007 from yahoo.com</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P>
|
||
hey guys.... i go it!!! I'm in love with linux!!
|
||
i found the code on site.. sorry for the bother...
|
||
this part of code did the trick!!
|
||
yep it was ben who had given the link thanx fellow!!
|
||
made my day!!
|
||
</P>
|
||
<P>
|
||
regard.
|
||
rodrigo!!
|
||
</P>
|
||
<P>
|
||
Boot with a DOS floppy that has "debug" on it; run
|
||
"debug". At the '-' prompt, "block-fill" a 512-byte
|
||
chunk of memory with zeroes:
|
||
</P>
|
||
|
||
<blockquote><code><font color="#000033"><br>f 9000:0 200 0
|
||
</font></code></blockquote>
|
||
<P>
|
||
Start assembly mode with the 'a' command, and enter
|
||
the following code:
|
||
</P>
|
||
|
||
<blockquote><code><font color="#000033"><br>mov dx,9000
|
||
<br>mov es,dx
|
||
<br>xor bx,bx
|
||
<br>mov cx,0001
|
||
<br>mov dx,0080
|
||
<br>mov ax,0301
|
||
<br>int 13
|
||
<br>int 20
|
||
</font></code></blockquote>
|
||
<P>
|
||
Press <Enter> to exit assembly mode, take a deep
|
||
breath - and press "g" to execute, then "q" to quit
|
||
"debug". Your HD is now in a virgin state, and ready
|
||
for partitioning and installation.
|
||
</P>
|
||
|
||
<blockquote><font color="#000066">Glad I could help, Rodrigo (or is that 'rodrigo!!'?
|
||
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
|
||
height="24" width="20" align="middle">
|
||
-=- Ben Okopnik!!
|
||
</font></blockquote>
|
||
|
||
<!-- 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">MS Frontpage98 Server extention Redhat Linux 6.0 vs ASP</FONT></H3>
|
||
Thu, 31 May 2001 16:00:39 -0400 (EDT)
|
||
<br>QUestion From: Francois
|
||
<BR>Tip From: Daniel S. Washko (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P><STRONG>
|
||
Hi
|
||
I am currently running MS Frontpage98 Server extension Redhat Linux 6.0
|
||
(<A HREF="http://www.apache.org/">Apache</A>) I would like to know if it is possible to run ASP on the same
|
||
configuration. Would it be a Frontpage Upgrade or would it be on the
|
||
Linux Side and is it major changes?. Any help would be highly
|
||
appreciated.
|
||
Thanx
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
Francois
|
||
</STRONG></P>
|
||
<P>
|
||
You should be able to build apache with both Frontpage98 and ASP, but you
|
||
will need to add mod_perl first. Check out this site:
|
||
<A HREF="http://www.nodeworks.com/asp"
|
||
>http://www.nodeworks.com/asp</A>
|
||
</P>
|
||
<P>
|
||
--
|
||
Daniel S. Washko
|
||
</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">YAHE: run BIND safely</FONT></H3>
|
||
Tue, 05 Jun 2001 08:04:47 -0700
|
||
<BR>Benjamin D. Smith (<a href="mailto:linux-questions-only@ssc.com">amp from benjamindsmith.com</a>)
|
||
|
||
|
||
<!-- sig -->
|
||
|
||
<P>
|
||
(Yet Another "Helpful" Email)
|
||
</P>
|
||
<P>
|
||
BIND sucks, and we all know it, even though it is a core piece of
|
||
infrastructure to the 'net. Bind 9 looks good, but I don't quite yet
|
||
feel ready to deploy it. Instead, run BIND in a chroot jail - so even
|
||
if it gets hacked, they don't "get" anything.
|
||
</P>
|
||
<P><DL><DT>
|
||
There's a howto at linuxdoc.org:
|
||
<DD><A HREF="http://www.linuxdoc.org/HOWTO/Chroot-BIND-HOWTO.html"
|
||
>http://www.linuxdoc.org/HOWTO/Chroot-BIND-HOWTO.html</A>
|
||
</DL></P>
|
||
<P>
|
||
-Ben
|
||
</P>
|
||
|
||
<blockquote><font color="#000066">Thanks Ben, and for your thoughts on the learning curve of Windows vs.
|
||
UNIX type systems, posted in the Mailbag this month. Just about any
|
||
dangerous daemon might be a tiny bit safer in a chroot jail. It's not
|
||
a perfect trap without some use of the 'capabilities' (privileges really)
|
||
in newer kernels, but it's pretty good.
|
||
-- Heather</font></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 solution to syncing with Exchange Address books as a client</FONT></H3>
|
||
Tue, 22 May 2001 20:20:53 -0700
|
||
<BR>Question From: Alan Maddison
|
||
<BR>Tip From: Heather Stern (<a href="mailto:linux-questions-only@ssc.com">The Answer Gang</a>)
|
||
|
||
<P><STRONG>
|
||
James
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
I hope that you can help me find a solution before I'm forced back to NT. I
|
||
have to find a Linux solution that will allow me to connect to an Exchange
|
||
server over the WAN and then sync address books.
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
Any suggestions?
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
Thanks.
|
||
</STRONG></P>
|
||
<P><STRONG>
|
||
Alan Maddison
|
||
</STRONG></P>
|
||
|
||
<blockquote><font color="#000066">Well, we've had numerous past articles address the matter of <EM>replacing</EM>
|
||
an Exchange server with a Linux box, but you're asking about being
|
||
a <EM>client</EM> to one...
|
||
</font></blockquote>
|
||
<blockquote><font color="#000066">And I can't just point you at the Gazette search engine
|
||
<IMG SRC="../gx/dennis/unsmily.gif" ALT=":("
|
||
height="24" width="20" align="middle"> because "Exchange"
|
||
is way too common a word. MX records and the server side of this question
|
||
will flood you, even without people just using the word for its real meaning.
|
||
</font></blockquote>
|
||
<blockquote><font color="#000066">But, we had a mention in a past issue
|
||
(<A HREF="../issue58/lg_tips58.html#2c/6"
|
||
>http://www.linuxgazette.com/issue58/lg_tips58.html#2c/6</A>) about Bynari having
|
||
a good one - they also have a server product. So I think you might find the
|
||
Insight client to be just what you need! (<A HREF="http://www.bynari.com"
|
||
>http://www.bynari.com</A>)
|
||
</font></blockquote>
|
||
<blockquote><font color="#000066">I post it again because I have to update you ... it's <EM>not</EM> free - you have to
|
||
pay them for their hard work in getting the protocols right. Their website
|
||
has a "price special" but it appears to have expired a month ago, so I have
|
||
no idea what they cost, but it's probably not trying to be too expensive.
|
||
-- Heather</font></blockquote>
|
||
|
||
<!-- end 16 -->
|
||
<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 68 of <I>Linux Gazette</I> July 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_answer68.html"><IMG ALT="[ Prev ]" SRC="../gx/navbar/prev.jpg" WIDTH="16" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="index.html"><IMG ALT="[ Table of Contents ]" SRC="../gx/navbar/toc.jpg" WIDTH="220" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><A HREF="../index.html"><IMG ALT="[ Front Page ]" SRC="../gx/navbar/frontpage.jpg" WIDTH="137" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="../faq/index.html"><IMG ALT="[ FAQ ]" SRC="./../gx/navbar/faq.jpg"WIDTH="62" HEIGHT="45" BORDER="0" ALIGN="bottom"></A><A HREF="collinge.html"><IMG ALT="[ Next ]" SRC="../gx/navbar/next.jpg" WIDTH="15" HEIGHT="45" BORDER="0" ALIGN="bottom" ></A><IMG ALT="" SRC="../gx/navbar/right.jpg" WIDTH="15" HEIGHT="45" ALIGN="bottom">
|
||
<!-- *** END navbar *** -->
|
||
</CENTER>
|
||
</BODY></HTML>
|
||
<!--endcut ========================================================= -->
|