Linux-Misc Digest #769, Volume #26 Wed, 10 Jan 01 07:13:02 EST
Contents:
Re: Max file size under 2.4.0 kernel (Eric)
Re: TCP session timeout??? ("Alan")
La Rubia me la come cuando quiero. (root)
Re: getting remote xsession to work (Dave Brown)
Re: TCP session timeout??? ("Alan")
RedHat 7.0 problem with rexec and PAM ("E.M. Stegehuis \(Marcel\)")
HELP newbie: which distro for low-end PC? (Alessandro Magni)
Re: TCP session timeout??? (John Winters)
Re: HELP newbie: which distro for low-end PC? (Kae Verens)
Re: Linuxgruven ([EMAIL PROTECTED])
Re: Linux on a 64MB flash disk (Stephen Summerfield)
Re: TCP session timeout??? ("Alan")
Re: IDE CD writer ("Gerhard W. Gruber")
Re: Enter escape charcter in vi or another editor (Martin Gregorie)
Re: Compiling ghostscript (Christoph Kukulies)
Re: Printing Woes II: Ghostscript 6.50 (Christoph Kukulies)
passing parameters to printer (ghostscript) (Christoph Kukulies)
Re: Mandrake 7.2 and KDE? ([EMAIL PROTECTED])
Re: TCP session timeout??? (John Winters)
directory become file after mount (Li Hau-Bin)
Re: What is the effect on the kernel when printing( orUSB vs Parallel) (H.Bruijn)
Re: is gcc producing optimal code? (Jean-David Beyer)
Re: using library files w/o installing (Jean-David Beyer)
----------------------------------------------------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Max file size under 2.4.0 kernel
Date: Wed, 10 Jan 2001 09:16:13 +0100
Reply-To: [EMAIL PROTECTED]
Kerry Cox wrote:
>
> Does the latest stable kernel surpass the old 8GB file size limit under
> Linux? Neeing to know so that I can back up some enormous files from off
> our machines. Just compilied 2.4.0 cleanly on a test box and want to do
> the same on another machine for backup purposes.
> Thanks.
> Kerry
> --
>
> /-----------------------------\ /--------------------------\
> | Kerry J. Cox |__| [EMAIL PROTECTED] |
> | System Administrator KSL __ (801) 575-7771 |
> | http://www.ksl.com | | ICQ#37681165 |
> \-----------------------------/ \--------------------------/
/mnt/disc2>uname -a
Linux pc7280 2.4.0 #3 Fri Jan 5 12:06:44 CET 2001 i686 unknown
/mnt/disc2>sudo dd if=/dev/zero of=./a_file bs=1k seek=4000000000
count=1
1+0 records in
1+0 records out
/mnt/disc2>ls -al ./a_file
-rw-r--r-- 1 root root 4096000001024 Jan 10 09:13 ./a_file
(You can go further, but this demonstrates enough I'd say)
Eric
------------------------------
From: "Alan" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.uu.comp.os.linux.questions,uk.comp.os.linux
Subject: Re: TCP session timeout???
Date: Wed, 10 Jan 2001 08:28:51 -0000
Thanks for that - seems like it should do the trick. Just one question,
though - in which file would I find the ipchains command?
Many thanks, Alan.
"The Spook" <[EMAIL PROTECTED]> wrote in message
news:93ftsp$e1t$[EMAIL PROTECTED]...
>
> Alan wrote ...
> >Anyone know how to increase the session timeout for tcp sessions
(outbound
> >sessions seem to timeout after around 15 mins)?
> >
> You can use the -S parameter to ipchains (presuming I've understood your
> problem and that you use ipchains and masquerading, of course). At any
time
> before or after you set up the masquerading rules, you can set the
> masquerading timeouts for TCP sessions, for TCPFIN packets, and for UDP
> packets. The values are specified in seconds.
>
> To set the TCP timeout to one hour, the TCPFIN timeout to 15 minutes and
the
> UDP timeout to 30 minutes, use the command
>
> ipchains -M -S 3600 900 1800
>
> or, alternatively
>
> ipchains --masquerading --set 3600 900 1800
>
> I hope this'll help.
>
> Regards Torben
>
>
------------------------------
From: root <[EMAIL PROTECTED]>
Subject: La Rubia me la come cuando quiero.
Date: Wed, 10 Jan 2001 09:33:51 +0100
El behobia es una puta mierda, y en la puta vida os come�s algo en la
fase de ascenso,
innnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuutil.
------------------------------
From: [EMAIL PROTECTED] (Dave Brown)
Subject: Re: getting remote xsession to work
Reply-To: [EMAIL PROTECTED]
Date: 10 Jan 2001 03:35:16 -0600
In article <[EMAIL PROTECTED]>, Steve Connet wrote:
>...
>I downloaded an x-client (not sure if that is the right terminology),
>but a program like Exceed but shareware. I want to connect into my
>linux box with it so that I can see the x-window and KDE and
>stuff. Does that make sense? But it keeps timing out... I don't think
>the linux box has the right daemon running or something. X-window is
>running on the linux box though. ANy ideas?
>
>Also, what do I need to setup on the linux box so that a remote
>machine on my local network can rsh, rexec, or rlogin to it. For all
>three the connection has been refused so far.
A program like Exceed is an X server, not an X client. It serves
display/keyboard/mouse resources to clients (like netscape) that need
such stuff.
X clients are told where the server they're supposed to connect to for
display via the "-display" option, or by setting an environment variable,
"DISPLAY". Eg. on the remote client, you might type:
netscape -display <hostname>:0
or you could type:
export DISPLAY=<hostname>:0 ; netscape
The X server must be authorized to allow connections from clients
running on <hostname>. This can be done by executing:
xhost +<hostname>
(I don't remember exactly how Exceed does this. They have some setup
tools for such. On a normal Xserver, you just open a window and type it
in.)
The daemons which service rsh and rexec are in.rshd and rexecd. But these
are started by inetd, so you won't see them running unless a connection is
already made. Enabling the connections is beyond the scope of a newsgroup
reply... read up the man pages and networking HOWTOs.
But, in general, it's probably easier (and definitely safer) to use
telnet to start up your clients on the remore machine, as rsh and rexec
are security risks if your network leaves the room the 2 machines are in.
If there's danger of sniffers, you can do this over ssh as well.
If you have a display manager (graphical login) running on the machine
you want to connect to for running the clients, you can do a query to it,
and it will pop a graphical login screen on your local Xserver. From a
unix machine to another unix machine, you could:
X -query <hostname>
and you'd get the graphical login. Then you don't have to worry about the
rest of the above. (I believe Exceed has a query mechanism as well.)
--
Dave Brown Austin, TX
------------------------------
From: "Alan" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.uu.comp.os.linux.questions,uk.comp.os.linux
Subject: Re: TCP session timeout???
Date: Wed, 10 Jan 2001 08:37:38 -0000
Thanks for that - seems like it should do the trick. Just one question,
though - in which file would I find the ipchains command?
Many thanks, Alan.
"The Spook" <[EMAIL PROTECTED]> wrote in message
news:93ftsp$e1t$[EMAIL PROTECTED]...
>
> Alan wrote ...
> >Anyone know how to increase the session timeout for tcp sessions
(outbound
> >sessions seem to timeout after around 15 mins)?
> >
> You can use the -S parameter to ipchains (presuming I've understood your
> problem and that you use ipchains and masquerading, of course). At any
time
> before or after you set up the masquerading rules, you can set the
> masquerading timeouts for TCP sessions, for TCPFIN packets, and for UDP
> packets. The values are specified in seconds.
>
> To set the TCP timeout to one hour, the TCPFIN timeout to 15 minutes and
the
> UDP timeout to 30 minutes, use the command
>
> ipchains -M -S 3600 900 1800
>
> or, alternatively
>
> ipchains --masquerading --set 3600 900 1800
>
> I hope this'll help.
>
> Regards Torben
>
>
------------------------------
From: "E.M. Stegehuis \(Marcel\)" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.security,nl.comp.os.linux.installatie,nl.comp.os.linux.netwerken
Subject: RedHat 7.0 problem with rexec and PAM
Date: Wed, 10 Jan 2001 09:51:08 +0100
Reply-To: "E.M. Stegehuis \(Marcel\)" <[EMAIL PROTECTED]>
A while ago we 'upgraded' from RedHat6.2 to RedHat7.0. Since than we are not
able anymore to use rexec nor rsh to get an xterm on an other machine.
With ntsysv I ensured that rexecd and rshd are on. The
/etc/xinit.d/rexec/rsh files show the service to be available (disable=no).
According to the message on the RedHat site I commented the
auth required /lib/security/pam_nologin.so
line in /etc/pam.d/rexec.
Stil I get a connection closed.
My /var/log/secure file mentioned a xinetd[PID XXX]: START: exec pid=xxxx
from xxx.yyy.zzz.aaa
Does anyone recognize the problem and knows a solution.
Marcel
------------------------------
From: Alessandro Magni <[EMAIL PROTECTED]>
Subject: HELP newbie: which distro for low-end PC?
Date: Wed, 10 Jan 2001 09:55:30 +0100
I want to set up a minimal Linux PC (low-end Pentium), to use as a
backup server.
No fancy stuff, no X, just network and some backup util (rsync maybe).
I DONT want to download a huge 5-CD-set with useless stuff:
which distro you think is OK?
Thank for any help!
Alessandro
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\ Dr.Alessandro Magni
/ IEN Galileo Ferraris
\ c.M.d'Azeglio 42, 10125 Torino (ITALIA)
/ [EMAIL PROTECTED]
\ Fax (39)11-6507611
/ Tel (39)11-3919757
\ Homepage at:
http://www.ien.it/~magni/index.htm
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------
From: [EMAIL PROTECTED] (John Winters)
Crossposted-To: alt.os.linux,alt.uu.comp.os.linux.questions,uk.comp.os.linux
Subject: Re: TCP session timeout???
Date: 10 Jan 2001 08:49:30 -0000
In article <b3V66.123$[EMAIL PROTECTED]>, Alan <[EMAIL PROTECTED]> wrote:
>"The Spook" <[EMAIL PROTECTED]> wrote in message
>news:93ftsp$e1t$[EMAIL PROTECTED]...
>>
>> Alan wrote ...
>> >Anyone know how to increase the session timeout for tcp sessions
>(outbound
>> >sessions seem to timeout after around 15 mins)?
>> >
[snip]
>>
>> To set the TCP timeout to one hour, the TCPFIN timeout to 15 minutes and
>the
>> UDP timeout to 30 minutes, use the command
>>
>> ipchains -M -S 3600 900 1800
>>
>> or, alternatively
>>
>> ipchains --masquerading --set 3600 900 1800
>
>Thanks for that - seems like it should do the trick. Just one question,
>though - in which file would I find the ipchains command?
[It makes it easier to follow the conversation if you put your new text
*after* the text you are quoting and snip unnecessary bits.]
ipchains typically resides in /sbin because you need to be root to use
it and it may well be required early in the system boot sequence.
HTH
John
--
John Winters. Wallingford, Oxon, England.
The Linux Emporium - the source for Linux CDs in the UK
See http://www.linuxemporium.co.uk/
------------------------------
From: Kae Verens <[EMAIL PROTECTED]>
Subject: Re: HELP newbie: which distro for low-end PC?
Date: Wed, 10 Jan 2001 09:14:11 +0000
Alessandro Magni wrote:
>
> I want to set up a minimal Linux PC (low-end Pentium), to use as a
> backup server.
> No fancy stuff, no X, just network and some backup util (rsync maybe).
> I DONT want to download a huge 5-CD-set with useless stuff:
> which distro you think is OK?
Any distro should be fine. They're mostly the same when you strip away
the fancy goods.
Try Slackware, or another small one.
Kae
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Linuxgruven
Date: Wed, 10 Jan 2001 09:14:03 GMT
In article <935oqo$hpb$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> future computing industry
> > and there is no one quite like linuxgruven
> >
> > Sent via Deja.com
> > http://www.deja.com/
> >
>
> I spoke with this company. A good come on but
> upon speaking to 10 different people about them
> it was unanimous THIS IS A SCAM!!!!!!!!!!!!
>
> Sent via Deja.com
> http://www.deja.com/
>
Just as a reply to many of the posts about
Linuxgruven. I have gone through the interview
process and had my doubts at the start as well. I
passed their initial interview and test. The
interviewer offered me a seat in training. I was
given an offer of employment after paying the
fees for the 80 hours of class.
The training was good quality and class taught me
alot about the Linux operating system and the
many things that can be done with it.
(Samba,NFS,Apache)
I am currently in the process of taking tha SAIR
exams and looking to be hired on. I did see
several new faces, people being hired on that
passed the exams.
As with anything their will be people who doubt
the validity of this thing. To go through the
process and finish the class gives me a whole
different perspective that many people will never
see about Linuxgruven. The company will be the
industry leader in Linux service and support. I
believe this because there is no other company
out there able to offer the volume and quality of
support that is needed.
I did not have the LCA certification when I
interviewed, but they must have seen something in
me to offer me a position with their company
after completing the exams. I took the training
to speed my learning process.
Not many companies offer the Linux training.
Do the reasearch for yourself. If you like Linux
or want a career in the Linux community this IS a
GREAT option!
Is a Penguin in your future?
JAZ406
Sent via Deja.com
http://www.deja.com/
------------------------------
From: Stephen Summerfield <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.embedded
Subject: Re: Linux on a 64MB flash disk
Date: Wed, 10 Jan 2001 09:44:36 +0000
"Nils M. Lunde" <[EMAIL PROTECTED]> wrote:
>Hello!
>
>I'm about to install Linux on a PC/104 card with a 64MB flash disk.
>Most of the Linux distributions I've seen requires a lot more than 64MB, so
>I'm wondering if anyone have suggestions on a Linux distribution I can use.
My car stereo runs Linux - the designers of this
(http://www.empeg.com) use the Debian distribution and tools to
create the environment. It has 1MB of flash memory which I believe
holds the kernel, it does have a hard-drive to store all the
music, the other OS files and the music player app. - but I
suspect it uses significantly less than 64MB of disc space for the
OS as it's a very stripped out version of Linux. You (cross)
compile stuff on another Linux host and simply transfer the files
over.
S
------------------------------
From: "Alan" <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,alt.uu.comp.os.linux.questions,uk.comp.os.linux
Subject: Re: TCP session timeout???
Date: Wed, 10 Jan 2001 10:17:48 -0000
Alan <[EMAIL PROTECTED]> wrote:
> >> >Anyone know how to increase the session timeout for tcp sessions
> >(outbound
> >> >sessions seem to timeout after around 15 mins)?
"The Spook" <[EMAIL PROTECTED]> wrote
> >> To set the TCP timeout to one hour, the TCPFIN timeout to 15 minutes
and
> >the
> >> UDP timeout to 30 minutes, use the command
> >>
> >> ipchains -M -S 3600 900 1800
> >>
> >> or, alternatively
> >>
> >> ipchains --masquerading --set 3600 900 1800
Alan <[EMAIL PROTECTED]> wrote:
> >Thanks for that - seems like it should do the trick. Just one question,
> >though - in which file would I find the ipchains command?
"John Winters" <[EMAIL PROTECTED]> wrote:
> ipchains typically resides in /sbin because you need to be root to use
> it and it may well be required early in the system boot sequence.
Can't 'find' the ipchains command. Using Kernel 2.0.34C53_SK on Cobalt Linux
release 4.0. Could another command be used to specify tcp session timeout?
If so, I'd be more interested in where I would specify this
(etc/rc.d/rc.local ?).
Cheers, Alan.
------------------------------
Date: Wed, 10 Jan 2001 11:27:08 +0100
From: "Gerhard W. Gruber" <[EMAIL PROTECTED]>
Subject: Re: IDE CD writer
jujubeesRULE wrote:
> If there really is no ide-cd module, then its probably built into the
> kernel. I don't know how suse ships their kernels (as far as what support
> it is configured for out-of-the-box), so you may have to recompile a
> custom kernel with the appropriate support.
>
> To tell the kernel to use scsi emulation, you can add the line
>
> append="hdc=ide-scsi"
Thanks. That's it. I actually used this parameter, but misspelled it as
hdb instead of hdc (where my cdrom resides). That's why id didn't work
for me the first time. :)
> You can try just adding the above line if by some chance suse has the
> support already built-in, but I wouldn't be suprised if you do need to
> recompile a kernel.
It has, so I didn't need to recompile. I was just wondering about all
the other modules mentioned in the HOWTO and since I didn't recognize my
typo at first time, I was a bit confused about all this modules.
> BTW: The append line would disable the use of ide-cd for that drive, and enable
> the use of ide-scsi, whether or not ide-cd is a module, or built into the
> kernel.
No Problem. :) I now access it as an scsi drive, but since that is
transparent I don't care about it too much. :)
------------------------------
From: [EMAIL PROTECTED] (Martin Gregorie)
Subject: Re: Enter escape charcter in vi or another editor
Date: Wed, 10 Jan 2001 10:46:12 GMT
On Tue, 09 Jan 2001 04:30:11 -0000, Venugopal <[EMAIL PROTECTED]>
wrote:
>
>Bill M Leagans wrote:
>>
>>
>> How do you enter special charactes in vi or another editor such as ASCII
>> code 27 (escape).
>>
>
>
>You can use echo command at the prompt instead of vi to do this.i.e.
>suppose you wanted to have ESC J in a file z you could use echo "\033J" >
>z at the command prompt.Any ascii code can be thus output using its octal
>form.
You could also install beav, which is a much hacked version of
microEmacs. It will edit binary files using whatever representation
suits the task (hex, short int, long int,...).
Unlike some binary editors I've used, beav doesn't commit the changes
until you save the file.
--
gregorie | Martin Gregorie
@logica | Logica Ltd
com | +44 020 76379111
------------------------------
From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: Compiling ghostscript
Date: 10 Jan 2001 11:10:17 GMT
In comp.os.linux.misc Richard Kimber <[EMAIL PROTECTED]> wrote:
: Can anyone tell me how to compile ghostscript on my pentium pro, gcc
I assume you mean gs6.50
: 2.95.3, Mandrake 7.2?
: After a mass of warnings, I get an error:
: /usr/bin/ld: cannot find -lXt
: collect2: ld returned 1 exit status
: make: *** [obj/gs] Error 1
I edited src/unix-gcc.mak (which I copied to src/../Makefile)
and changed /usr/X11/lib to /usr/X11R6/lib. Then make clean, make.
It has to go through the (somewhat strange) ghostscript echogs
stuff to rewrite gsconfig.h such.
Also copy the ghopstscript-jpeg.tgz, zlib, libpng stuff to the
source tree and create links
jpeg -> jpeg-6b
libpng -> libpng-1.0.8
zlib -> zlib-1.1.3
: The how-to instructions say
: With gcc version 2.6.3 or later, you may encounter an incompatibility in
: object formats (a.out vs. ELF) with the XFree86 library. Typically, ld
: complains that some X library is not found, or that many Xlib or Xt
: functions are not found in the library (similar to the messages for
: omitting SM and ICE from XLIBS). Or you get a message when you start
: Ghostscript that the program or the shared library is an unrecognized
: format.
: If this happens, edit unix-gcc.mak to add the switches "-b i486-linuxaout"
: to both CFLAGS and LDFLAGS, then "make clean" followed by "make"). If this
: doesn't help, or if other strange things happen, contact your Linux
: supplier or support resource.
: I tried this, with no success.
: -Richard.
: --
: Richard Kimber
: [EMAIL PROTECTED]
: http://www.psr.keele.ac.uk
--
--Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
------------------------------
From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: Re: Printing Woes II: Ghostscript 6.50
Date: 10 Jan 2001 11:12:20 GMT
[EMAIL PROTECTED] wrote:
: Hi,
: I am trying to install Ghostscript 6.50. I am running redhat 6.1.
: When I do "make" I get an error that says "-lXt" could not be found.
: This happens when ld is called.
See my response to a similar request of Dec 31 in this NG.
(you gotta edit unix-gcc.mak and change /usr/X11/lib to /usr/X11R6/lib
and make clean, make again).
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
------------------------------
From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: passing parameters to printer (ghostscript)
Date: 10 Jan 2001 11:18:50 GMT
I compiled ghostscript 6.50 under redhat 6.1 to access my
HP4500 ColorLaserjet printer (pxlcolor device).
I need to pass
"statusdict begin false setduplexmode 0 setpapertray end"
to ghostscript not knowing whether GS would translate that
to the correct PCL sequences anyway.
Any ideas how to access this printer optimally?
I found that printing direct postscript to the printer
doesn't give good results WRT colors. Printing from Windows 2000
gives the best results and Windows has some color correction
built in the native Windows GDI driver.
The other idea was to smbprint from unix to a Windows printer
but thinking of it I came to the conclusion that this wouldn't work either
because sending a Postscript file to a shared printer under Windows,
does that work? I suspect the driver would just print
the postscript text which is not what I want.
--
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Mandrake 7.2 and KDE?
Date: Wed, 10 Jan 2001 11:22:56 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Ken Knecht) wrote:
> Does the current version of Mandrake 7.2 include the release
> version of KDE? The Mandrake web site isn't clear, though it
> says 'latest' version of KDE. I found 7.2 for sale in Staples
> but the box says KDE Beta. I have a slow dial-up and unreliable
> ISP so would prefer to get everything on the original CDs, not
> have to DL upgrades, patches, etc. later.
>
> If there is a version with the release KDE where can I get it -
> preferablely the boxed version with manuals and on-line?
>
> TIA
>
> Ken
I'm using it now, it KDE2. Don't get the Beta version. Also, go to a
user group, a magazine, or www.everythinglinux.com.au to buy a $ 10
cdrom instead
carlo
>
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (John Winters)
Crossposted-To: alt.os.linux,alt.uu.comp.os.linux.questions,uk.comp.os.linux
Subject: Re: TCP session timeout???
Date: 10 Jan 2001 11:18:13 -0000
In article <lFW66.136$[EMAIL PROTECTED]>, Alan <[EMAIL PROTECTED]> wrote:
>Alan <[EMAIL PROTECTED]> wrote:
>> >> >Anyone know how to increase the session timeout for tcp sessions
>> >(outbound
>> >> >sessions seem to timeout after around 15 mins)?
>
>"The Spook" <[EMAIL PROTECTED]> wrote
>> >> To set the TCP timeout to one hour, the TCPFIN timeout to 15 minutes
>and
>> >the
>> >> UDP timeout to 30 minutes, use the command
>> >>
>> >> ipchains -M -S 3600 900 1800
>> >>
>> >> or, alternatively
>> >>
>> >> ipchains --masquerading --set 3600 900 1800
>
>Alan <[EMAIL PROTECTED]> wrote:
>> >Thanks for that - seems like it should do the trick. Just one question,
>> >though - in which file would I find the ipchains command?
>
>"John Winters" <[EMAIL PROTECTED]> wrote:
>> ipchains typically resides in /sbin because you need to be root to use
>> it and it may well be required early in the system boot sequence.
>
>Can't 'find' the ipchains command. Using Kernel 2.0.34C53_SK on Cobalt Linux
>release 4.0. Could another command be used to specify tcp session timeout?
Ah. ipchains is a kernel 2.2 thing. As you're using kernel 2.0 you
need ipfwadm. See "man ipfwadm".
>If so, I'd be more interested in where I would specify this
>(etc/rc.d/rc.local ?).
Yes, that would probably be a good place.
HTH
John
--
John Winters. Wallingford, Oxon, England.
The Linux Emporium - the source for Linux CDs in the UK
See http://www.linuxemporium.co.uk/
------------------------------
From: [EMAIL PROTECTED] (Li Hau-Bin)
Subject: directory become file after mount
Date: Wed, 10 Jan 2001 11:45:23 +0000 (UTC)
please help me,
i try to mount a zip drive on /mnt/zip
but after i mount /mnt/zip
the directory /mnt/zip become a file
before mount the directory look like:
drwxr-xr-x 2 root root 1024 Jan 10 12:25 zip/
/dev/hda1 4052132 3266279 576207 85% /
/dev/hda5 8603615 13 8157399 0% /data-a
/dev/hdd5 12873907 529108 11675695 4% /data1
/dev/hdc5 12877498 63220 12144995 1% /data2
after mount the /mnt/zip become a file:
-rwxr-xr-x 0 root root 8746639 Jan 10 03:01 zip*
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/hda1 4052132 3266278 576208 85% /
/dev/hda5 8603615 13 8157399 0% /data-a
/dev/hdd5 12873907 528580 11676223 4% /data1
/dev/hdc5 12877498 63220 12144995 1% /data2
/dev/hdb1 95167 13 90240 0% /mnt/zip
what's wrong with this??
can anyone help me please?
(i'm using redhat linux 6.0,
PIII500 + asus p3bf mother board)
:
thanks
email:[EMAIL PROTECTED]
--
lihb
------------------------------
From: [EMAIL PROTECTED] (H.Bruijn)
Crossposted-To: comp.os.linux.setup
Subject: Re: What is the effect on the kernel when printing( orUSB vs Parallel)
Date: 10 Jan 2001 11:45:40 GMT
Reply-To: [EMAIL PROTECTED]
On Wed, 10 Jan 2001 00:47:41 GMT, Thaddeus L Olczyk allegedly wrote:
>I've got a new printer which can attach either through USB or parallel
>ports. And a choice to make. From a printer perspective USB is
>marginally better, but I will be build 2.4 soon.
>From that perspective I will be adding in support for USB if I use it
>whereas I think that support for the parallel port is mandatory (
>sorry I could be wrong on this one) which would mean that the kernel
>was a little more bloated. In any case, I'm sure there are different
>preformance caracteristics depending on whether I build it to support
>a USB printer vs a parallel printer. Can anyone explain what they
>would be?
>
>PS
>Yes my mobo has USB on it.
AFAIK both can be compiled as modules, so the kernel bloating is not
really an issue. With the kernel module loading the modules will only be
loaded as long as they are needed.
I'd go for USB.
--
If a trainstation is the place where trains stop, what is a workstation?
========================================================================
Herman Bruijn mail: [EMAIL PROTECTED]
The Netherlands website: http://hermanbruijn.com
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Crossposted-To: gnu.gcc.help
Subject: Re: is gcc producing optimal code?
Date: Wed, 10 Jan 2001 06:49:07 -0500
Sebastian Hans wrote:
>
> [EMAIL PROTECTED] wrote:
> >
> > Hi,
> >
> > As I understand it, unless gcc is built as a cross-compiler, it produces
> > the same type of code as it is itself. That is, if gcc package was
> > compiled for 386 (Redhat), it will produce code for 386, thereby not
> > taking advantage of pentium-ness.
> >
> > My question is: do I need to recompile gcc to make it create optimized
> > code?
>
> Hi!
> Not necessarily. The man-page shows that you can at least use -m486 to
> optimize for i486. There's nothing in there about Pentiums, though, at
> least not on my system.
>
On my system, I have the following lines in some makefiles (among others
that I will not bore you with):
MACHINE_TYPE = -mcpu=i686 -march=i686
OPT_LEVEL = -O2
CXX_FLAGS = ${DEBUG_FLAG} ${MACHINE_TYPE} ${OPT_LEVEL}
.C.o:
${CXX} -c ${CXX_FLAGS} ${CXX_INCLUDES} -I${IBM_DB2_HEADERS} $<
It certainly compiles that way. I never examined the .o files to see if
they are optimized to level 2 and never checked to see if it is
scheduling properly for my Pentium IIIs and using Pentium III
instructions that are not in a 386, though. I do not know the difference
(from a programming in assembler) between the chips. I did know the 8086
and 80286 because I had to do some assembler-level programming for them
in the bad old days, but I could not tell for which chip *86 code is
intended.
With one suite of applications, -O3 does not work (it compiles OK), or,
if it does, it makes the programs so slow that I run out of patience
waiting for them. But this is a big dbms problem and perhaps the
applications compiled with -O3 are incompatible in some way with the
vendor-supplied API libraries or something like that. I did not persue
it because it is a client-server arrangement, and 99% of the time is
spent in the dbms server, so there is really not much point in
optimizing the client applications much.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:40am up 1 day, 7:50, 2 users, load average: 2.34, 2.20, 2.05
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: using library files w/o installing
Date: Wed, 10 Jan 2001 06:52:51 -0500
[EMAIL PROTECTED] wrote:
>
> hi,
> I want to use an app that requires a library file to be installed
> (it is actually xmps which needs smpeg library) . But I dont have root
> perms on my machine. How can I use the library file with the app ???
>
Stick it somewhere where you do have write-permission, and when you
compile the application, tell the loader to look there for it. E.g., cc
all_your_dotOs, fullpath_name_to_library all_your_-l_flags
That is assuming the library is a .a file.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey
^^-^^ 6:50am up 1 day, 8:00, 2 users, load average: 2.15, 2.10, 2.06
------------------------------
** 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.misc.
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-Misc Digest
******************************