Linux-Setup Digest #786, Volume #20 Thu, 8 Mar 01 19:13:13 EST
Contents:
Re: gcc include files (Paul Kimoto)
install Windows 2000 or SuSE 7.1 first? ("Uh Huh")
glibc...HELP! ("news")
Re: Looking for the program 'activate' (Rick Smith)
FTP ("Ted Chiang")
Re: install Windows 2000 or SuSE 7.1 first? (Laurent Cortier)
Re: Optimizing Kernel & System for AMD Durons (Laurent Cortier)
Re: ADSL Problem Can some body help me in this problem (Laurent Cortier)
No sound when not root ??? (Laurent Cortier)
HOWTO change bash screen buffer size ? (Laurent Cortier)
Re: FTP (Dean Thompson)
Re: Error during creation of swap space ("Rodney Leger")
Re: +++++help++++ (Walter Williams)
Re: How to find what's in my Kernel ? (John Beardmore)
Re: install Windows 2000 or SuSE 7.1 first? (Steve Taylor)
Re: why does it state that the linux can not be found in CDROM (Walter Williams)
----------------------------------------------------------------------------
From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: gcc include files
Date: 8 Mar 2001 15:22:28 -0500
Reply-To: [EMAIL PROTECTED]
In article <988h5f$p62$[EMAIL PROTECTED]>, Angry Bob wrote:
> What would you like to read? [[EMAIL PROTECTED] or ?*]
> this is a Fabrice Lhomme scroll! it says:
>> After a new Redhat 6.0 installation, gcc can't find the include files
>> (not in the default /usr/include but in
>> /usr/i386-glibc20-linux/include).
> you mean an _old_ installation.... you should get something more recent
> than redhat 6.0.... afterall, it's all free, why settle for second best?
(Well, he could have chosen RH7 ...)
>> Where can I give gcc the path to it's headers/libraries ?
> type 'export'
>
> look for LD_LIBRARY_PATH
LD_LIBRARY_PATH affects what happens to compiled programs at runtime.
It doesn't affect where gcc (or, more properly, the linker ld) looks
for libraries.
> I often imagine, with full visuals, what playing nethack
> sober would be like.
> --sdpcat (from rec.games.roguelike.nethack)
Hmm.
--
Paul Kimoto
This message was originally posted on Usenet in plain text. Any images,
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.
------------------------------
From: "Uh Huh" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.suse,comp.os.linux.help
Subject: install Windows 2000 or SuSE 7.1 first?
Date: Thu, 08 Mar 2001 20:22:18 GMT
Hi,
I have two IDE hard drives, 3 and 8 G respectively. I'd like Windows 2000
Server on the first (3 G) drive and SuSE 7.1 Professional on the second
drive. Both will be clean installations. Does it matter whether I install
Windows or Linux first? I've seen postings from people who are installing
both systems on the same disk (which is also the scenario described in the
SuSE 7.1 handbook) but since my situation is a bit different, I thought I'd
ask. I'd appreciate any pointers to other places where this kind of
question has been asked and answered.
Thanks.
------------------------------
From: "news" <[EMAIL PROTECTED]>
Subject: glibc...HELP!
Date: Thu, 8 Mar 2001 15:36:28 -0800
Anyone out there have a good guide regarding how to upgrade glibc? I
currently have glibc 2.1.1...I am trying to install Java 1.3 sdk which
requires glibc 2.1.2. I have a RedHat 6.0 Linux installation.
Any help is greatly appreciated!!!
Matt
------------------------------
From: Rick Smith <[EMAIL PROTECTED]>
Subject: Re: Looking for the program 'activate'
Date: Thu, 08 Mar 2001 14:54:20 -0600
Thanks for your response.
I'm looking for a simple way to change the active partion and hide/unhide them
so that I can easily switch between Linux and DOS and Windoze on the same
machine. pqboot will do the job for DOS and Windoze and its real easy to operate
(customer requirement); just specify the partition number on the command line. I
was hoping the 'activate' program was similar.
My reference to the hidden bit is the low bit in the high nibble of the
partition type byte. I'll look into using fdisk.
Rick
Eric en Jolanda wrote:
> > I noticed a reference in the lilo v 21 UG that mentions the program'
> > activate'. I have looked on our RH 7.0 machines here and on some places
> > on the web and cannot find any information on it. If anyone knows where
> > to find the program or docs, I'd appreciate it. Thanks.
>
> I suppose that you get that tool when you compile lilo from source.
> But I'm not sure you'll need it. linux fdisk will activate any partition you
> like.
>
> > PS. I'm also generally looking for Linux command line programs that can
> > easily modify the boot byte and hidden bit in the MBR, like Powerquest
> > pqboot does for DOS.
>
> what do you mean with the boot byte?
> You mean change the active partition?
> try any of the fdisk's : fdisk, cfdisk, sfdisk
>
> And what do you mean with hidden bit?
> There's no such thing.
> There is a semi-standard way to hide a windows partition, that's
> "logical or" the partition ID with 0x10
> But again, any of the fdisk versions can change the type for you.
>
> Eric
------------------------------
From: "Ted Chiang" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.madrake,alt.os.linux.mandrake,comp.os.linux.networking
Subject: FTP
Date: Thu, 8 Mar 2001 15:47:13 -0700
HI all,
My ftp server is not working can anyone help? the following is what I
had before. bTW, telnet is working now =) in the system error message it's
trying to bind the server to IP address 0.0.0.0. That is obvious incorrect.
anyway I can fix that?
thanks in advance
Ted
============================================================================
=====
"Ted Chiang" <[EMAIL PROTECTED]> writes:
> for ftp:
>
> X:\chiang.chunte>ftp linux-mvectra
> Connected to linux-mvectra.L3.com.
> Connection closed by remote host.
>
> for telnet
> Your telnet connection has been terminated
>
> Obivously, I got connection, but it's not connecting. Any clue?
tcpwrappers would be my first susgestion .. Look in the files
/etc/hosts.allow and /etc/hosts.deny , odds are you have something
like 'all: all' in deny.. Just modify that file to suit (or just
delete the entries :) ..)
--
Pete
"Money doesn't make you happy, but money
can buy gizmo's and gizmo's make you happy"
Ted Chiang wrote:
> Hi all,
> I just installed Mandrake 7.2 on a HP machine. It's wonderful. Much
> better than Redhat. Mandrake rocks. But got a few question for you all.
> How come on a fresh installed server, the ftp and telnet server don't
start
> themselves automatically? At first, i thought it was just my computer,
but
> then I found out that another friend who has 7.2 also doesn't have his ftp
> and telnet server start by themselves. I know inetd supposted to take
care
> of it, but when I connect here are the message I got. Can anyone help?
>
> for ftp:
>
> X:\chiang.chunte>ftp linux-mvectra
> Connected to linux-mvectra.L3.com.
> Connection closed by remote host.
>
> for telnet
> Your telnet connection has been terminated
>
> Obivously, I got connection, but it's not connecting. Any clue?
>
> thanks in advance,
> Ted
------------------------------
From: Laurent Cortier <[EMAIL PROTECTED]>
Subject: Re: install Windows 2000 or SuSE 7.1 first?
Crossposted-To: alt.os.linux.suse,comp.os.linux.help
Date: Thu, 08 Mar 2001 22:41:15 GMT
> Does it matter whether I install Windows or Linux first?
Not really, with a but :)
If you install Windows first, at installation of SuSE you will be able to
create a Windows/Linux multiboot.
If you install SuSE first, then Windows, the later will overwrite your
first HD bootsector, and your linux boot will be lost. It's not dramatic,
just use a boot floppy with the kernel on it, using the commands described
in your SuSE manual (in the SuSE 7.0 manual, it was at section 4.6 :
Creating a Linux Boot Disk.)
So,
-install SuSE,
-make the bootdisk,
-install windows,
-boot SuSE with the boot kernel floppy,
-edit your /etc/lilo.conf according to your install with windows
-and run lilo.
Hmm, after all, it's much better to install Windows first on a clean
system :)
If that bastard would recognize linux, we wouldn't have the problem,
but hey, after all that's why we chose linux ;)
Hope it helped,
Laurent Cortier
Consultant in a free world
http://www.dsimprove.be
------------------------------
From: Laurent Cortier <[EMAIL PROTECTED]>
Subject: Re: Optimizing Kernel & System for AMD Durons
Crossposted-To: comp.os.linux.hardware
Date: Thu, 08 Mar 2001 23:01:08 GMT
> Are there specific settings that one should switch when compliing a
> new kernel for AMD Duron processors?
On the kernel 2.4.x (at least on my 2.4.2) you can choose AMD K7
CPU class, apart from that... dunno :)
On 2.2.x kernels, you don't have K7 in the CPU choices, I was using
PPro CPU type and it was working well too.
Hope it helps.
--
Laurent Cortier
Consultant in a free world
http://www.dsimprove.be
------------------------------
From: Laurent Cortier <[EMAIL PROTECTED]>
Subject: Re: ADSL Problem Can some body help me in this problem
Date: Thu, 08 Mar 2001 23:12:57 GMT
> [...]
> risks. IMHO, a better solution in most cases is to use a dedicated
> hardware router. (Many of these are reviewed at
> http://www.practicallynetworked.com/reviews/.) Alternatively, you could
> use one computer as the router -- connect the DSL modem to one computer,
> then use another Ethernet card to connect this computer to the second
> one (either via your existing hub or via a crossover cable). Using a
> computer in this way is cheaper, but less secure. If you use a dedicated
> hardware router, *IT* handles the DHCP or PPPoE connection to the ISP,
> and your local computers use DHCP or static IP addresses on a local
> private network. The router uses a technique called NAT or IP
> masquerading to share the Internet connection.
Isn't a hardware router for a home network a canon to kill a fly ?
(seriously, you seem to be very well informed and I'd love to learn more :).
What are the technical advantages above a linux box configured correctly,
justifying the price difference ? Especially when you can use a quite old
and cheap PC (486, Pentium 1st gen) which many ppl still have in their
cellar.
(I'm not technically informed about hardware routers).
Can't a linux box make a perfect NAT or IP masquerading system ?
And doesn't the 2.4.x kernels offer a nice solution for firewalling, even
if still young ?
I have many friends sharing their ADSL/cable connection with a little linux
box and none have had any security problems in 2 years...
--
Laurent Cortier
Consultant in a free world
http://www.dsimprove.be
------------------------------
From: Laurent Cortier <[EMAIL PROTECTED]>
Subject: No sound when not root ???
Date: Thu, 08 Mar 2001 23:17:10 GMT
Hello :)
I have a problem with my self-made linux "distribution". The sound is
working perfectly when logged as root, under KDE 2.1 and Quake 3.
But when I log as my normal user, the sound doesn't work at all and
the KDE sound architecture crashes...
I tried the following :
create a group called audio
assign my user to that group
chgrp audio /dev/dsp*
chgrp audio /dev/audio*
chgrp audio /dev/mixer*
chgrp audio /dev/midi*
chgrp audio /dev/sndstat
But it didn't help... Help :)
--
Laurent Cortier
Consultant in a free world
http://www.dsimprove.be
------------------------------
From: Laurent Cortier <[EMAIL PROTECTED]>
Subject: HOWTO change bash screen buffer size ?
Date: Thu, 08 Mar 2001 23:22:04 GMT
Hello,
I made my own linux installation (no distribution used, following LFS
instructions from www.linuxfromscratch.com).
There's one thing I'm trying to find for weeks : how can I change
the bash screen buffer length ? It tops now at about 100 lines, but
I'd like to go back using Shift-PgUp to at least 500 or 1000 lines...
How do I do that ? I couldn't find any config file containing any info
about that, nothing found at LDP... Yet under the KDE konsole it
works perfectly, but that's a KDE feature, and I'd like to be able to
scroll back in console mode too...
Help :)
--
Laurent Cortier
Consultant in a free world
http://www.dsimprove.be
------------------------------
From: Dean Thompson <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux.madrake,alt.os.linux.mandrake,comp.os.linux.networking
Subject: Re: FTP
Date: Fri, 09 Mar 2001 10:32:46 +1100
Hi Ted,
> My ftp server is not working can anyone help? the following is what I
> had before. bTW, telnet is working now =) in the system error message it's
> trying to bind the server to IP address 0.0.0.0. That is obvious
> incorrect. anyway I can fix that?
I am interested to see where the error message is. Is this the output from
netstat, because if it is, this means that it is binding to all the ports on
the system (which is okay).
I would be checking to make sure that you actually have a ftp daemon loaded on
the system. Take a look in the /var/log/syslog and see whether there are any
problems with the executing of the "in.ftpd". It would seem that tcp-wrappers
might be accepting the connection but is having problems with the executing of
the ftp daemon.
Check to make sure that a ftp daemon was installed:
eg. "rpm -qa | grep wuftp"
See ya
Dean Thompson
--
+____________________________+____________________________________________+
| Dean Thompson | E-mail - [EMAIL PROTECTED] |
| Bach. Computing (Hons) | ICQ - 45191180 |
| PhD Student | Office - <Off-Campus> |
| School Comp.Sci & Soft.Eng | Phone - +61 3 9903 2787 (Gen. Office) |
| MONASH (Caulfield Campus) | Fax - +61 3 9903 1077 |
| Melbourne, Australia | |
+----------------------------+--------------------------------------------+
------------------------------
From: "Rodney Leger" <[EMAIL PROTECTED]>
Subject: Re: Error during creation of swap space
Date: Thu, 08 Mar 2001 23:35:09 GMT
Unfortunately dropping the number of blocks from my command only gives me
another error.
mkswap:error:swap area needs to be at least 40 kb.
The size of the partition I created was 384 mb's.
Any help is appreciated.
Thanks-
Rodney
"Joris Roefs" <[EMAIL PROTECTED]> wrote in message
news:3aa772f2$0$36436$[EMAIL PROTECTED]...
> Rodney Leger [[EMAIL PROTECTED]] uttered:
>
> > I have encountered an error while trying to add a new swap space
partition
> > to Linux. I created the partition using fdisk and changed the system id
> > on
> > that partition to 82. I then tried to go into Linux and make the
> > filesystem recognize the swapspace using the following command.
> >
> > mkswap /dev/hdd4 395136
> >
> > the size(395136) being the number of blocks listed for the filesystem in
> > fdisk.
> >
> > Unfortunateley I get an error which states -
> > mkswap:errorr: size 395136 is larger than device size 0
> >
> > Please tell me what I am missing
> > Thanks-
> > Rodney
>
> Loose that 395136-thing.
> mkswap /dev/hdd4 should suffice
------------------------------
From: Walter Williams <[EMAIL PROTECTED]>
Subject: Re: +++++help++++
Date: Thu, 08 Mar 2001 16:36:14 -0700
==============D47059D572FA7E7382FE7C3F
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
siukeung wrote:
> Hi, everyone,
> I have setup the >>RedHat 6.2+CLE 0.9 p1<< on my computer, but
> something I can't slove, it is I can't use the sound card and other divice
> on my computer, so I want to compile a new kernel into the computer. What
> should I do???
Greetings
On your system is the HOWTO documentation for Linux. It can
be found under the /usr/doc, thats if you loaded it when you installed
your Linux. Or you can find them at:
http://www.ibiblio.org/pub/Linux/
Find the howto for the kernel named something along the lines of
Kernel-HOWTO. Read it and this should guide you through the
kernel building process. Also look for the sound howto.
The reason some question on news groups go unanswered is
there tends to be a lot of vague and subjective question.
In the future include as much detail as possible. For instance,
I don't have a clue as to which one of the many hundreds of
sound cards you might have. What kind of computer do you have.
Detail on the problem your having. Detail is the key to successful
Linux newsgroup use. Always check the howto library FIRST!
Hope this helps
--
Thanks
Walter L. Williams
http://members.a1above.net/wwilliams/
ICQ 65344913
==============D47059D572FA7E7382FE7C3F
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
siukeung wrote:
<blockquote TYPE=CITE>Hi, everyone,
<br> I have setup the >>RedHat
6.2+CLE 0.9 p1<< on my computer, but
<br>something I can't slove, it is I can't use the sound card and other
divice
<br>on my computer, so I want to compile a new kernel into the computer.
What
<br>should I do???</blockquote>
Greetings
<p>On your system is the HOWTO documentation for Linux. It can
<br>be found under the /usr/doc, thats if you loaded it when you installed
<br>your Linux. Or you can find them at:
<p><A HREF="http://www.ibiblio.org/pub/Linux/">http://www.ibiblio.org/pub/Linux/</A>
<p>Find the howto for the kernel named something along the lines of
<br>Kernel-HOWTO. Read it and this should guide you through the
<br>kernel building process. Also look for the sound howto.
<p>The reason some question on news groups go unanswered is
<br>there tends to be a lot of vague and subjective question.
<br>In the future include as much detail as possible. For instance,
<br>I don't have a clue as to which one of the many hundreds of
<br>sound cards you might have. What kind of computer do you have.
<br>Detail on the problem your having. Detail is
the key to successful
<br>Linux newsgroup use. Always check the howto library FIRST!
<p>Hope this helps
<pre>--
Thanks
Walter L. Williams
<A
HREF="http://members.a1above.net/wwilliams/">http://members.a1above.net/wwilliams/</A>
ICQ 65344913</pre>
</html>
==============D47059D572FA7E7382FE7C3F==
------------------------------
From: John Beardmore <[EMAIL PROTECTED]>
Subject: Re: How to find what's in my Kernel ?
Date: Thu, 8 Mar 2001 23:42:30 +0000
In article <[EMAIL PROTECTED]>, John Beardmore
<[EMAIL PROTECTED]> writes
>In article <84Pp6.941$[EMAIL PROTECTED]>, Julian
>Midgley <[EMAIL PROTECTED]> writes
>>In article <[EMAIL PROTECTED]>,
>>John Beardmore <[EMAIL PROTECTED]> wrote:
>>>
>>>Thanks. There doesn't seem to be anything obvious in RH 6.2.
>>
>>Might be time to roll your own kernel. It's actually quite
>>straightforward, and a useful (some might say necessary) skill to have.
>>
>>The Linux Kernel HOWTO explains all...
>>
>>http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html
>
> "1.1 Read this first! (I mean it)"
>
>Written by an experienced man I see !
Though at risk of responding to my own post, a man who only deals with
Intel CPUs.
Is there such a FAQ for Alphas ?
Cheers, J/.
--
John Beardmore
------------------------------
From: [EMAIL PROTECTED] (Steve Taylor)
Crossposted-To: alt.os.linux.suse,comp.os.linux.help
Subject: Re: install Windows 2000 or SuSE 7.1 first?
Date: Thu, 08 Mar 2001 23:36:43 GMT
On Thu, 08 Mar 2001 20:22:18 GMT, "Uh Huh" <[EMAIL PROTECTED]>
wrote:
>Hi,
>
>I have two IDE hard drives, 3 and 8 G respectively. I'd like Windows 2000
>Server on the first (3 G) drive and SuSE 7.1 Professional on the second
>drive. Both will be clean installations. Does it matter whether I install
>Windows or Linux first? I've seen postings from people who are installing
>both systems on the same disk (which is also the scenario described in the
>SuSE 7.1 handbook) but since my situation is a bit different, I thought I'd
>ask. I'd appreciate any pointers to other places where this kind of
>question has been asked and answered.
>
>Thanks.
>
>
Personally I'd install win2000 first 'cos Microsoft WILL overwrite
your MBR and leave you unable to boot your shiny new SuSE Installation
if you use LILO to boot....
I'd recommend using LOADLIN to boot linux but everyone else seems to
prefer using LILO....
------------------------------
From: Walter Williams <[EMAIL PROTECTED]>
Subject: Re: why does it state that the linux can not be found in CDROM
Date: Thu, 08 Mar 2001 17:08:51 -0700
==============39157E2D85E051728AC9AAB0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
raymond wrote:
> Dear everyone,
> This is my first time to install the Linux to my computer which has
> window 98 already stored in it .
> i boot the computer with the Red hat boot disk, after selecting the
> language and keyboard type,
> it ask me to choose the media containing the packages for installation. But
> after i click "local CDROM", a window pops out and say no linux packages
> were found in the cdrom drive....what can i do?
We need more detail about your system. Is it SCSI or IDE???
Detail Detail Detail Detail !!!
--
Thanks
Walter L. Williams
http://members.a1above.net/wwilliams/
ICQ 65344913
==============39157E2D85E051728AC9AAB0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
raymond wrote:
<blockquote TYPE=CITE>Dear everyone,
<br> This is my first time to install the Linux to my
computer which has
<br>window 98 already stored in it .
<br> i boot the computer with the Red hat boot disk, after selecting
the
<br>language and keyboard type,
<br>it ask me to choose the media containing the packages for installation.
But
<br>after i click "local CDROM", a window pops out and say no linux packages
<br>were found in the cdrom drive....what can i do?</blockquote>
We need more detail about your system. Is it SCSI or IDE???
<p>Detail Detail Detail Detail !!!
<pre>--
Thanks
Walter L. Williams
<A
HREF="http://members.a1above.net/wwilliams/">http://members.a1above.net/wwilliams/</A>
ICQ 65344913</pre>
</html>
==============39157E2D85E051728AC9AAB0==
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.setup.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Setup Digest
******************************