Linux-Misc Digest #866, Volume #18                Tue, 2 Feb 99 15:13:16 EST

Contents:
  Time Server Clients ("Tim Pitman")
  Help! My printer won't print at all! (Gary Krupa)
  Re: Advice for Microsoft-haters (Mark Stolz)
  Re: Space Station uses 95/NT, disaster imminent (no joke) (Cedric Ware)
  Hard drive access during "idle time" ("Mark M. Devaney")
  Re: Login Shell (Johan Kullstam)
  Newbe tar question (Bucky4me)
  Re: Consumer Poll Says Microsoft Is Good For Consumers (Art VanDelay)
  How do I change password from perl script? (Karl Renaut)
  Re: Stepper Motor control (Mark Grosberg)
  Re: HElp, i can't compile (Ray)
  Re: DMA (Jose Urena)
  Re: Socks compliant? (Michael Shuldman)
  Re: Saving Disc Space for FTP (Staffan H�m�l�)

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

From: "Tim Pitman" <[EMAIL PROTECTED]>
Subject: Time Server Clients
Date: Tue, 2 Feb 1999 12:24:39 -0600

I am running RH 5.2 did any kind of Time Server client come with this
release, and if not what is available to use to sync my server's time up
with and Internet time server.



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

Crossposted-To: alt.os.linux
From: Gary Krupa <[EMAIL PROTECTED]>
Reply-To: Gary Krupa <[EMAIL PROTECTED]>
Subject: Help! My printer won't print at all!
Date: Mon, 1 Feb 1999 23:58:38 -0800


I'm at my wit's end.

My kernel version is 2.0.34. I'm using an HP
Paintjet printer.

Last night, I tried sending a print job to my
printer from ghostview. I was using a postscript
filter for the first time. Unfortunately, when I
added the filter to my /etc/printcap file, I named
it lp -- the same name as another printer listed
earlier in the file. Not only didn't the
postscript file print. From that moment on,
nothing printed. 

The print jobs would be spooled, and I can remove
them with lprm. The lock file would be created in
/var/spool/lpd, as before. But nothing would
happen when I'd issue the lpr command. And now, I
can see that everytime a job is spooled, lpd would
spawn as a new process. Previously, it'd always
run in the background and didn't need to respawn.
Plus, when the system boots, I can't see a
statement from the kernel regarding lp1, as I
could before. 

I tried starting the system with my old
distribution, kernel version 1.2.8. Then the
printing worked fine. 

I also tried the following:

1. replaced /dev/lp1
2. started the 1.2.8 distribution with the version
1.2.8 /dev/lp1.
3. used my old version of /etc/printcap.
4. changed active printers with export PRINTER.
5. reinstalled the original kernel from the
cd-rom.
6. started lpd with the -l option. However, no
debugging information has yet been found.
7. changed the group status for all files in the
directory /var/spool/lpd/paintjet to lp.

I ran lpc as root, and reenabled printing. Nothing
appears to be out of the ordinary there.

Whenever I issue the lpr command, the following
message appears:

waiting for paintjet to become ready (offline?)


I'm completely baffled by this. The printer is
plugged in, and I can print from both DOS and my
other linux configuration. I took the printer
offline and reset it, with no change in results.

My only theory as to why this happened is that
lpd became confused by my duplicate lp entry, and
I've also read the Linux-Printing-HOWTO and the
Linux-Usage-HOWTO, so if you refer me to one of
those guides, please refer me to a specific
section that's relevant. 

If you need more information, just ask. I'll be
only too happy to provide it.

I'm afraid I'm in over my head on this one. Please
help, ANYBODY!


Gary Krupa




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

From: Mark Stolz <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux.advocacy
Subject: Re: Advice for Microsoft-haters
Date: Tue, 02 Feb 1999 09:52:50 +0000


I guess you didn't see my disclaimer at the end of my message, but
to take it point by point:

Darin Johnson wrote:
> 
> Mark Stolz <[EMAIL PROTECTED]> writes:
> 
> > Well, maybe that's true outside California:
> 
> Lived here all my life, and hate it.

I'm not being sarcastic, but why don't you move? I can't imagine
spending my life in a place I hate. It would be worse than working
at a jon I hate.

> > Great wine (we send seedlings *back* to France when they had a blight),
> > though Chile, Australia and South Africa are catching up quickly...
> 
> I don't drink wine.  Way too pretentious.  California has way too many
> pretentious people.  We should ship them to France instead.

What's so pretentious about the act of drinking wine? Some folks like
beer, others like wine, and still others can't abide by either. The
problem isn't with drinking wine, it's with what you think drinking
wine represents.

> > Food? California cuisine r0cks! Where else can you eat
> > japanese-mexican-eskimo influenced food while listening to Ubangi
> > dinner music.
> 
> Blech.  To me, California Cuisine means paying $20 for a miniscule
> amount of nouvelle cuisine.  I've never eaten in the sort of place you
> describe, and I can't see a reason to attempt it.  Sounds like some LA
> sort of thing, but they'll do anything as long as someone hints that
> it might be trendy.

Obviously you've never been to California Pizza Kitchen (found in most
malls -- tandoori chicken pizza w/ mango chutney and a nice Anchor
Steam...Yum!). How about Il Fornaio (1/2 a duck roasted on a spit w/
balsamic vinegar marinade -- make it less greasy -- a side of veggies
and roast potatoes, desert, coffee ... all for under $20 and you walk
out stuffed -- at least I did and I'm not known for eating small)?

> > Literature? Jack London, John Steinbeck,... and don't forget all those
> > great User's Guides.
> 
> Both of whom would turn over in their graves if they could see the
> kitsch that California has become.

Please cite some examples. You may very well be correct, however w/o
specific examples I couldn't tell one way or the other.

> > Plus we have Silicon Valley ...
> 
> Yeah, terrible isn't it?  First you get a great salary, then the
> housing prices are jacked so high that your nice salary gets eaten up,

Housing prices are not jacked up, they are set by what people are
willing to pay. Good jobs attract good people, they earn higher
salaries, thus they can/are willing to afford more. Ask too much for
a house, and nobody will buy it (too much is set by the market -- look
up the term "Market Efficiency").

> and you end up with less money at the end of the month then when you
> were elsewhere.  I'd much rather be somewhere where I can buy a house
> and get equity than throw my money away on rent so that I never see it
> again.  And I don't want to commute an hour to do that.

These are a couple of the reasons I moved. Why don't you do the same?
If you hate it, it should be easy, especially if you work in any
high-tech field.

>                                                         It's also too
> crowded here (I thought it was too crowded and unable to grow once,
> then I left for five years and came back to discover they could cram
> more people in, and they're even more pretentious then they were
> before).  I'm waiting for the next earthquake to see if prices
> plummet; if they don't, maybe I'll switch jobs.  Besides, this place
> is turning into a low-tech Windows-loving place; blech.

It's very easy to look at everything in a negative light. It's harder
to find the good and focus on it (i.e., "separate the wheat from the
chaff"). So, while I agree with your basic premise, I disagree with
the general tone. Personally, I think your argument hinges on your
first point: you've lived there all your life (but you left for five
years?). It's a hard thing to watch a place you like turn into a place
you don't like. So your options are:

        1. Stay and deal with it.
        2. Stay and bitch about it.
        3. Deal with it by moving.
        4. Move and bitch about it.
        5. End it all.

#1 and #3 are probably the most healthy. #2 and #4 could lead to #5.
Your choice.

--Mark

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

From: [EMAIL PROTECTED] (Cedric Ware)
Crossposted-To: comp.os.linux.advocacy
Subject: Re: Space Station uses 95/NT, disaster imminent (no joke)
Date: 2 Feb 1999 08:21:27 GMT

>The International Space Station (ISS) is networking seven IBM PCs
>together using one NT box and three Win 95s.  They are using Windows
>based software to determine when the next communications pass will
>occur.  
[8<]
>Looks like NASA is not so smart after all.  Without going into a long

This is not on-topic for these groups, but if you follow NASA Watch
(http://www.reston.com/nasa/watch.html), or the various flamewars in
sci.space.policy, you can see that this is not quite NASA's first blunder.

The mere launch of two modules, which can only stay a little more than
a year in orbit before they need the Russian service module for re-boost
and attitude control, knowing that the latter is months behind schedule
and the RSA is out of funds, is IMHO unwise...

[8<]
>What do the astronauts do when they have to reboot after a BSOD at zero
>gee?  Crash into a cargo resupply vessel I assume.  

>From the article you quote:

        Two separate ThinkPad 760s, running the Solaris version of
        Unix, will let the crew run the station.

I gather there's still some hope after all...

>I realize that they are probably not using the Windows boxes for mission
>critical stuff, but orbiting the Earth at 17,000 mph is no cakewalk
>either.  NO ONE can settle for instability.

I tend to agree, but as long as they're just doing e-mail with that,
it's not a real problem. Better fix the other bugs they have with
their mission-critical software, while it's on the ground...


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

Date: Tue, 02 Feb 1999 19:24:13 +0000
From: "Mark M. Devaney" <[EMAIL PROTECTED]>
Subject: Hard drive access during "idle time"

I have been getting some strange behavior... I am running RH 5.2 and as
of late, the hard drive is getting accessed every few seconds for a few
seconds... and it doesn't stop. Unless... I unplug my ethernet
connection... This behavior just started yesterday. Is it possible that
someone is in my system?? Or could it be something else? Any suggestions
are appreciated.

Mark Devaney


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

From: Johan Kullstam <[EMAIL PROTECTED]>
Subject: Re: Login Shell
Date: 02 Feb 1999 13:11:39 -0500

[EMAIL PROTECTED] (Paul Kimoto) writes:

> In article <[EMAIL PROTECTED]>, Jeff Grossman wrote:
> > I am new to Linux and need some help.  What is the best shell to use?
> 
> For shell scripting it is better NOT to use csh or tcsh.  They are fine
> interactive shells, but it might be wasteful to learn to use one of them
> interactively while scripting in one of the other shells (the most popular
> of which are all in the Bourne-shell family).

i use bash for this very reason.

> Otherwise, it's a matter of opinion.  These days I like zsh, which has
> slightly fancier bells and whistles than bash.

> > Currently, whenever I use crontab or tin, it defaults to using vi.  I
> > would prefer to use Pico for these situations.  How and where do I go
> > about changing that setting?  I am currently using the bash shell.
> 
> You want to set the EDITOR and VISUAL environment variables to "pico".
> The syntax goes like
> 
> $ EDITOR=pico; VISUAL=pico; export EDITOR VISUAL
> 
> (where "$" is just the prompt).  Put the commands in your ~/.bashrc
> file to have them apply to every shell you run.

put all environment variables in ~/.bash_profile (or ~/.profile).  you
only need declare them once and everything will inherit them.  for
bash i do

export EDITOR=$(type -path pico)
export VISUAL=$(type -path pico)

since this will trap the path too for faster look-up.

put only interactive stuff in ~/.bashrc.  the only variable i set in
~/.bashrc is PS1.  e.g., 

PS1='\h(\w)\$ '

note this variable need not be exported.  other stuff for ~/.bashrc
are aliases and shell functions.

-- 
johan kullstam

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

From: [EMAIL PROTECTED] (Bucky4me)
Subject: Newbe tar question
Date: 2 Feb 1999 16:21:16 GMT

I am new to UNIX and Linux.  I uncompressed a .gz file (JDK) and now have a
.tar file.  How do I use it.  It is my understanding that this is a archive
file.  Is this correct?  I am trying to install Java on my Linux system.

[EMAIL PROTECTED]

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

From: (Art VanDelay)
Crossposted-To: 
alt.destroy.microsoft,comp.os.linux.advocacy,comp.os.os2.advocacy,gnu.misc.discuss,uk.comp.os.linux
Subject: Re: Consumer Poll Says Microsoft Is Good For Consumers
Date: Tue, 02 Feb 1999 17:28:01 GMT
Reply-To: [EMAIL PROTECTED]

On Tue, 19 Jan 1999 07:12:44 GMT, [EMAIL PROTECTED] (Kinkster) wrote:

>On 
>m$ _crossed_ the line when the integrated the browser and OS out of
>their paranoia of what applications running on NS could do to Windows.

This doesn't make any sense.  I like the OS/Browser integration.
There is no "definition" of an OS, and if you leave it up to the
Government, there will be some stupid definition which will stifle
further progress in PCs.  What is Windows 3.1,95/98/NT, but a bunch of
programs that together make the OS.  Why don't the calculator
manufacturers cry about competition, or WinFax people, or e-mail
people, or CD-Player people, or game manufacturers, cause you know, MS
is using its muscle to put solitare, and pinball, or freecell in the
OS, which has no business being there, right?  I'll give you the
answer, the other companies (right now) are COMPETING in the free
market instead of the Jim Barksdales of the world using the US
Government for personal gain (or to mask his incompetance to the
shareholders of his now-AOL-owned company).  The US Gov doesn't know
how to do anything right except to screw things up and exploit class
envy, and enslave us with confiscatory taxes, they are damn experts at
that.  Now they will dictate computer Operating System Standards for
us to follow, Thanks Jim!  

You can still run that piece of shit software AOL Netscape browsers on
Windows OS's, but it's worthless software that, because of a lack of
competiton, is going to suck more with each new release!

Hey, Linux, FreeBSD and other developers, You'll have your day, when
the US Gov dumbasses make the fucked up rules to follow, you maybe
will wake up then!


>>>It is not the purpose of the trial to figure out about either of this.
>>>It *is* the purpose of the trial if their actions have not only been
>>>loathsome, but illegal according to the laws of the United States.
>>>This, of course, is a matter for which opinion polls cannot provide an

Nobody really knows the purpose of the trial, except Barksdale, et al.
because he/they started it all.

>Judge Jackson is a _conservative_ judge , I think he's seen his share

He certainly doesn't seem conservative!

>of liars and bullshit/con artists in his years on the bench to know
>where m$ is coming from. Chairman Bill's sudden attacks of amnesia
>sure haven't helped m$'s case, nor have m$'s internal e-mails
>(paraphrased slightly) "how can we _force_ consumers to use IE" , " I
>don't see how IE is going to win , we keep just copying NS, we should
>be _leveraging_ Windows more." Etc. m$ has been caught with their
>pants down by an opponent that _won't_ go away and _can't_ be steam

I guess Bill Gates MUST know of every corrispondence, every e-mail,
every word ever spoken by each of its employees, huh?  

>rolled. More power to the DoJ !!

Yeah, that exactly what we need.  The Clinton(liar) justice department
enforcing truth!   You are a bozo!


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

From: [EMAIL PROTECTED] (Karl Renaut)
Subject: How do I change password from perl script?
Date: 2 Feb 1999 18:47:11 GMT

I usually use BSD UNIX, but I am trying out linux.  To automate
certain procedures I need to be able to set a persons password
from a perl script.  The following works fine on BSD but is
not working on my RedHat 5.2 Linux and I don't understand why!

#!/usr/bin/perl
$PASSWORD="testit123";
$USERNAME="test";
open(PWD,"|/usr/bin/passwd $USERNAME");
print PWD "$PASSWORD\n";
print PWD "$PASSWORD\n";
close (PWD);
exit;

It looks like the passwd program is getting extra stuff sent to it
besides the passwords that I am printing to the pipe.

Is there another technique?

--
=================================================================
Karl Renaut                             Voice: 904-350-1969
Leading Network Solutions               Fax:   904-350-6978
P.O. Box 24239                          email: [EMAIL PROTECTED]
Jacksonville, FL  32241-4239            http://www.leading.net
Making Internet Affordable                / - \
========================================m| o o |m================
                                            U

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

From: Mark Grosberg <[EMAIL PROTECTED]>
Subject: Re: Stepper Motor control
Date: Tue, 02 Feb 1999 09:44:49 GMT

Michel Catudal <[EMAIL PROTECTED]> wrote:
> Ed Nather wrote:
> > 
> > Max Wheatley wrote:
> > >
> > > Hi Guys
> > >
> > > Seen some stepper motor control stuff under DOS using the parallel port.
> > > Works fine BUT we want to do it under Linux.
> > >
> > > Now I guess we will not be able to talk to the parallel port directly
> > > under Linux.........

This actually depends on the H/W interface. It may be possible that the
built-in Linux LP driver is all you need. It supports several ioctl()
calls to adjust timing and status of the port. 

I would look there first...

> In a few months I'll have a low cost C Compiler for the Atmel chips.
> I'll eventually have a working version for Linux with remote debugger.
> The OS/2 and winblows version will come this year. Linux, it depends how long it 
>takes
> IBM to release Visual Age for C++ for Linux. If they don't it's a major change for

Why would you need Visual Age? I would think a compiler would be a pretty
portable piece of code. I am assuming of course there is a command line
version :-) If that is the case, a port should be pretty easy. If not, I
am sure you can make the interface between the compiler proper and the UI
simple enough that you can make a simple console user-interface when
compiling for Linux. 

... I wonder how hard it would be to modify Wine to support the OS/2 API.
Can't be that hard... Win32 stole so much from OS/2 2.x

L8r,
Mark G.


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

From: [EMAIL PROTECTED] (Ray)
Crossposted-To: alt.os.linux
Subject: Re: HElp, i can't compile
Date: Tue, 02 Feb 1999 19:38:15 GMT

>Jarvis wrote:
>
>> I am using slackware 3.0 and i can't seem to compile with cc or gcc
>> i get the following error with a simple c program
>>
>> test.c: In function `main':
>> test.c:4: warning: return type of `main' is not `int'

        In main(), you are using a "return x;" command..  this error
simply states that the x is not of type int.  You can do one of 2
things:

change x to int wherever x is declared:

   e.g. int x;

or typecast x to int, in the return statement:

   e.g. return (int)x;


Ray Akey - CEO/ZenMetal Software - Programmers of:
CNet Amiga Professional IAS (Previously known as CNet Amiga BBS)
Internet/Intranet/LAN server and custom applications.

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

From: Jose Urena <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc,alt.linux,alt.os.linux,comp.os.linux.hardware
Subject: Re: DMA
Date: Tue, 02 Feb 1999 14:54:57 -0500

Backup, backup, backup
the following is still in beta

Download this patch for the kernel and Upgrade your hdparm utility
it works with my Ali 145x chipset, but I have to manually used hdparm to set
the settings

http://www.dyer.vanderbilt.edu/server/udma/


Chris Leahy wrote:

> Hi all,
>
> I have recently compiled and installed the 2.2.1 kernel.
> I get several messages from the kernel at boot that I cant find an
> answer for.
>
> ( excerpt )
>
> PCI_IDE: unknown IDE controller on PCI bus 00 device 78, VID=10b9,
> DID=5229
> PCI_IDE: not 100% native mode: will probe irqs later
> PCI_IDE: simplex device:  DMA disabled
> ide0: PCI_IDE Bus-Master DMA disabled (BIOS)
> PCI_IDE: simplex device:  DMA disabled
> ide1: PCI_IDE Bus-Master DMA disabled (BIOS)
>
> I have an ASUS P5A-B motherboard with the Ali 1541 AGP chip and Ali 1543
> super I/O controller chip.
> I see that the kernel obviously does not support this chipset.
> The closest it comes in the configuration is under "other ide chipsets"
> with
> Ali 14xx
> I tried this but the kernel says
> Ali14xx not found.
> Not surprising since its the wrong chipset but I thought I'd try it
> anyway.
>
> The question is....
>
> Has anyone else found this problem and is there a soloution
> and does anyone know if support for this chipset will be in kernel
> releases in the near future?
>
> Thanks for any help
> Chris
> --
> Chris Leahy                         |       2151 Daniel St
> Real World Computer Services        |       Trail, B.C.
> 1-250-364-9965                      |       V1R 4H1
> [EMAIL PROTECTED]           |       Canada


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

From: [EMAIL PROTECTED] (Michael Shuldman)
Subject: Re: Socks compliant?
Date: 2 Feb 1999 10:06:18 GMT

Glenn Butcher ([EMAIL PROTECTED]) wrote:
> Michael Shuldman wrote:
> > Steve Terrell ([EMAIL PROTECTED]) wrote:
> > > Does anyone know if there is a Linux program like windows sockscap or
> > > Hummingbird that will make any winsock program socks 4 and 5 compliant
> > > for use with a socks proxy?
> > 
> > The socksify program that comes with Dante (http://www.inet.no/dante)
> > is supposed to do that.  Support for "socksify" on linux was added
> > in last version.
> 
> 2.0.36?  or 2.2.0?

Last version of Dante, not last version of linux. 


-- 
  _ // 
  \X/ -- Michael Shuldman <[EMAIL PROTECTED]>


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

From: [EMAIL PROTECTED] (Staffan H�m�l�)
Subject: Re: Saving Disc Space for FTP
Date: Tue, 02 Feb 1999 10:06:26 GMT

On Tue, 02 Feb 1999 09:23:32 GMT, [EMAIL PROTECTED] wrote:

>Is this normal when using ftp? Is there a solution to this?
>I simulated an ftp via the netscape browser and the same story happens.
>Please help. My friends now are waiting.
>Thanks in advance.

I guess you're using anonymous ftp? In that case, the ftp daemon does
a chroot, so it won't be able to access other directories.
The easiest way to solve this might be to add a useraccount for your
friends, and let them log on to your ftpserver using username and
password.

/Staffan - [EMAIL PROTECTED]

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


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

Reply via email to