Linux-Setup Digest #194, Volume #21               Wed, 9 May 01 14:13:09 EDT

Contents:
  Re: Shutdown for non root users (Stephen Rank)
  Re: PB Boot linux ("Thierry")
  Firewall Redhat 7.1 setup?  ([EMAIL PROTECTED])
  Suse Linux 7 and Windows 2000 (root)
  Re: Firewall Redhat 7.1 setup? (Simon Lemieux)
  Newbie Help - Reinstalling LILO (JLucien)
  Raid 1 (Mirror) ("Armando Duarte")
  Mandrake 8.0 stops responding after sometime ("Prabhu Raghavan")
  Re: Newbie Help - Reinstalling LILO (Simon Waters)
  Question: One IP Address w/ Two Servers ("Chuck Coker")
  Re: Newbie Help - Reinstalling LILO (Eggert Ehmke)
  Re: Newbie Help - Reinstalling LILO (John Winters)
  Re: RH 7.1 and filesystem > 1 Tbyte (J Hayward)
  Re: RH 7.1 and filesystem > 1 Tbyte (joeytsai)
  Need Module for 3c905B-TX NIC card for RedHat 6.2 (M Yasir Khan)
  Re: Mandrake 8 freezes during install (NEWBIE) (Kwan Lowe)
  Re: serial port problem ([EMAIL PROTECTED])
  Re: Suse Linux 7 and Windows 2000 ([EMAIL PROTECTED])
  Re: Question: One IP Address w/ Two Servers ("ne...")
  Re: Newbie Help - Reinstalling LILO (JLucien)
  Adding DNS causes slow telnet (charadeur)
  cannot see the full failsafe window on screen (mw)
  inetd ("Norman Zhang")

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

From: Stephen Rank <[EMAIL PROTECTED]>
Crossposted-To: alt.os.linux,comp.os.linux.misc
Subject: Re: Shutdown for non root users
Date: 09 May 2001 15:10:57 +0100

"Harald Schneider" <[EMAIL PROTECTED]> writes:

> HI,
> 
> how can I allow shutdown for non root users via remote (telnet) access?

sudo might be the answer.  It allows you to give permissions on a
limited basis.

> I know, this is VERY insecure, but in my special case (not connected to
> internet, admin user
> must not know the root pwd) 

If the `admin user' can turn the machine off, what are you afraid that
they can do?

HTH,

Stephen

-- 
989417360

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

From: "Thierry" <[EMAIL PROTECTED]>
Subject: Re: PB Boot linux
Date: Wed, 9 May 2001 16:21:31 +0200


<[EMAIL PROTECTED]> a �crit dans le message news:
9dbhis$h8h22$[EMAIL PROTECTED]
> Thierry <[EMAIL PROTECTED]> wrote:
> > I have a linux box ( unknown distrib. )
> > INIT: version 2.78 booting
> > INIT: cannot execute "/etc/rc.d/rc.sysinit"
>
> I think that your /etc/rc.d is pretty gone... try to boot
> from a rescue disk and check your root partition.
>
> Davide

Thanks, but how I do a rescue disk ?




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

From: [EMAIL PROTECTED]
Subject: Firewall Redhat 7.1 setup? 
Date: Wed, 09 May 2001 14:48:48 GMT

Hello,

I am trying to install a firewall under Linux RedHat 7.1, kernel 2.4.
2 days that I am trying to understand what to do... }:o(

This is my configuration.
- One server under RH7.1 with an ethernet card (eth0) for the internal
subnet (protected) an other ethernet card (eth1) for external subnet,
which can connect to the Internet by a gateway.

The object is to allow connected PC on the internal subnet to access
the internet and other services (like w2k authentification).

But for the moment, I would like to ping a computer on the external
subnet from a computer on the internal subnet. And nothing happens...
:o(

This is what I found on the web:
- Ipchains is used by default by RH7.1 instead of iptables.
If I want to use iptables, I need to make a new kernel. True?
- Under RH7.0 we could use /proc/sys/net/ipv4/ip_forward to make ip
forwarding. Under 7.1 this is not usable (I get an error message).
What should I use instead? How to configure?
- There must be a route for eth0 to connect on the gateway on the
external subnet. True?

Who could help me?
I would like to find a howto setup a firewall on RH 7.1 kernel 2.4
The basis, please.....

Thanks in advance for light.

Philippe Roth - Switzerland

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

From: root <[EMAIL PROTECTED]>
Subject: Suse Linux 7 and Windows 2000
Date: Wed, 09 May 2001 17:22:40 +0200

Hi all,

I wanted to install Suse Linux 7 and Windows 2000 on the same PC.
I intalled Linux first in the sectors 1 -> 882 (Swap 882 -> 892) and
then created 3 partions in the extended partition. The first one (hda5:
893 -> 1912) should be used for windows 2000 as c:\
I booted my PC using win98 startup disk and run the installation from
the win2000 CD.
After the first part of the installation was achieved the program
rebooted the PC to complete the installtion.
But I got always the LILO bootmanager and could not access windows.
I booted Linux and added to LILO a "win" boot image that should boot
from hda5 but in vain.

Any help is appreciated

Regards Sidibou
PS: Anti-Spam Mailadress

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

From: Simon Lemieux <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Firewall Redhat 7.1 setup?
Date: Wed, 09 May 2001 15:29:11 GMT


Sending this message to comp.os.linux.networking could result in better
answers...
But I just had the same problem with Redhat 7.1 too...

I used ipchains to solve it and it's very cool to use now...
You can try /sbin/ipchains -L 
to list the current rules

You can add a MASQ rule for your LAN that will let them connect to the internet:
/sbin/ipchains -I forward -s 192.168.0.1/255.255.255.0 -d 0/0 -j MASQ
-I stands for insert in forward
connection comes from -s IP/MASK and goes to -d IP/MASK (0/0 means
everywhere...)
and -j MASK indicates the packet should be masqued...

You can make the forward policy to ACCEPT with
/sbin/ipchains -P forward ACCEPT

And save the current rules with:
/sbin/ipchains-save > /etc/sysconfig/ipchains


But 'man ipchains' will give you better help on different commands...

Hope this helps!
  Simon

> I am trying to install a firewall under Linux RedHat 7.1, kernel 2.4.
> 2 days that I am trying to understand what to do... }:o(
> 
> This is my configuration.
> - One server under RH7.1 with an ethernet card (eth0) for the internal
> subnet (protected) an other ethernet card (eth1) for external subnet,
> which can connect to the Internet by a gateway.
> 
> The object is to allow connected PC on the internal subnet to access
> the internet and other services (like w2k authentification).
> 
> But for the moment, I would like to ping a computer on the external
> subnet from a computer on the internal subnet. And nothing happens...
> :o(
> 
> This is what I found on the web:
> - Ipchains is used by default by RH7.1 instead of iptables.
> If I want to use iptables, I need to make a new kernel. True?
> - Under RH7.0 we could use /proc/sys/net/ipv4/ip_forward to make ip
> forwarding. Under 7.1 this is not usable (I get an error message).
> What should I use instead? How to configure?
> - There must be a route for eth0 to connect on the gateway on the
> external subnet. True?
> 
> Who could help me?
> I would like to find a howto setup a firewall on RH 7.1 kernel 2.4
> The basis, please.....
> 
> Thanks in advance for light.
> 
> Philippe Roth - Switzerland

-- 
+--------------------------------+---------------------------+
| Simon Lemieux                  | http://666Mhz.myip.org/   |
| Email : [EMAIL PROTECTED] | Povray and OpenGL Gallery |
+--------------------------------+---------------------------+

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

From: [EMAIL PROTECTED] (JLucien)
Crossposted-To: uk.comp.os.linux
Subject: Newbie Help - Reinstalling LILO
Date: Wed, 09 May 2001 15:25:16 GMT

I keep Win98 and Mandrake 7.0 on seperate disks and everything is
coexisting just fine.

I need to repartition my windows disk, and therefore reinstall
windows.  However, I know this will wipe out LILO.

Everything works fine at the moment, and afterwards I'm thinking it
could just be a simple case of booting into Linux via a bootdisk and
copying the LILO config to where it needs to be.

Can anyone clarify/confirm before I screw the mbr by reinstalling
Windoze?

Cheers,
JLucien.

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

From: "Armando Duarte" <[EMAIL PROTECTED]>
Subject: Raid 1 (Mirror)
Date: Wed, 9 May 2001 16:29:48 +0100

Hi.
I have a lx box with redhat 6.2, with one disk. Is there any way to install
a second disk, impelmenting raid, without reintalling the all system? (with
NT it is possible...)
Thank's.

--
===========================================
Armando Duarte
Centro Hospitalar de Coimbra (http://www.chc.min-saude.pt)
Departamento de Informa��o para a Gest�o
Telef. 351 39 800080; 351 39 800192
[EMAIL PROTECTED]





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

From: "Prabhu Raghavan" <[EMAIL PROTECTED]>
Subject: Mandrake 8.0 stops responding after sometime
Date: Wed, 9 May 2001 11:36:51 -0400

I have Mandrake 8.0 on a Pentium 200 with 64MB RAM. The system is on a
network and I access it from another Linux box. The Mandrake system stops
responding (including ping) after sometime. This stopping seems to
correspond with the times when the console terminal goes on screen-save
mode. When I hit a key on the main console that brings the console back
alive, the ping from the other Linux box starts working!
Is this really possible? Or is there any other problem I should be looking
for? Is there a fix for this?

Completely clueless,
Prabhu





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

From: Simon Waters <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: Newbie Help - Reinstalling LILO
Date: Wed, 09 May 2001 16:39:50 +0100
Reply-To: [EMAIL PROTECTED]

JLucien wrote:
> 
> I need to repartition my windows disk, and therefore reinstall
> windows.  However, I know this will wipe out LILO.

How exactly do you need to repartition it? Parted is pretty
clever these days and perfectly capable of shrinking
Windows98 partitions.

> Can anyone clarify/confirm before I screw the mbr by reinstalling
> Windoze?

Kind of the wrong forums but I don't think it does. Some
flavours of NT can be fussy about which partition it gets to
install on. Whilst you have a Linux boot disk and don't muck
with the Linux partitions its pretty easy to recover things.

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

Reply-To: "Chuck Coker" <[EMAIL PROTECTED]>
From: "Chuck Coker" <[EMAIL PROTECTED]>
Subject: Question: One IP Address w/ Two Servers
Date: Wed, 09 May 2001 15:43:20 GMT

I am getting a single static IP address (I have a dynamic IP address now).
Having the static IP address will work for a single Linux box ~or~ a single
Windows NT Server box. What I am wondering is if there is some way to have
both servers use the single static IP address. The static IP address will go
to a Cisco router and then to my local network.

For example, what I want to do is have the Linux box handle the domains
abc.com and def.com: www.abc.com, smtp.abc.com, www.def.com, smtp.def.com,
etc., and have the WinNT box handle the domain xyz.com: www.xyz.com,
smtp.xyz.com, etc. What I would ~really~ like would be to have www.abc.com
on the Linux box and www1.abc.com on the WinNT box.

I know how to create sub-domains and set up services on both systems, but
I'm not sure how to use both servers simultaneously. Any hints, suggestions,
directions, or pointers to information would be greatly appreciated.

This is a learn-as-I-go project and I get stuck occasionally. :^(

Thanks,
Chuck Coker
[EMAIL PROTECTED]




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

From: Eggert Ehmke <[EMAIL PROTECTED]>
Crossposted-To: uk.comp.os.linux
Subject: Re: Newbie Help - Reinstalling LILO
Date: Wed, 09 May 2001 17:44:51 +0200
Reply-To: [EMAIL PROTECTED]

On Wed, 09 May 2001 15:25:16 GMT, [EMAIL PROTECTED] (JLucien) wrote:

Try to get Partition Magic. It allows you to repartition your Windows Disk
without reinstalling.

If you have to reinstall windows, it will overwrite the MBR. Create a linux
boot disk that allows you to boot the installed linux system. From there you
just call lilo again to restore your dual boot configuration.

>I keep Win98 and Mandrake 7.0 on seperate disks and everything is
>coexisting just fine.
>
>I need to repartition my windows disk, and therefore reinstall
>windows.  However, I know this will wipe out LILO.
>
>Everything works fine at the moment, and afterwards I'm thinking it
>could just be a simple case of booting into Linux via a bootdisk and
>copying the LILO config to where it needs to be.
>
>Can anyone clarify/confirm before I screw the mbr by reinstalling
>Windoze?
>
>Cheers,
>JLucien.


--
Eggert Ehmke
Email: [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (John Winters)
Crossposted-To: uk.comp.os.linux
Subject: Re: Newbie Help - Reinstalling LILO
Date: 9 May 2001 16:41:48 +0100

In article <[EMAIL PROTECTED]>, JLucien <[EMAIL PROTECTED]> wrote:
>I keep Win98 and Mandrake 7.0 on seperate disks and everything is
>coexisting just fine.
>
>I need to repartition my windows disk, and therefore reinstall
>windows.  However, I know this will wipe out LILO.
>
>Everything works fine at the moment, and afterwards I'm thinking it
>could just be a simple case of booting into Linux via a bootdisk and
>copying the LILO config to where it needs to be.

You don't even need to copy it.  The LILO configuration file is in
the Linux filing system and the Win98 installation shouldn't touch it
(unless it screws up badly and splats the Linux partition).  Simply
boot with your boot floppy and at the shell prompt type "lilo".  This
will cause LILO to be re-installed with the same configuration and
you should be fine.

HTH
John
-- 
John Winters.  Wallingford, Oxon, England.

The Linux Emporium - the source for Linux CDs in the UK
See http://www.linuxemporium.co.uk/

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

From: J Hayward <[EMAIL PROTECTED]>
Subject: Re: RH 7.1 and filesystem > 1 Tbyte
Crossposted-To: git.unix.linux
Date: Wed, 9 May 2001 08:33:06 -0700

Hello,

[EMAIL PROTECTED] wrote:

><snip>
> 
> I actually was looking at a web site yesterday that compared ReiserFS,
> XFS (I think the guy who wrote it worked with SGIs and thus had a
> slight bias toward XFS), JFS, Ext3 and Ext2.  After half an hour of
> searching today using Google, I cannot find that site.  The reason
> I was looking for it is that it had tables comparing maximum file
> sizes and maximum filesystem sizes.
> 
Couldn't find the XFS site?
http://linux-xfs.sgi.com/projects/xfs/

I installed RH 7.1 using SGI's XFS installer on monday, except for a couple 
of harmless messages on boot because of SGI's kernel using devfs everything 
looks good so far. You can disable the use of devfs on boot using 
"devfs=nomount". From the XFS site:

Maximum File Size 

For Linux 2.4, the maximum accessible file offset is 16TB on 4K page size 
and 64TB on 16K page size. As Linux moves to 64 bit on block devices layer, 
file size limit will increase to 9 million terabytes (or the system drive 
limits). 

Maximum Filesystem Size 

For Linux 2.4, 2 TB. As Linux moves to 64 bit on block devices layer, 
filesystem limits will increase. 

Filesystem Block Size 

Currently fixed at the system page size - 4K on IA32. Filesystem extents 
(contiguous data) are configurable at file creation time using fcntl and 
are multiples of the filesystem block size. Single extents can be up to 4 
GB in size. 

> <snip>
> 3) How stable is it?
> 
>    ReiserFS has been used with Linux more than the other journalling
>    file systems.  Ext3 is very similar to Ext2, and Stephen Tweedie
>    worked on both, so there is reason to believe it will be stable.
>    XFS has been used by SGI for years, and of the recent ports from
>    other OS's (ie compared to JFS from IBM), this project seems to
>    have gone remarkably well.
> 

ReiserFS still has data corruption problems. I can't say how stable XFS is 
I just started using it, but is has supposely be exstensively tested. 
However I would not trust it on a system with critical data yet.

Regards,
        Jim H


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

From: joeytsai <[EMAIL PROTECTED]>
Crossposted-To: git.unix.linux
Subject: Re: RH 7.1 and filesystem > 1 Tbyte
Date: 9 May 2001 15:57:33 GMT
Reply-To: [EMAIL PROTECTED]

In git.unix.linux [EMAIL PROTECTED] wrote:
> I actually was looking at a web site yesterday that compared ReiserFS,
> XFS (I think the guy who wrote it worked with SGIs and thus had a
> slight bias toward XFS), JFS, Ext3 and Ext2.  After half an hour of
> searching today using Google, I cannot find that site.  The reason
> I was looking for it is that it had tables comparing maximum file
> sizes and maximum filesystem sizes.

I dunno if this is what you were talking about, but it has such a table:

http://www.linuxgazette.com/issue55/florido.html

    // joey tsai


-- 
 joey tsai |  If you don't ask, you don't get.
 cs1312 ta |                                                 -- Mahatma Gandhi

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

From: M Yasir Khan <[EMAIL PROTECTED]>
Subject: Need Module for 3c905B-TX NIC card for RedHat 6.2
Date: Wed, 09 May 2001 21:04:13 +0500

Hi all,

Could anyone please send me or let me know the location for the NIC card

driver for RedHat 6.2.

My NIC Card is "3c905B-TX" . At the time of installation linux picks
3c59x automatically.... but it does not work.

I'd been on 3Com site to get the proper driver for linux, but the driver

I found there was for Linux 5.2 or 6.0. That driver didn't work for my
6.2 box....

Could anyone Please solve my problem... Please reply me on my email
"[EMAIL PROTECTED]" too.

Regards,

Yasir.


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

From: Kwan Lowe <[EMAIL PROTECTED]>
Subject: Re: Mandrake 8 freezes during install (NEWBIE)
Date: Wed, 09 May 2001 16:22:17 GMT

Cold Fusion <[EMAIL PROTECTED]> wrote:
> Trying to install Mandrake 8 on a separate, clean drive. The install always
> locks up at the 30% mark, regardless of  which package. Tried graph, low-res
> graph, AND text install, same thing. HELP!


Try looking at the log screens (press ALT + Function Keys). It sounds like your
installation CD may have problems. I recently had a similar problem that was
caused by bad memory. 

BTW, the DVD ROM itself is not the problem. I install from them regularly.




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

From: [EMAIL PROTECTED]
Subject: Re: serial port problem
Date: Wed, 09 May 2001 19:12:06 +0200

Luca Zancan wrote:

> Do you know how can I test the serial port???
> How can I directly send the control commands indicated by stty (intr =

Use the program 'minicom' (should be included in your distro - otherwise
look 
at the SuSE site or do a search on the internet. It's pretty standard.)

With that you can modify the serial port settings as well as send
characters to
your modem and see the answers. (In short: it's a terminal program.)

   Volker

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

From: [EMAIL PROTECTED]
Subject: Re: Suse Linux 7 and Windows 2000
Date: Wed, 09 May 2001 19:18:39 +0200

root wrote:
> 
> After the first part of the installation was achieved the program
> rebooted the PC to complete the installtion.
> But I got always the LILO bootmanager and could not access windows.
> I booted Linux and added to LILO a "win" boot image that should boot
> from hda5 but in vain.

Hmm, I wouldn't bet on it, that windump installs on any partition except
the first primary partition at all. I have never tried it and I heard
something about windows
always using the letter c: for the first primary partition of the first
harddrive.
Did this change in Win2k????

I think you would be better off by letting windump have it's will and
let it use the primary partition and use the others for linux.

  Volker

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

From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: Question: One IP Address w/ Two Servers
Date: Wed, 09 May 2001 17:20:11 GMT

On May 9, 2001 at 15:43, Chuck Coker eloquently wrote:

>I am getting a single static IP address (I have a dynamic IP address now).
>Having the static IP address will work for a single Linux box ~or~ a single
>Windows NT Server box. What I am wondering is if there is some way to have
>both servers use the single static IP address. The static IP address will go
>to a Cisco router and then to my local network.
>
>For example, what I want to do is have the Linux box handle the domains
>abc.com and def.com: www.abc.com, smtp.abc.com, www.def.com, smtp.def.com,
>etc., and have the WinNT box handle the domain xyz.com: www.xyz.com,
>smtp.xyz.com, etc. What I would ~really~ like would be to have www.abc.com
>on the Linux box and www1.abc.com on the WinNT box.
>
>I know how to create sub-domains and set up services on both systems, but
>I'm not sure how to use both servers simultaneously. Any hints, suggestions,
>directions, or pointers to information would be greatly appreciated.
Since you are going to have a Cisco router handle incoming
connections, the router will have to decide which server
to send the packets to. As such, c.o.l.setup is not really
the appropiate place for help, Cisco is. For us to help
you, you might have to make some changes. The linux box
can be setup to handle incoming packets and forward those
for the NT box to the NT box. I think this is part of
IP_MASQ which you can read up upon. You might also have
to look into ipchains/iptables for the rules to do the
forwarding.

HTH

-- 
Registered Linux User # 125653 (http://counter.li.org)
The idle man does not know what it is to enjoy rest.
  1:13pm  up 10 days, 19:08,  8 users,  load average: 0.00, 0.00, 0.00


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

From: [EMAIL PROTECTED] (JLucien)
Crossposted-To: uk.comp.os.linux
Subject: Re: Newbie Help - Reinstalling LILO
Date: Wed, 09 May 2001 17:22:44 GMT

On 9 May 2001 16:41:48 +0100, [EMAIL PROTECTED] (John Winters)
wrote:

>In article <[EMAIL PROTECTED]>, JLucien <[EMAIL PROTECTED]> wrote:
>>I keep Win98 and Mandrake 7.0 on seperate disks and everything is
>>coexisting just fine.
>>
>>I need to repartition my windows disk, and therefore reinstall
>>windows.  However, I know this will wipe out LILO.
>>
>>Everything works fine at the moment, and afterwards I'm thinking it
>>could just be a simple case of booting into Linux via a bootdisk and
>>copying the LILO config to where it needs to be.
>
>You don't even need to copy it.  The LILO configuration file is in
>the Linux filing system and the Win98 installation shouldn't touch it
>(unless it screws up badly and splats the Linux partition).  Simply
>boot with your boot floppy and at the shell prompt type "lilo".  This
>will cause LILO to be re-installed with the same configuration and
>you should be fine.

Thanks John.

Exactly the kind of help I was looking for!

Thanks again,
JLucien.


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

From: charadeur <[EMAIL PROTECTED]>
Subject: Adding DNS causes slow telnet
Date: 9 May 2001 12:52:13 -0500

When I add enteries for my DNS servers I get a slow connection to a
telent session into the box.  It even slows down pop3 and smtp and
times out tring to connect.  If I remove the DNS server entries it is
fast.  The OS is caldera.  Any ideas?

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

From: mw <[EMAIL PROTECTED]>
Subject: cannot see the full failsafe window on screen
Date: Wed, 09 May 2001 17:56:46 GMT

When I boot into failsafe, the window is to the bottom right of screen, 
and I can only see 1/2 the window. I would like to have it moved so that 
I can see the whole window. However I am not sure how to go about this.

Any suggestions or advice would be much appreciated.

Thanks,
Mark

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

From: "Norman Zhang" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.misc
Subject: inetd
Date: Wed, 9 May 2001 11:05:18 -0700

I'm using Linux Mandrake 8.0. But I can't seem to be able to find inetd on
the distribution CDs. All I see is xinetd. Has inetd being removed? Where
can I find inetd? I search www.rpmfind.net, and there seems to be one for
RedHat 6.2.

Thanks and Regards,
Norman



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


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

Reply via email to