Linux-Misc Digest #389, Volume #24 Sun, 7 May 00 08:13:03 EDT
Contents:
Epson 900N remote printing (Rod Haper)
Re: Like Defrag.exe in Win, but in Linux. ([EMAIL PROTECTED])
Re: Is JavaServer Pages alive in Linux? (Channing Walton)
Re: Need to find my IP address ("christos karayiannis")
Re: Epson 900N remote printing (Rod Haper)
Re: Having a problem with tar. (YamYam)
Re: Program launches with Console (YamYam)
Re: Benchmarks and relative speeds (Charlie Baylis)
Toshiba Laptop and Linux ([EMAIL PROTECTED])
Re: anonymous ftp problem (Nicolas Eymerich)
Re: Those distributions are stupid (Marcus Meissner)
Re: List number of files in directory? ([EMAIL PROTECTED])
Re: what changed my /tmp's write permissions? (Villy Kruse)
Installing lilo (wmuser)
Re: **** USER PERMISSIONS **** (Raffael Herzog)
segmentation fault ? (Dave Thompson)
SIMPLE HELP (urgent please) ("virgin")
HELLPPP PLEEEASSSE ("servet")
Re: Installing lilo ("Peter T. Breuer")
Re: segmentation fault ? ("Peter T. Breuer")
"Neighbour table overflow" repeatedly? (Andrew Purugganan)
----------------------------------------------------------------------------
From: Rod Haper <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.list,comp.os.linux.hardware
Subject: Epson 900N remote printing
Date: Sun, 07 May 2000 08:20:08 GMT
Has anyone got an Epson Stylus Color 900N network printer using TCP/IP
working as a remote print server on RHL? If so, what postscript print
filter and options are you using?
Rod
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: Like Defrag.exe in Win, but in Linux.
Date: Sun, 07 May 2000 08:28:26 GMT
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:
> On Sat, 06 May 2000 23:30:07 GMT, Federico Czerwinski wrote:
> >Hey!, this questoin is a short one, just this, Is there any program
for
> >Linux that defrags the disk, just like Defrag.exe in windows? Where
can i
> >get it?, Thanx!
>
> This is a pretty FAQ, but nevertheless, any excuse to expound apon the
> virtues of Linux. ;>
>
> The ext2 filesystem isn't as prone to fragmentation as the FAT
filesystem
> is. (FAT32 included). I've had a Linux system running for almost a
year,
> and I think the / partition was about 2.9% "non-contiguous" when I
> installed a new version of SuSE.
>
> I'm sure there exists a defragmentation utility for Linux, but I
highly
> don't reccomend it. Besides that, it just isn't neccesary.
>
> Linux takes care of itself. Let it. :>
>
> --
> Stewart Honsberger (AKA Blackdeath) @ http://sprk.com/blackdeath/
> [EMAIL PROTECTED] (Remove 'thirteen' to reply privately)
> Humming along under SuSE 6.4, Linux 2.2.14
>
That's about right. Linux just like its big brother UNIX looks for the
next available block to write data to. Unlike winbloze that goes
pretty much where it wants. Also if you set up your file system
properly you should have no issues with fragmentation for a long time
or even at all. I know there are some utilities out there but it's
just not needed.
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Channing Walton <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,alt.os.linux,comp.lang.java.programmer
Subject: Re: Is JavaServer Pages alive in Linux?
Date: Sun, 07 May 2000 08:50:34 +0000
You might find http://jakarta.apache.org/ useful (tomcat)
Channing
------------------------------
From: "christos karayiannis" <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.development.apps,comp.os.linux.development.system,comp.os.linux
Subject: Re: Need to find my IP address
Date: Sun, 7 May 2000 11:46:53 +0300
I used getsockname() as:
if (getsockname(sock, (struct sockaddr *) &host, &addrlen) < 0 ) {
perror("getsockname");
exit(1);
}
printf("My port is %d\n", ntohs(host.sin_port));
printf("My address is %s\n", inet_ntoa(host.sin_addr.s_addr));
where host was of type struct sockaddr_in and
addrlen of type int.
Christos Karayiannis
Doug Schulz <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have a sockets program an need to find the IP address of the machine
> the program is being run from so I can bind the socket to the correct
> address/port. I have tried using gethostname coupled with gethostbyname
> and I can only get 127.0.0.1 (localhost address). I want to find the
> actual IP address of the machine. Is there a way of doing this. Any
> help would be great.
>
> FYI this is a UDP app.
>
> Thanks,
>
> Doug
>
------------------------------
From: Rod Haper <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.list,comp.os.linux.hardware
Subject: Re: Epson 900N remote printing
Date: Sun, 07 May 2000 09:26:36 GMT
Answering my own question and posing another:
I searched the old postings and found several usefull and helpfull leads
which I followed to find that the stc500p.upp (360x360 dpi) and the
stc500ph.upp (720x720 dpi) uniprint filters work fine for the ESC 900N
although the dithering is a little ragged. So now I have it working
fine as a remote print server. But I would also like to use the
1440x720 dpi microweaved mode for high res graphics printing. So, my
new question is this:
Does anyone have a 1440x720 dpi microweave uniprint filter that works
with the ESC 900N on RHL?
Rod
Rod Haper wrote:
>
> Has anyone got an Epson Stylus Color 900N network printer using TCP/IP
> working as a remote print server on RHL? If so, what postscript print
> filter and options are you using?
>
> Rod
------------------------------
From: YamYam <[EMAIL PROTECTED]>
Subject: Re: Having a problem with tar.
Date: Sun, 07 May 2000 09:30:02 GMT
Christopher, write the tar command that u type when u wanna extract a tar file.
-YamYam.
kooloholic wrote:
>
>
> This is no doubt an extremely simple problem to fix (I'm probably
> forgetting something) but I'm stumped.
>
> I have a tar file, created by a user, let say "webs", on one linux box.
> This tar file then gets FTP'd through several machines (and several
> firewalls) to a final destination machine. I then try to untar. The tar
> file contains relative paths (relative to / on the source machine, eg.
> home/webs/somedir/somefile). When I try to untar relative to / on the
> destination machine it will not create directories that do not already
> exist. For example, take the example above, if "somedir" doesn't exist,
> it will not create it... unless I untar as root.
>
> Sounds like a permission problem, right? Well, the original source files
> were owned by "webs", the tar file is owned by "webs", the directory
> "home/webs" (in which "somedir" should be created is owned (and read,
> write, executable) by "webs". Only / is not read/write/executable by
> webs, but it shouldn't have to be. If user "webs" manually creates the
> directory "somedir", tar if perfectly happy untaring "somefile".
>
> I've gotten this to work on other machines. The only difference I've
> found is that the machine I'm interested in now runs tar version 1.12,
> where the others are 1.13.x. Is this a version problem, or am I missing
> something simpler? Past experience leads me to believe it's the latter.
> =)
>
> Any help is greatly appreciated.
>
> Cheers, Christopher
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: YamYam <[EMAIL PROTECTED]>
Subject: Re: Program launches with Console
Date: Sun, 07 May 2000 09:30:05 GMT
mpierce wrote:
>
>
> XMMS launches with a console. Is this caused by a permission problem
> that I can overcome with a link?
Sure, u can make a link on ur desktop "if u have gnome, or kde".
Or when u're running kde u can press "ATL+F2" at the same time and type the path of
xmms to launch it.
-YamYam.
>
> Marvin
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Charlie Baylis <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: Benchmarks and relative speeds
Date: Sun, 07 May 2000 10:27:19 +0100
In article <[EMAIL PROTECTED]>,
Raj Rijhwani <[EMAIL PROTECTED]> wrote:
> I recently build a new machine based around an AMD recommended motherboard
> and K6-2/500. The strange thing is that with two identical Linux
> installations this machine appears to be a little less than 20% faster
> than my P160 machine (overclocked at 200). The test here is setiathome
Seti is very FP and memory intensive, and isn't a representative test of
system performance. (Of course, it's a very good test if you purchased the
system to run setim but that presumably wasn't your primary intention). The
K6-2 has a relatively weak FPU. Try compiling identical kernels with
identical configs on each (using the same version of everything) and see what
happens. This should scale at linearly with CPU power, and more if the K6-2
machine has more RAM.
> (I heard some rumblings about Linux not behaving well with more than
> 64Mb of RAM. Since the new machine has 128Mb I wonder, is this a true
> concern?)
I think this comes from old machines not having the ability to cache memory
above 64MB. Not a concern with modern hardware.
Charlie
------------------------------
From: [EMAIL PROTECTED]
Subject: Toshiba Laptop and Linux
Date: Sun, 07 May 2000 09:25:29 GMT
Basically what I need to know is can the below run a cut down RedHat
with a GUI, emacs and a fortran compilier. I assume I won't be able to
get GNOME to work, so what else does anyone suggest.
The Laptop is:
Toshiba T1950CT
CPU 486
Harddrive 202Mb
Ram 12Mb
Video card Western Digital
Display LCD 800x600
Oh, I suppose the big question is will I have any problem get XF86free
working?
Cheers
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Nicolas Eymerich <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: anonymous ftp problem
Date: Sun, 07 May 2000 09:45:56 GMT
In article <[EMAIL PROTECTED]>,
hauck[at]codem{dot}com wrote:
>> I am trying to set up an anonymous ftp server on my Linux machine,
>> using wu-ftp. However, when users try and log in anonymously
> What happens if they just enter their email address? Here's what my
> wu-ftpd does:
I had a similar problem with wu-2.6.0(1) on a RedHat 6.1 box.
Anonymous access works fine but anon user can't do ls of the assigned
/home/ftp/pub directory. However, get over a existent file do the job.
Thanks in advance for any hint.
--
http://carini.tripod.com/
http://www.carini.net/
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: [EMAIL PROTECTED] (Marcus Meissner)
Crossposted-To:
ch.comp.os.linux,alt.os.linux,comp.os.linux,comp.os.linux.development,de.comp.os.unix.linux.misc
Subject: Re: Those distributions are stupid
Date: 6 May 2000 18:39:22 +0200
In article <[EMAIL PROTECTED]>, charlie <[EMAIL PROTECTED]> wrote:
>-=-=-=-=-=-
>
>They are not even able to follow a single Linuxbasesystem to make it
>developers
>possible to develop programms for more than one distribution or to have
>lots of
>configuration files. REALLY STUPID!!!!!!!!!!!!!!!!!!!!!!!!!
>Let's swap then all to FreeBSD or even back to windoze.
The Linux Standard Base is being worked on currently which will avoid
this problem in the future.
Check out http://www.linuxbase.org/
Ciao, Marcus
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: List number of files in directory?
Date: Sun, 07 May 2000 10:33:26 GMT
Ken Williams <[EMAIL PROTECTED]> did eloquently scribble:
> How can I find out how many files are under a branch? like under DOS I could
> type
> cd \temp
> dir /s
> and end up showing my the number of files and the total size of them all.
> Under Linux all I got it du for the total size. How about the number of files?
> Why does ls suck so much? It should have a swich like -t for totals or
> whatever.
find /directory | wc -l
will do that. Find lists all files in a specified directory. The output of
the find is then piped into wc (word count). The -l option counts lines.
root# find . | wc -l
56
Spike% find . | wc -l
1897
Spike%
See? There's no need for a specialist command option when it's quite simple
to combine two commands to do the same thing.
--
=============================================================================
| [EMAIL PROTECTED] | Windows95 (noun): 32 bit extensions and a |
| | graphical shell for a 16 bit patch to an 8 bit |
| Andrew Halliwell BSc | operating system originally coded for a 4 bit |
| in |microprocessor, written by a 2 bit company, that|
| Computer Science | can't stand 1 bit of competition. |
=============================================================================
|GCv3.12 GCS>$ d-(dpu) s+/- a C++ US++ P L/L+ E-- W+ N++ o+ K PS+ w-- M+/++|
|PS+++ PE- Y t+ 5++ X+/X++ R+ tv+ b+ DI+ D+ G e++ h/h+ !r!| Space for hire |
=============================================================================
------------------------------
From: [EMAIL PROTECTED] (Villy Kruse)
Subject: Re: what changed my /tmp's write permissions?
Date: 7 May 2000 10:58:35 GMT
On 7 May 2000 02:06:12 +0200, Hans Kinwel <[EMAIL PROTECTED]> wrote:
>
>Are you using dump/restore perchance? I do, and I usually restore files in /tmp.
>When restore is done it asks "Do you want to set the owner/permission for . ? [y/n]".
>
>I used to say yes, and thereby I set ownership and permission of . (which
>was /tmp in my case) to . as was on the backup tape. My (windows)
>users immediately called that they couldn't print anymore....after some
>searching I found that /tmp had changed permissions. Strange..
>
>After some weeks when I had to restore a file again and the same thing
>happened all over again. Only then I realized.
Then one have to ask the question: from where does restore get the
idea to change the /tmp permisions? Maybe the backup was from a
different directory and the permisions came from the source directory.
In that case I would prefer to create a directory in /tmp, make that
the current directory before trying to run restore.
Villy
------------------------------
From: wmuser <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Installing lilo
Date: Sun, 07 May 2000 11:15:49 +0200
I've recently installed Debian on my pc, but I failed to get lilo
working
properly. The problem seems to be that my linux partition is on the
second hd. From what I've read in the doc-files a solution would be
to install lilo in the MBR, that is on /dev/hda if I got it right. The
problem
is it doesn't say how you actually install lilo there: I installed it on
the
second hd while in the Debian installation tool (which seemingly didn't
give me the option to install on the first hda, which only contains a
w95
partition). How do I install lilo?
--
Alex Borghgraef
------------------------------
From: Raffael Herzog <[EMAIL PROTECTED]>
Crossposted-To:
comp.os.linux.networking,com.os.linux.redhat,comp.os.linux.setup,nf.comp.linux,alt.os.linux
Subject: Re: **** USER PERMISSIONS ****
Date: 07 May 2000 13:02:46 +0200
Frederick Artiss <[EMAIL PROTECTED]> writes:
> What distro of Linux have you? For RedHat there is linuxconf.
>
> Tux wrote:
>
> > Hi there,
> >
> > Is there any way to set user permissions in linux as you would in
> > another NOS like NT or Novell...?? What I am referring to is the
> > ability to assign individual users with the access to perform some,
> > most, or all of the actions of a root or su user.... For instance,
> > would I be able to assign access rights to an ordinary user so they
> > would be able to shutdown the system, edit system files, or something
> > similar...??? *s*
> >
> > Thanks,
> > Trevor...
man sudo
man sudoers
man chmod (look for setuid, flag +s) - this one is rather risky
But be careful!
--
Raffael Herzog
[EMAIL PROTECTED]
ICQ #67961355
------------------------------
From: Dave Thompson <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: segmentation fault ?
Date: Sun, 07 May 2000 11:28:53 GMT
What is a segmentation fault ? I'm getting this message trying to run
texpire, part of leafnode.
Thanks.
Dave Thompson
------------------------------
From: "virgin" <[EMAIL PROTECTED]>
Subject: SIMPLE HELP (urgent please)
Date: Sat, 6 May 2000 12:31:01 -0700
I need some help guys,
PLEASE , PLEASE
All I am trying to do is to write a script(s) to do ;
1- Get the disk space used and then check it 2 hours later and find the
difference and display it (such as for disk1 it was 550MB and now 580MB ...)
2- Or find the differences in disk space used now and the last time this
script is used.
3- Also on the command line when I write ;
df -h
how can I filter (get rid of) the fifth and/or sixth column (fields).
4- I also need a very simple script to send the result of a command to
someone in the system or anyone outside the system.
Thanks in advance
------------------------------
From: "servet" <[EMAIL PROTECTED]>
Subject: HELLPPP PLEEEASSSE
Date: Sat, 6 May 2000 12:33:31 -0700
I need some help guys,
PLEASE , PLEASE
All I am trying to do is to write a script(s) to do ;
1- Get the disk space used and then check it 2 hours later and find the
difference and display it (such as for disk1 it was 550MB and now 580MB ...)
2- Or find the differences in disk space used now and the last time this
script is used.
3- Also on the command line when I write ;
df -h
how can I filter (get rid of) the fifth and/or sixth column (fields).
4- I also need a very simple script to send the result of a command to
someone in the system or anyone outside the system.
Thanks in advance
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: Installing lilo
Date: 7 May 2000 11:35:30 GMT
In comp.os.linux.misc wmuser <[EMAIL PROTECTED]> wrote:
: I've recently installed Debian on my pc, but I failed to get lilo working
: properly. The problem seems to be that my linux partition is on the
: second hd. From what I've read in the doc-files a solution would be
That's not a problem. Being on the second IDE controller would probably
be a problem for your bios, however. So where is your second disk?
Anyway you can boot from dos/windows using loadlin.exe just fine.
: to install lilo in the MBR, that is on /dev/hda if I got it right. The problem
: is it doesn't say how you actually install lilo there: I installed it on the
Man lilo/read the LILO-HOWTO. It should be about the first entry in lilo.conf.
Boot= ....
Peter
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: segmentation fault ?
Date: 7 May 2000 11:36:45 GMT
Dave Thompson <[EMAIL PROTECTED]> wrote:
: What is a segmentation fault ? I'm getting this message trying to run
: texpire, part of leafnode.
Man signal. Man core. Read the unix faq ...
Its an attempt to access memory space that doesn't belong to it.
Peter
------------------------------
From: [EMAIL PROTECTED] (Andrew Purugganan)
Subject: "Neighbour table overflow" repeatedly?
Date: 7 May 2000 11:44:19 GMT
I have a small network eth0 (trying to get samba to work). I managed to
get IP masquerading and sharing an internet connection working.
Occassionally I get this 'neighbour table overflow' interrupting my root
session, and it keeps repeating. I saw this too in tail /var/log/messages:
kernel neighbour table overflow
and the next set of messages don't have the word kernel in them. I
upgraded my Mandrake 6.0 KERNEL only using a 2.2.13 RPM as they advise
security has been enhanced for IPmasq in these later versions. I tried
compiling my own but can never get past the errors to get a bzImage so I
gave that up.
Does anyone know what this message is all about? Any help would be
appreciated
--
jazz annandy AT dc DOT seflin DOT org
Registered linux user no. 164098
Doesn't it bother you, that we have to search for intelligent life
--- OUT THERE??
------------------------------
** 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 (and comp.os.linux.misc) via:
Internet: [EMAIL PROTECTED]
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
******************************