Linux-Misc Digest #712, Volume #24                Sun, 4 Jun 00 21:13:02 EDT

Contents:
  Re: Bad Blocks. (Coffee)
  Re: kppp will now work in user account (Bob Martin)
  Re: Make FAT32 visible in Linux? ("Robert L.")
  Need advice for smallbiz setup (Sarah)
  Is there sth like sudo.rpm for RH Linux (lam)
  Rescue/fix partition from 'spare' partition ? ([EMAIL PROTECTED])
  Re: Tux in ASCII (Bastian)
  Re: DSL under linux: No Joy :-< ("Matt O'Toole")
  Re: Is there sth like sudo.rpm for RH Linux (sleddog)
  Re: fetchmail problem (Steve)
  Re: samba troubles (Geoff Sullivan)
  Re: Is there sth like sudo.rpm for RH Linux (Hal Burgiss)
  Re: sawfish configuration ("Kevin Vandersloot")
  Re: Can't use HTML mail with netscape (Craig McCluskey)
  Re: RealPlayer 7: Cannot open the audio device...
  Re: Tux in ASCII (Matthew W. Miller)
  lilo and freebsd ("Krapulax")
  Re: Zip for Linux (Matthew W. Miller)
  Re: Need advice for smallbiz setup (Robert Marshall)

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

From: Coffee <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.misc
Subject: Re: Bad Blocks.
Date: Sun, 04 Jun 2000 17:06:43 -0500

"David E. Fox" wrote:
> 
> In article <[EMAIL PROTECTED]>, Coffee <[EMAIL PROTECTED]>
> wrote:
> > Bastian wrote:
> 
> >> Is this a general rule? I ask, because I never had problems with drive
> >> failures when bad blocks showed up. I always thought it's a normal
> >> process (in fact, happening all the time, but the user doesn't notice
> >> it because of the drive using backup sectors automatically).
> 
> As I understand things, IDE drives generally have a number of backup
> sectors set aside for this purpose. Once you start seeing bad blocks --
> means that these backup sectors have all been used up, and that means the
> drive may be going bad.
> 
> That being said though, I've got two Maxtor drives here - one's nearly
> seven years old, been in daily use, and has not a single bad sector (at
> least a visible one) on  it. My other Maxtor drive is somewhat newer (got
> it in 1996) and it might have one or two bad sectors on it, but it hasn't
> developed any *new* bad sectors in at least a year, I believe. This, of
> course, is only a sample size of one (maybe two) and we all know, of
> course, how useful that is statistically. :) But it may mean that in my
> particular situation, the drive (i.e., the one with bad sectors) may last
> considerably longer than the expected lifetime of a drive with bad sectors
> (i.e., soon to fail completely).
> 
> coffee then writes:
> 
> > During an fdisk of the drive badblocks are located and info on them are
> > stored as not to use them to write info to. However, If you begin to get
> > more badblocks that means sectors are going bad and data cannot be
> 
> I'd tend to agree, save for the comments I've already made. Now, I wonder
> what can be done about the one(s) I already have. I've noticed that
> routine backups tend to fail over here -- the kernel (2.2.14) just stops,
> the hard drive light stays on, when data is read from this block. What
> I've done is try to isolate the problem (it's in a particular part of a
> file in /usr/local that's not being used) but backups still tend to fail,
> even when explicitly excluding that file -- which leads me to believe
> there's another bad sector on the drive.  I remember running a seemingly
> exhaustive fsck one time which was able to report which sectors were bad.
> 
> Assuming I can (re)generate the bad block numbers, is there an easy way to
> determine what files, if any, contain that particular block, remove the
> files, mark the bad block as such, and go from there, without of course
> having to reformat and/or reinstall?  I figure I can use something like
> debugfs.
> 
> If there's a straightforward procedure in cases like this, maybe there
> could be a Bad Disk Mini-HOWTO of sorts written. :)
> 
> > coffee

This is where installing on several partitions comes in very handy. Then you can
backup the existing good partitions and junk the bad one, Reinstall linux and
restore what you have. I guess I would boot to single mode and run badblocks.
This should (?) mark the bad blocks and then you can backup whats left. IMHO, I
would do above and then break out the tape backups.

good luck.
-- 
coffee at indy dot net
RedHat 6.20
AMD K62-500 / ASUS P5A / 98 Megs Ram / 
My Personal Howto Notes  ---->  http://www.indy.net/~coffee

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

From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: kppp will now work in user account
Date: Sun, 04 Jun 2000 17:20:09 -0500

harshal patil wrote:
> 
> i've too similar kind of problem. whenever i try to connect to internet
> using kppp, it says "sorry, modem is busy".
> does anybody know how to configure modem under linux [such as XF86Setup] for
> GUI ?

There is nothing really to configure for a modem. The link /etc/modem
should point to the correct serial device. Many time the "busy" message
is because of interrupt conflicts.
--

Bob Martin

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

From: "Robert L." <[EMAIL PROTECTED]>
Subject: Re: Make FAT32 visible in Linux?
Date: Sun, 04 Jun 2000 22:23:35 GMT

man mount

try
mount /dev/hda1 /dosc
mount /dev/hdc1 /dosd
It should work, if failed, you need to put -t option.

after that, man fstab.
Configure /etc/fstab with what you have just learn.

now you can
mount /dev/hda1
or even
mount /dosc

mount -t vfat /dev/had1 /dosc
to mount your C.

You have to read.


"feng chen" <[EMAIL PROTECTED]> a �crit dans le message news:
8hehhd$92a$[EMAIL PROTECTED]
> Hi, There.
>
> I installed a Linux 2.2.5-15 and Windows 98
> on one computer. In the setup, I configured
> lilo to mount two FAT32 hard disk hda1 and
> hdc1 into /dosc and /dosd. But then I start
> Linux, I can see two direcroties /dosc and
> /dosd. But I can not see any files in them.
>
> Does anybody know how to make FAT32 filesystem
> visible to Linux?
>
>
> Thanks in advance.
>
>
> Feng Chen
>



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

From: Sarah <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.security
Subject: Need advice for smallbiz setup
Date: Sun, 04 Jun 2000 18:32:19 -0400

I am just starting a small website biz, and will eventually
be moving it to a webserver and running it on a DSL
connection.  I need to have a database back end for the
website, with subscribers able to update their own data
listed on the site while online themselves. This will
require webpages that are passworded, and secure
transmission of the data to the database/webserver.  Right
now the site is bare-bones, no database enabled.  

I'm thinking of running a 3-way network, with a win95/98 box
for home use, a MAC G3 for the database/webserver, and Linux
for the network protocol.  

How would I set this up?  What do I need?

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

From: lam <[EMAIL PROTECTED]>
Subject: Is there sth like sudo.rpm for RH Linux
Date: Mon, 05 Jun 2000 01:43:46 +0200
Reply-To: [EMAIL PROTECTED]

Hi,

my RH6.1 distribution does not seem to include the sudo tool (this a
program that allows normal user to execute defined commands as
superuser). Any idea where I can get this on the net?

bonminh

--
To reply to me via email, please substitute the text no_spam with
mailbox in the return address.



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

From: [EMAIL PROTECTED]
Subject: Rescue/fix partition from 'spare' partition ?
Date: 4 Jun 2000 22:56:16 GMT

Hi all,

While fiddling to install an extra HD, something went wrong !

I've got 2 'installations/partitions' on the old HD.

The more valuable installation (with important files) gives this error
at boot:-
EXT2-fs error  ....bad entry in directory #2 ...
..offset=1024, inode=163...;rec_len=...

The other/spare installation runs OK and
fdisk run from the spare partition, shows all the partitions - look OK.

Can I possible 'fix' the apparently damaged partition working from the good
 one ?
If I knew which man to read ?
What command(s) can I try ?
As mentioned, fdisk 'sees' the defective partition.
Unfortunately my how-to's are stranded on the bad partition.

Thanks for desperately needed advice, also emailed to [EMAIL PROTECTED]

 Chris Glur.



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

From: [EMAIL PROTECTED] (Bastian)
Subject: Re: Tux in ASCII
Date: 4 Jun 2000 23:02:59 GMT

On Sun, 04 Jun 2000 14:37:33 -0700, Bev wrote:
>Gabberatski wrote:
>> 
>> I am searching for an ASCII art of TUX, or something that's linux related
>
>This is by Joan Stark, who has a tremendous ascii art page at
>http://www.geocities.com/SoHo/7373/index.htm
>
>
>
>              a8888b.                                 a8888b.
>             d888888b.                               d888888b.
>             8P"YP"Y88                               8P"YP"Y88
>             8|o||o|88                               8|O||O|88
>             8'    .88                               8'    )a8
>             8`._.' Y8.                              8`._.' Y8.
>            d/      `8b.                            d/      `8b.
>           dP   .    Y8b.                          dP   .    Y8b.
>          d8:'  "  `::88b                         d8:'  "  `::88b
>         d8"         'Y88b                       d8"         'Y88b   
>        :8P    '      :888                       8P    '      :888
>         8a.   :     _a88P                       8a.   :     _a88P
>       ._/"Yaa_:   .| 88P|                     ._/"Yaa_:   .| 88P|
>  jgs  \    YP"    `| 8P  `.              jgs  \    YP"    `| 8P  `.
>  a:f  /     \.___.d|    .'               a:f  /     \.___.a)    .'
>       `--..__)8888P`._.'                      `--..__)8888P`._.'

Looks like my knitting grandmother, dressed up in a cardigan... :)

Bastian


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

Reply-To: "Matt O'Toole" <[EMAIL PROTECTED]>
From: "Matt O'Toole" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,alt.os.linux.suse
Subject: Re: DSL under linux: No Joy :-<
Date: Sun, 4 Jun 2000 16:00:51 -0700


"Duane" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...

> I would just point out that not all DSL providers using PPPoE will
> disconnect for inactivity. I leave mine (PacBell) on pretty much 24
> hours a day, 7 days a week. Works great. I have heard rumors of other
> providers disconnecting, though.

Yup, my Pacbell PPPoE stays up too.  YMMV.

Matt O.




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

From: [EMAIL PROTECTED] (sleddog)
Subject: Re: Is there sth like sudo.rpm for RH Linux
Reply-To: [EMAIL PROTECTED]
Date: Sun, 04 Jun 2000 23:13:08 GMT

On Mon, 05 Jun 2000 01:43:46 +0200, lam <[EMAIL PROTECTED]> wrote:
>Hi,
>
>my RH6.1 distribution does not seem to include the sudo tool (this a
>program that allows normal user to execute defined commands as
>superuser). Any idea where I can get this on the net?
>
>bonminh
>
>--
>To reply to me via email, please substitute the text no_spam with
>mailbox in the return address.
>
>

http://www.courtesan.com/sudo/


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

From: [EMAIL PROTECTED] (Steve)
Subject: Re: fetchmail problem
Reply-To: [EMAIL PROTECTED]
Date: 5 Jun 2000 00:27:48 GMT

I had a similar kind of problem where fetchmail was getting the mail
but I couldn't find it.  

This is a sendmail problem, not fetchmail.  I removed sendmail 
completely and reinstalled it from the rpm, then ran a perl
utility called something like sendmail-install to configure
sendmail.  http://members.xoom.com/xeer/index.html for the
perl utility.  Read the instructions, it worked for me.

-- 
Cheers
Steve              email mailto:[EMAIL PROTECTED]

%HAV-A-NICEDAY Error not enough coffee  0 pps. 

web http://www.ndirect.co.uk/~sjlen/

or  http://start.at/zero-pps

 11:59pm  up 4 days, 23:30,  2 users,  load average: 2.02, 2.01, 2.00

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

From: Geoff Sullivan <[EMAIL PROTECTED]>
Subject: Re: samba troubles
Date: Sun, 04 Jun 2000 19:27:46 -0400
Reply-To: [EMAIL PROTECTED]

Thanks to your suggestions and some more research I was able to get the
following results from smbmount. My version is 2.0.3. Using this command
line I am able to mount the Win98 machine.

[root@penguin /root]# smbmount //sunfish/c -c 'mount /mnt/Sunfish'
Added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Server time is Sat Jun  3 13:41:20 2000
Timezone is UTC-4.0
security=share
[root@penguin /root]#

My smb.conf is *very* basic so far...

[global]
   workgroup = maine
   max log size = 50
   socket options = TCP_NODELAY
   bind interfaces only = yes
   interfaces = 192.168.0.1/24 127.0.0.1
   local master = yes
   dns proxy = no

I still cannot get penguin to show up in NetworkNeighborhood though.

Results from nmblookup....

[root@penguin /root]# nmblookup sunfish
Sending queries to 192.168.0.255
192.168.0.1 sunfish<00>
[root@penguin /root]#

Another problem has developed too. I have Internet Modem Sharing set on
the Win98 box. With this I can use this machine's modem to dial out on.
When it's disabled or powered down the Linux box should be able to use
its own modem to dial out, but it won't. KPPP will access the modem and
dial, but no ppp connection is made. Innvoking pppd from the console
does nothing.

I guess negotiations are attempted through eth0 and everything just
croaks!  How can I redirectto the modem instead of eth0 when my little
network is disabled?

                 **                          **
 G. Sullivan  sunfishATshell.gis.net.invalid 
http://www.gis.net/~sunfish


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

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: Is there sth like sudo.rpm for RH Linux
Reply-To: [EMAIL PROTECTED]
Date: Sun, 04 Jun 2000 23:28:16 GMT

On Mon, 05 Jun 2000 01:43:46 +0200, lam <[EMAIL PROTECTED]> wrote:
>my RH6.1 distribution does not seem to include the sudo tool (this a
>program that allows normal user to execute defined commands as
>superuser). Any idea where I can get this on the net?

[hal@feenix hal]$ rpmfind sudo
Installing sudo will require 302 KBytes
### To Transfer:

ftp://ftp.redhat.com/pub/redhat/powertools/6.2/i386/i386/sudo-1.6.1-1.i386.rpm
Do you want to download these files to /tmp/rpms [Y/n/a/i] ? : 


-- 
Hal B
[EMAIL PROTECTED]
--

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

From: "Kevin Vandersloot" <[EMAIL PROTECTED]>
Subject: Re: sawfish configuration
Date: Sun, 04 Jun 2000 23:29:36 GMT

In article
<[EMAIL PROTECTED]>, Gerald
Pollack <[EMAIL PROTECTED]> wrote:
> I'm playing with gnome 1.2 + sawfish. I've been
> unable to figure out=20 how to customize the
> pop-up menu that appears when button 3 is
> clicked=20 over the desktop (am I correct that
> this menu is produced by sawfish,=20 and not by
> gnome?). Is this described in some documentation
> that I've=20 missed?=20
> 
> Thanks,

You have to edit a lisp file ( it is a sawfish
menu ).  Its called menu.jl and its in
/usr/share/sawfish/0.27.2/lisp/. Once you edit it
you have to recompile the lisp which can  be done
with the command:
'sawfish --batch -l compiler -f compile-lib-batch DIR'
where DIR is the directory containing menu.jl.
If you are using gnome then sawfish ought to 
detect that and list your gnome application menu.
Try creating a .sawfishrc file in your home dierctory
and add the following:
(require 'gnome)
(require 'gnome-menu)
and restart sawfish.





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

From: Craig McCluskey <[EMAIL PROTECTED]>
Subject: Re: Can't use HTML mail with netscape
Date: Sun, 04 Jun 2000 18:41:13 -0500

Jim McIntyre wrote:
> 
> When I insert a link into e-mail with netscape 4.73, th eprogram crashes
> as soon as I click OK.  I'm using the glibc version. I know the libc5
> version worked OK, but I don't think it is available now. Does anybody
> know a fix for this.
> TIA
> 
> Jim McIntyre

All the protestations about HTML email aside (and with which I most 
thoroughly agree), it's perhaps possible that Jim is just trying to 
tell a recipient about a site he has found.

>From Jim's text, I read that he is not trying to send fancy email but
is just trying to include a line that says:

http://www.somesite.com/whateverdirectory

and cannot. Is this what you're asking, Jim?

I don't recall having any problems with this at the University running
Netscape 4.73, but right now I'm at home using 4.72 and Netscape for
some reason won't email anything (immediately after clicking, "OK," it
says the connection was refused by the mail server -- oddly, though,
I can post to newsgroups).

Craig

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

From: <[EMAIL PROTECTED]>
Subject: Re: RealPlayer 7: Cannot open the audio device...
Date: Mon, 5 Jun 2000 06:44:42 +0700

I did not used rp7.linux20.libc.i386.b2.rpm but load rp7 directly from
internet.

Please take a look at

crw-r--r--   1 root     sys       14,   0 Jul 18  1994 mixer
crw-rw-rw-   1 root     root      14,   0 Jun  4 19:56 mixer0
crw-rw-rw-   1 root     sys       14,  16 Jul 18  1994 mixer1
crw-rw-rw-   1 root     root      14,  32 Jun  4 19:58 mixer2
crw-rw-rw-   1 root     root      14,  48 Jun  4 19:58 mixer3
crw-rw-rw-   1 root     root      14,  64 Jun  4 19:58 mixer4

If so, then

supat1:/dev# chmod a+w mix*
supat1:/dev# su sss
supat1:/dev$ realplay&

Because realplay not only need /dev/audio permission but also /dev/mix

Other sound tools may need only /dev/dsp permission.

Regards,
zxc


=CA=D8=BE=D1=B5=C3=EC =BF=E9=D2=C3=D8=E8=A7=CA=D2=A7 (supat faarungsang)   =
 Kasetsart Univ., Nakorn Pathom,
mailto:[EMAIL PROTECTED]                  http://sss.agri.kps.ku.ac.th/
office: (034)351892  home: (034)351843                   fax: (02)5791120
mobile: (01)4127930                            lab:(034)281053-6 ext 3434
voicechat: http://supat.dhs.org/ttt.html            or http://go.to/supat
=A4=C7=D2=C1=B4=D5=A4=B9=E0=C3=D2=B9=D5=E8=B4=D5=E3=B4 =B4=D5=B9=D3=E9=E3=
=A8 =B7=D5=E8=E3=CB=E9=E1=A1=E8=A4=B9=B7=D1=E9=A7=BB=C7=A7                 =
         :)

On Sun, 4 Jun 2000, Ties Verkuil wrote:

> Hi All,
>=20
> I have installed rp7.linux20.libc.i386.b2.rpm on Red Hat 6.0 and 6.1.
> When I start RealPlayer, I get in both causes the error message:
> Cannot open the audio device. Another application may be using it.
> My soundcard is a Sound Blaster PCI 64 (ES 1371).
> Which is working fine with XMMS etc.
>=20
> Does anyone knows a solution for this problem?
>=20
> Thanks in advance,
>=20
> Ties Verkuil.
>=20
> E-mail adress: Replace home with hotmail.
>=20
>=20


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

From: [EMAIL PROTECTED] (Matthew W. Miller)
Subject: Re: Tux in ASCII
Date: 05 Jun 2000 00:23:09 GMT

On Sun, 4 Jun 2000 19:41:35 +0200, Gabberatski <[EMAIL PROTECTED]> wrote:
>I am searching for an ASCII art of TUX, or something that's linux related

This is one I created, from Larry Ewing's black and white version, with
pbmtoascii. Yes it's grungy, as these conversions tend to be, but you
might like it nonetheless.

               ,/-'"`^~\.
             ,'       ..`\.
            ,|        ''  \,
            || _.   ,o_    |
            |||"&| |P'&L   M
            ||`,:H#1L..*   9
            `||MMMMMMM#}   |.
             | `&&&6&~9| ~o`\.
            /'Jb:""?dMMM\    \.
          ,/ ?MMM#MMMMMMM,    ?\
         /'  MMMMMMMMMMMMM. \  `&.
        / . dMMMMMMMMMMMMMH. \.  |.
       ?'  ?MMMMMMMMMMMMMMMb  \   &
      ,?, |MMMMMMMMMMMMMMMMM. |,  `L
     ,? i |MMMMMMMMMMMMMMMMM| |'   9
     M  `\JMMMMMMMMMMMMMMMMM+-"-   H
    .&MMH\`HMMMMMMMMMMMMMMP$,    .o6.
.-=~^JMMMMb "*MMMMMMMMMMMM|MMo__oHM`|
&|MMMMMMMMMH.  9MMMMMMMMMM|MMMMMMMM?`~_
|,9MMMMMMMMMM\,HMMMMMMMM*'||MMMMMMMMMH$H
&,MMMMMMMMMMMM|\"""""""' | MMMMMMMM#$$~'
`v?&P###MMMMMM| ' ______." 9MMMH":~^"
   `""^--??"":v-'""""""""*\ "":,^'
          ``"'             `"""
-- 
Matthew W. Miller -- [EMAIL PROTECTED]

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

From: "Krapulax" <[EMAIL PROTECTED]>
Subject: lilo and freebsd
Date: Mon, 5 Jun 2000 02:38:07 +0200

Is it possible for Lilo ( 21.4.3) to boot on a  Freebsd partition after the
1024 cylindre on a LBA hard disk ?

When i try to do this i have "Read error".

thanks for your answer.



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

From: [EMAIL PROTECTED] (Matthew W. Miller)
Subject: Re: Zip for Linux
Date: 05 Jun 2000 00:37:54 GMT

On 4 Jun 2000 03:29:18 GMT, brian moore <[EMAIL PROTECTED]> wrote:
>On Sat, 03 Jun 2000 04:54:51 GMT, 
> Jim McIntyre <[EMAIL PROTECTED]> wrote:
>> www.pkware.com
>Use the 'INFO-ZIP' version (if you must compile source, you can get it
>at ftp://ftp.cdrom.com/pub/infozip/src/zip23.tar.gz and the companion
>unzip540.tar.gz in the same directory).  This is free, both as 'free
>beer' and 'Free Speech'.

'If'?!  Compiling from source is almost a necessity, since most of the
binary distros of zip are compiled without encryption capability, and most
of the binary distros of unzip are compiled with neither encryption nor
ability to decompress archives with compression techniques of questionable
legality (unshrinking, which is a LZW variant, and unreducing, which is
copyrighted by Sam Smith).
        Nevertheless, I'd recommend info-zip over pkzip, even if you jump
for one of the emasculated binary distros, since at least the sources
*are* readily available if/when you need them.

-- 
Matthew W. Miller -- [EMAIL PROTECTED]

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

From: Robert Marshall <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.security
Subject: Re: Need advice for smallbiz setup
Date: Mon, 05 Jun 2000 00:40:28 GMT

Do you mean "Network firewall"?

Sarah wrote:
> I'm thinking of running a 3-way network, with a win95/98 box
> for home use, a MAC G3 for the database/webserver, and Linux
> for the network protocol.

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


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