Linux-Misc Digest #427, Volume #27               Fri, 23 Mar 01 06:13:02 EST

Contents:
  Re: tar questions ("Pavan")
  Pleas.. I need help (Michael Fakaro)
  Re: tar questions (Dowe Keller)
  Re: how to search filesystem for a file? (Koos Pol)
  Re: Weird(?) magic word for sh to invoke perl under Linux (Abigail)
  Re: Linux for a 486? ("green")
  some body help me~~ (hsiu)
  Kde - how to change x display size. ("green")
  Re: Swiching between Linux and Windows (Bart Friederichs)
  Re: login: ERROR: No such user! (Bart Friederichs)
  Re: tcpdump capturing faulty??? ("Rick")
  Reporting tools on linux ("Bindou")
  help with RPM (Massimiliano Caovilla)
  Re: help with RPM (Christopher Albert)
  Re: Log history.. (Julian T. J. Midgley)

----------------------------------------------------------------------------

From: "Pavan" <[EMAIL PROTECTED]>
Crossposted-To: alt.comp.linux,alt.os.linux.mandrake,comp.os.linux.setup
Subject: Re: tar questions
Date: Fri, 23 Mar 2001 14:10:09 +0530

> mkfs -t ext2 on it, then mounted it (not sure if this is neccessary
before
> using tar), and then tar cvf my /home onto it.  I just used that
directory

Just what exactly are you trying to do. Tell the exact commands. If
you tar directly to a floppy it is done using

$ tar cvf /dev/fd0 /home

You cannot mount this floppy. To see the contents, You must do a

$ tar tf /dev/fd0

If you want to put it to a ext2 filesystem, you should use

$ tar cvf /mnt/floppy/mytarfile /home

with the floppy mounted on /mnt/floppy.

Hope this helps,
Pavan



------------------------------

From: Michael Fakaro <[EMAIL PROTECTED]>
Subject: Pleas.. I need help
Crossposted-To: alt.os.linux.caldera,comp.os.linux.hardware,comp.os.linux.setup
Reply-To: [EMAIL PROTECTED]
Date: Fri, 23 Mar 2001 00:41:19 -0800

Well I am new to Linux and it's sure beating me up...

I loaded my system it wouldn't print.. somehow using the how to's I screwed 
it up so bad I had to wipe the partition and do it again..

Finally with some help from these lists I got the unit to print....... 

Then I attempted to install my ZIP drive on my own again.. and what do you 
know now I can't print again and I can't access my Zip either..

I followed the step by step instructions and did actually get my Zip to 
read.... 

I typed modprobe ppa, and then mounted it.... went OK

But when I went to print the step by step instructions for filing away.. no 
printing

But I have to print!!!! what's wrong?? I went and tried to back track but I 
just don't know.... maybe I should stick with OS/2.........

In klpq I get the following message at the bottom

"Host 'localhost' - cannot open connection to 'ps@localhost'- Connection 
refused"

When I try to schedule the printer in WebMin it gives me this error 

"Failed to start scheduler : lpd: Fatal error - Another print spooler isu 
sing TCP printer port, possibly lpd process '567' " 

I went into LISA and took scsi and ppa out of the kernel.. I thought maybe 
that was blocking the printer port???

once I got frustrated and type modprobe ppa again and my zip drive started 
and it actually printed one page and quit again.....

The I had to take ppa out of the kernel again???

Linux looks and feels awesome, but its got me beat..... and embarrassed

Any help would be greatly appreciated

Thanks

Mike



------------------------------

From: [EMAIL PROTECTED] (Dowe Keller)
Crossposted-To: alt.comp.linux,alt.os.linux.mandrake,comp.os.linux.setup
Subject: Re: tar questions
Date: 22 Mar 2001 22:36:23 -0800

On Thu, 22 Mar 2001 13:15:01 -0800, Gregg Black <[EMAIL PROTECTED]> wrote:
>
>Right now I'm experimenting with tar within my mandrake 7.2.  These are the
>steps I've used to try and successfully tar onto my floppy.  I'm reading off
>of O'Reilly's Running Linux book.  I've fdformat'ed the floppy I have, used
>mkfs -t ext2 on it, then mounted it (not sure if this is neccessary before
>using tar), and then tar cvf my /home onto it.  I just used that directory
>to make sure it wasn't bigger than the floppy.  Anyhow, it seems to go
>alright, but why is it that I can't ls the /mnt/floppy directory?  It gives
>me a can't find ext2 filesystem error when trying to remount the floppy that
>was written on by tar.  I'm a newbie, so I would appreciate some pointers
>here.  Thanks!

After you mount the floppy, you said you tarred your root dir onto it,

Did you tar into the directory on which you mounted the floppy (i.e.
"tar cf /mnt/floppy/root.tar /"), or did you tar onto the device
itself (i.e. "tar c / > /dev/fd0")?

Hint, the first is probably what you wanted to do judging from the
fact that you created a filesystem on the floppy.



-- 
[EMAIL PROTECTED]              http://www.sierratel.com/dowe

WARNING - the content of this USENET post may be erronius, mispelled and
perhapse even flamable.  It also contains small parts that could cause
asphixiation.  NOT RECOMENDED FOR CHILDREN UNDER 3 YEARS OF AGE


------------------------------

From: Koos Pol <[EMAIL PROTECTED]>
Subject: Re: how to search filesystem for a file?
Date: Fri, 23 Mar 2001 09:56:25 +0100

Hartmann Schaffer wrote:

> In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote:
> >Is there a way in Linux to search through all the subdirectories
> >under the
> >one your in for a specific file?  For instance if I wanted to
> >find "file.txt" in DOS I would do:
> 
> find <starting directory> -name file.txt -print


Why is everybody forgetting about the 'locate' command?

-- 
Koos Pol - Systems Administrator - Compuware Europe B.V. - Amsterdam
[EMAIL PROTECTED]

Check my email address when you hit "Reply".


------------------------------

From: [EMAIL PROTECTED] (Abigail)
Crossposted-To: comp.unix.shell,comp.lang.perl.misc
Subject: Re: Weird(?) magic word for sh to invoke perl under Linux
Date: Fri, 23 Mar 2001 09:34:06 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

Harlan Grove ([EMAIL PROTECTED]) wrote on MMDCCLXI September MCMXCIII in
<URL:news:6oxu6.741$[EMAIL PROTECTED]>:
[] Abigail <[EMAIL PROTECTED]> wrote in ...
[] >* Tong * ([EMAIL PROTECTED]) wrote on ...
[] >%% [EMAIL PROTECTED] (Abigail) writes:
[] ...
[] >%% > Then /usr/bin/env only works for those who have the correct path.
[] >%%
[] >%% yes, Abigail, but the normal situation is that the sys admin won't
[] >%% change anything for any personal requests. Setting my path correctly
[] >%% is far more easier than making them believe /usr/bin/perl is the
[] >%% right place for perl...
[] >
[] >Hmmm. So, setting the path correctly on all systems for all users under
[] >all circumstances (cron! -T!) is *easier* than setting #! once for each
[] >program on each system? Which you could do from 'make install' anyway?
[] ...
[] 
[] The sysadmin would only do custom software installations into /usr/local or
[] /opt but would allow mere users to write generally available scripts?
[] Wouldn't it be FAR MORE LIKELY that this is an individual user writing
[] scripts for personal use? S/he does have to ensure her/his path is correct,
[] but if so, then getting the path right would be the way to go - allowing
[] individuals to put /usr/local/bin, /opt/bin or (Solaris-specific) the POSIX
[] bin directory before /usr/bin without affecting general stuff.

If it's just an individual writing a program for personal use, why would
such an individual have the need for the env trick, or the eval one?
It isn't hat perl will be walking all over. Perl will remain in one place.
Stick that place in the top line, and you're done.

[] It should be obvious from the original post that the OP is running a script
[] in ~. Presumably ALL USERS wouldn't need access to it. Only ONE user would
[] need the appropriate path. Seems practical.

Seems to me that the OP planned to distribute the program. Or else,
the stated problem would not be a problem at all.

[] >As for that sysadmin, I am such a sysadmin. I do believe that
[] >/usr/bin/perl is the right place - for the perl that comes with the
[] >OS. The perl that's current, compiled with the available compiler and
[] >compiled with the options desired does live elsewhere. /opt/perl for
[] >instance. And guess what, that isn't in someones default $PATH.
[] ...
[] 
[] You mean mere users can't modify their PATH in their own shell profile or rc
[] files? If people are smart enough to write scripts, wouldn't they be smart
[] enough to change PATH? Assuming neither . not ~/bin is in their default
[] path, they're either going to get very sick of typing ./ or similar before
[] every command or they're going to change their path.

People putting . in their PATH will be bitten sooner or later anyway.



Abigail
-- 
               split // => '"';
${"@_"} = "/"; split // => eval join "+" => 1 .. 7;
*{"@_"} = sub {foreach (sort keys %_)  {print "$_ $_{$_} "}};
%{"@_"} = %_ = (Just => another => Perl => Hacker); &{%{%_}};

------------------------------

From: "green" <[EMAIL PROTECTED]>
Subject: Re: Linux for a 486?
Date: Fri, 23 Mar 2001 19:46:56 +1000

I just got peanut loaded on mine with kde.

netscape chrashes it.

but the kde html prog works ok.

16mb ram, 486 dx/4 100 33mhz bus 200mb disk, tvga 9800c svga card, svga
monitor.

don't give up it's possible.

michael


"Mike Flournoy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> in article [EMAIL PROTECTED], Hartmann Schaffer at
> [EMAIL PROTECTED] wrote on 3/22/01 10:10 PM:
>
> > In article <[EMAIL PROTECTED]>, Mike Flournoy wrote:
> >> I am ignorant to Linux but have a old 486 I wanted to use to learn on.
It
> >> appears most newer versions are aimed at Pentiums. Is it possible to
run
> >> linux with a GUI on a 486 or is that just too slow?
> >
> > i used to run it on a 486dx2/66 with first 16, then 32 mb and 1GB, then
2,
> > then 4 without any problems.
> >
> > the base system should install on <100mb disk (actually, there are
> > distributions that fit on a floppy) and 8mb ram, but in this case there
isn't
> > much you can do with it.  all major distributions come with tons of
> > applications, and esp. the major ones (like redhat) tend to install
every-
> > thing in sight, so you would most likely run out of disk space.  afaik
each
> > distribution lets you do a custom install which is time consuming (you
have
> > to pick the packages or package groups, and with the number of available
> > packages that takes a while).  personally, i found the custom install
> > relatively easy with debian and slackware, not so pleasant with redhat,
no
> > experience with other distributions.
> >
> > many years ago the common wisdom was that you would need at least 8mb to
run
> > X.  i suspect that even if that is still possible it would be painfully
> > slow, so go with at least 16, better 32mb (unfortunately you didn't
specify
> > how much memory you have, but with less than 16 mb i would stick with a
non
> > X installation, or upgrade the memory).  on a 486 i would stay away from
the
> > big desktops like gnome or kde, just stick to one of the early window
mangers
> > like fvwm2 or fvwm95 (if you crave the windows feeling).  they provide
much
> > of the same gui functionality, but with less flash.
> >
> > the rest is a question of picking the applications you install wisely,
keeping
> > available ram and disk space in mind
> >
> > hs
> Thanks for all the input. I was gifted a NeXT machine which is really nice
> but the screen is going dim ( a common problem with them apparently )and
is
> only B & W. It works so well on a motorola 68040 & 16mb ram that I thought
> Linux on a 486 might work as well and give me a color screen and better
> printer support.  But then when I researched everything points to pretty
> heavy hardware. Oh well.
>  It sounds like Afterstep might be my best option but I'll need more ram
and
> maybe a bigger HD. I have a Digital 486/50 with 16mb and either 200mb or
> 500mb hd, I'll have to fire it up and check.
>
>        Mike
>



------------------------------

From: [EMAIL PROTECTED] (hsiu)
Subject: some body help me~~
Date: 23 Mar 2001 08:12:38 GMT

I got some trobule.Could you tell me how to solve this problem?

thanks a lot~~
ps:compile no error.


make
....
....
....
....
....
(cd ../../; scripts/insrtl)
Now insert the C++ support module
insmod rtl_cpp.o
Now start the real-time tasks  module
Type <return> to continue

app.o: unresolved symbol pthread_make_periodic_np__FP17rtl_thread_structxx
app.o: unresolved symbol pthread_wait_np__Fv
app.o: unresolved symbol rtf_get__FUiPvi
app.o: unresolved symbol rtl_printf__FPCce
app.o: unresolved symbol pthread_suspend_np__FP17rtl_thread_struct
app.o: unresolved symbol rtf_put__FUiPvi
app.o: unresolved symbol pthread_delete_np__FP17rtl_thread_struct
app.o: unresolved symbol __rtf_create__FUiiP6module
app.o: unresolved symbol gethrtime__Fv
app.o: unresolved symbol cos
app.o: unresolved symbol 
__pthread_create__FPP17rtl_thread_structPC19STRUCT_PTHREAD_ATTRPFPv_PvPvP6module
app.o: unresolved symbol __this_fixmap_does_not_exist__Fv
app.o: unresolved symbol pthread_wakeup_np__FP17rtl_thread_struct
app.o: unresolved symbol rtf_create_handler__FUiPFUi_i
app.o: unresolved symbol sin
app.o: unresolved symbol rtf_destroy__FUi
make: *** [test] Error 1

--
�� Origin: �Ӹ۸�T <bbs.cynix.com.tw> 
�� From: a6-1.me.chu.edu.tw

------------------------------

From: "green" <[EMAIL PROTECTED]>
Subject: Kde - how to change x display size.
Date: Fri, 23 Mar 2001 19:50:16 +1000

It seems kde locks you in to 1 screen resolution.

ctrl + and - don't work.

they were when it was just the x server.

does any one know how to re enable them or change the resolution on the fly?

I don't what to change the monitor or display setings in xf86config if i
don't have to.

Thanks in advance.






------------------------------

From: Bart Friederichs <[EMAIL PROTECTED]>
Subject: Re: Swiching between Linux and Windows
Date: Fri, 23 Mar 2001 10:08:45 GMT

arasu wrote:
> 
> Hi,
> 
>  I have Linux Redhat and Windows 98 on the same computer in two
> different hardisks.
> I wish to switch over from Linux to Windows98, and Windows to Linux
> wihout
> shut down or log out. Can any one inform me  how to configure this?

There are several ways:
- VMWare, which is too slow in my opinion, I ran it on a Athlon 700             w/
256M of RAM and still the Windows speed was comparable          to a P90 w/ 16M
- Win4Lin, never tried it, they say it runs Windows on native speed
- Wine to run Windows apps in Linux
- Get a second PC, and a console switch.

Bart
=======================================================================
The internet is a too slow way of doing things you'd never do without
it.
                                              Bart Friederichs, 1998
=========================================================================

------------------------------

From: Bart Friederichs <[EMAIL PROTECTED]>
Subject: Re: login: ERROR: No such user!
Date: Fri, 23 Mar 2001 10:10:36 GMT

folgui wrote:

> Since a few days ago, when console login appears, it shows me -> ERROR: No
> such user!

Just what it says, no such user. Make user you typed the username
correctly. See /etc/passwd to soo if the user really exists.

Bart
-- 
=======================================================================
The internet is a too slow way of doing things you'd never do without
it.
                                              Bart Friederichs, 1998
=========================================================================

------------------------------

From: "Rick" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.unix.programmer,comp.os.linux.networking,alt.os.linux,comp.dcom.net-management,alt.os.linux.mandrake
Subject: Re: tcpdump capturing faulty???
Date: Fri, 23 Mar 2001 18:35:04 +0800

Hello all,
After experimenting further, I realised that if i reduced to 3 simultaneous
stream, tcpdump is able to accurately capture the 3 flows...

Anyone has an idea why??


"Rick" <[EMAIL PROTECTED]> wrote in message
news:3aba6a40$[EMAIL PROTECTED]...
> Hello,
> I am testing traffic control on linux. I used Tele-traffic tapper
> (http://www.csl.sony.co.jp/person/kjc/programs.html) to see real-time
> throughput of my client and it shows that traffic control of different
type
> of traffic flow works! However when i used tcpdump, it shows that priority
> doesn't work, meaning all flows have the same bandwidth => tc doesn't
work.
>
> In detail:
>
> Experiment 1: With borrow, FAILED. With all streams bounded, works.
> When i set on 192.168.1.10:
> port 42011  -->  5 (Mbps)
> port 42012  -->  10
> port 42013  -->  15
> port 42014  -->  20
> port 42015  -->  50
>
> Experiment 2:
> When i set on 192.168.1.10:
> port 42011  -->  Priority 1
> port 42012  -->  Priority 2
> port 42013  -->  Priority 3
> port 42014  -->  Priority 4
> port 42015  -->  Priority 5
>
>
> On Tele traffic tapper (TTT), works fine but not tcpdump. What do i mean
by
> tcpdump cannot work:
> 1. After i tcpdump it, TTT can actually read from the dump file. But it
> shows Traffic control doesn't work; i.e. Meaning all 5 streams share the
> same bandwidth.
>
> 2. I tcpdump into a file and post analysis it by breaking it into the
> traffic from each different port. And i graph it. DOesn't work!! Meaning
all
> 5 streams share the same bandwidth.
>
> Has anyone come across this major hiccup???
>
>
> Regards.
>
>
>





------------------------------

From: "Bindou" <[EMAIL PROTECTED]>
Subject: Reporting tools on linux
Date: Thu, 22 Mar 2001 17:52:11 +0400

Hi all,
Is there any reporting tool on linux such as the crystal report on windows?

Rgds
Bindou



------------------------------

From: Massimiliano Caovilla <[EMAIL PROTECTED]>
Subject: help with RPM
Date: Fri, 23 Mar 2001 10:43:24 GMT

        Hello,
I hope I'm not OT, anyway:
I need to make a binary package with RPM that installs my files on a
directory called (let's say) /pino, that must be a link from a directory
(let's say) /usr/pino, that should be specified by the user during the
installation:
 my guess about doing this was to put a bash script in the %pre section
of the .spec file that asks the user and makes the link, but when I
tried, the rpm -i went straight on without asking me nothing: I think
the input is not READ from the terminal, but redirected by rpm. How do I
get out from this?
 Thanks for any help.

        ciao

P.S. I already read the RPM howto

------------------------------

From: Christopher Albert <[EMAIL PROTECTED]>
Subject: Re: help with RPM
Date: Fri, 23 Mar 2001 12:05:07 +0100

Massimiliano Caovilla wrote:
> 
>         Hello,
> I hope I'm not OT, anyway:
> I need to make a binary package with RPM that installs my files on a
> directory called (let's say) /pino, that must be a link from a directory
> (let's say) /usr/pino, that should be specified by the user during the
> installation:
>  my guess about doing this was to put a bash script in the %pre section
> of the .spec file that asks the user and makes the link, but when I
> tried, the rpm -i went straight on without asking me nothing: I think
> the input is not READ from the terminal, but redirected by rpm. How do I
> get out from this?
>  Thanks for any help.
> 
>         ciao
> 
> P.S. I already read the RPM howto

Massimiliano,
I'm not sure I understand exaclty what you want to do with the links,
but you might be able to build your rpm as "relocatable" by including a
"prefix" tag line in your spec file. This works if all your files in
your file list start with the same directory prefix. Then you can
install with 
rpm -ihv --prefix="/your_new_install_dir" . This will allow you to
install the rpm in a variety of places, and then you can use the value
of that prefix variable in a %post script to set up a symbolic link(if i
understood you correctly).

The best source on rpm is the book MaximumRPM which you can find by
following links from www.rpm.org

Chris

------------------------------

Crossposted-To: comp.os.linux.setup
Subject: Re: Log history..
From: [EMAIL PROTECTED] (Julian T. J. Midgley)
Date: Fri, 23 Mar 2001 11:00:41 GMT

In article <[EMAIL PROTECTED]>,
Michael B  <[EMAIL PROTECTED]> wrote:
>Hi, I'm running Debian 2.2, and was wondering if log files are archived
>anywhere besides /var/log ?
>The current logs only go as far back as one month. (i.e .tar.gz)

By default, Debian only keeps a month's worth of logs (to save on disk
space).  You can increase this by editing /etc/logrotate.conf (the
line beginning 'rotate' is the one you want - set the number after it
to the number of weeks for which you would like to keep your logs).

All the best,

Julian Midgley


-- 
Julian T. J. Midgley                       http://www.xenoclast.org

------------------------------


** 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
******************************

Reply via email to