Linux-Setup Digest #160, Volume #20               Mon, 4 Dec 00 13:13:06 EST

Contents:
  Re: ipchains (Nehali Neogi)
  NFS problems (Huw Lynes)
  Large disk support in RH6.2 (Lee Thompson)
  Need advice with boot loader for multiple OS. ("Georgy Goshin")
  Re: Two modems on one machine? ("Kenny@BUI")
  Re: SSH WORKS!: Disable telnet? (Oliver D. Bedford)
  Re: Switch form KDE to prompt ("Martin Schmidt")
  Re: SSH WORKS!: Disable telnet? ("ne...")
  Multiple kernels on Separate partitions (Moonshiner)
  Re: Two modems on one machine? (jf arocha)
  Re: Need advice with boot loader for multiple OS. (Andreas Tretow)
  Re: Need advice with boot loader for multiple OS. ("Eric en Jolanda")
  2 newbie questions (Michael Yuen)
  Re: Linmodem woes! minicom=ok kppp=crashes. (Peter Kadau)
  Re: acpi won't power off 'puter (arg)
  Re: Problems with pppd (Bill Unruh)
  Re: Problems with pppd (Bill Unruh)
  Re: SSH WORKS!: Disable telnet? (Bill Unruh)

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

From: Nehali Neogi <[EMAIL PROTECTED]>
Subject: Re: ipchains
Date: Mon, 04 Dec 2000 15:57:00 GMT

check out the following site. Excellent interactive design tool that
generates scripts in ipchains

http://www.linux-firewall-tools.com/linux/

-nn

In article <90ep5o$[EMAIL PROTECTED]>,
  Robert Spangler <[EMAIL PROTECTED]> wrote:
> Hello everyone,
>
> I looking to use ipchains to secure my system. Because ipchains can be
> confusing, I'm wondering if there is a script out there to help with
the
> setup of ipchains?
>
> Thnx to everyone who can help.
>
>


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

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

From: Huw Lynes <[EMAIL PROTECTED]>
Subject: NFS problems
Date: Mon, 04 Dec 2000 15:59:24 GMT

Hi All,

Am trying to get an NFS service up and running so that I can transfer
files between a desktop and a laptop. I've got the crossover ethernet
link up and running. I can ping and telnet between the two computers.
I can get portmap,rpc.mountd and rpc.nfsd running on the desktop.
rpcinfo -p works and all the services look like they are working.

/etc/exports is

/cdrom     Laptop(ro)
/          Laptop(rw)


where Laptop is defined in /etc/hosts.
when I try to mount either filesystem from Laptop it sits there doing
nothing for a while and then times out.
/var/log/messages has this to say

Laptop kernel:nfs warning:mount version older then kernel
Laptop kernel:lockd_up:nopid,3 users?
Laptop kernel:portmap:server localhost not responding, timed out.

the Desktop reports that Laptop made a mount request and that the
filesystem was exported.

Any ideas?
TIA

Huw Lynes


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

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

From: Lee Thompson <[EMAIL PROTECTED]>
Subject: Large disk support in RH6.2
Date: Mon, 04 Dec 2000 16:16:49 +0000

I want to add support for a 40Gb IBM hard drive to a Linux system
running RH6.2
running kernel 2.2-13. The Large-Disk-HOWTO is a little vague on this
mentioning,
on one hand that "Drives larger than 33.8 GB will not work with kernels
older than 2.3.21"
and, on the other, that "The 2.2.14 kernels do support these disks".

Does anyone out there have experience of this? Does 2.2.14 work OK or
should I really go
the 2.3.21 or higher?  Any pointers to a suitable patch would be
appreciated.

--
                             many thanks, ...... Lee.




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

From: "Georgy Goshin" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,comp.os.linux,comp.os.linux.questions,linux.redhat,linux.redhat.install
Subject: Need advice with boot loader for multiple OS.
Date: Mon, 4 Dec 2000 18:44:38 +0200

Hi all Linux-guru!

I have a little problem with booting Linux from a logical partition.
The configuration is the following:

1. Primary partirion (Windows 98, FAX32).
2. Logical partition (Windows 2000 system, NTFS).
3. Logical partition (NTFS).
4. Logical partition (NTFS).
5. Logical partition (ext2, Linux "/", /dev/hda8).
6. Logical partition (swap, /dev/hda9).


In this configuration I can't boot Linux (RedHAT 7.0) thru Windows NT Boot
loader. It boots only with floppy.

If I'll convert /dev/hda8 into second primary partition, then I will not be
able to boot Windows 2000 anymore
(hangs with message about absent ntoskrnl.sys).

Would you please advice me a method how make Windows NT bootloader work with
all installed OS or
advice me some other bootloader for my configuration, but I want to have
one-level menu with the following
items present:

1. Windows 98.
2. Windows 2000.
3. Windows 2000 repair console.
4. RedHAT Linux 7.0

Please help me, if you know how!

Thanks in advance,
==============================
Georgy Goshin [EMAIL PROTECTED]




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

From: "Kenny@BUI" <[EMAIL PROTECTED]>
Subject: Re: Two modems on one machine?
Date: Mon, 4 Dec 2000 12:58:46 -0500

what ports are the two modems using. are they both using the same port.

jf arocha wrote in message ...
>Please help. I have a dual-boot  machine with an internal winmodem which
>works well with Windows (AOpen  FM56-SLM), but of course it is not
>recognized by Linux. I have also an external modem (USRobotics 56k) which
>was working perfectly on my old Macintosh and I want to attach it to my
>dual-boot machine. The question is can I install it to work with Linux.
even
>though the winmodem installed? Or do I have to de-install the winmodem
>first? I tried to make it work but no luck so far.
>
>francisco
>
>



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

From: [EMAIL PROTECTED] (Oliver D. Bedford)
Subject: Re: SSH WORKS!: Disable telnet?
Date: 04 Dec 2000 17:53:15 +0100

"Yavin" <[EMAIL PROTECTED]> writes:

>     I have my ssh working and would like to disable normal telnet .... Would
> I just comment out the line
> 'telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd' out of
> my inetd.conf? Will that close off the port? Or do I need to comment the

  Yes.

> appropriate line out of the /etc/services file too? Thanx

  No.

  Oliver

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

From: "Martin Schmidt" <[EMAIL PROTECTED]>
Subject: Re: Switch form KDE to prompt
Date: Mon, 4 Dec 2000 17:46:33 +0100


Michael <[EMAIL PROTECTED]> schrieb in im Newsbeitrag:
90fv2s$mvo$[EMAIL PROTECTED]
> Please, how do I switch from KDE to a basic prompt.
> I'm using Mandrake 7.0
>     Thanks Michael
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.

Im using Suse but maybe it is the same , try :
strg + alt + f2
i think in english strg is named ctrl
(the bottom left one)
to switch back to kde
strg + alt + f7

Martin




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

From: "ne..." <[EMAIL PROTECTED]>
Subject: Re: SSH WORKS!: Disable telnet?
Date: Mon, 04 Dec 2000 17:13:42 GMT

On Dec 4, 2000 at 17:53, Oliver D. Bedford eloquently wrote:

>"Yavin" <[EMAIL PROTECTED]> writes:
>
>>     I have my ssh working and would like to disable normal telnet .... Would
>> I just comment out the line
>> 'telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd' out of
>> my inetd.conf? Will that close off the port? Or do I need to comment the
>
>  Yes.
ADDENDUM: and then killall -HUP inetd
>
>> appropriate line out of the /etc/services file too? Thanx
>
>  No.

-- 
Registered Linux User # 125653 (http://counter.li.org)
Either CONFESS now or we go to "PEOPLE'S COURT"!!
 12:13pm  up 1 day, 16:14,  6 users,  load average: 0.05, 0.03, 0.00


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

From: Moonshiner <[EMAIL PROTECTED]>
Subject: Multiple kernels on Separate partitions
Date: Mon, 04 Dec 2000 17:12:37 GMT

Greetings,

I am having trouble getting a new kernel to boot.
I have several linux distributions loaded on separate partitions across
two hd's.

I have Slack3.x running kernel 2.0.34 on partition /dev/hdb1.

I loaded Slack7.1 running kernel 2.2.16 on partition /dev/hda3.
I recompiled my kernel for PPP and sound.  Everything went fine.
Ran rdev - appeared to work correctly.  Logged out and rebooted.
Since I already had lilo.conf set for /dev/hda3, I selected the slack
option.  Booted into Slack7.1 but was running the 2.0.34 kernel.
Logged out and rebooted.  Selected slack2 at lilo:.  Booted into
slack3.x; ran sbin/lilo to reload lilo.  Appeared to work correctly.
Logged out and rebooted.  Selected slack at lilo:.  Booted into slack7.1
but still ran the 2.0.34 kernel.

If I boot with the floppy created during installation, I get kernel
2.2.16 ( I know that is because the kernel is on the floppy.)

Now to my question, does each version of the kernel need to reside on
the same partition?
I have no problem with that since changing the filename will provide
uniqueness.  I also understand about setting the lilo.conf file.

Another question comes to mind, what about the System.map file.
Is it different for each kernel? (I would not think so but not sure.)
If different how is it loaded and where is it stored in relation to the
kernel?

Following are my working lilo.conf and hd configuration:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact        # faster, but won't work on all systems.
prompt
vga = normal    # force sane state
append = "mem=192M"
# ramdisk = 0     # paranoia setting
# End LILO global section
# Caldera portion deleted 1998.10.01 ( 01 October 1998 )
# Slackware 3.5 Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hdb1
  label = slack2
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Slackware 3.5 Linux bootable partition config ends
# Slackware7 2.0.34 Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hda3
  label = slack
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Linux bootable partition config ends
# Slackware7 2.2.13 Linux bootable partition config begins (1999.12.08)
#image = /vmlinuz.2.2.13
#  root = /dev/hda3
#  label = slack7
#  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Linux bootable partition config ends
# Slackware 3.5 Linux bootable partition config begins
image = /vmlinuz.2.2.12
  root = /dev/hda3
  label = slack2212
  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Slackware 3.5 Linux bootable partition config ends
# Redhat Linux bootable partition config begins ( 1999.03.04 )
#image = /vmlinuz
#  root = /dev/hdb5
#  label = redhat
#  read-only # Non-UMSDOS filesystems should be mounted read-only for
checking
# Redhat Linux bootable partition config ends
# MandrakeLinux bootable partition config begins
image = /vmlinuz_mandrake
  root = /dev/hdb2
  label = mandrake
  read-only
# Mandrake config ends
# Non-UMSDOS filesystems should be mounted read-only for checking
# DOS bootable partition config begins
other = /dev/hda1
  label = dos
  table = /dev/hda
# DOS bootable partition config ends

I noticed that /dev/hda3 is listed twice but have not had any problems.
I did not change after loading S7.1 just reran /sbin/lilo.

Disk /dev/hda: 255 heads, 63 sectors, 790 cylinders
Units = cylinders of 16065 * 512 bytes

Device     Boot  Begin  Start  End   Blocks   Id  System
/dev/hda1    *       1      1  131  1052226    6  DOS 16-bit >=32M
/dev/hda2          132    132  329  1590435    5  Extended
/dev/hda3    *     330    330  560  1855507+  83  Linux native
/dev/hda4    *     561    561  790  1847475   83  Linux native
/dev/hda5          132    132  191   481918+   6  DOS 16-bit >=32M
/dev/hda6          192    192  329  1108453+   6  DOS 16-bit >=32M

Disk /dev/hdb: 255 heads, 63 sectors, 1024 cylinders
Units = cylinders of 16065 * 512 bytes

Device     Boot  Begin  Start  End   Blocks   Id  System
/dev/hdb1            1      1  256  2056288+  83  Linux native
/dev/hdb2          257    257  512  2056320    5  Extended
/dev/hdb3          513    513  769  2064352+  83  Linux native
/dev/hdb4          770    770 1027  2072385   83  Linux native
Partition 4 has different physical/logical endings:
  phys=(1023, 254, 63) logical=(1026, 254, 63)
/dev/hdb5          513    513  766  2040223+  83  Linux native
/dev/hdb6          767    767  769    24066   82  Linux swap

I have not noticed any problems from the Partition 4 mistake.

If anyone needs more information, post the need and I will get it
posted.

Thanks, in advance, for any help.

--
Moonshiner
NASCAR Fan Go MW #15
Linux User because MS is a bother.

--
Moonshiner
NASCAR Fan Go MW #15
Linux User because MS is a bother.


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

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

Subject: Re: Two modems on one machine?
From: jf arocha <[EMAIL PROTECTED]>
Date: Mon, 04 Dec 2000 17:21:17 GMT

First, thanks so much for your help.

This is where I get even more confused (because of my lack of knowledge of
PCs). But I know that the winmodem is on COM 1. Now, there is also
LPT1-which I assume is also a serial port (nine pin). I don't know what the
external modem is using. I simply know that it is attached to one of the two
ports on the back of the computer. I have tried to specify one of the ports
COM2 to COM4 when setting it up (or the tty ports, using Linux Mandrake
7.2), but no success yet.

Thanks again,

francisco

> From: "Kenny@BUI" <[EMAIL PROTECTED]>
> Newsgroups: comp.os.linux.setup
> Date: Mon, 4 Dec 2000 12:58:46 -0500
> Subject: Re: Two modems on one machine?
> 
> what ports are the two modems using. are they both using the same port.
> 
> jf arocha wrote in message ...
>> Please help. I have a dual-boot  machine with an internal winmodem which
>> works well with Windows (AOpen  FM56-SLM), but of course it is not
>> recognized by Linux. I have also an external modem (USRobotics 56k) which
>> was working perfectly on my old Macintosh and I want to attach it to my
>> dual-boot machine. The question is can I install it to work with Linux.
> even
>> though the winmodem installed? Or do I have to de-install the winmodem
>> first? I tried to make it work but no luck so far.
>> 
>> francisco
>> 
>> 
> 
> 


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

From: Andreas Tretow <[EMAIL PROTECTED]>
Subject: Re: Need advice with boot loader for multiple OS.
Date: Mon, 04 Dec 2000 17:24:30 +0000

Hi Georgy,

I have nearly the same setup, but I have to use two bootloaders. The 
primary is LILO with the option to boot whatever Linux-Kernel I want to 
run and dos. If choose dos it switches to the NT-Bootloader, where I can 
then choose between the M$-variants. Unfortunately I don't know how to 
do with one loader, which is able to handle all the OS's.

I hope this helps.
Andreas

Georgy Goshin wrote:

> Hi all Linux-guru!
> 
> I have a little problem with booting Linux from a logical partition.
> The configuration is the following:
> 
> 1. Primary partirion (Windows 98, FAX32).
> 2. Logical partition (Windows 2000 system, NTFS).
> 3. Logical partition (NTFS).
> 4. Logical partition (NTFS).
> 5. Logical partition (ext2, Linux "/", /dev/hda8).
> 6. Logical partition (swap, /dev/hda9).
> 
> 
> In this configuration I can't boot Linux (RedHAT 7.0) thru Windows NT Boot
> loader. It boots only with floppy.
> 
> If I'll convert /dev/hda8 into second primary partition, then I will not be
> able to boot Windows 2000 anymore
> (hangs with message about absent ntoskrnl.sys).
> 
> Would you please advice me a method how make Windows NT bootloader work with
> all installed OS or
> advice me some other bootloader for my configuration, but I want to have
> one-level menu with the following
> items present:
> 
> 1. Windows 98.
> 2. Windows 2000.
> 3. Windows 2000 repair console.
> 4. RedHAT Linux 7.0
> 
> Please help me, if you know how!
> 
> Thanks in advance,
> ==============================
> Georgy Goshin [EMAIL PROTECTED]


-- 
Andreas Tretow
[EMAIL PROTECTED]


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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,comp.os.linux,comp.os.linux.questions,linux.redhat,linux.redhat.install
Subject: Re: Need advice with boot loader for multiple OS.
Date: Mon, 4 Dec 2000 18:07:02 +0100


> I have a little problem with booting Linux from a logical partition.
> The configuration is the following:
>
> 1. Primary partirion (Windows 98, FAX32).
> 2. Logical partition (Windows 2000 system, NTFS).
> 3. Logical partition (NTFS).
> 4. Logical partition (NTFS).
> 5. Logical partition (ext2, Linux "/", /dev/hda8).
> 6. Logical partition (swap, /dev/hda9).
>
>
> In this configuration I can't boot Linux (RedHAT 7.0) thru Windows NT Boot
> loader. It boots only with floppy.
>
> If I'll convert /dev/hda8 into second primary partition, then I will not
be
> able to boot Windows 2000 anymore
> (hangs with message about absent ntoskrnl.sys).
>
> Would you please advice me a method how make Windows NT bootloader work
with
> all installed OS or
> advice me some other bootloader for my configuration, but I want to have
> one-level menu with the following
> items present:
>
> 1. Windows 98.
> 2. Windows 2000.
> 3. Windows 2000 repair console.
> 4. RedHAT Linux 7.0
>

What have you tried already?
You should first of all check that linux' /boot is below cyl. 1024, or else
you must solve that problem first.
Then follow the steps described in the NTbootloader HOWTO

Eric



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

From: [EMAIL PROTECTED] (Michael Yuen)
Subject: 2 newbie questions
Date: 4 Dec 2000 17:33:56 GMT

I'm new to Linux and i've got a couple of questions, this is going to be 
related to Red Hat Linux v.7:

1. What are the different kinds of GUI for Linux and are they all 
compatible with Red Hat Linux? 

2. In Windows, we can make an emergency repair disk.  How do we make one 
in Linux?

Thanks in advance,
Mike

--

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

From: [EMAIL PROTECTED] (Peter Kadau)
Subject: Re: Linmodem woes! minicom=ok kppp=crashes.
Date: 4 Dec 2000 17:42:25 GMT

[EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
: I'm running Mandrake 7.1 on a Compaq Presario 3060 with a winmodem.
: 
ieek, winmodems suck anyway
: I downloaded linmodem568 from Lucent and loaded it. It works fine with
: Minicom but when I set up kppp with AT&T Worldnet, following the
: instructions I got from WURD I get the message that the kppp daemon
: failed unexpectedly. 
: 
AFAIK, that's a well-known bug:

reconfigure your device with the wrong speed in kppp-setup
quit kppp
restart kppp and configure the speed you want
try again

it should work now - at least, that ridiculous procedure
works on my box.

        peter


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

From: arg <[EMAIL PROTECTED]>
Subject: Re: acpi won't power off 'puter
Date: Tue, 05 Dec 2000 03:52:05 +1000

In article <[EMAIL PROTECTED]>, "Arthur J. Yarwood"
<[EMAIL PROTECTED]> wrote:

> Small annoying little problem. Just got kernel 2.4.0-test9 up and
> running. Started using the acpi stuff instead of the apm stuff. Grabbed
> the deamons and pmtools as it said in Documentation/pm.txt. However my
> computer won't power off now, when you shut it down?
> 
> Any ideas?
> 
> Arthur.

maybe shutdown -h ???

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

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux
Subject: Re: Problems with pppd
Date: 4 Dec 2000 18:05:44 GMT

In <90fnqk$lt3$[EMAIL PROTECTED]> "news.ctv.es" <[EMAIL PROTECTED]> writes:

>I'm trying to connect by pppd and I get the following error as soon as I
>execute the pppd connect command:

>The remote system (MyISP) is required to authenticate itself but I couldn't
>find any secret (password) wich would let it use an IP address.


place 
route del default eth0
at the end of /etc/ppp/options ( you have an ethernet connection with an
inappropriate default route defined on it)
Plase
noauth 
into /etc/ppp/options
get rid of +pap or +chap or require-pap or require-chap in the options
file.





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

From: [EMAIL PROTECTED] (Bill Unruh)
Crossposted-To: comp.os.linux
Subject: Re: Problems with pppd
Date: 4 Dec 2000 18:07:32 GMT

In <zbMW5.41$[EMAIL PROTECTED]> "Adam Short" <[EMAIL PROTECTED]> writes:
>To fix it you need to specify some options to pppd. Specifically "noauth"
>and "passive". These go in your ppp-options file, IIRC. I'm not at a Linux

No, not passive. The can break the far end which often waits for a ppp
LCP packet to tell it that you want ppp.



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

From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: SSH WORKS!: Disable telnet?
Date: 4 Dec 2000 18:08:56 GMT

In <90gh58$s9p$[EMAIL PROTECTED]> "Yavin" <[EMAIL PROTECTED]> writes:


>    I have my ssh working and would like to disable normal telnet .... Would
>I just comment out the line
>'telnet  stream  tcp     nowait  root    /usr/sbin/tcpd  in.telnetd' out of
>my inetd.conf? Will that close off the port? Or do I need to comment the

Yes.

make sure you run killall -1 inetd after you have done so.

>appropriate line out of the /etc/services file too? Thanx

No. The file is just a translation file from port number to name.



>--Scott





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


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