Linux-Misc Digest #376, Volume #24 Sat, 6 May 00 09:13:04 EDT
Contents:
Re: Man display error (Bob Martin)
Re: anonymous ftp problem (Sky Cree)
Re: Locating files (Nguyen-Dai Quy)
Re: How to print page range in Netscape/Linux (Nguyen-Dai Quy)
smbfs (wally)
incremental backup with tar? ("ChemSoft GmbH")
where to get debian 2.1r5 ISO files from internet? (YamYam)
Re: Need to find my IP address ("smylie")
Re: Xfree86 4.0 XF86Config help needed (Duane Evenson)
Re: rpm problems (YamYam)
Re: How do I get linux to recognize my FAT32 partition? (Matt)
ippp: no decompressor defined! ([EMAIL PROTECTED])
Re: incremental backup with tar? (Matt)
Re: incremental backup with tar? (Matt)
----------------------------------------------------------------------------
From: Bob Martin <[EMAIL PROTECTED]>
Subject: Re: Man display error
Date: Sat, 06 May 2000 03:22:44 -0500
James Li wrote:
>
> I have installed RedHat Linux 6.2 on a Pentium machine. I can't search man.
> It display some errors.
> Take "ls" for example. Display looks like the following:
> man ls
> hdb: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
> hdb: read_intr: error=0x40 { UncorrectableError }, LBAsect=1737096,
> sector=1499145
> end_request: I/O error, dev 03:46 (hdb), sector 1499145
> Error executing formatting or display command.
> System command /bin/gunzip -c /var/catman/cat1/ls.1.gz | /usr/bin/less -is
> exited with status 135
>
> Please help troubleshoot the problem.
>
> James Li
man doesn't look to be the problem, you are getting errors from your
disk drive , hdb. You might run fsck on it, see if it can fix anything.
but may be having a hardware failure, which means it's time for a new
drive.
--
Bob Martin
------------------------------
From: Sky Cree <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.help
Subject: Re: anonymous ftp problem
Date: Fri, 05 May 2000 12:35:34 -0700
I never used wu-ftpd but I did have difficulty using the built in ftp server.
Instead I went with proftpd and after some troubleshooting with the different
commmands I was able to get the anonymous to work. Here is an example of my
config file:
ServerName "Your Server Name"
ServerType standalone
DefaultServer on
RequireValidShell off
UseFtpUsers off
ServerIdent on "Your Server Name"
Port 21
Umask 022
MaxInstances 30
User nobody
Group nobody
# Allow files to be overwritable.
<Directory /*>
AllowOverwrite on
</Directory>
# Basic Anonymous configuration.
<Anonymous ~ftp>
User ftp
Group ftp
UserAlias anonymous ftp
MaxClients 10
DisplayLogin /usr/local/etc/welcome.msg
<Directory lib>
HideGroup root
</Directory>
<Directory etc>
HideGroup root
</Directory>
<Directory bin>
HideGroup root
</Directory>
<Limit READ WRITE STOR RETR>
AllowAll
</Limit>
<Limit DELE>
DenyAll
</Limit>
</Anonymous>
This setup hides the lib, etc and bin directory's for simplicity but works fine
otherwise. There are troubleshooting pages available on proftpd's website and
explanations of all of the commands.
Tat Ho wrote:
> Bob Hauck wrote:
>
> > On Wed, 26 Apr 2000 15:33:23 -0700, Christopher Fonnesbeck
> > <[EMAIL PROTECTED]> wrote:
> >
> > >I am trying to set up an anonymous ftp server on my Linux machine, using
> > >wu-ftp. However, when users try and log in anonymously, they are asked
> > >for a password, rather than their e-mail address.
> >
> > What happens if they just enter their email address? Here's what my
> > wu-ftpd does:
> >
> > [hauck@lab hauck]$ ftp localhost
> > Connected to localhost.
> > 220 lab.codem.com FTP server (Version wu-2.4.2-academ[BETA-15](1) Wed Jan
> > 7 01:03:55 MST 1998) ready.
> > Name (localhost:hauck): anonymous
> > 331 Guest login ok, send your complete e-mail address as password.
> > Password:
> >
> > If I give an email address as my password it logs me in as anonymous.
> >
> > --
> > -| Bob Hauck
> > -| Codem Systems, Inc.
> > -| http://www.codem.com/
>
> I too am trying to setup "annoymous" ftp access on my system but without
> success. The problem
> is I just do not get the line that says "Guest login ok..." after entering
> "annoymous" to the user
> name prompt. Do I need to setup a login account "guest"? If yes, then what
> should it look like in the "/etc/passwd" file?
>
> Any help would be much appreciated.
>
> T.L.Ho
------------------------------
From: Nguyen-Dai Quy <[EMAIL PROTECTED]>
Subject: Re: Locating files
Date: Sat, 06 May 2000 11:00:24 -0400
Reply-To: Nguyen-Dai Quy <[EMAIL PROTECTED]>
mpierce wrote:
>
> Is there a way to find out where a specific file is located in an
> uninstall RPM package? I am looking for the file libGL.so.1
$ rpm -ql toto.rpm | grep libGL
HTH
--
Nguy�n-�ai Qu�
LTAS-M�canique de la Rupture, ULG
Rue des Chevreuils, 1, B�t B52, Local 522
B-4000, Li�ge, BELGIQUE
T�l:+32-4-366.9098 Fax:+32-4-366.9311
http://w3.to/quy
------------------------------
From: Nguyen-Dai Quy <[EMAIL PROTECTED]>
Subject: Re: How to print page range in Netscape/Linux
Date: Sat, 06 May 2000 11:09:32 -0400
Reply-To: Nguyen-Dai Quy <[EMAIL PROTECTED]>
Robert Lynch wrote:
>
> WORLOK wrote:
> >
> > Hi,
> >
> > Under Linux Netscape, when you go to print a document, the only choice
> > is to print the whole thing. Is there a way to pront only , say, the
> > first 6 pages of an HTML file under Netscape/Linux?? Is there something
> > I have to append to the "lpr" command?
You can not do that directly under Netscape/Linux AFAIK. You can print
to a postscript file and use "gv" to view and choice the page to print
manually :-)
> Sorry, don't have an answer for you, but I would like this too. Also,
> what would be neat is if there were some way to have the URL, date,
> time, page no. printed at the top of the pages the way you see it when
> you print with Netscape on Windoze.
>
> I've thought about trying to program a print filter (pages, page
> numbering shouldn't be too big a problem), but how to get the URL info
> from Netscape?
For URL I don't know how to get it :-( But I have already a Perl script
which used to add date, time and page number to ps file created by
Netscape. I would like to get URL too, but it seems impossible for me,
but maybe you know some tricks ...
Write to me if you want to try my script :-)
HTH,
--
Nguy�n-�ai Qu�
LTAS-M�canique de la Rupture, ULG
Rue des Chevreuils, 1, B�t B52, Local 522
B-4000, Li�ge, BELGIQUE
T�l:+32-4-366.9098 Fax:+32-4-366.9311
http://w3.to/quy
------------------------------
From: wally <[EMAIL PROTECTED]>
Subject: smbfs
Date: Sat, 06 May 2000 09:30:05 GMT
using command :
# smbmount //banny/htmldoc /mnt/banny -n
I get reply :
Added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
could not resolve mount point mount
RedHat 6.1
Kernel -2.2.12-20
samba installed & working(I see linuxbox in network neighbourhood on winnt)
smbfs compiled in kernel & smbfs ultilities is installed
WINNT BOX name - banny
Documents to share on WINNT -htmldoc
Created mountpoint /mnt/banny on linux box
WHAT HAVE I DONE OR NOT DONE ?
WHY IS NOT WORKING?
PLEASE HELP!
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "ChemSoft GmbH" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,redhat.servers.general
Subject: incremental backup with tar?
Date: Sat, 6 May 2000 12:38:19 +0200
hi all,
i try to do an incremental backup with tar on an 4mm DAT.
is this possible?
first i backed up all files on an multiple volume (3 tapes) now i want to
backup every night only the files that are new or have changed. is that
possible with tar/cron without using an expensive backup-application?
after the backup an email should sent to the admin with a list of the
backuped files (tar tf /dev/st0 >backup.log). the problem is how to send
this log-file to the admin/root?
thanks in advance for your help
Tobias
--
Mit freundlichem Gru� aus Sankt Augustin
Diana Block
ChemSoft GmbH
Market-Services
Postanschrift: Am Otenberg 17a, 53757 Sankt Augustin
Technik und Service: TechnoPark der GMD, Rathausallee 10
Telefon 02241/334691 - Fax 02241/334692 - http://www.chemsoft.de
------------------------------
From: YamYam <[EMAIL PROTECTED]>
Subject: where to get debian 2.1r5 ISO files from internet?
Date: Sat, 06 May 2000 10:30:03 GMT
Hi there...
I have a tow parts question:
1. Where can I get debian 2.1r5 -latest version- ISO files from internet?
2. Can I find the 4 debian 2.1r5 ISO files -all latest debain CDs images- from the
internet?
Thanx in advance for ur help.
-YamYam
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "smylie" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.apps,comp.os.linux.development.system
Subject: Re: Need to find my IP address
Date: Sat, 6 May 2000 22:39:31 +1200
The only way i've been able to do it so far is by calling system("ifconfig
ppp0"), and then parsing the result to get the ip. This however strikes me
as a particularly inelegant and round-about solution.
there must be a better way.
any ideas anyone?
smylie
"G. Roderick Singleton" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Doug Schulz wrote:
> >
> > I have a sockets program an need to find the IP address of the machine
> > the program is being run from so I can bind the socket to the correct
> > address/port. I have tried using gethostname coupled with gethostbyname
> > and I can only get 127.0.0.1 (localhost address). I want to find the
> > actual IP address of the machine. Is there a way of doing this. Any
> > help would be great.
> >
> > FYI this is a UDP app.
> >
> > Thanks,
> >
> > Doug
>
>
> man -k inet
> --
>
____________________________________________________________________________
____
> G. Roderick Singleton, <[EMAIL PROTECTED]> PATH tech,
> 71 Underhill Drive, Unit 159, Toronto, ON M3A 2J8
> Voice : 416-452-4583 Fax: 416-452-0036 Toll Free: 1-888-354-PATH
>
____________________________________________________________________________
____
>
> *** Notice To Bulk Emailers: Attention! Pursuant to US Code, Title 47,
> Chapter 5, Subchapter II, 227, any & all unsolicited commercial e-mail
> sent to this address is subject to a download and archival fee in the
> amount of the $1500 US and copies will be forwarded to domain
> administrators. Emailing denotes acceptance of said terms!
------------------------------
From: Duane Evenson <[EMAIL PROTECTED]>
Subject: Re: Xfree86 4.0 XF86Config help needed
Date: Sat, 06 May 2000 05:37:35 -0600
You need to specify some modes and modelines. Here is what I have (I also have a
SIS 6326):
Section "Monitor"
Identifier "My New Monitor"
VendorName "Acana"
ModelName "Professional 15Sp"
HorizSync 30-70
VertRefresh 50-120
Option "dpms"
ModeLine "640x480" 31.500 640 669 743 771 480 480 488 495
ModeLine "800x600" 49.000 800 867 995 1032 600 631 639 653
ModeLine "1024x768" 78.518 1024 1044 1275 1307 768 768 777 801
# ModeLine "1280x1024" 100.00 1280 1308 1572 1600 1024 1024 1033 1075
# Modeline "1152x864" 100.00 1152 1180 1412 1440 864 864 874 907
EndSection
Section "Device"
### Available Driver options are:-
#Option "SWcursor"
#Option "HWcursor"
#Option "PciRetry"
#Option "rgbbits"
#Option "NoAccel"
#Option "TurboQueue"
#Option "SetMClk"
#Option "FastVram"
Identifier "My New Video Card"
Driver "sis"
VendorName "Multimedia"
BoardName "6326"
BusID "PCI:0:14:0"
VideoRam 4096
Option "FastVram"
EndSection
Section "Screen"
Identifier "Screen0"
Device "My New Video Card"
Monitor "My New Monitor"
DefaultDepth 24
SubSection "Display"
Depth 4
Modes "1024x768" "800x600" "640x480"
Virtual 1024 768
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768" "800x600" "640x480"
Virtual 1024 768
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 15
Modes "1024x768" "800x600" "640x480"
Virtual 1024 768
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768" "800x600" "640x480"
Virtual 1024 768
ViewPort 0 0
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
Virtual 1024 768
ViewPort 0 0
EndSubSection
EndSection
Harvey London wrote:
> I have successfully installed the server and it runs except for one problem. I
> can't get it to run at any resolution other then 640x480. I've tried adding and
> removing everything I can think of from the xf86config file. Nothing seems to
> make a difference. My configuration is as follows: AMD K2/500, 256MB RAM, PCI
> video with SIS 6326 chip set, and Mandrake 7.0. I installed the binary package
> of Xfree86 for glibc2.1. Any help would be appreciated.
> Thanks,
> Harvey
>
> Here is a copy of my XF86Config file:
>
> Section "ServerLayout"
> Identifier "XFree86 Configured"
> Screen 0 "Screen0" 0 0
> InputDevice "Mouse0" "CorePointer"
> InputDevice "Keyboard0" "CoreKeyboard"
> EndSection
>
> Section "Files"
> EndSection
>
> Section "Module"
> Load "extmod"
> Load "xie"
> Load "pex5"
> Load "glx"
> Load "dri"
> Load "GLcore"
> Load "dbe"
> Load "record"
> EndSection
>
> Section "InputDevice"
> Identifier "Keyboard0"
> Driver "keyboard"
> EndSection
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "PS/2"
> Option "Device" "/dev/mouse"
> EndSection
>
> Section "Monitor"
> Identifier "Monitor0"
> VendorName "Monitor Vendor"
> ModelName "Monitor Model"
> EndSection
>
> Section "Device"
> ### Available Driver options are:-
> #Option "SWcursor"
> #Option "HWcursor"
> #Option "PciRetry"
> #Option "rgbbits"
> #Option "NoAccel"
> #Option "TurboQueue"
> #Option "SetMClk"
> #Option "FastVram"
> Identifier "SiS 6326"
> Driver "sis"
> VendorName "SiS"
> BoardName "6326"
> BusID "PCI:0:9:0"
> EndSection
>
> Section "Screen"
> Identifier "Screen0"
> Device "SiS 6326"
> Monitor "Monitor0"
> DefaultColorDepth 16
> SubSection "Display"
> Depth 1
> EndSubSection
> SubSection "Display"
> Depth 4
> EndSubSection
> SubSection "Display"
> Depth 8
> EndSubSection
> SubSection "Display"
> Depth 15
> EndSubSection
> SubSection "Display"
> Depth 16
> EndSubSection
> SubSection "Display"
> Depth 24
> EndSubSection
> EndSection
>
> Section "DRI"
> EndSection
------------------------------
From: YamYam <[EMAIL PROTECTED]>
Subject: Re: rpm problems
Date: Sat, 06 May 2000 12:30:03 GMT
Did u try to build rpm files with: cd <SRC_RPM_DIRECTORY> rpm -ivh <file.src.rpm> cd
/usr/src/RPM/SPECS rpm -ba <file.spec> --clean It will show u all messages when it
compiles, and when it succeeded it will put the rpm files in /usr/src/RPM/RPMS and the
rpm source files in /usr/src/RPM/SRPMS. -YamYam Patrick O'Neil wrote: > > I am pulling
my hair out on this one. I haven't a clue what > is wrong. > > I am running (now) a
Mandrake 7.1 system. I started out with > 7.0. I have this installed on both a laptop
(IBM ThinkPad) > and a desktop system. On my laptop I have no problems rebuilding >
src rpms (rpm
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: Matt <[EMAIL PROTECTED]>
Subject: Re: How do I get linux to recognize my FAT32 partition?
Date: Sat, 06 May 2000 13:45:25 +0000
[EMAIL PROTECTED] wrote:
>
> My pc has 2 hard drives. The master is a 2 gig with win. 95 installed on
> it. The slave is a 4 gig with one 2 gig partition for Linux and 2 gig on a
> FAT32 Partition. Someone said u could do this but I dont know how. They
> said u have to mount it but when I go into my disk manager, Its not there.
> Theres hdb5 which is /linux and hdb6 which is / (besides my floppy and cd-
> rom) How do I get it to list that partition (hdb1)? Any help would be
> appriciated. Thanks.
>
> --
> Posted via CNET Help.com
> http://www.help.com/
I don't know what disk manager you are using but;
fdisk /dev/hda
and fdisk /dev/hdb
should let you see how your drives are partitioned using 'p'.
(use this tool carefully!)
You will need to configure fat32 support into the kernel if it isn't
already.
Then mount the drive so:
mount -t vfat /dev/hdb2 /mnt (or wherever)
Hope this helps,
Matt.
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To: alt.os.linux.mandrake,alt.os.linux
Subject: ippp: no decompressor defined!
Date: Sat, 06 May 2000 12:40:02 GMT
I suddenly started having trouble logging onto my usual ISP. They don't
support Linux so naturally the problem is with my computer and nothing
to do with them (likely story).
Basically, I was able to dial-up my ISDN line fine into RedHotAnt, then
suddenly I started getting an extra few error lines out of the blue when
I dial in fresh in /var/log/messages:
...
kernel: ippp: no decompressor defined
kernel: isdn_ipp: No compressor set!
last message repeated 5 times
last message repeated 15 times
...
I'm very much a newbie to ISDN under Linux so I don't know what other
log files I should look at for help. If I dial into my Pipex UUNet
account it goes in fine and behaves normally (hence I'm able to write
this).
Anybody know if RedHotAnt is having ISDN probs or whether it is my
computer (if so why does Pipex work??).
Thanks,
Louis
Sent via Deja.com http://www.deja.com/
Before you buy.
------------------------------
From: Matt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,redhat.servers.general
Subject: Re: incremental backup with tar?
Date: Sat, 06 May 2000 13:55:25 +0000
ChemSoft GmbH wrote:
> =
> hi all,
> i try to do an incremental backup with tar on an 4mm DAT.
> is this possible?
> first i backed up all files on an multiple volume (3 tapes) now i want =
to
> backup every night only the files that are new or have changed. is that=
> possible with tar/cron without using an expensive backup-application?
> after the backup an email should sent to the admin with a list of the
> backuped files (tar tf /dev/st0 >backup.log). the problem is how to sen=
d
> this log-file to the admin/root?
> =
> thanks in advance for your help
> Tobias
> =
> --
> =
> Mit freundlichem Gru=DF aus Sankt Augustin
> Diana Block
> =
> ChemSoft GmbH
> Market-Services
> Postanschrift: Am Otenberg 17a, 53757 Sankt Augustin
> Technik und Service: TechnoPark der GMD, Rathausallee 10
> Telefon 02241/334691 - Fax 02241/334692 - http://www.chemsoft.de
yes.
I use a simple script as follows (improvements would be appreciated):
<snip>
perform_backup()
/usr/bin/mt rewind
/usr/bin/mt setblk ${BLOCKSIZE}
find ${PATHS} -depth -mount ${*} -print |
cpio -ovc |
dd of=3D${DEVICE} conv=3Dblock bs=3D{BLOCKSIZEP}
/usr/bin/mt offline
}
case `date | cut -d" " -f 1` in
Mon) perform_backup -mtime -2 ; break ;;
Tue) perform_backup -mtime -3 ; break ;;
Wed) perform_backup -mtime -4 ; break ;;
Thu) perform_backup -mtime -5 ; break ;;
Fri) perform_backup -mtime ; breaak ;;
esac
<end>
This performs a full backup every Friday, and an incremental Mon-Thu.
Just add a cronjob entry to call it every night..
Matt.
------------------------------
From: Matt <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,redhat.servers.general
Subject: Re: incremental backup with tar?
Date: Sat, 06 May 2000 14:00:20 +0000
Matt wrote:
> =
> ChemSoft GmbH wrote:
> >
> > hi all,
> > i try to do an incremental backup with tar on an 4mm DAT.
> > is this possible?
> > first i backed up all files on an multiple volume (3 tapes) now i wan=
t to
> > backup every night only the files that are new or have changed. is th=
at
> > possible with tar/cron without using an expensive backup-application?=
> > after the backup an email should sent to the admin with a list of the=
> > backuped files (tar tf /dev/st0 >backup.log). the problem is how to s=
end
> > this log-file to the admin/root?
> >
> > thanks in advance for your help
> > Tobias
> >
> > --
> >
> > Mit freundlichem Gru=DF aus Sankt Augustin
> > Diana Block
> >
> > ChemSoft GmbH
> > Market-Services
> > Postanschrift: Am Otenberg 17a, 53757 Sankt Augustin
> > Technik und Service: TechnoPark der GMD, Rathausallee 10
> > Telefon 02241/334691 - Fax 02241/334692 - http://www.chemsoft.de
> =
> yes.
> I use a simple script as follows (improvements would be appreciated):
> =
> <snip>
> perform_backup()
> /usr/bin/mt rewind
> /usr/bin/mt setblk ${BLOCKSIZE}
> find ${PATHS} -depth -mount ${*} -print |
> cpio -ovc |
> dd of=3D${DEVICE} conv=3Dblock bs=3D{BLOCKSIZEP}
> /usr/bin/mt offline
> }
> =
> case `date | cut -d" " -f 1` in
> Mon) perform_backup -mtime -2 ; break ;;
> Tue) perform_backup -mtime -3 ; break ;;
> Wed) perform_backup -mtime -4 ; break ;;
> Thu) perform_backup -mtime -5 ; break ;;
> Fri) perform_backup -mtime ; breaak ;;
> esac
> <end>
> =
> This performs a full backup every Friday, and an incremental Mon-Thu.
> Just add a cronjob entry to call it every night..
> =
> Matt.
Just thought to explain that the -v option on the cpio causes it to be
verbose, listing all files processed to standard output. If you don't
redirect the output in the crontab file, all the output will be mailed
to the crontab owner.
Matt.
------------------------------
** 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
******************************