Linux-Misc Digest #105, Volume #26 Sun, 22 Oct 00 14:13:04 EDT
Contents:
Re: Kernel woes (Ninewands)
Stupid question about telnet? (Bo Berglund)
----------------------------------------------------------------------------
From: Ninewands <[EMAIL PROTECTED]>
Subject: Re: Kernel woes
Date: Sun, 22 Oct 2000 12:22:22 -0500
in article
[EMAIL PROTECTED], Ninewands
at [EMAIL PROTECTED] wrote on 10/22/00 5:07 AM:
> Okay, I decided to bite the bullet and try building myself a kernel
> customized for my machine. Now, as you can tell from the "full headers"
> view of this message, I am stuck with using Windoze (my box is dual-boot) to
> get to the net because ppp doesn't seem to want to work. The source tree
> that I'm using for this monstrosity is kernel 2.2.17 and I'm building it in
> an otherwise stock RedHat 6.0 environment.
>
> The problem I'm running in to is this:
>
> Initially, I built the kernel with ppp support compiled directly in and with
> Plug 'n Pray support. My modem, which is to be configured as /dev/ttyS2, is
> a Diamond Supra Express 56i, which WAS working fine under the stock Red Hat
> 2.2.5 kernel. When I booted the new kernel, ppp line discipline, etc.
> registered and all was okay and no errors were reported during the boot
> process. I logged in as root and did a
>
> # setserial /dev/ttyS2
>
> to see if the modem was configured properly and got:
>
> /dev/ttyS2: device or resource busy
>
> In the process of poking around for a fix, I tried setting PnP OS to "Yes"
> in my motherboard BIOS (Abit BP6, with 2 Celeron 366s) ... suddenly, it all
> worked okay, but when I tried to connect to the 'net, kppp reported that
> there was no ppp support in the kernel (huh?). Also, when I booted into
> Windoze, very few of my PnP devices worked ... so I set PnP OS back to "No".
> Now everything works in Windoze as well as it did before, but Linux has me
> stuck.
>
> I opened up the old RedHat 6 (2.2.5) kernel configuration and copied down
> the PnP and ppp values, put them into the config for the new kernel and
> rebuilt ... no improvement.
>
> By now I am almost hopelessly confused. Mt box is significantly faster with
> the strippped-down custom kernel, but I've got to get my modem and ppp
> support working. Everything else seems to work fine (scsi-ise emulation,
> SMP support, the "unsupported" driver for my scsi card (a Tekram DC-315U)
> but the modem is eluding my. Please help.
>
> Thanks and
> Regards,
>
> Ninewands
>
>
Further to the above, I recompiled the kernel with both PnP and ppp support
included (in the kernel, NOT as modules) and set the BIOS setting to "Yes".
I logged in as root and tried:
# setserial /dev/ttyS2
I got
/dev/ttyS2: port 0x03e8 irq 10 uart 16550A
HURRAY!
I then tried to dial up to my ISP using minicom instead of pppd (thus
bypassing any permissions issues on minicom). Minicom politely informed me
that the modem was off-hook. I issued a "ctl-A h" command to hang up the
modem and then tried to dial again after resetting the modem. Same results.
It now appears that the group of suspects has been narrowed down to the PnP
initialization interaction between my kernel and ROM-BIOS. Unfortunately,
I'm kind of stuck about where to go from here. Can anyone give me a
sugggestion about how to cause the modem to complete it's PnP initialization
and come online in a ready state?
Regards,
Ninewands
------------------------------
From: [EMAIL PROTECTED] (Bo Berglund)
Crossposted-To: comp.os.linux.networking
Subject: Stupid question about telnet?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 22 Oct 2000 17:30:05 GMT
I have installed RH6.2 on a new PC.
I also downloaded and ran the Bastille hardening script, but I have
not proceeded to do anything about the result of the Bastille script
yet (I assume that I have to do something to enable the protection).
This is partly because I did not really understand some of the
questions asked so I decided to let that wait.
Now I have connected the PC to my internal LAN in order to start
working on the networking part of it. It answers ping OK.
But I cannot telnet to the PC from my WinNT machine and when I look at
the ipchains setup it lokks like this:
# ipchains -L
Chain input (policy ACCEPT):
Chain forward (policy ACCEPT):
Chain output (policy ACCEPT):
To me this looks like it will accept anything for now (what I
expected). So why does it refuse telnet? Where is that set up?
Or do you have to explicitly *enable* telnet after the RH6.2 install?
please advice
Bo Berglund
[EMAIL PROTECTED]
PGP: My public key is available at the following locations:
Idap://certserver.pgp.com
http://pgpkeys.mit.edu:11371
------------------------------
** 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.misc) 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-Misc Digest
******************************