old-www/LDP/LG/issue86/lg_tips.html

1482 lines
56 KiB
HTML

<!--startcut ==============================================-->
<!-- *** BEGIN HTML header *** -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Language" CONTENT="en-us">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="generator" CONTENT="lgazmail v1.4G.a">
<LINK REV="made" href="mailto:%20linux-questions-only@ssc.com%20"><TITLE>More 2 Cent Tips &amp; Tricks LG #86</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
ALINK="#FF0000">
<!-- *** END HTML header *** -->
<!--endcut ==============================================-->
<!-- *** 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/issue86/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>
<center>
<BIG><BIG><STRONG><FONT COLOR="maroon">More 2&cent; Tips!</FONT></STRONG></BIG></BIG><BR>
<!-- BEGIN tips -->
<STRONG>By <A HREF="mailto:linux-questions-only@ssc.com">The Readers of <i>Linux Gazette</I></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"
></a>Re: [LG 84] 2c Tips #2 --or--
<br><A HREF="#tips.1"
><strong>When LILO lies low and you see LI</strong></a>
<li><A HREF="#tips.2"
></a>Learning Red Hat 8.0 --or--
<br><A HREF="#tips.2"
><strong>Learning about mail</strong></a>
<li><A HREF="#tips.3"
><strong>a new language</strong></a>
<li><A HREF="#tips.4"
><strong>Linux Router ISP Network Ip pool Details</strong></a>
<li><A HREF="#tips.5"
></a>Why is my connection breaking? --or--
<br><A HREF="#tips.5"
><strong>security = obscurity, in this case</strong></a>
<li><A HREF="#tips.6"
><strong>Headless Linux</strong></a>
<li><A HREF="#tips.7"
></a>Re: [LG 85] help wanted #2 --or--
<br><A HREF="#tips.7"
><strong>Crashing mystery? Try no DRI</strong></a>
<li><A HREF="#tips.8"
><strong>imac_X-problems</strong></a>
<li><A HREF="#tips.9"
><strong>Compiling Kernel and Installing on a new machine</strong></a>
<li><A HREF="#tips.10"
><strong>Partitioning without setup</strong></a>
<li><A HREF="#tips.11"
><strong>Red Hat 7.3 Installation</strong></a>
<li><A HREF="#tips.12"
><strong>is this the right place?</strong></a>
<li><A HREF="#tips.13"
><strong>Switchboard</strong></a>
<li><A HREF="#tips.14"
><strong>ThumbDrive</strong></a>
<li><A HREF="#tips.15"
><strong>ip address from c program</strong></a>
<li><A HREF="#tips.16"
><strong>Tricky Linux</strong></a>
<li><A HREF="#tips.17"
><strong>Teething problems with a dual boot system</strong></a>
<li><A HREF="#tips.18"
><strong>ISO file?</strong></a>
<li><A HREF="#tips.19"
><strong>Remote X over SSH</strong></a>
<li><A HREF="#tips.20"
><strong>Debian User Worldmap</strong></a>
<li><A HREF="#tips.21"
><strong>Remote control of Linux from Windows</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">When LILO lies low and you see LI</FONT></H3>
Thu, 28 Nov 2002 09:38:15 -0700
<BR>Neil Koozer (<a href="mailto:linux-questions-only@ssc.com?cc=neilkoozer@adelphia.net&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%231">neilkoozer from adelphia.net</a>)
<!-- sig -->
<!-- sig -->
<!-- ::
When LILO lies low and you see LI
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P>
Adding to the
<a href="../issue84/lg_tips.html#tips/2">Issue 84 2 cent tip #2</a>
...
</P>
<P>
I wish to clarify what the LI result from lilo means.
</P>
<P>
The often quoted segment from the lilo readme is sort of backwards in both
halves of the sentence. When you get LI and nothing else, the second stage
loader was NOT loaded. A block of bytes was loaded, but from the wrong
location. This wrong block of bytes WAS executed, but since it is garbage
nothing is printed.
</P>
<P>
Neil.
</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">Learning about mail</FONT></H3>
Tue, 26 Nov 2002 23:09:30 -0800
<BR>Heather Stern (<a href="mailto:linux-questions-only@ssc.com?cc=jhavilan@attbi.com&cc=star@starshine.org&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%232"><em>Linux Gazette</em> Technical Editor</a>)
<BR>Question by James M. Haviland, RN (jhavilan from attbi.com)
<!-- sig -->
<!-- sig -->
<!-- ::
Learning about mail
~~~~~~~~~~~~~~~~~~~
:: -->
<P>
A continuation of
<a href="../issue85/lg_tips.html#tips/10"">Issue 85, 2 cent tip #10</a>
...
</P>
<P><STRONG>
I have installed RH's 8.0. I'll have to admit I'm in Windows at the moment.
</STRONG></P>
<P>
'sokay, that's fixable :&gt; Or if you get really tricky you can convince
a good copy of <A HREF="http://www.winehq.com/">WINE</A> to use the Windows setup, and run mswin apps even
when you are in Linux.
</P>
<P><STRONG>
Also the e-mail program that came with 8.0 that isn't connected to a
browser retrieved my mail, but wouldn't, couldn't send my mail.
</STRONG></P>
<P>
That's probably:
</P>
<P><BLOCKQuote>
Fetching mail from another serv explicitly (via POP3) works. (This is
common. Your ISP did all the work setting up and keeping that POP
server, your mailer just visits it once in a while.)
</BLOCKQuote></P>
<P>
Sending mail outbound, no SMTP server is found to talk to. (There are
a few browsers which will "speak SMTP" on their own, but they are not
very good mailers on the average, for other reasons.)
</P>
<P>
Adding an SMTP server to your setup is usually quite easy; look for an
RPM package named any one of sendmail, qmail, or postfix. (but you only
want one of them.)
</P>
<blockquote><font color="#000066">and I forgot to mention that if your ISP actually gives you the explicit
address of an SMTP server to use, say, mail.isp.example.com, then you
could try telling that to your mailer, rather than worrying about
setting up your own.
-- Heather</font></blockquote>
<P><STRONG>
Thank you for your time.
</STRONG></P>
<P>
You're welcome
<IMG SRC="../gx/dennis/smily.gif" ALT=":)"
height="24" width="20" align="middle">
</P>
<!-- 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">a new language</FONT></H3>
Wed, 27 Nov 2002 15:55:29 -0800
<BR>Rick Moen (<a href="mailto:linux-questions-only@ssc.com?cc=jackdrook@hotmail.com&cc=rick@linuxmafia.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%233">the <em>LG</em> Answer Gang</a>)
<BR>Question by Jack (jackdrook from hotmail.com)
<!-- sig -->
<!-- sig -->
<blockquote><font color="#000066">Jack asked us a question that was so general Rick answered it with the
applicable Linux answer...
-- Heather</font></blockquote>
<P><STRONG>
You lost me on the KPPP Tool and Linux. Linux is an OS, right?
</STRONG></P>
<P>
Indeed. Thus the term "Linux Answer Gang", you see.
</P>
<P><STRONG>
Now, where did I get your address? I asked some friends about how to
get my telephone to operate through the PC. One person sent me a
forward with "The Answer Guy" and the address. I believe it to have
been a page from an old site that contained pertinent information, but
not the site itself. Does this help?
</STRONG></P>
<P>
Not nearly as much as it would if you inquired with that person and
tracked down the "old site" for us. That would be much appreciated, as
we continue to be deluged with misdirected non-Linux queries.
</P>
<P><STRONG>
I am self-taught, so do not confuse me with high-altitude techtalk,
just the facts.
</STRONG></P>
<P>
Self-taught was at one time the only way to learn Linux, back when many
of us got started with it, so we sympathise, and now attempt to assist
others while, as we say, "Making Linux just a little more fun".
</P>
<P><STRONG>
What is my best approach for learning a program language?
</STRONG></P>
<P>
Well, first you'd have to install a Linux distribution, of course.
</P>
<blockquote><font color="#000066">Strictly speaking, most of these languages are available for Windows
too, but some of the mswin implementations may be less than perfectly
portable, or the documentation may suggest non-portable over portable
coding strategies. Go for dual booting, perhaps.
-- Heather</font></blockquote>
<P>
You'll find that it comes with an amazing variety of programming
language development kits, from C, C++, and Python through tk/tcl,
Java, Lisp, and heavens knows what else. I personally maintain a list
of Integrated Development Environment software for Linux, here:
<A HREF="http://linuxmafia.com/~rick/faq/#idedev"
>http://linuxmafia.com/~rick/faq/#idedev</A> . As you'll see, the list has
grown to pass 100 entries.
</P>
<P>
How you would proceed from there would depend on which type of
programming language you'd like to use, and what you want to do with it.
</P>
<P>
Cheers,
Rick Moen
</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">Linux Router ISP Network Ip pool Details</FONT></H3>
Fri, 6 Dec 2002 14:24:43 +0530
<BR>Jim Dennis and the Gang (<a href="mailto:linux-questions-only@ssc.com?cc=jeevan@asthatech.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%234">the <em>LG</em> Answer Gang</a>)
<BR>Question by jeevan (jeevan from asthatech.com)
<!-- sig -->
<!-- sig -->
<P><STRONG>
Is it possible for me to run Routing Protocols(ospf,BGP,rip) on my
Linux Box connected to an ISP (through cable modem) and obtain all the
network (including subnetwork ip pool)ip pool range of my ISP.
</STRONG></P>
<BLOCKQUOTE>
[JimD]
Look for GNU Zebra: <A HREF="http://www.zebra.org"
>http://www.zebra.org</A>
It's considered to be the best available package for Linux, and
has (I'm told) syntax that's reasonably similar to Cisco's IOS.
</BLOCKQUOTE>
<BLOCKQUOTE>
[someone else in the Gang expands]
Of course you can! This is not your grandpa's operating system, here.
OSPF v. 2 and BGP4/4+ are both supported by either the gated daemon or
the GNU zebra daemon, both of which should be standard on your Linux
distribution. Zebra can also do pretty much every variety of RIP (v.1,
v.2, and RIPng). The standard old routed (prounounced "route-dee")
daemon can do RIPv1, and gated can do RIPv2. (gated will also do EGP,
thrown into the bargain.)
</BLOCKQUOTE>
<P><STRONG>
Thanks for replying. But what I wanted exactly to know is that
should I need any kind of details from the ISP (like Router ip,ASN...)
or any permission from the ISP for my LINUX Router to have a OSPF
session with
the ISP Router.
</STRONG></P>
<P><STRONG>
With Regards
<BR>Jeevan
</STRONG></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">security = obscurity, in this case</FONT></H3>
Mon, 2 Dec 2002 23:10:33 -0500
<BR>Faber Fedor (<a href="mailto:linux-questions-only@ssc.com?cc=bmike1@vei.net&cc=faber@linuxnj.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%235">faber from linuxnj.com</a>)
<BR>Question by Michael Havens (bmike1 from vei.net)
<!-- sig -->
<!-- ::
security = obscurity, in this case
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P><STRONG>
When I go to login with my online stockbroker
</STRONG></P>
<P><STRONG>
I get this:
</STRONG></P>
<P><STRONG><BLOCKQuote>
"Connection to host www15.scottsave.com is broken"
</BLOCKQuote></STRONG></P>
<P><STRONG>
Why do you think that is and what do you think can be done about it?
</STRONG></P>
<BLOCKQUOTE>
Let me guess, you're using the Konqueor 3.0 web browser, right? Konq is
broken with respect to SSL sites. I have the same problem and I need to
find an updated Konq to use or switch to another browser.
</BLOCKQUOTE>
<blockquote><font color="#000066">I'm not able to verify this; it could just be the same problem as in
Konqueror 2.x, where the SSL support is a seperate package
(kdebase-crypto under Debian; your distro may vary), and Konqueror only
visits non-encrypted URLs if you don't have that package installed.
Of course it doesn't bother to <EM>say</EM> so... an error message like
"https: protocol not supported" would have been a little more useful.
-- Heather</font></blockquote>
<BLOCKQUOTE>
Galeon and Mozilla will work, but you need to d/l the Personal Security
Manager (PSM). I've looked at installing it and it looks like a PITA.
</BLOCKQUOTE>
<BLOCKQUOTE>
Until I find an updated Konq or install PSM, I use an old version of
Netscape (4.x) which works fine.
</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">Headless Linux</FONT></H3>
Sun, 22 Dec 2002 22:54:45 -0800
<BR>Dan Wilder (<a href="mailto:linux-questions-only@ssc.com?cc=admin@bsdfan.cncdsl.com&cc=dan@ssc.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%236">SSC sysadmin</a>)
<BR>Question by Steve B. (admin from bsdfan.cncdsl.com)
<!-- sig -->
<!-- sig -->
<P><STRONG>
I've been looking around and can't find the info I need. How do I
configure Linux to run headless with a terminal connected to a serial
port?
</STRONG></P>
<P>
Not quite headless, with a serial terminal connected. I choose to
call the condition "nearly headless", after the phantom named
"Nearly Headless Nick" in the Harry Potter series.
</P>
<P>
Take a look at:
</P>
<P><BLOCKQuote>
Documentation/serial-console.txt
</BLOCKQuote></P>
<P>
in the kernel source. This won't get you quite everything you'd
get from a console connected. In particular, you don't have access
to the BIOS. But if you can get past that, you're pretty much
there. You can even tell LILO to use the serial port, as described
in the documentation file. No doubt there's also a GRUB option
for serial console, if that's the boot loader you're using.
</P>
<P>
As I understand it, there's at least one card which will even
make the BIOS available via a serial port.
</P>
<!-- 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">Crashing mystery? Try no DRI</FONT></H3>
Wed, 11 Dec 2002 08:19:37 -0500
<BR>Drew S (<a href="mailto:linux-questions-only@ssc.com?cc=linux_man_us@hotmail.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%237">linux_man_us from hotmail.com</a>)
<!-- sig -->
<!-- sig -->
<!-- ::
Crashing mystery? Try no DRI
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
:: -->
<P>
Something for rajachemist of
<a href="../issue85/lg_mail/#wanted/2">Issue 85 Help wanted #2</a>
to try.
</P>
<P>
Though you never mentioned what your video card was, I will respond since I
was having a similar problem with Mandrake Linux 9.0 on my home-built
machine. I was getting lockups all the time and yet I could ssh into the box
from another machine and see that everything behind the scenes was still
running fine. Just X froze, but it also meant that I could not kill it with
CTRL-ALT-BACKSPACE. I happened to have an ATI Xpert 2000 video card (Rage
128 chipset). The ONE item that fixed it was that the card does not seem to
handle DRI properly. I commented out the line in my XF86Config file that
said: load "dri", restarted X and I never saw the problem again. Perhaps
your problem is similar.
</P>
<P>
Drew
</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">imac_X-problems</FONT></H3>
Thu, 28 Nov 2002 10:24:46 -0800
<BR>Rick Moen (<a href="mailto:linux-questions-only@ssc.com?cc=kuettner@tuebingen.mpg.de&cc=rick@linuxmafia.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%238">the <em>LG</em> Answer Gang</a>)
<BR>Question by kuettner (kuettner from tuebingen.mpg.de)
<!-- sig -->
<!-- sig -->
<P><STRONG>
after using linux for several years now on i-586 I tried to install it
on my imac-g4. the problem: I do not get X to run, because of my
NVIDIA GeForce4 MX. I am using debian woody for ppc and don't find
any hints in the net. can anybody send me a working XF86Config for
XFree 4.1.0 or any other help.
</STRONG></P>
<P>
It looks like you'll need XFree86 4.2.0 or later, and will have to use
the "vesa" driver (not the "nv" driver) in 16-bit mode, which is the
only one supported thus far.
</P>
<P>
As you may know, these things do tend to happen with newly introduced
video chipsets, and Nvidia have unfortunately been notably uncooperative
with the XFree86 Project.
</P>
<blockquote><font color="#000066">That they didn't buy into the XFCom release sequence (compatible
binaries, source eventually committed to the open source X code tree) and
want to roll their own we can understand; but they have to keep up with
the Xfree86 codebase or it makes them look slow. And act slow, if one has
to back down to the generic servers in order to work...
-- Heather</font></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">Compiling Kernel and Installing on a new machine</FONT></H3>
Sat, 7 Dec 2002 13:11:07 -0800
<BR>Jim Dennis (<a href="mailto:linux-questions-only@ssc.com?cc=Sunil.Kayiti@fmr.com&cc=jimd@starshine.org&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%239">the <em>LG</em> Answer Guy</a>)
<BR>Question by Sunil Kayili (Sunil.Kayiti from fmr.com)
<!-- sig -->
<!-- sig -->
<P><STRONG>
I am in a catch-22 situation. There might be an easy answer for this but I
am not able to work around this problem. Sending this problem here.
</STRONG></P>
<P><STRONG>
Server Configuration:
</STRONG></P>
<blockquote><code><font color="#000033"><br> Chipset 440GX
<br> Micron NetFrame 3400
<br> Adaptec 7680 SCSI Adapter (aic7xxx - HBA 6.2.8)
<br> Mylex Raid - DAC960
</font></code></blockquote>
<P><STRONG>
Software:
</STRONG></P>
<blockquote><code><font color="#000033"><br> RedHat 8.0 - Linux Kernel 2.4.18-14
</font></code></blockquote>
<P><STRONG>
Problem:
</STRONG></P>
<P><STRONG><BLOCKQuote>
With 2.4.18-14 there is a problem in the kernel which loops on aic7xxx
during boot up, hence it does not boot.
</BLOCKQuote></STRONG></P>
<P><STRONG>
Solution:
</STRONG></P>
<P><STRONG><BLOCKQuote>
Compile the latest kernel 2.4.18-20rc4
</BLOCKQuote></STRONG></P>
<P><STRONG>
Catch-22:
</STRONG></P>
<P><STRONG><BLOCKQuote>
I built the latest kernel on my other linux machine and wrote it into a
CD ROM. Now how do I transfer it into my NetFrame Server.
</BLOCKQuote></STRONG></P>
<P><STRONG>
I boot into the rescue mode using the installation CD but once in the
rescue mode, I am unable to eject the CD. I have tried all possible
mount points to eject the cd but to no avail.
</STRONG></P>
<p><Strong><ol>
<LI>Is there a any way to transfer the new kernel image into my NetFrame
PC? I exhausted all options, i,e network (since it is in rescue mode)
<LI>Is there a way to disable linux to take control of the CDROM ejection
mechanism?
</ol></Strong></p>
<P><STRONG>
Your help greatly appreciated.
</STRONG></P>
<P><STRONG>
Thanks
<BR>Sunil
</STRONG></P>
<BLOCKQUOTE>
Suggestions:
</BLOCKQUOTE>
<blockQuote><ul>
<LI>Use a Tom's Root/Boot floppy.
<LI>Burn a bootable CD with the Tom's Root/Boot "El Torito" boot image
(and your new kernel, etc. in all that other CD-R space)
<LI>Use the ifconfig and route commands (on just about any rescue
CD or floppy) to manually configure your network, then fetch
a tarball of the kernel and modules (etc) from any other machine
on your network (using mount -t nfs, or wget or an FTP client).
<LI>Install an extra CD-ROM drive
<IMG SRC="../gx/dennis/smily.gif" ALT=";)"
height="24" width="20" align="middle">.
<LI>Configure a system on your network as a bootp/dhcpd server, install
PXELinux, configure it to transfer a custom network rescue kernel
and initrd system to your server, then configure the NetFrame to
boot using PXE, etc).
</ul></blockQuote>
<BLOCKQUOTE>
(Okay, that last one is way too much effort for way too little gain
and the one before that is just plain silly).
</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">Partitioning without setup</FONT></H3>
Wed, 25 Dec 2002 22:46:15 GMT
<BR>Dan WIlder and Pradeep Padala (<a href="mailto:linux-questions-only@ssc.com?cc=bmdean@socket.net&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2310">the <em>LG</em> Answer Gang</a>)
<BR>Question by Brandon Dean (bmdean from socket.net)
<!-- sig -->
<!-- sig -->
<P><STRONG>
Hello,
</STRONG></P>
<P><STRONG>
I would like to know what linux program to get that I could use to repartition
a hard drive without going through setup.
</STRONG></P>
<P><STRONG>
Thank You,
<BR>Brandon Dean
</STRONG></P>
<BLOCKQUOTE>
[Dan]
fdisk
</BLOCKQUOTE>
<BLOCKQUOTE>
See "man fdisk"
</BLOCKQUOTE>
<BLOCKQUOTE>
[Pradeep]
If you want to repartition without losing data, GNU Parted is a great
tool. Details at:
</BLOCKQUOTE>
<BLOCKQUOTE><BLOCKQuote>
<A HREF="http://www.gnu.org/software/parted"
>http://www.gnu.org/software/parted</A>
</BLOCKQuote></BLOCKQUOTE>
<BLOCKQUOTE>
You can also use fdisk or diskdruid but both will destroy the data after
repartitioning. These two should be installed by default in most of the
distributions.
</BLOCKQUOTE>
<blockquote><font color="#000066">Don't forget to make good backups first
-- Heather</font></blockquote>
<!-- 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">Red Hat 7.3 Installation</FONT></H3>
Tue, 24 Dec 2002 13:19:39 -0500
<BR>Pete Keller (<a href="mailto:linux-questions-only@ssc.com?cc=dhar_mca@jntu.net&cc=pkeller01@snet.net&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2311">pkeller01 from snet.net</a>)
<BR>Question by (dhar_mca from jntu.net)
<P><STRONG>
Friends,
Last week I posed a question for booting with 3 OSes. Thank U.
</STRONG></P>
<P><STRONG>
Here I again partitioned ... [lots of stuff about prepared system]
I am trying boot from boot
disk. It is coming upto "localhost login:" after which GUI screen be
displayed. It displays the localhost login: prompt for a second or a half
and then hangs. I thought its a problem with monitor sync values. Mine was
samsung's samtron 56V model. But in the list specified - no exact match
for it. So I opted for the default given (unprobed type)and modified the
sync values with the ones given in my monitor manual. (My friends who have
already loaded windows, have not even changed the sync values). One of my
friend got the same problem. But his system didn't hang but it flashes
between blank screen and the text based localhost prompt.
</STRONG></P>
<blockquote><font color="#000066">His "chooser" - the GUI login, keeps crashing but the system keeps
trying to put it back up. kdm, gdm, xdm, one of those dm thingies.
-- Heather</font></blockquote>
<P><STRONG>
He was able to
login. He logged into it with root and modified the Xconfigurator and now
works fine.
</STRONG></P>
<P><STRONG>
Plz assist me.
</STRONG></P>
<BLOCKQUOTE>
[Pete]
</BLOCKQUOTE>
<blockQuote><ol>
<LI>press control alt and F1 to get a text login.
<LI>login as root and run Xconfigurator
</ol></blockQuote>
<blockquote><font color="#000066">If you're hung too hard for that to work, use the boot loader to put
yourself in sincgle user mode, then fix the boot runlevel (/etc/inittab
default entry) to stay in text mode. For Red Hat flavors that's
runlevel 3. Set it back when you'r sure it's fixed, use startx as a
user to run X explicitly while experimenting.
-- Heather</font></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">is this the right place?</FONT></H3>
Wed, 27 Nov 2002 11:41:44 -0800
<BR>Mike Orr (<a href="mailto:linux-questions-only@ssc.com?cc=jhavilan@attbi.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2312"><em>Linux Gazette</em> Editor</a>)
<BR>Question by James M. Haviland, RN (jhavilan from attbi.com)
<!-- sig -->
<!-- sig -->
<P><STRONG>
If I may. Is this the news group of ssc.com?
</STRONG></P>
<blockquote><font color="#000066">I'm the Technical Editor; I'm cc'ing the Gang, so everyone can chime in
if they like.
-- Heather</font></blockquote>
<P><STRONG>
Is it better in the future to write <A HREF="mailto:linux-questions-only@ssc.com"
>linux-questions-only@ssc.com</A>? Will the
server accept my e-mail
</STRONG></P>
<P><STRONG>
TIA
Jim
</STRONG></P>
<blockquote><font color="#000066">Yes. Linux-questions-only accepts queries from anybody; members of the
list see all such messages and are expected to answer a few here and there.
-- Heather</font></blockquote>
<BLOCKQUOTE>
Just to be clear, this mailing list (<A HREF="mailto:linux-questions-only@ssc.com"
>linux-questions-only@ssc.com</A>) is
owned by Linux Gazette (www.linuxgazette.com), which is published by SSC.
However, most of LG's contributors and Answer Gang members are independent
volunteers not related to SSC.
</BLOCKQUOTE>
<BLOCKQUOTE>
There is no single ssc.com mailing list or news group. SSC hosts many
mailing lists, some related to our business and others we host as part of our
general commitment to Linux and to free software.
</BLOCKQUOTE>
<BLOCKQUOTE>
Questions about Linux should go to <A HREF="mailto:linux-questions-only@ssc.com"
>linux-questions-only@ssc.com</A>. Questions
about SSC should go to... well, it depends on the question. Send it to
<A HREF="mailto:info@ssc.com"
>info@ssc.com</A> if you're unsure where to direct it.
</BLOCKQUOTE>
<BLOCKQUOTE>
There is also linux-list, a discussion list about everything Linux (except
advocacy or flame wars). linux-list is hosted by SSC and has a strong Pacific
Northwest emphasis, but we do have people from other regions and people who
have moved away but still want to keep in touch. To subscribe to linux-list or
to any of SSC's other public lists, go to <A HREF="http://www.ssc.com/mailman/listinfo"
>http://www.ssc.com/mailman/listinfo</A> .
</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">Switchboard</FONT></H3>
Wed, 27 Nov 2002 11:49:35 -0800
<BR>Ashwin N and Heather Stern (<a href="mailto:linux-questions-only@ssc.com?cc=JRook78123@aol.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2313">the <em>LG</em> Answer Gang</a>)
<BR>Question by JRook78123 (JRook78123 from aol.com)
<!-- sig -->
<!-- sig -->
<P><STRONG>
Dear Answerguy,
</STRONG></P>
<BLOCKQUOTE>
[Ashwin]
Hi Jack,
</BLOCKQUOTE>
<BLOCKQUOTE>
There is no longer an answer guy here, but a gang of Linux enthusiasts!
We answer queries on Linux in our free time.
</BLOCKQUOTE>
<P><STRONG>
I used to have an IBM Aptiva system that had in the bundle a switchboard
supplied by Phoenix.
I now have an hp pavilion 7850. It has a modem and phone dialer, but I
cannot use the telephone through my computer as before.
Is there some way to connect to my telephone line for normal surface
telephone lines? What would I need to do?
</STRONG></P>
<BLOCKQUOTE>
[Ashwin]
If you're using Linux, have you tried connecting using the KPPP tool?
</BLOCKQUOTE>
<BLOCKQUOTE>
[Heather]
I'm not sure, but if he means that his computer used to handle the voice
lines in his office (and yes, there are such things, which have some
cute GUI app to configure them) ... then he may want to play with the
program Asterisk, and maybe the hardware "LineJack" or "PhoneJack" by
Quicknet, which are telephony cards you add to a computer.
</BLOCKQUOTE>
<BLOCKQUOTE>
If he just means that his computer needs to reach the internet, then
it's true we have a bunch of dialer-helpers (KPPP is one of the better
ones; xisp and a few others are out there) ... but he will still need
to know some basic things like his ISP's phone number, the username
he was assigned, and maybe some connection features like whether they
use PAP or CHAP to identify him.
</BLOCKQUOTE>
<BLOCKQUOTE>
These are all things which his ISP can tell him better than we could.
</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">ThumbDrive</FONT></H3>
Mon, 2 Dec 2002 01:57:17 +0100
<BR>Robos (<a href="mailto:linux-questions-only@ssc.com?cc=linux_lover2003@yahoo.co.in&cc=robos@muon.de&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2314">the <em>LG</em> Answer Gang</a>)
<BR>Question by Syborg (linux_lover2003 from yahoo.co.in)
<!-- sig -->
<P><STRONG>
Is it possible to install Linux on
a thumb drive(size 120 MB).
Or Can I copy selected files from my normal
linux installation(RH 7.2 on a 40 GB hard disk)
and make the thumb drive bootable independently.
What is the best way to do this?
I thought of copying files from my
normal linux installation.But i am in doubt whether
i can boot this drive in this way.
Looking forward to your suggestions.
</STRONG></P>
<P><DL><DT>
Short answer -- try this:
<DD><A HREF="http://freshmeat.net/projects/runt"
>http://freshmeat.net/projects/runt</A>
</DL></P>
<blockquote><font color="#000066">A Linux distro optimized for a USB gadget. I like it. So, as
long as your BIOS supports booting from USB devices, you should be
golden
-- Heather</font></blockquote>
<!-- 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">ip address from c program</FONT></H3>
Fri, 06 Dec 2002 17:25:28 -0800
<BR>George Victor Tereshko (<a href="mailto:linux-questions-only@ssc.com?cc=daven@web-wise.com&cc=georget@genesyslab.com&cc=mion@neocom.fr&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2315">georget from genesyslab.com</a>)
<BR>Question by Dave N. (daven from web-wise.com)
<!-- sig -->
<!-- sig -->
<br>Answered By Jim Dennis (The <em>LG</em> Answer Guy), Marian ION
<P>
In reply to
<a href="../issue85/lg_mail.html#wanted/3">LG 85, help wanted #3</a>
</P>
<blockquote><em><font color="#000033"><br>I need to identify the ip address of the client fron within a c program
</font></em></blockquote>
<P><STRONG>
On Solaris
</STRONG></P>
<BLOCKQUOTE>
[JimD]
Grump. This is a Linux magazine.
</BLOCKQUOTE>
<P><STRONG>
trace the incoming connections and:
</STRONG></P>
<p align="center">See attached <tt><a href="misc/tips/solaris.getting-ip-address.c.txt">solaris.getting-ip-address.c.txt</a></tt></p>
<BLOCKQUOTE>
[JimD]
If I'm reading it correctly this translates roughly to:
</BLOCKQUOTE>
<blockquote><pre>dmesg | tail -1 | grep " from " | sed -e 's/^.* from //' | cut -c '0-6'
</pre></blockquote>
<BLOCKQUOTE>
... which could be simplified somewhat in PERL, awk, or Python,
and could probably be munged to perform most of the string handling
just using bash/Korn parameter substitution magic with something
vaguely like:
</BLOCKQUOTE>
<blockquote><pre>... | grep " from " | while read line; do
line=${line//#* from /}; ipaddr=${line:0:6}; ...
</pre></blockquote>
<BLOCKQUOTE>
Note: I'm just using shell syntax here because I consider it the
easiest way to express the concept of what you're doing ---
a psuedo-code to people like me who use shell extensively.
</BLOCKQUOTE>
<BLOCKQUOTE>
Unfortunately this code is not close to what the querent was after.
He actually wants to have his program do something like:
</BLOCKQUOTE>
<blockquote><code><font color="#000033"><br> if my input/output is a tty then:
<br> if my tty is an inet domain socket then:
<br> ask the socket for the remote (source) ip address
</font></code></blockquote>
<BLOCKQUOTE>
... which will involve the isatty(3) library function and the
getsockname(2) system call (and some other structs and munging).
</BLOCKQUOTE>
<BLOCKQUOTE>
There's an example of the code for this in Wietse Venema's
TCP Wrappers sources for tcpd. That code is quite portable, well
testing (running on almost all mainstream Linux boxes for about a
decade, as well as most BSD systems, and many others.
</BLOCKQUOTE>
<BLOCKQUOTE>
Your code relies on details about how a given system might be
logging connections via syslog/klog or similar externalities, and
it's inherently a race (other connections may be logged between the
time the message gets put in the dmesg ring buffer and the time when
his code is scheduled to run).
</BLOCKQUOTE>
<BLOCKQUOTE>
I'm not much of a C programmer. I've done a little, even having written
a simple kernel device driver that's in production use. However, I
rely very heavily on reading examples of similar code.
</BLOCKQUOTE>
<BLOCKQUOTE>
In general when looking for how to do something like this (figure out
the remote system's IP address from one of your file descriptors) I
try to think about which programs on my system must be doing something
similar. Sometimes I run the similar program under strace, even ltrace
for some hints. Then I grab their sources and read up on it. (Usually I
can use a man -k or two to make a pretty good guess at which library
functions or system calls are involved, even without an strace).
</BLOCKQUOTE>
<BLOCKQUOTE>
George, I hope you don't think I'm being hard on you. I realize that
tech support, particularly trying to help people with programming
questions, is difficult.
</BLOCKQUOTE>
<BLOCKQUOTE>
Dave, I hope this helps. I'm assuming you can figure out the actual
code on your own. One reason I display my ignorance by telling
people <EM>how</EM> I discovered whatever I'm suggesting is to "teach the
world how to fish." I've never written code to use <TT> sockname()</TT> and
hadn't ever noticed it until I did a man -k socket while writing this
message.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Marian]
</BLOCKQUOTE>
<blockquote><pre>struct sockaddr_in from;
socklen_t fromlen;
fromlen = sizeof (struct sockaddr_in);
getpeername (fdi, (struct sockaddr *)&amp;from, &amp;fromlen);
printf ("You are %s:%u\n",inet_ntoa (from.sin_addr), (unsigned)ntohs
(from.sin_port));
</pre></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">Tricky Linux</FONT></H3>
Mon, 23 Dec 2002 14:12:15 -0400
<BR>Kapil Hari Paranjape, Huibert Alblas (<a href="mailto:linux-questions-only@ssc.com?cc=Hritesh.Moorjani@zenitel.biz&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2316">the <em>LG</em> Answer Gang</a>)
<BR>Question by Hritesh Moorjani (Hritesh.Moorjani from zenitel.biz)
<!-- sig -->
<!-- sig -->
<P><STRONG>
Dear Sir,
</STRONG></P>
<P><STRONG>
After soo many years have I waited to use Linux as my principle OS as we
both know how much problems we have to go through with Microsoft. I've
waited for years for Linux to be user friendly and finally our prayers have
been answered. I have over twenty machines in my department and soon if I'm
able to resolve some of the problems with software compatibility and
substitutes. I would probably migrate everyone of us to Linux from Windows.
</STRONG></P>
<BLOCKQUOTE>
[Kapil]
Welcome to the Brave GNU World! But be warned that if you want to
administer a network of machines in any world you can't depend on
user-friendly parts but only on the sysadmin-friendly parts!
</BLOCKQUOTE>
<P><STRONG>
My only problem is right now, I have an NT Server running Exchange 5.0 and
our principle desktop was supposed to be NT workstation with Outlook 97.
Obviously, as an administrator, I never follow protocols.
</STRONG></P>
<BLOCKQUOTE>
[Kapil]
Quite a big confession that. Would other sysadmins be as honest and
own up?!
</BLOCKQUOTE>
<P><STRONG>
I had Windows 2000
with Outlook 2000 and it worked perfectly. Now that I have installed <A HREF="http://www.redhat.com/">Red Hat</A>
Linux workstation, I successfully connected to the server via DHCP and I can
easily surf. But what I can't do is check my email through Ximian Evolution
Email Service. My domain is MARS and the server name is MAIN. In exchange,
we have IMAP4 and POP3. In Linux, I tried to configure the Ximian Evolution
as <TT>IMAP.MAIN.COM</TT> and <TT>POP3.MAIN.COM.</TT> Ofcourse we don't have extranet so we
can't browse through the Browser. It doesn't work. I even tried my login
name with the hostname and it still doesn't work. Can you help me ?
</STRONG></P>
<P><STRONG>
Thanks.
</STRONG></P>
<P><STRONG>
Hritesh
</STRONG></P>
<BLOCKQUOTE>
[Kapil]
Obviously you have confused Win NT domains with DNS domains. To have a
DNS domain (which you don't seem to need since you have no extranet)
you need to have an authoritative DNS name server.
</BLOCKQUOTE>
<BLOCKQUOTE>
If your entire network is only served through Win NS you should check
up the documentation on Samba to configure your machine as a Win NS
client. You can stick with localhost.localdomain for your DNS name
unless you want to be more imaginative!
</BLOCKQUOTE>
<BLOCKQUOTE>
[Halb]
Maybe you should look into Ximian Connector, it will enable to use
Evolution as a complete Exchange client. Ximian will be happy to sell
you these at $69.00 a piece, but this sholud not be a real problem for a
company....... if this is the solution to your problem. Maybe Kapil Hari
Paranjape's answer is more the direction you should be looking at.
</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">Teething problems with a dual boot system</FONT></H3>
Tue, 24 Dec 2002 10:21:22 +0000
<BR>Huibert Alblas, John Karns (<a href="mailto:linux-questions-only@ssc.com?cc=toddncl@hotmail.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2317">the <em>LG</em> Answer Gang</a>)
<BR>Question by john todd (toddncl from hotmail.com)
<!-- sig -->
<!-- sig -->
<P><STRONG>
Hi there, I was wondering if you could help me out here. I have a dual boot
system running XP and red hat 8.0. I have just recently installed red hat
and am finding a few problems whilst setting up the system. My computer has
2 physical hard disks (primary master, and secondary master) the first
(hda1) has that nasty windows thingy on it (I left the file system as fat32
so I could go back to 98se if need b). Hda2 has red hat on. I can mount and
access hda1 when in Linux, but I cannot access my second (fat32) hard drive
at all. I have all my operating systems and software on the first hard drive
and all my work on the second, so this is starting to wind me up a bit now!
</STRONG></P>
<blockquote><font color="#000066">It's not entirely clear if he can still see that work drive from
Windows; if he can, Halb's probably right. John K's hints are good
before someone starts setting up, so people can have better results.
It may also be worth noting that hda2 is the second partition on the
first drive; a second drive on the same IDE chain would be hdb, and
its partitions also numbered, so maybe he just needs to mount /dev/hdb1
as well.
</font></blockquote>
<blockquote><font color="#000066">NT filesystem support for Linux, claiming to read all versions:
<A HREF="http://linux-ntfs.sourceforge.net"
>http://linux-ntfs.sourceforge.net</A>
-- Heather</font></blockquote>
<BLOCKQUOTE>
[Halb]
By the look of things I would say you have NTFS on your second
Harddrive. This is common behaviour on M$ machines becouse FAT23
partition sizes are artificialy restricted to 32 Gigs ( not that big for
nowaday harddrives) M$ will automagicly change to NTFS, this might be
the reason why you are not able to mount it. This presumes that you have
made all the correct entries in your <TT>/etc/fstab.</TT>
</BLOCKQUOTE>
<BLOCKQUOTE>
[John]
My guess is that perhaps you lost your fat32 partition on the 2nd hd. How
did you set up your partition(s) on hda2 when installing RH8? The
recommended method would be something like:
</BLOCKQUOTE>
<blockQuote><ul>
<LI>back up the existing partition if it contained anything of interest
<LI>use a non-destructive method of dividing the 2nd hd into multiple
partitions (e.g., GNU parted, fips, Partition Magic - there are several
to choose from).
<LI>install Linux on a newly-created partition on hd2
</ul></blockQuote>
<P><STRONG>
also when I re-start my computer I need to mount the hda1 each time. Any
help would be greatly appreciated.
</STRONG></P>
<BLOCKQUOTE>
[Halb]
here you can make an
entry for <TT>/dev/hda1</TT> like this or whatever your liking is:
</BLOCKQUOTE>
<blockquote><pre>/dev/hda1 /WIN2K vfat defaults,noatime 0 0
</pre></blockquote>
<!-- end 17 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="tips.18"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">ISO file?</FONT></H3>
Thu, 28 Nov 2002 16:10:57 +0000 (GMT)
<BR>Dan Clark, Faber Fedor, Mike Orr (<a href="mailto:linux-questions-only@ssc.com?cc=lil_p84@yahoo.co.uk&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2318">the <em>LG</em> Answer Gang</a>)
<BR>Question by Paul Bailey (lil_p84 from yahoo.co.uk)
<P>
What exactly is an ISO file? I downloaded what i thought was a game and
it is an ISO file. Can you convert this into an EXE file? and do ISO
files only work on LINUX. Your help will be greatly appreciated thank you.
</P>
<P>
Lil_P
</P>
<BLOCKQUOTE>
[Iron]
This gets the award for the most frequently-asked question of the month.
I think it's the third time somebody has asked how to play .iso games.
</BLOCKQUOTE>
<BLOCKQUOTE>
ISO9660 is the file format used for CD-ROMs, named after the International
Standards Organization's standard that defines it. "ISO" is sometimes
used as an abbreviation. Whether that's the format <EM>your</EM> file is in is
a different matter; it could be anything. The .iso extension isn't
universal like .txt, .html, .jpg, etc. What does the "file" command
say about your file?
</BLOCKQUOTE>
<BLOCKQUOTE>
Assuming the file <EM>is</EM> really an ISO9660 filesystem image, you can write
it directly to a CD and then either read the CD or boot from it.
You'd write the image using "cdrecord" on Linux
or one of its GUI front-ends like KOnCD in <A HREF="http://www.kde.org/">KDE</A>. Skip the first step
(making an image file from a directory hierarchy) because you already
have the image.
</BLOCKQUOTE>
<BLOCKQUOTE>
[Faber]
ISO files are binary versions of CDs. If you were to copy a CD byte for
byte (NOT file for file), you would have an ISO file.
</BLOCKQUOTE>
<P><STRONG>
[Dreamgazer]
and how can I open them without copying to cd
</STRONG></P>
<BLOCKQUOTE>
When I found out how to do this in Linux I was <EM>so</EM> impressed with Linux!
Let's say you have a directory called <TT>/mnt/my_iso</TT> and your ISO is called
<TT>/home/Dreamgazer/my_iso_file.</TT> You can mount the ISO
with the command:
</BLOCKQUOTE>
<blockquote><pre>mount -t iso9660 -o ro,loop=/dev/loop1 /mnt/my_iso /home/Dreamgazer/my_iso_file
</pre></blockquote>
<BLOCKQUOTE>
and then you can access any of the files in the ISO by going to the
<TT>/mnt/my_iso</TT> directory! Cool, eh?!
</BLOCKQUOTE>
<BLOCKQUOTE>
Let's see Windows do <EM>that</EM> !
</BLOCKQUOTE>
<blockquote><font color="#000066">Actually, just saying -o loop is enough; iso9660 defaults to read-only,
and you don't have to tell it which loop device comes next, it can
figure it out all alone. I loopback mount CD images a <EM>lot</EM> myself.
I have to make sure not to run out of loops available.
-- Heather</font></blockquote>
<BLOCKQUOTE>
[Iron]
It may fail for many reasons such as loop device busy (choose another
loop device <TT>/dev/loop*</TT>), your kernel not having loop device support, the
<TT>/dev/loop*</TT> files not existing, etc. When you've finished inspecting the
files under <TT>/mnt</TT>, do:
</BLOCKQUOTE>
<blockquote><pre>umount /mnt
</pre></blockquote>
<BLOCKQUOTE>
to unmount the image (note the command name has one "n" instead of two).
See "man mount". A couple details:
</BLOCKQUOTE>
<blockQuote><ol>
<LI>You may be able to just use "-o ro,loop" instead and let it choose an
unused loopback device, see the manpage for details.
<LI>The manual says it's more convenient to mount and unmount loopback
devices if /etc/mtab is a regular file and not a symbolic link to
/proc/mounts. That answers another question The Answer Gang was unsure
about a couple months ago, whether you lose anything by symlinking the
two together. (What you gain by symlinking them together is that
/etc/mtab -- and thus what "mount" without options reports -- will
always be up to date.)
</ol></blockQuote>
<BLOCKQUOTE>
[Dan]
A free trial of mswin software that will let you open, create, and extract
(we guess this means "view the filesystem inside of") ISO files.
</BLOCKQUOTE>
<BLOCKQUOTE>
<A HREF="http://www.undisker.com/download.html"
>http://www.undisker.com/download.html</A>
</BLOCKQUOTE>
<!-- end 18 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="tips.19"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Remote X over SSH</FONT></H3>
Mon, 25 Nov 2002 21:11:17 +0100
<br>G&uuml;rkan Seng&uuml;n
(<a href="mailto:linux-questions-only@ssc.com?cc=gurkan@linuks.mine.nu&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2319">gurkan from linuks.mine.nu</a>)
<!-- sig -->
<!-- sig -->
<P>
You need a user account for the host you want to login to.
The server should be accessible over SSH (normally TCP/22), and should have
X11 forwarding configured.
</P>
<blockquote><pre>$ netstat -a |grep ssh
tcp 0 0 *:ssh *:* LISTEN
$ grep orwarding /etc/ssh/sshd_config
X11Forwarding yes
</pre></blockquote>
<h4 align="center"><br>X server and SSH client for Windows(r)
</h4>
<blockQuote><ul>
<LI>Putty, SSH client suite
<A HREF="http://www.chiark.greenend.org.uk/~sgtatham/putty"
>http://www.chiark.greenend.org.uk/~sgtatham/putty</A>
<LI>StarNet's X-Win32 (commercial)
<A HREF="http://www.starnet.com"
>http://www.starnet.com</A>
<LI>MicroImages MI/X for Windows (commercial, but very cheap; free demo.)
<A HREF="http://www.microimages.com/freestuf/mix"
>http://www.microimages.com/freestuf/mix</A>
<LI>X server: Cygwin's XFree port to win32 (open source)
<A HREF="http://www.cygwin.com/xfree"
>http://www.cygwin.com/xfree</A>
<LI>Xserver: fwx (a much smaller, dustier project)
<A HREF="http://sourceforge.net/projects/fwx"
>http://sourceforge.net/projects/fwx</A>
%+%
%-
<LI>start your Xserver. We'll assume it's called xs.exe
<LI>start Putty
<LI>activate X11 forwarding in Putty
<LI>activate SSH 2 protokoll
<LI>configure SSH port, normally 22
<LI>connect to server user@1.2.3.4
<LI>enter password
</ul></blockQuote>
<P>
On UNIX, BSD or Linux you can use any X server and SSH client you want.
</P>
<blockquote><pre>$ ssh -X user@1.2.3.4
user@1.2.3.4's password:
</pre></blockquote>
<h4 align="center"><br>Starting the window manager
</h4>
<P>
This will start the amiwm window manager in the background and display it
on your X server window (xs.exe).
</P>
<blockquote><pre>$ amiwm &amp;
</pre></blockquote>
<h4 align="center"><br>Screen in five minutes
</h4>
<P>
We become super-user.
</P>
<blockquote><pre>$ su
Password:
</pre></blockquote>
<P>
We start iptraf as daemon (screen session in detached mode).
</P>
<blockquote><pre># screen -dmS iptraf iptraf
</pre></blockquote>
<P>
We list our SockDir.
</P>
<blockquote><pre># screen -ls
There are screens on:
604.iptraf (Detached)
1 Socket in /var/run/screen/S-root.
</pre></blockquote>
<P>
We reattach to our detached screen process and detach from it.
</P>
<blockquote><pre># screen -r
&amp;lt;ctrl-a-d&amp;gt;
[detached]
</pre></blockquote>
<blockquote>G&uuml;rkan Seng&uuml;n
<br><em><font color="#000033"><br>http://www.linuks.mine.nu
<br>Windoze not found: (C)heer, (P)arty or (D)ance?
</font></em></blockquote>
<!-- end 19 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="tips.20"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Debian User Worldmap</FONT></H3>
Mon, 25 Nov 2002 21:11:17 +0100
<br>G&uuml;rkan Seng&uuml;n
(<a href="mailto:linux-questions-only@ssc.com?cc=gurkan@linuks.mine.nu&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2320">gurkan from linuks.mine.nu</a>)
<P>
A fun thing to do; see where fellow <A HREF="http://www.debian.org/">Debian</A> users are, check in.
I will try to make the page better with time:
Like click on a place and find friends (a list) nearby,
show how it's done etc...
</P>
<P>
<A HREF="http://www.linuks.mine.nu/debian-worldmap"
>http://www.linuks.mine.nu/debian-worldmap</A>
</P>
<blockquote>G&uuml;rkan Seng&uuml;n
<br><em><font color="#000033"><br>http://www.linuks.mine.nu
<br>Windoze not found: (C)heer, (P)arty or (D)ance?
</font></em></blockquote>
<!-- end 20 -->
<!-- .~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~.~~. -->
<P> <A NAME="tips.21"><HR WIDTH="75%" ALIGN="center"></A> <P>
<H3><IMG ALIGN=BOTTOM ALT="" SRC="../gx/lil2cent.gif">
<FONT COLOR="navy">Remote control of Linux from Windows</FONT></H3>
Mon, 2 Dec 2002 21:15:36 -0600
<BR>Thomas Adam (<a href="mailto:linux-questions-only@ssc.com?cc=bmdean@socket.net&cc=thomas_adam16@yahoo.com&subject=%20Re%3A%20%5BLG%2086%5D%202c%20Tips%20%2321">The <em>LG</em> Weekend Mechanic</a>)
<BR>Question by Brandon M. Dean (bmdean from socket.net)
<!-- sig -->
<!-- sig -->
<P><STRONG>
Hello,
</STRONG></P>
<P><STRONG>
I live in LaGrange, Missouri. I have downloaded the iso's for
</STRONG></P>
<P><STRONG>
Mandrake 9.0. I have installed it once. I then took it off to have
Windows again.
</STRONG></P>
<BLOCKQUOTE>
[Thomas]
Oh, dear. You do know that, Tux doesn't bite <EM>that</EM>
hard.
</BLOCKQUOTE>
<P><STRONG>
My brother had a Linux Router, and I wanted it to act as
a server, but he said it wouldn't.
</STRONG></P>
<BLOCKQUOTE>
[Thomas]
Your brother is deluded
<IMG SRC="../gx/dennis/smily.gif" ALT=":-)"
height="24" width="20" align="middle">
</BLOCKQUOTE>
<P><STRONG>
But I have a second computer in my
room. I want to add this behind my dad's desk with a 5' network cable,
instead some more 100' cable to run to my room. I wanted to know a good
app to run a remote desktop connection on it. I have downloaded one
program called X-Win 32.
</STRONG></P>
<BLOCKQUOTE>
[Thomas]
"A good app" -- well that depends on what you want the
server to do. Your server, once it is up and running
can support (amongst others): file serving, print
serving, webserver, phpserver, mysql server, mail
serving, etc...................
</BLOCKQUOTE>
<blockquote><font color="#000066">If you find you don't like that one, there arre a few other X servers
mentioned in
"(#tips.19)Remote X over ssh"
above.
-- Heather</font></blockquote>
<P><STRONG>
I have Windows XP on my main computer. It has a
remote desktop built in.
</STRONG></P>
<blockquote><font color="#000066">The open source client for that protocol is called rdesktop:
<A HREF="http://www.rdesktop.org"
>http://www.rdesktop.org</A>
</font></blockquote>
<blockquote><font color="#000066">But I don't know if anything on Linux serves that protocol so the
windows remote-desktop client can view it.
</font></blockquote>
<blockquote><font color="#000066">VNC is another possibility, and may be needed if you want to share
the desktop with more than one person - here's a KDE remote sharing
project that uses it:
<A HREF="http://www.tjansen.de/krfb"
>http://www.tjansen.de/krfb</A>
-- Heather</font></blockquote>
<P><STRONG>
I also wanted to know if it had to have a
keyboard, mouse, and monitor hooked up to it at all times, even though I
will have some sort of remote desktop app.
</STRONG></P>
<P><STRONG>
Thank You,
<BR>Brandon Dean
</STRONG></P>
<BLOCKQUOTE>
[Thomas]
Nope, my 486 Server has no monitor, keyboard or mouse,
since during the odd occassion that I have to log into
the server, it is done via SSH which I can run from
the command-line.
</BLOCKQUOTE>
<BLOCKQUOTE>
Although if your using Windows, then I suggest the use
of "putty.exe".
</BLOCKQUOTE>
<blockquote><font color="#000066">This is also mentioned in the
"(#tips.19)remote X over ssh"
tip.
For occasional access over a serial cable, see the
"(#tips.6)headless server"
tip.
</font></blockquote>
<blockquote><font color="#000066">As long as your BIOS is happy when you don't have these things,
Linux doesn't mind at all.
-- Heather</font></blockquote>
<!-- end 21 -->
<!-- *** 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 &copy; 2003
<br>Copying license <A HREF="http://www.linuxgazette.com/copying.html">http://www.linuxgazette.com/copying.html</A>
<BR>Published in Issue 86 of <i>Linux Gazette</i>, January 2003</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/issue86/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 ============================================================-->