Linux-Setup Digest #926, Volume #19              Sun, 29 Oct 00 01:13:09 EDT

Contents:
  sharing cdrom using NFS.... ("fail006")
  enabling interrupt-driven operation (Victor S. Miller)
  Re: sharing cdrom using NFS.... (nuk)
  Re: RPM Problems (major numbers <= 3) (Hagbard)
  Re: RH7 - slow boot - loading linux ("Robert Q. Warshawsky")
  help with rpm & glibc please (Hagbard)
  Re: CMI8330 SOUNDCHIP (softrat`)
  Linux and NTFS (Jeffrey Turner)
  RPM cannot upgrade my kernel - why??? ([EMAIL PROTECTED])
  Re: Multiple ip addresses (Mark Post)
  Re: RPM cannot upgrade my kernel - why??? (Hal Burgiss)
  Re: boot partition too big ("Mike")
  Re: DSL help (Rod Smith)
  Re: Linux and NTFS (Rod Smith)
  Re: Linux and NTFS (Mike Oliver)
  Re: How to do autopower off on Linux (Ron Ross)
  Re: removing busy modules ("bluster")
  Re: Newbie question: broken ppp (MaryP)

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

From: "fail006" <[EMAIL PROTECTED]>
Subject: sharing cdrom using NFS....
Date: Sun, 29 Oct 2000 13:59:49 +1300

Hi,
I have two machines with redhat 7. One is a nfs server and the other is the
client.
I can share my directories using NFS , but i cannot share my cdrom.
How can i share my cdrom on the server. What do t need to put in my
/ext/exports file and how do i mount it on my client?
there is no firewall or anything like that between the two PCs, they are
connected by a xover cable.

Thanks allot




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

Subject: enabling interrupt-driven operation
From: [EMAIL PROTECTED] (Victor S. Miller)
Date: Sun, 29 Oct 2000 01:56:48 GMT

When booting my RH 7.0 linux, I am always getting the following
message:

parport0: detected irq 7; use procfs to enable interrupt-driven operation.

How do I "use procfs to enable interrupt-driven operation"?  Can
someone point me to a HowTo or a place in the manual?
-- 
Victor S. Miller     | " ... Meanwhile, those of us who can compute can hardly
[EMAIL PROTECTED]    | be expected to keep writing papers saying 'I can do the
CCR, Princeton, NJ   | following useless calculation in 2 seconds', and indeed
    08540 USA        | what editor would publish them?"  -- Oliver Atkin

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

From: nuk <[EMAIL PROTECTED]>
Subject: Re: sharing cdrom using NFS....
Date: Sat, 28 Oct 2000 20:05:22 -0600

fail006 wrote:

> Hi,
> I have two machines with redhat 7. One is a nfs server and the other is the
> client.
> I can share my directories using NFS , but i cannot share my cdrom.
> How can i share my cdrom on the server. What do t need to put in my
> /ext/exports file and how do i mount it on my client?
> there is no firewall or anything like that between the two PCs, they are
> connected by a xover cable.
>

/etc/exports:

/mnt/cdrom        *(ro)

This shares the directory /mnt/cdrom to any host (*) and allows it only to be
mounted read-only (ro).  There are a lot of other options, but that should get
you rolling.  See the man pages for exportfs, rpc.mountd, rpc.portmap,
hosts_access, hosts_allow (5) for more specifics on the options.  Keep in mind
that the NFS/portmap used on RedHat (and probably others) uses tcp wrappers,
so you can control access using the /etc/hosts.allow and /etc/hosts.deny
files.

Monte



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

From: Hagbard <[EMAIL PROTECTED]>
Subject: Re: RPM Problems (major numbers <= 3)
Date: Sat, 28 Oct 2000 22:13:25 -0400

ok, i seemed to have found a solution to the question i asked, so i thought
i'd pass it along in case someone else is having the same problem.

seems i needed to download rpm-3.0.5-9 and install that instead of trying to
jump to rpm-4.0
(i found it at http://rpmfind.net)

that took care of the problem i was having trying to install an rpm.

i'm still muddling through all manner of failed dependency errors trying to
upgrade rpm (to 4.0) and glibc... but it's definitely an invaluable learning
experience (looking at the bright side).

hagbard

> i ran into the same thing, so i went to a redhat mirror site and downloaded
> rpm-4.0.  but then, trying to install the new version using:
>
> rpm -Uvh rpm*
>
> i get an error that i should have expected ... 'only major versions <= 3
> are supported by this version of rpm'.
>
> what do i need to do in order to install rpm4 so that i'll then be able to
> install other rpm packages?
>
> tia,
>
> hagbard


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

From: "Robert Q. Warshawsky" <[EMAIL PROTECTED]>
Subject: Re: RH7 - slow boot - loading linux
Date: Sun, 29 Oct 2000 02:20:44 GMT

This is a termination issue.  I found that on my linux box the scsi took
forever when terminated as "auto". Resetting it to a manual setting seemed to
work wonders.

-S

rfisher wrote:

> I have RH7 on several boxes.  Notice that for some reason the boxes with
> SCSI drives take forever (like two minutes) to get past "loading
> linux........." prompt which happens immediately after LILO starts.  IDE
> boxes are booting at least 3-4 times faster.  Anybody know what processes
> are running at that point and how to tweak them?
>
> Ron


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

From: Hagbard <[EMAIL PROTECTED]>
Subject: help with rpm & glibc please
Date: Sat, 28 Oct 2000 22:33:48 -0400

i'm trying to update my version of glibc for an rpm i'm trying to
install.

here's the gist of what's happening, i hope someone can make some sense
of it for me.

# rpm -q rpm
rpm-3.0.6-6x

# rpm -q glibc
glibc-2.1.2-11

# rpm -Uvh rpm-4.0-4.i386.rpm
glibc >= 2.1.92 is needed by rpm-4.0-4

# rpm -Uvh glibc-2.1.92-14.i386.rpm
rpm <= 4.0-0.65 conflicts with glibc-2.1.92-14
glibc >= 2.13 conflicts with rpm-3.0.6-6x

it seems that neither of these packages will install because of a
dependency on the other.  am i missing something, or is there some
intermediate step i should try?  any help would be appreciated.

tia,

hagbard


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

From: softrat` <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc,comp.os.linux.help
Subject: Re: CMI8330 SOUNDCHIP
Date: Sat, 28 Oct 2000 19:35:37 -0700

"Peter T. Breuer" wrote:
> 
> In comp.os.linux.help D. Gross <[EMAIL PROTECTED]> wrote:
> : I have the 8338....in Windows it works fine. In Linux...suffice to say
> : I have pulled out the remaining 4 hairs left on my bald head! I went
> : to CMedia's website, downloaded the Linux drivers, and followed
> : the insructions to use "make" and "menuconfig".......only to be stymied
> : by a "missing rules" error! I'm installing my old T-Beach Tropez,
> 
> Why are you stymied by this? A missing rule error either means the rule
> isn't there or the file in which the rule would be found isn't
> there. Which is it? You don't tell us. But it sounds like you don't
> have the kernel sources installed (or haven't configured them), and
> the missing rule comes from there.
> 
> Let us know when you feel like giving us sufficient info to help you.
> The command line and the  error output it evokes should be fine.
> 
> Peter

Mr Breuer has done his standard job of being abusive and unhelpful.

CMedia's documentation is erroneous and their instructions are very much
oversimplified. I finally got my CMedia sound card to work, but it took
weeks of experimentation. You actually are taking the best and simplest
approach: flush CMedia!

George D. Freeman IV
the softrat
mailto:[EMAIL PROTECTED]
-- 
The opulence of the front office door varies inversely with the
fundamental
solvency of the firm.

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

From: Jeffrey Turner <[EMAIL PROTECTED]>
Subject: Linux and NTFS
Date: Sat, 28 Oct 2000 22:43:03 -0400

Hello,

    I have Windows 2000 installed on my C: Drive with NTFS.  I then
installed Linux (OpenLinux 2.2) on my second hard drive.  When it got to
the point about configuring dual-boot I got an error message saying that
the main drive was not formatted in FAT16 or FAT32.  Is there a solution
to this problem, short of reformatting both drives and reinstalling
everything?

--Jeff Turner



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

From: [EMAIL PROTECTED]
Subject: RPM cannot upgrade my kernel - why???
Date: Sun, 29 Oct 2000 02:35:49 GMT

I am running Linux RedHat 6.2, kernel-2.2.14-5.0.
I downloaded from the errata web page the latest kernel (2.2.16-3).
But when I try to upgrade the kernel:
rpm -Fvh kernel-2.2.16-3.i386.rpm

I receive:
error: kernel-2.2.16-3.i386.rpm cannot be installed.

That's it. It doesn't even say WHY it cannot be installed.

Can anyone help me solve the mystery? What am I doing wrong?

TIA,
Swengtoo



Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Mark Post)
Subject: Re: Multiple ip addresses
Date: Sun, 29 Oct 2000 03:03:44 GMT

On Fri, 27 Oct 2000 05:33:53 GMT, victor <[EMAIL PROTECTED]> wrote:

>I currently use cable (@home) to connect to the internet and I use a
>linux box as a
>firewall and router to do ip-maskerading on the rest of my computers
>(Mac and
>Windows).
>For a certain software (special kind of VPN ...) it is necessary for my
>windows
>machine to have an public ip address, which is why I want to get a
>second one from
>@home.

Well, it might be possible that the 'special kind of' VPN software would be
satisfied with the public IP address provided by your masquerading firewall.
The IntraPort VPN software that my company uses certainly doesn't mind.

>Problem: I don't want to connect that windows box directly to the modem
>(via hub),
>but I would like it to be behind my linux firewall.

This should be doable, although I've never seen a setup exactly like this.
(So, be forewarned!)  Basically, you'll just be doing IP forwarding
_without_ IP masquerading.  Static routes in your firewall machine should
handle it just fine.

>Now my question:
>How do I have to set up my linux box to route this second ip address
>through to my
>windows machine?

You'll need to install a third NIC in your firewall machine.  It might be
best to connect it to your Windows system with a cross-over cable instead of
going to the same hub your other computers use.

You'll need to turn on IP forwarding:
echo 1 > /proc/sys/net/ipv4/ip_forward
You'll need to add a route on your firewall that says, route all traffic to
public ip#2 through eth2 (3rd NIC), private IP address # x? .  I suspect you
might have to put a network mask of 255.255.255.255 on this, since in
reality it will be a point-to-point connection.
You'll need to add a route on your public IP Windows system that says it's
default gateway is private IP address #x? .  Again, a netmask of
255.255.255.255 may be in order here.

> I guess what the question comes down to is, how do I
>set up my
>linux machine to recognize both ip addresses - it's own and the one of
>the windows
>machine - and then route the traffic for the windows machine through to
>it.

See above.  I have no idea if this will work or not, as I've described it.
Right now I'm hoping that someone who's done something like this will butt
in and either tell how exactly how to do it, or that it can't be done.  It
sounds kind of jury-rigged to me.  I still think you'd be better of seeing
if you can use your VPN client behind the IP masqueraded firewall.  I have a
sneaking suspicion it will work.

Mark Post

Postmodern Consulting
Information Technology and Systems Management Consulting
To send me email, replace 'nospam' with 'home'.

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

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: RPM cannot upgrade my kernel - why???
Reply-To: Hal Burgiss <[EMAIL PROTECTED]>
Date: Sun, 29 Oct 2000 03:13:09 GMT

On Sun, 29 Oct 2000 02:35:49 GMT, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
>I am running Linux RedHat 6.2, kernel-2.2.14-5.0.
>I downloaded from the errata web page the latest kernel (2.2.16-3).
>But when I try to upgrade the kernel:
>rpm -Fvh kernel-2.2.16-3.i386.rpm
>
>I receive:
>error: kernel-2.2.16-3.i386.rpm cannot be installed.
>
>That's it. It doesn't even say WHY it cannot be installed.
>
>Can anyone help me solve the mystery? What am I doing wrong?

Use 'rpm -i' for kernels! Also, '-vv' might give you better messages.

-- 
Hal B
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
--

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

From: "Mike" <[EMAIL PROTECTED]>
Subject: Re: boot partition too big
Date: Sun, 29 Oct 2000 03:29:55 GMT

>From what I understand, the /boot partition can be no larger than 16
MEGABYTES.


"G.Lambda" <[EMAIL PROTECTED]> wrote in message
news:8tfi6j$8q9$[EMAIL PROTECTED]...
> Hello !  I want to install Red Hat 6.2  linux on my new PC.   I have a 40
Gb
> drive, from which 20 Gb are used for Windows Millenium (FAT32).
>
> I may add some partitions like (/usr or swap) without any problem.   As
soon
> as I try to create a "/" or "/boot" partition,  the systems gives the
> following message"boot partition too big", wether my parameter wa 1 or 30
Gb
> !!
>
> May anyone explain this or give a workaround ?
>
> Thanks
>
>
>



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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: DSL help
Date: Sun, 29 Oct 2000 04:04:59 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        Joseph Lee Pereira <[EMAIL PROTECTED]> writes:
> How do I get DSL to work on my Linux Mandrake box? I configured the
> Cisco 675 off of a Win98 box, I should just be able to plug in the
> cable to the nic on the Linux box. Linix box has the nic card
> configured to dhcp. Still I get no connection to the outside world.
> Yes, everything works fine when I plug the 750 to the Win98 box.

I just saw (and replied to) this message in another newsgroup. In the
future, please restrict your postings to as few groups as possible -- 1
is usually adequate, 2 are rarely needed. When you must post to multiple
groups, cross-post, don't multi-post (as you did). To crosspost, you
normally enter two or more newsgroup names on one Newsgroups: line. This
reduces bandwidth and reader time wasted reading the same post in
multiple groups. It also ensures that replies appear in all groups,
which reduces wasted time as different people enter similar replies in
different groups (assuming the repliers leave the Newsgroups: line
intact).

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Linux and NTFS
Date: Sun, 29 Oct 2000 04:11:06 GMT

[Posted and mailed]

In article <[EMAIL PROTECTED]>,
        Jeffrey Turner <[EMAIL PROTECTED]> writes:
> Hello,
> 
>     I have Windows 2000 installed on my C: Drive with NTFS.  I then
> installed Linux (OpenLinux 2.2) on my second hard drive.  When it got to
> the point about configuring dual-boot I got an error message saying that
> the main drive was not formatted in FAT16 or FAT32.  Is there a solution
> to this problem, short of reformatting both drives and reinstalling
> everything?

First, Caldera OpenLinux 2.2 is pretty old. The current version is 2.4.

Second, I've never encountered this problem, but I suspect it's not a
fatal error. You SHOULD be able to proceed with the installation even
though the drive isn't formatted for FAT. You will need to set aside
empty partitions for Linux to use, though. If your ENTIRE drive is
formatted for NTFS, you'll need to resize your partitions, add a new
drive, or convert one or more partitions from NTFS to ext2fs. (Please
post details if you're having troubles, since there are **MANY**
possible configurations and possible solutions.)

Third, if for some reason Caldera has a bug that causes it to bail on
systems that have NTFS partitions, you can try another distribution.
I've recently installed both Red Hat 7.0 and SuSE 7.0 on a system that's
got NTFS partitions, and neither had problems with that. In the past,
I've installed Debian 2.2 and perhaps one or two others on there, too.
(I once put Corel 1.2 on this system, but don't recommend it because
it's not very good about getting along with anything but Windows, and
perhaps just Windows 9x.) For more of my thoughts about Linux
distributions, check http://www.rodsbooks.com/distribs/.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

From: Mike Oliver <[EMAIL PROTECTED]>
Subject: Re: Linux and NTFS
Date: Sat, 28 Oct 2000 21:52:03 -0700
Reply-To: [EMAIL PROTECTED]



Jeffrey Turner wrote:
> 
> Hello,
> 
>     I have Windows 2000 installed on my C: Drive with NTFS.  I then
> installed Linux (OpenLinux 2.2) on my second hard drive.  When it got to
> the point about configuring dual-boot I got an error message saying that
> the main drive was not formatted in FAT16 or FAT32.  Is there a solution
> to this problem, short of reformatting both drives and reinstalling
> everything?

What are you using as a bootloader?  I think the general feeling
is that if one of your OSs is NT, you should use NT's bootloader
(see instructions in the Linux+NT HOWTO); I can't imagine that
this would be a problem in that case.

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

From: Ron Ross <[EMAIL PROTECTED]>
Subject: Re: How to do autopower off on Linux
Date: 29 Oct 2000 01:06:06 -0400

"huang" <[EMAIL PROTECTED]> writes:

> I have an HP pavilion 4535(if that info helps) - with windows 98 and linux
> loaded on it.
> Is there a way to make linux do turn off  the hard drives and put the system
> in power save mode if it has not been utilised for some time

Check the info on the 'hdparm' utility ('man hdparm'). It has peculiar
way of working, but it's straightforward and can do a lot more as well.

I would also like to know how to do the same for the monitor.



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

From: "bluster" <[EMAIL PROTECTED]>
Subject: Re: removing busy modules
Date: Sun, 29 Oct 2000 01:03:07 -0400

Tux <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> hi!
>
> how can I remove busy modules or find out who is using them?

Try dropping to single user mode first, e.g.

[root@zephyr]# init 1
[root@zephyr]# rmmod ModToKill

HTH
Bluster




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

From: [EMAIL PROTECTED] (MaryP)
Subject: Re: Newbie question: broken ppp
Date: 29 Oct 2000 05:02:56 GMT

In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] wrote:

(replying to previous helper re wvdial)
> 
> Thanks for the help, and I did foind the script: 
> 
> [Dialer Defaults]
> Modem = /dev/ttyS0
> Baud = 115200
> Init1 = ATZ
> Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
> 
> [zipworld]
> Phone Number = 4254-6666
> Login Name = edwin
> Password = <my password>
> Init3 = ATX4
> Baud = 115200
> Stupid Mode = no
> Auto Redial = no
> New PPPD = no
> Dial Command = ATDT
> Init4 = ATM1L2
> 
> The error messages remain the same!

Under Dialer Defaults, you have to put a default phone number
username and password. Make Dialer Defaults a 
complete configuration for the first
place you want to dial --- don't leave out the phone number,
username, or password as you have done here. 

When you invoke wvdial at the command line with no
arguments, that "Dialer Default" place will be the place it 
dials up for you.

Then if you
want to create a second account, put their phone number
username and password (and any other things that have to
be different from the first account) in a second section of the
config file, which overrides
anything you put in Dialer Defaults for the first account.

You will be able to invoke that part using a command'line 
argument when you want to connect to the second place
instead of the first one.
 
Any parameters that will be the same for both accounts,
you don't have to repeat in that second account's 
configuration section. Any parameters that will change,
list them so they override the ones in the original section.

man wvdial actually explains this - I tried to put it 
in different words here for you, but if you can't see
what I mean look at the man page again.

MP

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


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

Reply via email to