Linux-Setup Digest #549, Volume #20 Thu, 1 Feb 01 09:13:11 EST
Contents:
Re: Removing a Directory From My PATH ("Peter T. Breuer")
Re: Boot Manager Question in Caldera Openlinux (Eric)
Install PCI modem in Redhat? (Eric Chow)
Re: Cannot connect to ISP with Kppp (Anita Lewis)
multi booting problem ("james")
weird screen after installation.... ("Paul McCosker")
Re: cannot umount /usr ([EMAIL PROTECTED])
80Gb Hard Drive (Steve)
Access both CD and CDRWs in RH5.2 ("ON")
Re: KPPP Problems ("Meron Lavie")
Re: KPPP Problems ("Meron Lavie")
Re: Copying Linux 1:1 on new harddisk drive?? (Eric)
Re: Another Lilo problem (Eric)
help from rpm3 to rpm4 on RH6.2 (Eros Albertazzi)
Re: Install PCI modem in Redhat? (Eric)
Fdisk problem (Laurent Bloch)
help with writing file via TFTP server (Hung Ngoc Lai)
another printer problem (Marc Ulrich)
----------------------------------------------------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Removing a Directory From My PATH
Date: Thu, 01 Feb 2001 08:55:47 GMT
Werner Fangmeier <[EMAIL PROTECTED]> wrote:
> That's correct. But why does none of all posters mention 'export'? If I want
Not needed for PATH. It's always exported.
> needed to modify the PATH, I'd always go like this (works with sh and bash):
Peter
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Boot Manager Question in Caldera Openlinux
Date: Thu, 01 Feb 2001 10:47:05 +0100
Reply-To: [EMAIL PROTECTED]
If nothing of importance (system files for NT) is
installed on hdb3, you can safely remove hdb.
You can try this: just disconnect hdb physically, and see
if you can still boot NT
If this doesn't work, I think you're out of luck.
If this does work,
Ask someone with more NT knowledge on how to restore the default NT MBR
It's not just fdisk \MBR.
Eric
------------------------------
From: Eric Chow <[EMAIL PROTECTED]>
Subject: Install PCI modem in Redhat?
Date: Thu, 01 Feb 2001 10:01:25 GMT
Would you please to teach me the steps of installing a PCI modem in
Redhat ?
Sent via Deja.com
http://www.deja.com/
------------------------------
From: [EMAIL PROTECTED] (Anita Lewis)
Subject: Re: Cannot connect to ISP with Kppp
Reply-To: [EMAIL PROTECTED]
Date: Thu, 01 Feb 2001 11:11:21 GMT
On Tue, 30 Jan 2001 11:32:17 GMT, John Read wrote:
>I'm trying to establish a connection via an external modem to my ISP using
>Kppp.
>When I watch the modem interactions via a log window I see:
>ATZ
>OK
>ATM1L3
>ATDT84221111 <--- 84221111 is my ISP's phone number
>DELAY CALL
> expecting CONNECT
>
>and it just waits and waits.
>
>Yet, when I open a terminal to the modem and type in ATDT84221111 and
>press Enter the modem dials out no problem.
>
>Any suggestions gratefully received.
>
>John Read
This is another way to connect. It is manual and will run you through all
the trouble shooting. That will then give you the information you need for
kppp.
Also, you might want to try rp3. I find it really easy to set up and you can
use it as user without making changes on your system. It will ask for your
root password in order to dial. First run through this article and do all
the things it says to make sure you are connecting. It could be as simple
as not having your username and password in /etc/ppp/pap-secrets.
http://axion.physics.ubc.ca/ppp-linux.html
Anita
------------------------------
From: "james" <[EMAIL PROTECTED]>
Subject: multi booting problem
Date: Thu, 1 Feb 2001 20:24:44 +0900
Hi.i am trying to install multi-OS on my PC.but i found
a linux booting problem and can't solve it now.
Here is what i have done .
i installed win 98(FAT32) and win2000(NTFS) , and Redhat7.0.
The booting menu that i want to use is NT boot loader and
not lilo.so i copyed a boot image of Linux and copyed it on
win98 main directory(c:\) like this
mount -t msdos /dev/fd0 /mnt/floppy
dd if=/dev/hda6 of=/mnt/floppy/bootsect.lnx bs=512 count=1
(/dev/hda6 is the boot partition /boot)
And copyed this file on directory C:\
Atfer this i appended the following line in the boot.ini file on C:\
c:\bootsect.lnx="Linux"
After doing this , the multibooting menu appears on startup
but when i select the linux, the PC is stopped.
What is wrong?
PS: when i use a linux booting diskette , linux starts normally.
------------------------------
From: "Paul McCosker" <[EMAIL PROTECTED]>
Subject: weird screen after installation....
Date: Thu, 1 Feb 2001 22:56:03 +1100
I have installed mandrake.....did everything by the book....when the screen
comes up i get a window in the centre which seems to be fragments of about
20 similar windows. When i move the window from side to side it gets better
or worse until it disappears off the edge of the screen....then all looks ok
until i activate an icon at the bottom of the screen and up comes 20
expanded little windows instead of one. Any help appreciated.
I have erased mandrake and reinstalled with same problem.....
my next idea is to erase mandrake and install red hat.....
Thanks
Paul McCosker.
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: cannot umount /usr
Date: Thu, 01 Feb 2001 12:43:50 GMT
In article <[EMAIL PROTECTED]>,
Alexander Roalter <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >
> >
> try a "init S".
> This should work well due all services (most of them) are shut down.
>
> --
> MfG
> Ro-ee
>
Thanks. That does the trick.
Sent via Deja.com
http://www.deja.com/
------------------------------
Date: Thu, 01 Feb 2001 08:15:33 -0500
From: Steve <[EMAIL PROTECTED]>
Subject: 80Gb Hard Drive
Hello,
I have a Maxtor 80 GB hard drive. The Linux fdisk can see the entire
disk, however Microweaks FDISK can only see 12Gb ( which is strange
because at work I have a 30 GB hard drive and FDISK worked fine with it
). Well I formatted the WIN partition with the Linux fdisk using FAT32,
then formatted the partition with Windoze format. Everything worked all
right but the number of bytes in each allocation unit is 16K. Is there
anyway of making the number of bytes lower? Is there a partition program
that can make all of this easier as well as reducing the unit allocation
size? Buy the way what is the unit allocation size in the Linux ext2
files system?
Thanks
Steve
------------------------------
From: "ON" <[EMAIL PROTECTED]>
Subject: Access both CD and CDRWs in RH5.2
Date: Thu, 1 Feb 2001 23:18:13 +1000
Can anyone help with mount ?
How can I configure mount to try TWO filesystems on the /dev/scd0 ?
I've got my CDRW configured, CDROAST works, but I want to read (and write?)
CDRWs. Now I have installed the UDF reader and registered the UDF
filesystem.
But unfortunately DirectCD in Win when formatting CDRWs also installs two
files in CDR filesystem.
When I mount a CD with the -t auto option, all is ok.
But if I try the same with a post ver 3.x DirectCD formatted CDRW, it
recognizes it as a CDR with only two files on it, instead of a CDRW with
2000 files on it.
If I force the -t udf option it works - however I cannot read the CDRs
anymore.
Is there any possibility to use the same mount point / line in fstab for
both CDR and CDRW disks ? Is there an option to tell mount to FIRST check
for udf (a custom fs) and THEN for the damned ISO9660 ? In the current
situation it searches for the ISO9660 first and finds what I don't need.
Thank you.
O.
------------------------------
From: "Meron Lavie" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux,comp.os.linux.misc,comp.os.linux.networking
Subject: Re: KPPP Problems
Date: Tue, 30 Jan 2001 21:52:54 +0200
Thanks for the suggestions.
This _did_ allow me to actually run applications after connecting, but I
still have to be root. Any more ideas?
TIA -
--
Meron Lavie
www.redmatch.com - World's Largest Hi-Tech Salary Site
[EMAIL PROTECTED]
NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!
"Bill Unruh" <[EMAIL PROTECTED]> wrote in message
news:95237v$9sh$[EMAIL PROTECTED]...
> In <94uthg$fh4$[EMAIL PROTECTED]> "Meron Lavie"
<[EMAIL PROTECTED]> writes:
>
> ]I am a Linux/RH7 newbire, who is experiencing 2 problems with PPP:
>
> ]I can use the _Redhat Linux_ dialup tool within KDE, with no problem
> ]whatsoever, however with KPPP:
>
> Well, use the redhat one.
>
> ]1) I can successfully dialup when I'm root, but from without root I'm
always
> ]asked for the root password. Why shouldn't everyone be allowed to use the
> ]modem? How can I enable modem usage for all accounts?
>
> chmod a+rx /usr/sbin/{pppd,chat}
> chmod +s /usr/sbin/pppd
> chmod a+rx /dev/ttyS?
>
> ]2) After dialing and succesfully connecting, no applications can be
brought
> ]up - clicking on their icon/menu item does nothing. On the other hand, if
I
> ]already have a console/shell window open, I can execute commands such as
> ]ping, ftp, etc., so I know I have a network connection. However, being
able
> ]to use my browser would be nice...
>
> Give your machine a name, or uncheck the kppp box which tells it rename
your
> machine. It was always a stupid button to have in the first place.
>
------------------------------
From: "Meron Lavie" <[EMAIL PROTECTED]>
Crossposted-To:
alt.os.linux,alt.uu.comp.os.linux.questions,aus.computers.linux,comp.os.linux,comp.os.linux.misc,comp.os.linux.networking
Subject: Re: KPPP Problems
Date: Tue, 30 Jan 2001 21:55:09 +0200
I couldn;t find this anywhere on the kde.org site. Could you please help
point me to the right direction?
TIA--
Meron Lavie
www.redmatch.com - World's Largest Hi-Tech Salary Site
[EMAIL PROTECTED]
NOTE: THERE ARE NO NUMBERS IN MY REAL EMAIL ADDRESS HOST NAME: ANTI-SPAM!
"Trent Joy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Open up a terminal window as root. enter this:
> chmod u+s /usr/sbin/pppd
>
> go to www.kde.org and read their FAQ, they have a
> workaround for the KPPP problem with the redhat
> distro.
>
> --
> ----->Trent
>
> [EMAIL PROTECTED]
> http://home.earthlink.net/~trentjoy
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Copying Linux 1:1 on new harddisk drive??
Date: Thu, 01 Feb 2001 14:31:50 +0100
Reply-To: [EMAIL PROTECTED]
Marcus Halbe wrote:
>
> On Wed, 31 Jan 2001 11:27:58 +0100, Eric <[EMAIL PROTECTED]> wrote:
>
> Hello, Eric,
>
> thank you very much for taking the time to help! Greatly appreciated!!
>
> I _do_ feel rather ignorant, and if it weren't for the pressure I feel
> because of the trashing old discs... :-( I'd become a bit more
> knowledgeable before asking a lot of probably simple questions... oh
> well. Thanks again.
>
> Maybe you and/or others will find the time to check whether I'm doing
> this right?
>
> >If you can, make a swap partition on sdd too.(it's not needed though)
>
> my sdd now looks like this:
>
> disk /dev/sdd: 255 heads, 63 sectors, 548 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/sdd1 1 532 4273258+ 83 Linux
> /dev/sdd2 533 548 128520 82 Linux swap
>
> I made a swap partition because I read somewhere this would be better
> with a relatively low memory situation...?
A swap file would be fine too.
But I too advise you to make a swap partition.
So IMO you did a wise thing to make it like this.
> >I assume /dev/sdd1 is mounted to /big:
> >cd /big && mkdir boot usr var tmp home
>
> I did not do this, because I would, after doing the following, get
> things like
> /big/boot/boot
> /big/usr/usr
> and thought that couldn't be right.
You're right,
cp -ax /boot/* /big/boot would have prevented that.
> So I only _did_ do:
>
> >cp -ax /boot /big/boot
> >cp -ax /usr /big/usr
> >cp -ax /var /big/var
> >cp -ax /tmp /big/tmp
> >cp -ax /home /big/home
> >cp -ax / /big
>
> when I did this last one, I received tons of lines like:
>
> cp: cannot create special file '/big/blah/blah...', file exists
> etc. etc. etc.
No problem if it is referring to the directories /boot /usr etc.
If other files are mentioned (something inside those dirs eg.) it might
be a problem.
(There may be files in /proc that it complains about too: this too
doesn't matter.)
> It seemed to me as if the command was trying to copy the whole of
> everything yet again!? It certainly took long enough to assume that...
> :-)
That shouldn't happen with the -x switch
> Finally, everything stopped because 'the device is full'.
> So, I did everything again. Finally, the copy process stopped with
> several
This is odd. Are you sure it *does* fit?
> cp: cannot create directory 'so and so': Input/output error
>
> I tried everything twice, same results.
>
> ******* What am I doing wrong??? **********
>
> >cd /big/etc
> >edit lilo.conf to incorporate the changes
>
> My lilo.conf looks like this:
>
> initrd=/boot/initrd
> boot=/dev/sda
> vga = normal
> read-only
> prompt
> timeout=30
> image = /boot/vmlinuz.old
> root = /dev/sdc1
> label = linux
> image = /boot/vmlinuz
> root = /dev/sdc1
> label = lx
>
> ===>> and I _would_ add: <<===
>
> image = /boot/vmlinuz(.old) #not the (.old), but either or)
> root = /dev/sdd1
> label = newhdd
>
> would that be right?
To test if the new config works, yes,
But make a bootfloppy to boot once sda is removed!
(again: sdd will be sda afterwards)
> >edit fstab to incorporate the changes
> >This last file also holds a reference to swap
> >add to /big/etc/fstab:
> >/swap_file swap swap defaults 0 0
>
> I would write:
>
> /dev/sdd2 swap swap defaults 0 0
> would that be right?
Yes for testing, but not after you unplugged sda/sdb.
sdd will probably be named sda after that.
> >Either make a swap partition on sdd and run mkswap on it,
> I guess that is what I did.
>
> >or make a swapfile and run mkswap on that
> I guess I didn't do _that_.
>
> >Now try to boot from the new disc:
> >LILO: linux root=/dev/sdd1
>
> I will as soon as the copying works... :-(
>
> >Don't forget to run /sbin/lilo
>
> I would do that after being done with all the above...
>
> >(Don't overwrite the old LILO, check if
> >lilo.conf is correct first!!!!)
I meant that the LILO must be written to sdd after you booted from sdd.
Never mind though.
> I made a copy of my current lilo.conf; is that what you meant? I assume
> doing /sbin/lilo _will_ overwrite my current conf?
>
> >and make a bootfloppy.
>
> I have a bootable cd-rom of my distribution.. would that suffice??
Yes, specify the root=/dev/sdd1 option when you boot.
Beware that sdd changes name when you unplug sda.
(So you may need root=/dev/sda1 instead)
Good luck.
Eric
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Another Lilo problem
Date: Thu, 01 Feb 2001 14:39:59 +0100
Reply-To: [EMAIL PROTECTED]
Brian Goodyear wrote:
>
> Eric wrote:
>
> > > Reading boot sector from /dev/hdc1
> > > Warning: /dev/hdc1 is not on the first disk
> >
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > Here's the warning, That probably is the problem
> >
> > Is there any reason why you didn't connect it as /dev/hdb?
> > Some BIOS'es can only boot discs from the first IDE controller.
> > (ie. /dev/hda and /dev/hdb)
>
> No reason other than it has always been the CD drive and I'm the kind of
> person who only changes what has to be changed. If I did that I guess I
> would have to change my setups in OS/2, Windows, Suse and Caldera. It
> feels like it could turn into a mini nightmare.
Might not be so difficult, but you can have it your way.
> Let me ask you this. I want to get this thing to boot directly from
> BootManager rather than chaining through the Suse Lilo because I need to
> install Win4Lin on the Caldera partition. I already have it on the Suse
> partition but as you have probably determined I am migrating away from that.
Have you checked the thing svend-olaf mentioned.
If it wasn't a typo, it probably is as simple as that.
Eric
------------------------------
From: Eros Albertazzi <[EMAIL PROTECTED]>
Subject: help from rpm3 to rpm4 on RH6.2
Date: Thu, 01 Feb 2001 14:41:05 +0100
I have installed rpm 4 (and db3) on a RH 6.2 machine and now I would
like to rebuild the package database
I tried : rpm --rebuilddb --dbapi 1 --rebuilddbapi 3
but the result was the deletion (no problem I have copyies) of the old
*.rpm files, but
still rpm -qa return nothing (well just db3 that I installed after the
upgrade)
Any hints or clue?
Regards
--
Eros Albertazzi
CNR-LAMEL, Via P.Gobetti 101, 40129 Bologna, Italy
Tel: (+39)-051-639 9179
Fax: (+39)-051-639 9216
E-mail: [EMAIL PROTECTED]
------------------------------
From: Eric <[EMAIL PROTECTED]>
Subject: Re: Install PCI modem in Redhat?
Date: Thu, 01 Feb 2001 14:45:52 +0100
Reply-To: [EMAIL PROTECTED]
Eric Chow wrote:
>
> Would you please to teach me the steps of installing a PCI modem in
> Redhat ?
>
Most likely:
disconnect the hood from your PC.
pull out that PCI modem.
bring it back to the store.
Tell them that it's NOT a modem.
Buy a real modem.
But, if you're "lucky" you can find something on www.linmodems.org
Eric
------------------------------
From: Laurent Bloch <[EMAIL PROTECTED]>
Subject: Fdisk problem
Date: 1 Feb 2001 13:55:36 GMT
Hi,
I've bought a new 20 Gb disk drive. My configuration is Debian
2.2, kernel 2.2.17, IDE, hdb: IBM-DTLA-305020, ATA DISK drive.
The target (desired) configuration is:
Disk /dev/hdb: 255 heads, 63 sectors, 2501 cylinders
Units = cylindres of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 230 1847443+ b Win95 FAT32
/dev/hdb2 231 247 136552+ 82 Linux swap
/dev/hdb3 * 248 260 104391 83 Linux
/dev/hdb4 261 2501 18105255 5 Extended
/dev/hdb5 261 430 1365493+ 83 Linux
/dev/hdb6 431 450 160618+ 83 Linux
/dev/hdb7 451 470 160618+ 83 Linux
/dev/hdb8 471 1470 8032468+ 83 Linux
/dev/hdb9 1471 2501 8281476 83 Linux
fisk accepts my commands (as do sfdisk and cfdisk, the
later one at the price of a "-c 2501" option), but at
the time to write the partition table, no way, under
different pretexts (unable to write, and thereafter
unable to read sector #X, X being usually the first
sector of a (planned) partition.
I've read the Linux Partition HOWTO, the Large Disk HOWTO,
no idea of what is wrong.
Any idea? Thanks.
Laurent Bloch
------------------------------
From: Hung Ngoc Lai <[EMAIL PROTECTED]>
Subject: help with writing file via TFTP server
Date: 1 Feb 2001 13:57:42 GMT
Hi Everyone,
I would like to know if there are ways that I can write a file to
my linux via TFTP server (I have TFTP service running on the
linux box) without having the file actually has to exist first
(i.e. touch filename). I need to do this is because I need
to copy configuration files from Cisco routers to a TFTP
server (which is my linux box) and this box is accessible
via the public network. I need to retrieve about 200 routers
configuration files and I don't want to give people access
to the box (i.e. run command like touch filename). I know
the simple solution is to put 3com daemon server on
Microsoft windows; however, I am very paranoid about
Microsoft windows. I am much more comfortable with
Linux since I know that it is a lot more secure than
Windows (no pun intended). I am running kernel 2.4.1
on the box and very strong ipchains so I know that the
box is quite secure. But going back to the question,
how can I write a file to my linux box via TFTP server
without having the file actually has to exist on the linux
box first. This is an urgent situation. Please help...
Many thanks.
David
------------------------------
From: Marc Ulrich <[EMAIL PROTECTED]>
Subject: another printer problem
Date: Thu, 01 Feb 2001 08:45:42 -0500
After having installed my HP LaserJet 1100 with the printtool in RedHat
6.0 would the printer only spit out blank pages? I know it isn't simply
a toner issue. This happens even for the printtool's test of directly
writing ASCII to the printer port.
Thanks,
Marc
------------------------------
** 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
******************************