Linux-Setup Digest #390, Volume #19 Sun, 13 Aug 00 13:13:10 EDT
Contents:
Help per USB sotto Mandrake 7.1 (AgIle & Snello)
Re: message in secure log file? (Andrey Shipsha)
Re: Upgrade RH 5.2 to 6.2 (Steen Suder)
Re: @home NIC install/config ("Christopher R. Carlen")
Problems setting date ("Dave Anderson")
Re: crontab
Re: mySQL cannot use
Re: Bootup Hangs at Sendmail
Network speed problem ("Thomas Winberg")
RedHat and Windows 2000 ("BEryllium")
Re: Saving and Restoring an MBR (Randy Cooper)
Re: Partition Size Advice (Dances With Crows)
Re: Please help. Compiling aftermath ("kc")
----------------------------------------------------------------------------
From: AgIle & Snello <[EMAIL PROTECTED]>
Subject: Help per USB sotto Mandrake 7.1
Date: Sun, 13 Aug 2000 16:37:14 +0200
Problema a configurare le porte usb sotto MANDRAKE 7.1
------------------------------
From: Andrey Shipsha <[EMAIL PROTECTED]>
Subject: Re: message in secure log file?
Date: Sun, 13 Aug 2000 18:10:12 +0200
Reply-To: [EMAIL PROTECTED]
David Efflandt wrote:
>
> On Sun, 13 Aug 2000 14:34:30 +0200, Andrey Shipsha <[EMAIL PROTECTED]> wrote:
> >Could anyone please explain to me what this message means in my secure
> >log file:
> >
> >
> >pam_console[957]: console tty1 is owned by UID 0
> >pam_console[957]: console tty1 is a character device
> >
> >I am using RH 6.2. I am pretty sure I have not seen this message
> >before... Is it good or bad news in this message?
> >
> >Cheers,
> >
> >Andrey.
>
> It tells you that root is on the first vt (Alt-F1 or Ctrl-Alt-F1 from X).
> What were you doing at the time?
I don't remember exactly... I think that the message in the log file
appears each time I log-out/log-in. Recently I uninstalled the
portmapper RPM package and some others which I thought are not in use.
After that I noticed that message in the secure log file.
I start up Linux at init level 3. It means no graphics until I type
"startx".
------------------------------
From: Steen Suder <[EMAIL PROTECTED]>
Subject: Re: Upgrade RH 5.2 to 6.2
Date: Sun, 13 Aug 2000 18:14:00 +0200
Jon wrote:
>
> Looking for opinions and experiences on upgrading RedHat 5.2
> to Redhat 6.2. Any major problems or has it gone smoothly ?
As with most OS upgrades (as the one you're facing), I'd rather do a
backup, wipe the disk and start from scratch with the new distro.
You could leave /home and possibly others in place (I usually do) but
it's all up to you.
--
Best regards / Mvh.,
Steen Suder, sysadm kollegie6400.dk -|- OpenSource --- Sign of the time
Scan-Aqua ADVARSEL WARNING http://www.uk.k64.dk/sfs/Scan-Aqua/
------------------------------
From: "Christopher R. Carlen" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking
Subject: Re: @home NIC install/config
Date: Sun, 13 Aug 2000 09:24:28 -0700
> > I'm left wondering whether my NIC is even setup and installed properly
> > for Linux. Under Windows the card is listed as "NDC 10/100 Fast
> > Ethernet PCI Adapter (MX-A) [MX987x5]". How would I go about checking
> > if Linux is even "seeing" my card and installing the proper drivers in
> > the event that it isn't.
> >
> > Any help would be appreciated. Thanks in advance.
> >
> > chf.
Try reading the Ethernet HOWTO, the Net HOWTOs, and try the command
ifconfig.
_____________________
Christopher R. Carlen
[EMAIL PROTECTED]
Linux 2.2.10
------------------------------
From: "Dave Anderson" <[EMAIL PROTECTED]>
Crossposted-To: uklinux.help.newbies
Subject: Problems setting date
Date: Sun, 13 Aug 2000 13:27:23 -0500
I'm using RH6.2, and I have a real problem getting the date display sorted.
If I set the date using
date -u -s 'Sun Aug 13 17:23:00 GMT 2000'
Sun Aug 13 17:23:00 UTC 2000
that seems to work fine. But my date always displays in EDT, and all
applications pick that up. I want it to display in GMT (actually
GMT+1, or BST - British Summer Time)
[root@lake log]# date
Sun Aug 13 13:23:15 EDT 2000
timetool doesn't do it for me either. Any ideas?
many thanks,
Dave
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: crontab
Date: Sun, 13 Aug 2000 16:29:51 GMT
First, always start crontab by typing crontab -e. To disable the automatic
mailer, include the following line as the first line of the crontab:
MAILTO=""
Then exit out of the editor to install the new crontab. It is not
necessary to restart the cron daemon. To verify the contents of the
crontab, run crontab -l.
James Bilitski wrote:
>
> How do you make the crontab not email the root every time?
> I commented out the line in /etc/crontab
> #mailto=root
>
> and I restarted the cron:
> crontab /etc/crontab
>
> It still sends root email every time job is complete.
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: mySQL cannot use
Date: Sun, 13 Aug 2000 16:29:51 GMT
Make sure that you also install the mySQL client which includes the
mysqladmin binary. The server does not include such functions. Also, make
sure you run db_install in your /local/bin directory to init the databases.
Joey Yum wrote:
>
>
> Hello, I am a fresh hand on linux and I want to setup a web server with
> mySQL. I have installed the RH 6.1 and also installed the kernel and
module
> of MYSQL without any error message. But now when I want to set my
> administrator password with the "mysqladmin" command, it said command not
> found. What can I do ? I even can't sure where is this file presents.
>
> Joe
>
>
>
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: Bootup Hangs at Sendmail
Date: Sun, 13 Aug 2000 16:29:51 GMT
If sendmail hangs, this is almost always because it cannot establish a dns
query of the machine's hostname. A workaround that works on some systems
is to include the "order hosts,bind" line in your /etc/resolv.conf and/or
add your ip for localhost as the primary DNS server and provide a local
loopback for that ip query.
Cindy Bartorillo wrote:
>
>
> You're both right! And I'm very grateful for the help. Geez, that
Linuxconf
> can create a mess.
>
> CindyB
>
> "Michael Nadler" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > If your system hangs while starting sendmail, it may be due to the
> networking
> > not being set up as you have said. sendmail's attempts to do its name
> > resolutions will eventually time out & the system should come up. It
may
> take
> > a few minutes, but it should eventually finish the boot up.
> >
> > RJ wrote:
> >
> > > Hi Cindy,
> > >
> > > You can boot your machine into single user mode to grab what you
need or
> to
> > > fix the problem by typing "linux single" at the LILO: prompt. You'll
> get a
> > > root shell and then you can do what you need to do. You may have to
> type
> > > "mount -a" to make your filesystems accessible.
> > >
> > > As for moving files to a windows machine and then back to Linux...
You
> may
> > > have problems if you have a long file names. Windows doesn't do so
well
> > > with them. It won't trash your files but it may wreck the names of
> those
> > > files. I normally tar a directory structure into a single file and
then
> > > save that on some other machine until I can get it back to the target
> Linux
> > > box. Something like "tar cvf mytarball.tar myDirOfFiles/".
> > >
> > > Good Luck,
> > > RJ
> > >
> > > Cindy Bartorillo wrote:
> > > >
> > > >
> > > > After Linuxconf crashed in the middle of setting up networking, my
> bootup
> > > > (of my RedHat 6.1 system) hangs at the sendmail startup. I have a
> > > bootdisk
> > > > which the man page said could be used as a rescue disk, just type
> > > 'rescue'
> > > > at the LILO prompt. I did this, but a 'root disk' is also asked
for.
> > > Hitting
> > > > enter at this point didn't work.
> > > >
> > > > Any suggestions about how I can get into my system to at least copy
> off a
> > > > few files before I install a new linux? I've ordered Mandrake 7.1
> Deluxe.
> > > > Also, will a linux file, copied onto a Windows disk, be usable
later
> > > (copied
> > > > back to the new linux system)? In other words, will the Windows
file
> > > system
> > > > hose the files?
> > > >
> > > > I've done considerable research on this, and nothing seems to fit
my
> > > case:
> > > >
> > > > Loadlin just bypasses LILO, which is not my problem. My problem is
the
> > > linux
> > > > boot itself.
> > > >
> > > > I've looked for a 'root disk' on at least half a dozen linux ftp
> sites,
> > > but
> > > > haven't found anything that looks right.
> > > >
> > > > I found a program called Explore2fs, but that is apparently
unusable.
> My
> > > > linux is on a separate hard drive not recognized by Windows, and
all
> > > drives
> > > > were partitioned with Partition Magic.
> > > >
> > > > Any suggestions will be appreciated.
> > > >
> > > > CindyB
> > > >
> > > >
> > > >
> > >
> > > --
> > > Posted via CNET Help.com
> > > http://www.help.com/
> >
>
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "Thomas Winberg" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux,comp.os.linux.networking,redhat.general
Subject: Network speed problem
Date: Sun, 13 Aug 2000 16:36:14 GMT
Hello!
I wonder if anyone could help me about a problem i have with my RH6.2 box.
The problem is that the speed of the network is slow. If i copy a huge file
from my NT or
Win98 to the Linux box it takes very long time to complete that. For
example, a 35 000 KB file take over 20 - 30 minuts! I have measuring the
speed with Iptraf and that shows a total rates off between 80 - 120
kbits/sec. I use a 3Com 3C509-TPO card.
Anyone have an idea what the problem could be?
--
/Thomas
------------------------------
From: "BEryllium" <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,aus.computers.linux,hk.comp.os.linux,linux,sdnet.linux
Subject: RedHat and Windows 2000
Date: Mon, 14 Aug 2000 00:08:50 +0800
I am planning to install RedHat in my PC, which has installed Win2000. To
avoid incompatibilities. What should I notice?
Also, which one (RedHat or Win2000) should be installed first if I would
like to install them in the new PC?
Thanks.
------------------------------
From: Randy Cooper <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: Re: Saving and Restoring an MBR
Date: Sun, 13 Aug 2000 11:47:39 -0500
That will only work if you want a generic DOS MBR. What if you want to recover
the MBR after Linux has been installed and overwritten the MBR to use with
LILO?
Torstein Pettersen wrote:
> It's much simpler to just boot with a win9x startup disk
> and type: fdisk /MBR.
>
> The /MBR parameter for fdisk undocumented, but it works.
> (/MBR stands for Master Boot Restore).
>
> Torstein
>
> "Randy Cooper" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > I have noticed a lot of questions regarding recovering lost / damaged
> > Master Boot Records (MBR) lately. So I thought it was about time to
> > repost this.
> >
> > You should make a backup copy of your MBR on a bootable floppy disk
> > before installing Linux and then again after installing Linux.
> >
> > ------------------------------------------------------------
> >
> > I can suggest two ways that you can back up the Master Boot Record (MBR)
> >
> > on an IDE drive under Windows and DOS.
> >
> > 1. Use the Norton Utilities.
> >
> > 2. Use Debug, as found in DOS, it is also available from the DOS prompt
> > in Windows/95 so I assume it is also available in Windows/98.
> >
> > Enter the following commands to save the MBR on the C drive, ignore
> > the text after the '<=' on each line as it is only a comment:
> >
> > DEBUG MBR.DAT <= Ignore the FILE NOT FOUND message
> > A <= Assemble a program
> > MOV DX,9000 <= Use segment 9000
> > MOV ES,DX <= Setup the segment register
> > XOR BX,BX <= Clear BX to zero
> > MOV CX,0001 <= Start at track 00 sector 01, the MBR
> > MOV DX,0080 <= 80=C:, 81=D:, 00=A:, 01=B:
> > MOV AX,0201 <= Read 1 sector, 02=read
> > INT 13 <= BIOS disk i/o call
> > INT 20 <= Return to o/s
> > <= Press the return key to end program entry
> > G <= Execute the program
> > R CX <= Display the value of CX
> > :200 <= Change the value of CX to decimal 512, size of
> > MBR
> > W 9000:00 <= Write the sector stored at address 9000 to
> > MBR.DAT
> > Q <= exit DEBUG
> >
> > If you examine the contents of MBR.DAT using a disk file editor the last
> >
> > 2 bytes must be AA55.
> >
> > At this point you should copy the MBR to a bootable floppy along with
> > DEBUG.EXE
> >
> > This technique may be used to recover the MBR as well, assuming you can
> > boot from another device (say a floppy with DEBUG.EXE on it).
> >
> > Enter the following commands to restore the MBR on the C drive, ignore
> > the text after the '<=' on each line as it is only a comment:
> >
> > DEBUG MBR.DAT <= The file containing the desired MBR, if you
> > get a
> > FILE NOT FOUND message type Q immediately! If
> > you
> > continue you will write garbage over the MBR.
> > L 9000:00 <= Load the MBR into memory at this address
> > A <= Assemble a program
> > MOV DX,9000 <= The segment address containing the MBR
> > MOV ES,DX <= Setup the segment address
> > XOR BX,BX
> > MOV CX,0001 <= Track 00, sector 01
> > MOV DX,0080 <= 80=C:
> > MOV AX,0301 <= Write one sector, 03=write
> > INT 13
> > INT 20
> > <= Press the enter key to stop program entry
> > G <= Execute the program
> > Q <= Exit DEBUG
> >
> > The MBR should now be restored to the C drive, making it bootable.
> >
> > For more information on this technique for saving and restoring an MBR I
> >
> > refer you the book 'The Complete PC Upgrade and Maintenance Guide' by
> > Mark
> > Minasi, published by Sybex.
> >
> > Once you have Linux running you can save the boot record with the
> > command:
> >
> > dd if=/dev/hda of=/boot/boot.MBR bs=512 count=1
> >
> > It can then be restored with:
> >
> > dd if=/boot/boot.MBR of=/dev/hda bs=512 count=1
> >
> > or if you do not want/need to overwrite the partition table with:
> >
> > dd if=/boot/boot.MBR of=/dev/hda bs=446 count=1
> >
> > as the partition table is kept in the last 66 bytes of the MBR.
> >
> > DISCLAIMER:
> > Although I have double checked the above, I cannot be held responsible
> >
> > for any errors. I suggest you try it on a bootable floppy disk before
> > using it on a hard drive. If it does not work on a floppy disk let me
> > know.
> >
> > BTW: I find it easier to boot Linux from a floppy disk or CD-ROM than to
> >
> > recover an MBR from DOS. The Slackware 3.5 (or greater) CD-ROM
> > makes a
> > good rescue disk if you have a bios that supports bootable CDs.
> >
> >
> >
> >
> > I can suggest two ways that you can back up the Master Boot Record (MBR)
> > on an
> > IDE drive under Windows and DOS.
> >
> > 1. Use the Norton Utilities.
> >
> > 2. Use Debug, as found in DOS, it is also available from the DOS prompt
> > in
> > Windows/95 so I assume it is also available in Windows/98.
> >
> > Enter the following commands to save the MBR on the C drive, ignore
> > the text
> > after the '<=' on each line as it is only a comment:
> >
> > DEBUG MBR.DAT <= Ignore the FILE NOT FOUND message
> > A <= Assemble a program
> > MOV DX,9000 <= Use segment 9000
> > MOV ES,DX <= Setup the segment register
> > XOR BX,BX <= Clear BX to zero
> > MOV CX,0001 <= Start at track 00 sector 01, the MBR
> > MOV DX,0080 <= 80=C:, 81=D:, 00=A:, 01=B:
> > MOV AX,0201 <= Read 1 sector, 02=read
> > INT 13 <= BIOS disk i/o call
> > INT 20 <= Return to o/s
> > <= Press the return key to end program entry
> > G <= Execute the program
> > R CX <= Display the value of CX
> > :200 <= Change the value of CX to decimal 512, size of
> > MBR
> > W 9000:00 <= Write the sector stored at address 9000 to
> > MBR.DAT
> > Q <= exit DEBUG
> >
> > If you examine the contents of MBR.DAT using a disk file editor the last
> > 2
> > bytes must be AA55.
> >
> > At this point you should copy the MBR to a bootable floppy along with
> > DEBUG.EXE
> >
> > This technique may be used to recover the MBR as well, assuming you can
> > boot
> > from another device (say a floppy with DEBUG.EXE on it).
> >
> > Enter the following commands to restore the MBR on the C drive, ignore
> > the text
> > after the '<=' on each line as it is only a comment:
> >
> > DEBUG MBR.DAT <= The file containing the desired MBR, if you
> > get a
> > FILE NOT FOUND message type Q immediately! If
> > you
> > continue you will write garbage over the MBR.
> > L 9000:00 <= Load the MBR into memory at this address
> > A <= Assemble a program
> > MOV DX,9000 <= The segment address containing the MBR
> > MOV ES,DX <= Setup the segment address
> > XOR BX,BX
> > MOV CX,0001 <= Track 00, sector 01
> > MOV DX,0080 <= 80=C:
> > MOV AX,0301 <= Write one sector, 03=write
> > INT 13
> > INT 20
> > <= Press the enter key to stop program entry
> > G <= Execute the program
> > Q <= Exit DEBUG
> >
> > The MBR should now be restored to the C drive, making it bootable.
> >
> > For more information on this technique for saving and restoring an MBR I
> > refer
> > you the book 'The Complete PC Upgrade and Maintenance Guide' by Mark
> > Minasi,
> > published by Sybex.
> >
> > Once you have Linux running you can save the boot record with the
> > command:
> >
> > dd if=/dev/hda of=/boot/boot.MBR bs=512 count=1
> >
> > It can then be restored with:
> >
> > dd if=/boot/boot.MBR of=/dev/hda bs=512 count=1
> >
> > or if you do not want/need to overwrite the partition table with:
> >
> > dd if=/boot/boot.MBR of=/dev/hda bs=446 count=1
> >
> > as the partition table is kept in the last 66 bytes of the MBR.
> >
> > DISCLAIMER:
> > Although I have double checked the above, I cannot be held responsible
> >
> > for any errors. I suggest you try it on a bootable floppy disk before
> > using it on a hard drive. If it does not work on a floppy disk let me
> > know.
> >
> > BTW: I find it easier to boot Linux from a floppy disk or CD-ROM than to
> >
> > recover an MBR from DOS. The Slackware 3.5 (or greater) CD-ROM
> > makes a
> > good rescue disk if you have a bios that supports bootable CDs.
> >
> >
> > --
> > Reply to: [EMAIL PROTECTED] (mail checked week nights and weekends)
> >
> >
> >
--
Reply to: [EMAIL PROTECTED] (mail checked week nights and weekends)
------------------------------
From: [EMAIL PROTECTED] (Dances With Crows)
Crossposted-To: comp.os.linux.hardware,linux.redhat.install
Subject: Re: Partition Size Advice
Date: 13 Aug 2000 16:59:27 GMT
Reply-To: [EMAIL PROTECTED]
On Sat, 12 Aug 2000 11:48:11 +0100, John Beardmore wrote:
>What's the rationale for sizing swap partitions ?
>In Win32, the rule of thumb seems to be to have an initial swap file
>size that is say 1.5 time the size of physical ram, and perhaps to let
>it grow bigger if needs be.
>
>How sensible would it be on say a 512 meg ram Linux box to have a mere
>64 or 128 meg swap partition ? Can a Linux box be configured without a
>swap partition at all ? My gut feeling is that it would be a bit of a
>waste of space ! By the time you needed it at all, you'd be more or
>less totally out of space !
Swapspace is (usually) kept on a partition instead of in the filesystem
because doing so results in a performance increase. The swapper doesn't
have to deal with the filesystem and can just write to the raw disk, you
see... Since partitions must have a fixed size, that *can* mean that
your swap space is fixed in size.
Naturally, it doesn't have to. You can do this to add 128M of swap to a
system that needs it:
# dd if=/dev/zero of=/swapfile bs=1M count=128
# sync && sync
# mkswap /swapfile && swapon /swapfile
Remove it by doing
# swapoff /swapfile && rm /swapfile
You *can* have a Linux box without any swap space at all. It's a really
bad idea on machines with < 128M, and it's not really a good idea even
on machines with a lot of RAM. Basically, if there's swap space, things
that don't get used will be shuffled off to the swap, leaving more room
in RAM for heavily used things and/or disk caching.
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / Those who do not understand Unix are
http://www.brainbench.com / condemned to reinvent it, poorly.
=============================/ ==Henry Spencer
------------------------------
From: "kc" <[EMAIL PROTECTED]>
Subject: Re: Please help. Compiling aftermath
Date: Sun, 13 Aug 2000 17:04:37 GMT
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Robert Stia)
wrote:
> Downloaded compiled and installed a new kernel. 2.2.16, replacing
> 2.2.5-15 that came with my RedHat 6.0 distro. My first try at
> upgrading.
>
> My new lilo.conf. is exactly the same as before the upgrade. the image line in
> the file is " image=/boot/vmlinuz-2.2.5-15" There was a link from linux to
> linux-2.2.5-15 in the /usr/src/ file. I broke that link when I renamed the old
> linux file. The new linux,after extracting the file from the tarball, doen't
> show any link.
>
> Question: Why does the config file still refer to that link? I know that the
> new kernel is booting and running. Can I edit the lilo.conf file without any
> danger of screwing up Lilo? and, can I also delete all of the old 2.2.5-15
> stuff from
> /usr/src/ ...and../boot/ ?
>
> Have a copy of vmlinuz in the base directory /, Should that be there also?
>
> Also get a message at boot-up for several functions that
> says,"/boot/system.map has an incorrect kernel version" How do I fix that?
>
> Bob -Still learninnn...
I believe you will find nswers to most, if not all of your questions here:
http://www.linuxnewbie.org/nhf/intel/compiling/kernelcomp.html
------------------------------
** 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.setup) 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-Setup Digest
******************************