Linux-Misc Digest #638, Volume #26               Tue, 26 Dec 00 04:13:01 EST

Contents:
  Re: New Motherboard (John Hasler)
  Re: Only with Linux... (Steve Lamb)
  Re: Only with Linux... (MH)
  Cannot print in Redhat 7.0 ("Jess Jackson")
  Re: Alias?? (David)
  Re: Alias?? (David)
  Re: Only with Linux... (Steve Lamb)
  for(;;) fork(); ([EMAIL PROTECTED])
  Re: DVD software for Linux yet? (Doink)
  Re: Linux/UNIX=Windows (zaks)
  Re: Only with Linux... ([EMAIL PROTECTED])
  long nfs filenames? ("ID")
  Re: Only with Linux... (Brad Bailey)
  Re: Only with Linux... (Brad Bailey)
  Re: Only with Linux... (Paul Colquhoun)
  Warning: strintercept():dropping message ("Stefan Viljoen")
  Re: Only with Linux... ([EMAIL PROTECTED])
  KDE2.0.1 and pts/0 ([EMAIL PROTECTED])
  logging out of KDE w/ Netscape causes linux to hang (Anna Luigi)
  Re: useradd problem (Martin)

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

From: John Hasler <[EMAIL PROTECTED]>
Subject: Re: New Motherboard
Date: Tue, 26 Dec 2000 04:09:27 GMT

John Scudder writes:
> The new motherboard has 128M ram instead of 64M and I think the swap
> drive should be twice the installed ram.

That was true on a different OS long ago.  Now, with Linux, it's a myth.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin

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

From: [EMAIL PROTECTED] (Steve Lamb)
Subject: Re: Only with Linux...
Date: Tue, 26 Dec 2000 05:24:43 -0000
Reply-To: [EMAIL PROTECTED]

On 26 Dec 2000 01:22:35 GMT, Carl Fink <[EMAIL PROTECTED]> wrote:
>       find / -name emacs -print

    You know, I never understood why people insist on -print on a find.

{grey@teleute:~} find . -name foo
./foo
./www/pics/foo
./program/perl/t/t/t/foo
./stories/poems/foo
{grey@teleute:~} find . -name foo -print
./foo
./www/pics/foo
./program/perl/t/t/t/foo
./stories/poems/foo

    It's called defaults people, look them up sometime.

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
===============================+=============================================

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

From: MH <[EMAIL PROTECTED]>
Subject: Re: Only with Linux...
Date: Mon, 25 Dec 2000 21:51:24 -0800

kristian ragndahl wrote:

> >>>>> "MH" == MH <[EMAIL PROTECTED]> writes:
> 
>     MH> and rpm -qa | grep emacs gets me:
> 
>     MH> emacs-20.7-14
> 
>     Try "find / -name emacs* -print"
> 
>     and then "ln -s /usr/bin/emacs-20.7-14 /usr/bin/emacs" perhaps?
> 
OK.  I got "/usr/bin/emacsclient" but when I tried to run "emacsclient" I 
am informed that the client could not find a socket and then asked if I've 
started the server!?!  There is no "emacsserver".  (Maybe I should just 
stick with vi and kedit?)


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

From: "Jess Jackson" <[EMAIL PROTECTED]>
Subject: Cannot print in Redhat 7.0
Date: Tue, 26 Dec 2000 05:49:28 GMT

I am still not able to get any kind of printer configuration to work in Red
Hat Linux 7.0. I have a dual boot (Linux and Windows 98) Dell P-II, 400MHz
with 20 GB hard drive. I have and Epson Stylus 740 printer that works fine
under Windows either USB or parallel.

I had it connected in Redhat 6.2 via parallel. I upgraded to Redhat 7.0 and
now cannot print either USB or parallel. A number of people on both this
list and a couple of others have given various suggestions, none of which
have worked to this point.

Have a lot of free room on the hard drive, I decided just to set up a couple
of new ext2 partitions and do a fresh, clean install of Red Hat 7.0. That
went fine. I now can boot either the old or new version or Windows 98.
BUT -- I still cannot print. All that follows relates to the new install

The new install found both my onboard parallel port and USB hardware. I have
a two-port USB connection on the motherboard and a seven-port hub off one of
them (an Entrega 4U-2S-1P -- though I don't care about the non-usb parts
under Linux). Here are some selected lines from the boot process...

 usb.c: registered new driver usbdevfs
 usb.c: registered new driver hub
 usb-uhci.c: $Revision: 1.232 $ time 16:53:56 Aug 22 2000
 usb-uhci.c: High bandwidth mode enabled
 usb-uhci.c: Intel USB controller: setting latency timer to 0
 usb-uhci.c: USB UHCI at I/O 0x1020, IRQ 9
 usb-uhci.c: Detected 2 ports
 usb.c: new USB bus registered, assigned bus number 1
 usb.c: USB new device connect, assigned device number 1
 hub.c: USB hub found
 hub.c: 2 ports detected
 usb.c: USB new device connect, assigned device number 2
 hub.c: USB hub found
 hub.c: 7 ports detected
 usb.c: USB new device connect, assigned device number 3
 usb.c: This device is not recognized by any installed USB driver.
 usb.c: USB new device connect, assigned device number 4
 usb.c: This device is not recognized by any installed USB driver.
 usb.c: USB new device connect, assigned device number 5
 usb.c: This device is not recognized by any installed USB driver.
 ... (snip)
 parport0: PC-style at 0x378 [SPP,PS2,EPP]
 parport_probe: succeeded
 parport0: Printer, EPSON Stylus COLOR 740
 lp0: using parport0 (polling).

It appears that while it is loading the USB Hub, it is NOT installing the
USB printer driver. So, I entered...

 modprobe printer

to which, dmesg gave me the following response...

 usb.c: registered new driver usblp
 printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0
 printer.c: usblp1: USB Bidirectional printer dev 4 if 0 alt 1

Just to see what I had running and on suggestion from a previous message, I
did...

 cat /proc/bus/usb/drivers

which resulted in...

   0- 15: usblp
   hub
   usbdevfs

This all looked promising. So, I opened "printtool" and attempted to connect
to the USB printer. It appears that the base version of LPRng with Redhat
7.0 does not have lprngtool.

As I attempted to add the printer, it showed "lp0" detected as I would
expect. But printtool showed two other devices detected which I would have
thought would have looked like /dev/usblp0 or /dev/usblp0. Instead, it
showed two entries it identified as /dev/dev/lp0 and /dev/dev/lp1. That did
not look right.

Nevertheless, I tried installing the Epson on /dev/usblp0 and later to
/dev/dev/lp0. I could not get any output even with "print directly to port"
in either configuration. Both cases said they printed something when I tried
all three choices -- "print directly to port," "print ASCII test page," and
"print Postscript test page."

I checked in /dev and there was no entries for /dev/usblp0 or /dev/dev/lp0.
Based on a response on my earlier posts, I attempted to create the
/dev/usblp0 entry as follows...

 mknod -m 660 /dev/usblp0 c 180 0

Even with that, no success at all, even with "print directly to port" via
USB connection.

It appears that I am OK at the raw hardware level. I have tried unplugging
and reconnecting the USB cable. The system appears to "see" the printer come
and go as reflected in this section from dmesg...

 usb.c: registered new driver usblp
 printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0
 printer.c: usblp1: USB Bidirectional printer dev 4 if 0 alt 1
 ...
 usb.c: USB disconnect on device 3
 usb.c: USB new device connect, assigned device number 3
 printer.c: usblp0: USB Bidirectional printer dev 3 if 0 alt 0

I have also tried "ls >/dev/usblp0" to see if I can at least get output at
this level.

(One question -- I am pretty new at Linux... Does exercising the printer,
either parallel or USB, with the commands "ls >/dev/usblp0" or "ls
>/dev/lp0" operate at the pure hardware level, not needing the lpd daemon?)
If true, I cannot figure why this does not produce some kind of output.
__________________

While USB is my preferred method, I would settle for getting the parallel
port to work instead. After a reboot and reconnection from USB to parallel,
I went through all the above including "print directly to port" from
printtool and "ls >/dev/lp0" none of which produced any output.

Again, the printer works great under Windows 98 either via parallel or USB.

Something as apparently as simple as basic printing ought not to be this
complicated. I have more than ten hours in this heretofore fruitless effort.

Any help would be GREATLY appreciated. Many thanks in advance.

Jess




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

From: David <[EMAIL PROTECTED]>
Subject: Re: Alias??
Date: Tue, 26 Dec 2000 05:52:02 GMT

[EMAIL PROTECTED] wrote:
> 
> 
> I think the poster was referring to shell aliases, not mail aliases...
> 
> In order to have aliases recognized b/w sessions, they need to be placed inside
> the appropriate startup file for the shell (ie. .bashrc for bash, .cshrc for csh).
> 
> Adam

Ok then you would add the alias to the ".profile' file in user home.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.944% of seti users. +/- 0.01%

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

From: David <[EMAIL PROTECTED]>
Subject: Re: Alias??
Date: Tue, 26 Dec 2000 05:52:12 GMT

[EMAIL PROTECTED] wrote:
> 
> 
> I think the poster was referring to shell aliases, not mail aliases...
> 
> In order to have aliases recognized b/w sessions, they need to be placed inside
> the appropriate startup file for the shell (ie. .bashrc for bash, .cshrc for csh).
> 
> Adam

Ok then you would add the alias to the ".profile" file in user home.

-- 
Confucius say: He who play in root, eventually kill tree.
Registered with the Linux Counter.  http://counter.li.org
ID # 123538
Completed more W/U's than 98.944% of seti users. +/- 0.01%

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

From: [EMAIL PROTECTED] (Steve Lamb)
Subject: Re: Only with Linux...
Date: Tue, 26 Dec 2000 05:55:01 -0000
Reply-To: [EMAIL PROTECTED]

On 26 Dec 2000 05:06:20 GMT, kristian ragndahl <[EMAIL PROTECTED]>
wrote:
>    Try "find / -name emacs* -print"

    You ment emacs\*, right?  emacs* would be globbed out in the directory he
was running it in and yield him with nothing there.  Well, assuming he didn't
have a file in that directory that matched emacs*.

-- 
         Steve C. Lamb         | I'm your priest, I'm your shrink, I'm your
         ICQ: 5107343          | main connection to the switchboard of souls.
===============================+=============================================

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux,linux.redhat
Subject: for(;;) fork();
Date: Tue, 26 Dec 2000 06:29:13 GMT

To all those bragging about their uptime in their sigs:

Try compiling and running the following program as non-privileged users:

gcc frk.c
./a.out

----frk.c--------

#include <unistd.h>
int main() { for(;;) fork(); return 0; }

=================


At least the standard redhat kernel configuration/compilation can't
handle this.

Wroot


Sent via Deja.com
http://www.deja.com/

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

From: Doink <[EMAIL PROTECTED]>
Crossposted-To: alt.video.dvd,alt.video.dvd.software
Subject: Re: DVD software for Linux yet?
Date: Tue, 26 Dec 2000 01:49:05 -0800

On 25 Dec 2000 18:41:28 GMT, Pineapple <[EMAIL PROTECTED]>
wrote:

>Now, IF exsiting key is 
>being used (i understand they used some software-players code to reverse-
>engineer the decryption-system) and this key is(or will be) deactivated, 
>wouldn't this hurt the owners of the legal and valid decrypt-key as their 
>key wouldn't be valid anymore 


Yea the Xing key was the one that was left in the clear(text).  In the
newest DVD player I think it is gone: the Xing zey wont work anymore.

The weak content scrambling system used on some DVD titles. The CSS
cryptosystem claims to be   40-bit (for compatibility with United
States export restrictions) but actually has some holes that make it
effectively 25-bit. If it is assumed that bruteforcing CSS keys is as
fast as bruteforcing RC5 keys   (think distributed.net), then my
PII-333 that processes 900,000 RC5 keys per second could crack a
DVD in under 45 seconds. Newer versions of the DeCSS family of DVD
conversion tools do not rely on the revoked Xing key but instead crack
the disc themselves.

Here is where I got this from

http://www.everything2.com/index.pl?node_id=768554&lastnode_id=41096

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

From: zaks <[EMAIL PROTECTED]>
Subject: Re: Linux/UNIX=Windows
Date: Mon, 25 Dec 2000 21:48:59 GMT

COn Thu, 9 Nov 2000 [EMAIL PROTECTED] wrote:

> Steve Wolfe <[EMAIL PROTECTED]> did eloquently scribble:
> >   I dunno, Netscape for linux can bring the machine to a halt that can only
> > be solved by the power switch.  I'm not bashing Linux, just being realistic.
> 
> Nope... All that does is freeze X, not the linux kernel.
> The magic sysreq key or telnetting in from another machine and killing
> netscape will deal with that problem.
> 
> 

There's also Ctrl+Alt+Backspace to get you out of X in an emergency. Most
Netscape crashes though aren't that severe and can be solved by killing
its process. 

killall netscape-navigator works for me.

Then just restart Netscape.
 -- 


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

From: [EMAIL PROTECTED]
Subject: Re: Only with Linux...
Date: Tue, 26 Dec 2000 06:49:36 GMT

In article <[EMAIL PROTECTED]>,
  MH <[EMAIL PROTECTED]> wrote:
> Installed EMACS from RPM.  Cannot find a way to start the program.
Spent
> half an hour looking through README, MAN, INFO...ridiculous.

Did you install the RPM from one of the Redhat extension CDs? If I
remember correctly, those were problematic for me. Try downloading the
RPMs from one of the Redhat mirrors (or Redhat itself)

when you get the package, do

rpm -qpl emacs***.rpm

to see what files it will install. One of them will be /usr/bin/emacs.
After installation (/bin/su; rpm -Uvh emacs***.rpm), make sure it's
there.

HTH,

Wroot



Sent via Deja.com
http://www.deja.com/

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

From: "ID" <[EMAIL PROTECTED]>
Subject: long nfs filenames?
Date: Tue, 26 Dec 2000 15:06:14 +0800


hello all,

i have recently managed nfs up and running under rh7-linux

but since the same-shared-folder also served to win98 workstations..
it does not allow me to create long(8+ chars.) filenames from win98
workstations.

anyone know why that could be?

regards
ismet

regards
ismet



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

From: [EMAIL PROTECTED] (Brad Bailey)
Subject: Re: Only with Linux...
Reply-To: [EMAIL PROTECTED]
Date: Tue, 26 Dec 2000 07:16:39 GMT

On Mon, 25 Dec 2000 20:38:33 -0800, MH <[EMAIL PROTECTED]> wrote:
->and rpm -qa | grep emacs gets me:
->
->emacs-20.7-14

Congratulations, you have installed the necessary libraries for emacs,
which will certainly come in handy after you install the actual emacs
program package - either emacs-X11-20.7-14, or emacs-nox-20.7-14,
depending on whether you would like X support or not.

Regards
-- 
Brad Bailey                  __/)                  <[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"You know, it's easy to be happy if your one concern in life is figuring
 out how much saliva to dribble." --Woody Allen

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

From: [EMAIL PROTECTED] (Brad Bailey)
Subject: Re: Only with Linux...
Reply-To: [EMAIL PROTECTED]
Date: Tue, 26 Dec 2000 07:23:52 GMT

On 26 Dec 2000 01:22:35 GMT, Carl Fink <[EMAIL PROTECTED]> wrote:
->The problem is presumably with the RPM you used.
->
->I'm sure you've tried
->
->      find / -name emacs -print
->
->right?  It'll take a while.

If RPM was used, why not examine the output of a 'rpm -ql emacs' to list
exactly what files have been installed, rather than guesing at filenames
and searching the entire filesystem for them?

Regards
-- 
Brad Bailey                  __/)                  <[EMAIL PROTECTED]>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"You know, it's easy to be happy if your one concern in life is figuring
 out how much saliva to dribble." --Woody Allen

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

From: [EMAIL PROTECTED] (Paul Colquhoun)
Subject: Re: Only with Linux...
Reply-To: <[EMAIL PROTECTED]>
Date: Tue, 26 Dec 2000 07:47:14 GMT

On Tue, 26 Dec 2000 06:49:36 GMT, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
|
|rpm -qpl emacs***.rpm
|
|to see what files it will install. One of them will be /usr/bin/emacs.
|After installation (/bin/su; rpm -Uvh emacs***.rpm), make sure it's
|there.


Just out of interest, why the '***' string?

One '*' will do just as well.


-- 
Reverend Paul Colquhoun,      [EMAIL PROTECTED]
Universal Life Church    http://andor.dropbear.id.au/~paulcol
-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-=*=-
xenaphobia: The fear of being beaten to a pulp by
            a leather-clad, New Zealand woman.

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

From: "Stefan Viljoen" <[EMAIL PROTECTED]>
Subject: Warning: strintercept():dropping message
Date: Tue, 26 Dec 2000 09:58:49 +0200
Reply-To: "Stefan Viljoen" <[EMAIL PROTECTED]>

Hi

Anybody got any idea what this error is an indication of? Scrolling over
console screen - terminals seem to "loose" some text of generated menus
(custom system)

Any ideas?

Thanks

Stefan Viljoen
[EMAIL PROTECTED]



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

From: [EMAIL PROTECTED]
Subject: Re: Only with Linux...
Date: Tue, 26 Dec 2000 08:17:50 GMT

In article <[EMAIL PROTECTED]>,
  <[EMAIL PROTECTED]> wrote:
> On Tue, 26 Dec 2000 06:49:36 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> |
> |rpm -qpl emacs***.rpm
> |
> |to see what files it will install. One of them will be
/usr/bin/emacs.
> |After installation (/bin/su; rpm -Uvh emacs***.rpm), make sure it's
> |there.
>
> Just out of interest, why the '***' string?
>
> One '*' will do just as well.

Just to make sure :-)

(I didn't mean the bash *, I meant to say that there's stuff there,
version number, etc.).

Wroot


Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.,linux.redhat
Subject: KDE2.0.1 and pts/0
Date: Tue, 26 Dec 2000 08:30:42 GMT

Weird things are happening after I installed KDE2.0.1 on my RH7.0 box:

Every time I login to KDE, I also show up in "w" as being logged in on
ps/0 (I'm not quite sure what PTS stands for, but I thought pts was for
REMOTE logins)

Wroot


Sent via Deja.com
http://www.deja.com/

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

From: Anna Luigi <[EMAIL PROTECTED]>
Subject: logging out of KDE w/ Netscape causes linux to hang
Date: Tue, 26 Dec 2000 02:51:56 -0600
Reply-To: [EMAIL PROTECTED]

Hi:

I'm running Suse6.4 on one machine, and RH6.2 on another.
For both installations I find that, with KDE running and
netscape running, going to shutdown the system causes a
complete hang of the system.  I'm wondering:

1)  What causes this and how can it be fixed?, and

2)  Is there a key combination I can use in the event this
happens?

It's very annoying and means that whenever I shutdown the system
from KDE I first have to note whether or not I've manually closed
down Netscape (the version of which came with the linux distributions
referred to).  Well, the same thing _doesn't_ happen with GNOME.

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

From: Martin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.security
Subject: Re: useradd problem
Date: Tue, 26 Dec 2000 17:03:56 +0800

Actually, I tried to use sudo for granting the "useradd" to the standard
user, but I get the same error that same as I didn't use sudo, what is the
problem with it ?

And does anyone know the correct way to use sudo with granting the
"useradd" to standard user ?


Manfred Bartz �g�J�G

> Martin <[EMAIL PROTECTED]> writes:
>
> > I tried to use a standard user(not root) to use the command:
> > /usr/sbin/useradd, but it prompted me that "useradd: unable to lock
> > password file", what's the problem, thanks for any helps!
>
> Only root is able to open the /etc/passwd file for writing, and that's
> how it should be.  Same for /etc/shadow.
>
> --
> Manfred
> ---------------------------------------------------------------
> ipchainsLogAnalyzer, NetCalc, whois at: <http://logi.cc/linuc/>


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


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