Linux-Setup Digest #407, Volume #21              Sun, 10 Jun 01 04:13:10 EDT

Contents:
  Re: Printing - 3Com home ethernet gateway (model 3C510) (Arnold Juster)
  How to block spam mail in Netscape+squid+junkbuster environment? ("AS")
  Re: Enable root FTP access? ("Herb Stein")
  Re: /bin/login cannot be removed (David Efflandt)
  Re: Yamaha DS-XG Sound with RH6.2??? (David Efflandt)
  Problem installing new HD... (James Doyle)
  Sound is locked for another program (Simon Lemieux)
  Re: /bin/login cannot be removed (Juergen Heinzl)
  Apache -> case-UNsensitive? (Simon Lemieux)
  Re: Network card problems in Mandrake 8.0 (Andrew Kovalev)
  Re: toshiba satellite pro 4600 install from cd (uzon)
  Re: LILO Problem: /dev/hdh1 is not on first disk ("Eric en Jolanda")
  Re: LILO failure, what to do? Please help. ("Eric en Jolanda")
  Re: Bell Sympatico DSL (Colin)
  Re: Newbie X (Colin)
  useradd command not found (FONSOI)
  Re: Newb question: which distribution? (holcomb)
  Re: xwindow session from w2k laptop (Lew Pitcher)
  Re: /bin/login cannot be removed (James Richard Tyrer)

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

From: [EMAIL PROTECTED] (Arnold Juster)
Crossposted-To: comp.os.linux.help,comp.os.linux.networking,comp.os.linux.questions
Subject: Re: Printing - 3Com home ethernet gateway (model 3C510)
Date: 9 Jun 2001 19:23:29 -0700

Thanks all, particularly Jaime Santiago who provided the following
directions to configuring the printer using the web-based CUPS
interface. I've also included the contents of /etc/cups/printers.conf
at the end of this email for those who are curious about what the
following procedure is doing to the configuration files.

The following procedure seems to get the print sharing features of the
3Com home ethernet gateway (model 3C510) working with Linux.

>From Jamie Santiago's reply: 
> I also use a 3Com Home Ethernet Gateway with a mixture of Linux, Windows 95 
> and Windows 98 in my home LAN.  My printer is also an HP Laserjet 6L 
> connected to the printer port of the 3Com switch.  All computers can print 
> with no problems.  I used the CUPS web interface to setup the printer.  It 
> must be set up as a remote Unix print queue.  Queue name is lp.  There is 
> no need to manually edit the printcap file.
> 
> I suggest you do the following (using the web cups interface.
> 
> 1.  Connect to CUPS at http://localhost:631.
> 2.  Click on Printers at the top banner.
> 3.  Select Add Printer.
> 4.  Login as root and enter the root password.
> 5.  Fill in the printer name, location and description (your own choices).
> 6.  For device, select LPD/LPR Host or Printer.
> 7.  For device URI enter: lpd://192.168.2.1/lp
> 8.  For make select HP.
> 9.  For model select HP LaserJet6L, Foomatic+ljet4(en).
> 10.  That's it.  Click on the printer name link and you can print a test 
> page.  Good luck!
> 
> By the way, my Linux box runs on Linux-Mandrake 7.2.  At work I have
> Linux-Mandrake 8.0 and it prints to the LAN printer (HP LajserJet 4050N 
> running as a postscript printer) using Internet Printing Protocol also 
> setup using CUPS.
> 
> Jaime

---File  "/etc/cups/printers.conf" begins below this line -----
# Printer configuration file for CUPS v1.1.7
# Written by cupsd on Sat Jun  9 15:08:03 2001
<DefaultPrinter hp6l>
Info HP 6L LaserJet
Location RightSideOfDesktop
DeviceURI lpd://192.168.2.1/lp
State Idle
Accepting Yes
JobSheets none none
</Printer>
---File ends above this line ---------------------

Thanks to everyone who responded!

Sincerely,

Arnold Juster

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

From: "AS" <[EMAIL PROTECTED]>
Subject: How to block spam mail in Netscape+squid+junkbuster environment?
Date: Sun, 10 Jun 2001 02:42:54 GMT

Hi,

I am using Netscape for pop e-mail and also running squid with
junkbuster. How can I block the spam e-mails in this environment?

Thanks, AS.

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

From: "Herb Stein" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux,alt.os.linux,comp.os.linux.redhat,comp.os.linux.admin,comp.os.linux.help,comp.os.linux.questions
Subject: Re: Enable root FTP access?
Date: Sat, 9 Jun 2001 21:47:34 -0500

/etc/ftpusers is a list of userids that CANNOT use ftp. Start there.

"Marco Radzinschi" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
>
> Hello:
>
> I need to know how to enable root ftp access under Red Hat 7.1 and
> the wu-ftp daemon.  This will not be a security threat in this particular
> situation, as the firewall does not allow ftp access from outside the LAN.
>
> Thank you,
>
> Marco Radzinschi
>
> E-Mail: [EMAIL PROTECTED]
> AOL IM: CrackedBoy
>
> "Then, in the dark hour before dawn, sirens blasted. They were announcing
> departures for a world that now and forever meant nothing to me. . . . And
> I felt ready to live it all again too. As if that blind rage had washed me
> clean, rid me of hope; for the first time, in that night alive with signs
> and stars, I opened myself to the gentle indifference of the world.
> Finding it so much like myself--so like a brother, really--I felt that I
> had been happy and that I was happy again." --Meursault of The Stranger
>

--
Herb Stein
The Herb Stein Group
www.herbstein.com
[EMAIL PROTECTED]
314 952-4601





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

From: [EMAIL PROTECTED] (David Efflandt)
Crossposted-To: comp.os.linux.redhat,comp.os.linux.misc
Subject: Re: /bin/login cannot be removed
Date: Sun, 10 Jun 2001 02:52:50 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On 9 Jun 2001 19:05:57 -0700, Dowson Tong <[EMAIL PROTECTED]> wrote:
> Linux Gurus,
> 
> Please help.
> 
> After I upgraded my system from RH 6.2 to RH 7.1, I found
> that the login command is no longer working.  I can't login
> from the console as root or as other users.
> 
> Then I noticed that the /bin/login has not been updated
> during the upgrade.  When I tried to upgrade the util-linux
> package, it fails because /bin/login cannot be renamed
> or removed.  I tried different methods (including boot the
> system in rescue mode) and yet I can't remove the /bin/login
> executable.
> 
> # rm /bin/login
> rm: remove write-protected file `/bin/login'? y
> rm: cannot unlink `/bin/login': Operation not permitted
> # mv /bin/login /bin/login.org
> mv: cannot unlink `/bin/login': Operation not permitted
> mv: cannot remove `/bin/login': Operation not permitted
> 
> I suspect that my system was hacked with a bad /bin/login.
> Anyway, how can I removed this file under ext2?  I really
> don't want to reformat my drive if possible...

Maybe the attribute of /bin/login is set so it cannot be modified.  See:
man lsattr
man chattr

-- 
David Efflandt  (Reply-To is valid)  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Yamaha DS-XG Sound with RH6.2???
Date: Sun, 10 Jun 2001 03:03:51 +0000 (UTC)
Reply-To: [EMAIL PROTECTED]

On Sat, 9 Jun 2001 09:43:56 -0500, Tommy <[EMAIL PROTECTED]> wrote:
> Has anyone got the sound on a Dell motherboard to work with RedHat 6.2? It
> has the Yamaha DS-XG sound chip and the sound is built into the mb.
> 
> sndconfig says it is not supported. Any ideas on where to start to get it to
> work?
> 
> I wonder if RH 7.1 has support for this sound device?

For my Sony laptop with the Yamaha DS-XG, I originally used the commercial
oss sound drivers for RH 6.1 and Mandrake 7.0.  2.4.x kernels have oss
support for ymfpci module.  Not sure if ymfpci is in any 2.2.x kernel, but 
Alsa has free modules available for it.

As a side not, I had to disable PnP BIOS support in CMOS setup for it to
work properly (which did NOT seem to affect Win98se any).  Without doing
that larger sound files would crash and gnome sounds would repeat.

-- 
David Efflandt  (Reply-To is valid)  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://cgi-help.virtualave.net/  http://hammer.prohosting.com/~cgi-wiz/

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

From: James Doyle <[EMAIL PROTECTED]>
Subject: Problem installing new HD...
Date: Sun, 10 Jun 2001 03:34:05 GMT

Hi,

I'm running Debian 2.2 with kernel 2.2.14, and I just purchased a new
Seagate ST330620A drive (30 GB).  It is seen fine by my BIOS, and Windows
is able to work with it just fine, but for some reason the Linux kernel
can't access it.  

>From dmesg:

hda: ST36450A, ATA DISK drive
hdb: ST330620A, ATA DISK drive
hdc: ST39140A, ATA DISK drive
hdd: SAMSUNG CD-R/RW SW-408B, ATAPI CDROM drive

Clearly, it can see the drive exists (hdb).
But, later on in dmesg:

hda: ST36450A, 6149MB w/448kB Cache, CHS=784/255/63
hdc: ST39140A, 8693MB w/448kB Cache, CHS=17662/16/63, UDMA

It now can't see it anymore.  Any attemp to access the disk, such as with
fdisk, cfdisk, dd, etc. fails.  The message is "hdb: driver not present".

Can anyone help me with this problem?

Thanks a lot in advance.

-- 
James Doyle
[EMAIL PROTECTED]

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

From: Simon Lemieux <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Sound is locked for another program
Date: Sun, 10 Jun 2001 00:10:13 -0400

Hi,
  I'm not sure if this is because of Linux itself or if it has to do with my
programs, or even my sound card.  But I always play from XMMS my mp3s, and
sometimes I open programs that also use sound and whether it stops XMMS or it
can't start because the Sound is locked (by XMMS)...  Such programs are
Quake3demo, lICQ, Uplink, and various programs I didn't take notice of this
problem...

  I was wondering first what causes the problem, and then how can I solve this? 
I'm not very good with linux, but couldn't find any error message in
/var/log/messages and the sound works perfectly with all those programs, except
there can be only one program at a time...

My hardware is a not-so-old (dunno the exact name) ensonic (from Creative I
think...), and I'm running Redhat 7.1.

Thanks!

-- 
||  'How do you know I'm mad?' said Alice.
||  'You must be,' said the Cat, 'or you wouldn't have come here.'
--
 Simon Lemieux  ([EMAIL PROTECTED])

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

From: [EMAIL PROTECTED] (Juergen Heinzl)
Crossposted-To: comp.os.linux.redhat,comp.os.linux.misc
Subject: Re: /bin/login cannot be removed
Date: Sun, 10 Jun 2001 04:06:46 GMT

In article <[EMAIL PROTECTED]>, Dowson Tong wrote:
>Linux Gurus,
>
>Please help.
>
>After I upgraded my system from RH 6.2 to RH 7.1, I found
>that the login command is no longer working.  I can't login
>from the console as root or as other users.
>
>Then I noticed that the /bin/login has not been updated
>during the upgrade.  When I tried to upgrade the util-linux
>package, it fails because /bin/login cannot be renamed
>or removed.  I tried different methods (including boot the
>system in rescue mode) and yet I can't remove the /bin/login
>executable.
>
># rm /bin/login
>rm: remove write-protected file `/bin/login'? y
>rm: cannot unlink `/bin/login': Operation not permitted
[-]
chattr -i /bin/login -- beware though, as the util-linux login
binary may not the one you want. Are you sure it is compatible
with RH's version ( shadow / PAM / ... ) ?

[-]
>I suspect that my system was hacked with a bad /bin/login.
>Anyway, how can I removed this file under ext2?  I really
>don't want to reformat my drive if possible...
[-]
I've done a chattr +i on quite some binaries, all in /sbin
for instance and all the shared libraries. Can help to avoid
a "Oh shhhhhhit" following a rm * as root in the wrong
directory.

Hope it helps, but be careful,
Juergen

-- 
\ Real name     : Juergen Heinzl                \       no flames      /
 \ EMail Private : [EMAIL PROTECTED] \ send money instead /

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

From: Simon Lemieux <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Apache -> case-UNsensitive?
Date: Sun, 10 Jun 2001 00:19:10 -0400

Hi,
  I was wondering how to set apache to be case-UNsensitive, that is that the URL
that points to a file/folder on my server could be upper or lower case.  Right
now I have a folder with a first uppercase, which looks pretty clean to me but I
couldn't see it with a lowercase...

  Some people pointed me to some module I had to load (sorry can't remember
which), but it was already loaded and would not work...

  Any help will be greatly appreciated!

Thanks!
  Simon

-- 
||  'How do you know I'm mad?' said Alice.
||  'You must be,' said the Cat, 'or you wouldn't have come here.'
--
 Simon Lemieux  ([EMAIL PROTECTED])

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

From: Andrew Kovalev <[EMAIL PROTECTED]>
Subject: Re: Network card problems in Mandrake 8.0
Crossposted-To: comp.os.linux,alt.os.linux.mandrake,alt.os.linux
Reply-To: [EMAIL PROTECTED]
Date: Sun, 10 Jun 2001 05:01:19 GMT

Mike Hoover wrote:

> I have mandrake 8.0 installed on an IBM Thinkpad.  I also have a
> Netgear FA410TX  PCMCIA netcard.  This card is successfully detected
> by mandrake.  I'm currently trying to get @Home to work with this
> card.  I have tried multiple configurations with ip's, DNS's, etc.
> The major problem is that when I plug in the ethernet cable from the
> cable modem into the network card, the Link/Act light does not go on
> (this light should turn on if an ethernet network is detected).  Also,
> whenever the card is in the laptop and I try to shutdown, Mandrake
> hangs on the step "shutting down pcmcia".  The only solution is to
> power down manually.  If I don't put the netcard in, then shutdown
> proceeds without any problems.  Does anyone have any solution to
> either of the two questions I asked?  Thanks for any help.
> 
> [EMAIL PROTECTED]
check the cables, you might have a Xover instead of straight ether.
(go to BestBuy and get one if you're not sure what you got)
-- 
disclaimer: I speak for myself, not for my employer

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

From: [EMAIL PROTECTED] (uzon)
Crossposted-To: comp.os.linux.portable
Subject: Re: toshiba satellite pro 4600 install from cd
Date: 9 Jun 2001 22:09:48 -0700

this is a problem with most toshiba laptops (including mine) and there
is no fix as of now. i spoke to some tech guy at the PCEXPO in their
booth last year.
some older versions of linux might work. (for me, prior to RH7.1 they
all booted fine. i have a satellite 320cds...)

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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install
Subject: Re: LILO Problem: /dev/hdh1 is not on first disk
Date: Sun, 10 Jun 2001 08:50:11 +0200

> I'm trying to install RH 7.1.  I have two physical HD's, both
> connected to a PROMISE ATA-66 controller.  My first HD (which is the
> primary drive that boots to Win2k) is hde1.  My second HD (which boots
> to RH) is hdh1.  The HDs are not connected together in any way -- both
> are hooked up separately to the Promise card's IDE interface.  (There
> are two direct interfaces on the Promise card...)

There's no third disc to an onboard controller?
then replace "bios=0x82" with "bios=0x81" in your lilo.conf

> "an error occured while installing bootloader"
> "Warning: /dev/hdh1 is not on the first disk!"
> "BIOS drive 0x82 may not be accessible."
>
> "disk=/dev/hdh bios=0x82".  However, I still cannot get rid of the

This is the part you need to change.

> "Warning: /dev/hdh1 is not on the first disk!" problem, and I cannot

This is actually just a warning.
(You created an error with the bios=0x82 line)

> /dev/hdh1 -- / partition
> /dev/hdh5 -- /home parition
> /dev/hdh6 -- linux swap
>
> (There appears to be no /boot parition!)

That's no problem.

> I tried to set RH's paritions up this way, but RH (via Disk Druid)
> insists that /dev/hdh1 is the /boot partition -- it will not install
> the / parition here.  I dunno if this really helps or not.

Bizarre..
(Never noticed this behaviour)

Eric



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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.help
Subject: Re: LILO failure, what to do? Please help.
Date: Sun, 10 Jun 2001 08:56:22 +0200

> Now I encountered an issue with LILO. I was installing RedHat, at one
> point, it hit "Bootloader installation failed" and can't go further with
> LILO installation. I wonder what could lead to this failure?

We will need the full error message ofcourse to tell you why it failed.
But I suspect the install completed, and just lilo encounterd an error.
Use a bootfloppy, or teh install CD to boot the sytem for the first time.
with CD: linux root=/dev/hdXXX
where hdXXX is your / partition

> Could it be
> that my Windoze ME hasn't been installed? I doubt it.

Me too.

run `/sbin/lilo -v -v` once you've booted the system, and you'll get a more
descriptive error message.

Eric




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

Subject: Re: Bell Sympatico DSL
From: Colin <[EMAIL PROTECTED]>
Date: 09 Jun 2001 09:25:58 -0400

"mkb" <[EMAIL PROTECTED]> writes:

> Hi,
> 
> Having some trouble with conflicting advice on the
> setup of this. I love to hear from anyone successful
> setting this up!
> 
> Mike.
> [EMAIL PROTECTED]

What distribution do you use?  I'm using Debian Woody.

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

Subject: Re: Newbie X
From: Colin <[EMAIL PROTECTED]>
Date: 09 Jun 2001 09:28:11 -0400

[EMAIL PROTECTED] (Paul Kimoto) writes:

> In article <4P8U6.952$[EMAIL PROTECTED]>, KW wrote:
> > edit /etc/inittab 
> > 
> > and change 
> > id:5:initdefault:
> > 
> > to
> > 
> > id:3:initdefault:
> 
> I don't remember which is the X-login runlevel, but in Debian I believe
> that the standard-login runlevel is 2, not 3.

Yup, that's right.  And runlevels 2 to 5 are identical because Debian
leaves it up to the user to customize the levels.

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

From: FONSOI <[EMAIL PROTECTED]>
Subject: useradd command not found
Date: Sun, 10 Jun 2001 07:31:23 -0000

I tried useradd command on Redhat Linux 7.0 and I got "command not found"
any idea? useradd is located /usr/sbin/


thanks


--
Posted via CNET Help.com
http://www.help.com/

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

From: holcomb <[EMAIL PROTECTED]>
Subject: Re: Newb question: which distribution?
Date: Sun, 10 Jun 2001 07:31:39 -0000


Barend Aersmade wrote:
> 
> 
> I have an win98 system serving a small LAN.
> I would like to setup Linux on my second HD and boot into it with a 
floppy
> drive, so when others (my  kids) turn on the computer, no bootmanager 
will
> appear but it would  boot straight into windows. Is this possible? Which
> distribution should I choose then?
> 
> 
As others have stated, most any distribution will allow what you want to 
do out of the box.  Also the recommendation of Mandrake 8.0 or RedHat 7.1 
was a good one.  I wanted to add though, that you can setup a bootloader 
such as LILO or GRUB to default to windows so that your kids don't have to 
do anything to get to Windows.  Then your system will only boot to Linux 
when you tell it to. jh 

--
Posted via CNET Help.com
http://www.help.com/

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

From: Lew Pitcher <[EMAIL PROTECTED]>
Subject: Re: xwindow session from w2k laptop
Date: Sun, 10 Jun 2001 07:45:04 GMT

"Jeff D. Hamann" wrote:
> 
> newbie xwindow question.
> 
> I have a linux box hat has software i would like to run (GRASS, R, etc) and
> would like to run the software such that I view the desktop from my laptop
> instead of having to log onto the linux server and sit there for hours on
> end (the monitor when it's hooked up is awful). Is there a way of running an
> xwindow session on my windows 2k laptop?
> 
> jeff.


I've tried a few X servers for Win32 platforms (I run WinNT4 at work),
and the best one so far is the Cygwin port of XFree86. You can find it
at http://xfree86.cygwin.com/

However, you should also check out Kenton Lee's website
(http://www.rahul.net/kenton/xsites.html). He documents a large number
of commercial, shareware, and freeware X servers, along with a very
large number of additional X resources. Even the X Organization points
to Kenton's website.


-- 
Lew Pitcher

Master Codewright and JOAT-in-training
Registered Linux User #112576

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

From: James Richard Tyrer <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.redhat,comp.os.linux.misc
Subject: Re: /bin/login cannot be removed
Date: Sun, 10 Jun 2001 07:56:58 GMT

Dowson Tong wrote:
> 
> Linux Gurus,
> 
> Please help.
> 
> After I upgraded my system from RH 6.2 to RH 7.1, I found
> that the login command is no longer working.  I can't login
> from the console as root or as other users.
> 
> Then I noticed that the /bin/login has not been updated
> during the upgrade.  When I tried to upgrade the util-linux
> package, it fails because /bin/login cannot be renamed
> or removed.  I tried different methods (including boot the
> system in rescue mode) and yet I can't remove the /bin/login
> executable.
> 
> # rm /bin/login
> rm: remove write-protected file `/bin/login'? y
> rm: cannot unlink `/bin/login': Operation not permitted
> # mv /bin/login /bin/login.org
> mv: cannot unlink `/bin/login': Operation not permitted
> mv: cannot remove `/bin/login': Operation not permitted
> 
> I suspect that my system was hacked with a bad /bin/login.
> Anyway, how can I removed this file under ext2?  I really
> don't want to reformat my drive if possible...

Just [as root] set the permissions of the file to 777.

        chmod 777 /bin/login

Then Upgrade to "util-linux-2.10s-12"   

If you already installed this, test first and if there are no dependencies, use
"--force".

JRT

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


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

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

Reply via email to