Linux-Setup Digest #174, Volume #21               Sun, 6 May 01 09:13:10 EDT

Contents:
  Re: LILO 1024 cylinder limit (Jan Keirse)
  avoiding USB support at start-up ("Massimo Pinto")
  Re: Loading modules (nordi)
  Can I Have A Warm Welcome? ("the-weirs")
  Re: Can I Have A Warm Welcome? (Cupid)
  Re: Can I Have A Warm Welcome? (Chiefy)
  Dial-in to a mail server... (Alan Lythaby)
  RH7.1 - Can't telnet or SSH in from another host (Aaron Kaase)
  Re: Can I Have A Warm Welcome? ("Wayne Osborn")
  Re: avoiding USB support at start-up ("Duane Healing")
  Re: Can I Have A Warm Welcome? (Michael Heiming)
  Re: Installing windows and linux ("Duane Healing")
  Re: Dial-in to a mail server... (Michael Heiming)
  Re: RH7.1 - Can't telnet or SSH in from another host (Michael Heiming)
  Re: RH7.1 - Can't telnet or SSH in from another host (James Rose)

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

Crossposted-To: 
alt.comp.linux,alt.os.linux.redhat,comp.os.linux.questions,comp.os.linux.redhat
From: Jan Keirse <[EMAIL PROTECTED]>
Subject: Re: LILO 1024 cylinder limit
Date: Sun, 06 May 2001 09:00:05 GMT

Here follows the way I do it:=20
You can indeed make lilo boot from over the 1024 cilinder limit with
recent versions of lilo, but some bioses don't like that, so here's a
safer way.
I asume you have a dos (windows) parition at the begining of your disc,
what I would do is use that partition as a /boot part, that is perfectly
possible and it works ok. Here's what you do:

currently you should already have a boot partition somewhere, now you
should mount the first partition of you booting drive (in my case
/dev/hda1) somewhere, for example at /windows/C or /mnt:
mount /dev/hda1 /windwows/C
now, you should copy the entire contents of /boot to /windows/C
cp /boot/* /windows/C/
now, you should unmount both /windows/C and /boot and than remount
/dev/hda1 at /boot:
umount /boot
umount /windows/C
mount /dev/hda1 /boot
and now you should configure /etc/lilo.conf correctly, this is my
lilo.conf:

#---start of /etc/lilo.conf---
boot=3D/dev/hda
vga=3Dext
prompt
timeout=3D50

#I need to set dos as the default os because my parents oblige me to, they
#payed the pc, but if you want to run linux as your default os, you should
#first place the linux bootconfig in stead of the dos thing

#dos config
other =3D /dev/hda1
  label =3D dos
  table =3D /dev/hda

#linux config
image =3D /boot/vmlinuz
  root =3D /dev/hda7
  read-only
  label =3D linux

#---end of /etc/lilo.conf---

Now you can run lilo and your bootsector will be written and lilo
installed.
Mind that it might be necessary to change some parameters in the config
file and change the /dev/hda and /dev/hda1 for your system.



On Sat, 5 May 2001, Robert Lafleur wrote:

> Date: Sat, 05 May 2001 19:18:18 GMT
> From: Robert Lafleur <[EMAIL PROTECTED]>
> Newsgroups: alt.comp.linux, alt.os.linux.redhat, comp.os.linux.questions,
>     comp.os.linux.redhat, comp.os.linux.setup
> Subject: LILO 1024 cylinder limit
>=20
> I'm trying to install Red Hat Linux on a partition past the 1024 cylinder=
=2E
> From what I understand LILO must be installed either:
>=20
> 1.  In the first 1024 block of the HDD
> 2.  In the first ~8GB of the HDD if the BIOS can abstract disk sectors fo=
r
> LILO
>=20
> Is this correct?  I'm trying to install LILO entirely within a partition
> beginning around the 13th GB.  Am I going to have to create a small
> partition for /boot?  I don't want to shift my partitions around with
> Partition Magic.  Any comments are appreciated.
>=20
>=20
>=20


  -=B0)    GNU/Linux
  /\\        is    BEST !!!!!!!
 _\_V--       the     =20
(Jan Keirse: [EMAIL PROTECTED] Tel: +32 51 22 11 82)
(Homepage: http://users.pandora.be/tux=09=09=09    )


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

From: "Massimo Pinto" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: avoiding USB support at start-up
Date: Sun, 06 May 2001 09:13:13 GMT

Dear community,

Some time ago I have upgraded my linux distribution to include USB support,
with kernel 2.2.16 from the Red Hat 7.0 distribution. Then I bought a USB
Iomega Zip Drive, 100 Mb, that I planned to use on my Toshiba Tecra 720 CDT
laptop. Later on I was told that in order to use the usb-storage module I
needed  to upgrade to kernel 2.4.x, so I compiled 2.4.2 with kgcc and making
sure that all the packages needed were up to date.

Despite the support received from several newsgroups, I have had little
success, as I am still unable to mount my zip drives.

The main problem is that, approximately 70% of the times, my laptop would
not boot at all, freezing when loading the usb-ohci module (I have a NEC
Corporation USB controller, rev 01) or, if that step is passed, it
freezes when mounting the USB filesystem, or later, when checking for new
hardware. Some times I have to try booting my laptop 6 times and more before
I can start working. If the machine boots, I can work happily but loading
all
the relevant modules and mounting the drive has no effect.

I have decided that, on a temporary basis, before I manage to dedicate some
time to study what is needed to sort out al these problems, I should let my
laptop boot smoothly, thus I would like to remove USB support completely at
start-up. I am sure there is a way out, but I have invested so much time to
date that is time now to meet the deadlines for the work that I have got to
do.

I don't know whether this has to be done by Kudzu, by chkconfig or what.

Could anyone please help by telling me how to control hardware support at
start-up?

Thanks in advance

 Massimo Pinto

---
Massimo Pinto
Ph.D. Student
Gray Laboratory Cancer Research Trust
http://www.graylab.ac.uk/usr/pinto







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

From: nordi <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.misc,comp.os.linux.help
Subject: Re: Loading modules
Date: Sun, 6 May 2001 12:01:59 +0200

Scott wrote:

> Using Slackware 7.1, kernel 2.2.16:

Using SuSE 7.0, but I hope at least the kernel works the same way *g*

> When I do a kernel rebuild, and 'make modules' the modules
> are compiled, but not moved to /lib/modules/2.2.16/...
> Do I have to move them manually?

After 'make modules' try 'make modules_install', that should install the 
modules.

> 
> kerneld is specified as needed to load and unload modules.  But
> the only place it appears is in rc.modules, and it's commented
> out.
According to my manual, "kerneld" is obsolete since kernel 2.2 and has been 
replaced with the kernel module loader "kmod", which calls "modprobe" when 
needed. That's probably the reason why it was commented out.

nordi

-- 
Failure is not an option. It comes bundled with your Microsoft product. 
        -- Ferenc Mantfeld

Visit http://private.addcom.de/nordi

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

From: "the-weirs" <[EMAIL PROTECTED]>
Subject: Can I Have A Warm Welcome?
Date: Sun, 6 May 2001 11:29:01 +0100

Hey I'm totally new here (call me Monopoly) and I'm totally freaked out by
the change and differences between my Windows Millennium Edition and some of
those Linux distributions. I've not yet got a distribution and I'm seeking
some real good advice. I know that the best one decided to be best is by
opinion and I'm sure you all have different opinions. Oh yeh todays my first
day in being interested in Linux (May 6th 2001) and also the day I bought
the 8th issue of Linux Magazine which costed me �4.99! I hear that SuSE is
the flavour of Linux which Europe mostly takes a shine to. Also Red Hat
Linux seems pretty popular worldwide as a server type thing. What about that
Dragon one? Doesnt that give you all features. The source was
http://linux.prove-it.com which offers all flavours of Linux. Anyway help me
and one day I will help you. So you better RSVP soon ! Many thanks to
Carolyn Meinel and all those who reply to this post (remember your help is
always highly appreciated as will mine be to you when I get the hang of this
Linux thing.)
Viva Linus Torvalds!
Monopoly.
OVER AND OUT!



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

From: Cupid <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Can I Have A Warm Welcome?
Date: Sun, 06 May 2001 07:03:09 -0400

*Welcome* :)
Well, I'm also very new to Linux.  After reading several books, mags, etc.. I
decided to go with Linux RedHat 6.2 Professional.  I hope some day to setup my
own web server, so I got the necessary info on Linux I needed and got a copy of
the OS.  I'm right now running it as a client to get used to it.  I agree it's
much more different than Windows, but it's much more stable than Microcrap.


the-weirs wrote:

> Hey I'm totally new here (call me Monopoly) and I'm totally freaked out by
> the change and differences between my Windows Millennium Edition and some of
> those Linux distributions. I've not yet got a distribution and I'm seeking
> some real good advice. I know that the best one decided to be best is by
> opinion and I'm sure you all have different opinions. Oh yeh todays my first
> day in being interested in Linux (May 6th 2001) and also the day I bought
> the 8th issue of Linux Magazine which costed me �4.99! I hear that SuSE is
> the flavour of Linux which Europe mostly takes a shine to. Also Red Hat
> Linux seems pretty popular worldwide as a server type thing. What about that
> Dragon one? Doesnt that give you all features. The source was
> http://linux.prove-it.com which offers all flavours of Linux. Anyway help me
> and one day I will help you. So you better RSVP soon ! Many thanks to
> Carolyn Meinel and all those who reply to this post (remember your help is
> always highly appreciated as will mine be to you when I get the hang of this
> Linux thing.)
> Viva Linus Torvalds!
> Monopoly.
> OVER AND OUT!


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

From: [EMAIL PROTECTED] (Chiefy)
Subject: Re: Can I Have A Warm Welcome?
Date: 6 May 2001 11:16:30 GMT

06 May 2001 10:29 GMT, the-weirs did say to the dudes:
> Hey I'm totally new here (call me Monopoly) and I'm totally freaked out by
> the change and differences between my Windows Millennium Edition and some of
> those Linux distributions. I've not yet got a distribution and I'm seeking
> some real good advice.

Yes indeed, a hearty welcome to the fold.

As it's still rather early for well reasoned arguments (the room is not
yet stable), I will offer you one word that you must remember in your
quest for the perfect Linux. 

Debian!.

-- 
Chiefy.

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

From: Alan Lythaby <[EMAIL PROTECTED]>
Subject: Dial-in to a mail server...
Date: Sun, 06 May 2001 13:14:14 +0100
Reply-To: [EMAIL PROTECTED]

Hello all!

I am trying to set up a dial in mail server using sendmail.

Mail works fine around the LAN.

I can retreive mail using POP3 on the dial-in link with no problem.

I can't send using the dial-in link!

I am using a Psion 5 via a mobile phone.

If I telnet to port 25 (SMTP port), I can send mail by typing sendmail
commands, but the Psion will not send from its EMail program.

I CAN send using SMTP to my ISP though!

I am now confused!

Does anyone have any suggestions as to where to look?

Or... is there a program that can sniff both TX and RX of a serial port,
so that I can see what is going on?

Thanks for any advice!

Alan.

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

From: [EMAIL PROTECTED] (Aaron Kaase)
Subject: RH7.1 - Can't telnet or SSH in from another host
Date: Sun, 06 May 2001 11:42:25 GMT

RedHat's knowledge base says to type 'rpm -qa | grep telnet' to make
sure the telnet server is running. It is... Then it says to (as root)
go into the /etc/xinetd.d directory and make sure that telnet is
enabled.

I typed 'cat telnet' and found "disable = yes" so I changed it to no.
This made it so when I type 'telnet localhost', I was able to get a
login prompt. (Before it said connection refused.)

HOWEVER, I still can't access the system from another computer and I
have no idea why. Any ideas? I can telnet OUT of the system just fine,
just not IN to the computer.

Oh... And to all the security enthusiasts out there, yes, I do plan on
using SSH instead. I've a hunch the SSH is not working because of the
exact same reason.

-- 
Aaron Kaase
St. Paul, MN

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

From: "Wayne Osborn" <[EMAIL PROTECTED]>
Subject: Re: Can I Have A Warm Welcome?
Date: Sun, 06 May 2001 20:07:39 +0800

Welcome.

I personally prefer RedHat, although....

In recent times RedHat have upset more than few people over a few
distribution issues (nothing to really worry you). In short, RedHat 7.0
before 7.1 if you go RedHat.

My second preference is Mandrake, propbably the best distro for new
commers, installation and setup is a doddle. KDE is the default desktop
manager and this looks and feels like Windoze. 

I use and prefer the Gnome desktop in RedHat, but tried KDE 2.1 the other
day to see what all the fuss is about. To do anything in KDE you just
think "Windows" and it works. This is good news for new comers to Linux.

I still prefer Gnome, but that is just personal preference...

Summary: 
- Both RedHat and Mandrake are RPM (RedHat Package Manager) based
  distro's (this is a big plus, others would disagree). 
- RedHat 7.1 may cause you unwanted grief, 7.0 is Ok.
- Mandrake 8 is the latest version.
- Mandrake is 99% RedHat compatible as it is based on RedHat.
- Linus Torvalds uses RedHat Linux...

I hope this helps.

-- 
  Wayne A. Osborn, SCADA Engineer.[dnar AT iinet DOT net DOT au]
  Registered Linux User #212818.  [2.2.16-22-Win4Lin-686] [i686]
  7:50pm  up 2 days,  2:17,  1 user,  load average: 1.25, 1.12, 1.09
  ...Computer programmers never die, they just get lost in the processing.

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

From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: avoiding USB support at start-up
Crossposted-To: comp.os.linux.hardware
Date: Sun, 06 May 2001 05:17:44 -0700

Build a new kernel with no USB support.

--
-Duane
-DNAware SoftLabs

In a feverish moment of semi-lucidity, "Massimo Pinto"
<[EMAIL PROTECTED]> flailed at the keyboard thusly:
[yadda, yadda, yadda]
> I would like to remove USB support
> completely at start-up.

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

Date: Sun, 06 May 2001 14:23:03 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Can I Have A Warm Welcome?

the-weirs wrote:
> 
> Hey I'm totally new here (call me Monopoly) and I'm totally freaked out by
> the change and differences between my Windows Millennium Edition and some of
> those Linux distributions.

That's true, Mickey Soft makes some funny single user OS, where you're
forced
to click like crazy/reboot the whole day and need tons of additional sw,
just to get the simplest task done.

Linux on the other hand is a multi-tasking, multi-threading, multi-user
UNIX OS,
which outperforms most $$ commercial UNIX and most distros contain more
stuff
than you'll ever need, for everything else, there is freshmeat.net and
http://www.google.com/linux

I would suggest that you get you're hands on some good distro, I.e.
SuSE, yeah,
that's what I use and like. You should actually buy a distro, the books
and the
support you get, will be very useful for you.

Checking the hw db on www.suse.com would be another good idea, to check
if your hardware is supported, before you start and pull out your hair,
cause you have some proprietary crap hw, that won't run with Linux.

Good luck

Michael Heiming

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

From: "Duane Healing" <[EMAIL PROTECTED]>
Subject: Re: Installing windows and linux
Date: Sun, 06 May 2001 05:24:54 -0700

Your patition table looks fine, type "b" has always worked for
me with Win98.

--
-Duane
-DNAware SoftLabs

In a feverish moment of semi-lucidity, "Simon Lemieux"
<[EMAIL PROTECTED]> flailed at the keyboard thusly:
> Disk /dev/hda: 255 heads, 63 sectors, 784 cylinders Units = cylinders of
> 16065 * 512 bytes
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1       262   2104483+   b  Win95 FAT32 
> /dev/hda2            263       328    530145   82  Linux swap 
> /dev/hda3            329       784   3662820   83  Linux  
> Command (m for help): v

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

Date: Sun, 06 May 2001 14:35:26 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Dial-in to a mail server...

Alan Lythaby wrote:
> 
> Hello all!
> 
> I am trying to set up a dial in mail server using sendmail.
> 
> Mail works fine around the LAN.
> 
> I can retreive mail using POP3 on the dial-in link with no problem.
> 
> I can't send using the dial-in link!
> 
> I am using a Psion 5 via a mobile phone.
> 
> If I telnet to port 25 (SMTP port), I can send mail by typing sendmail
> commands, but the Psion will not send from its EMail program.
> 
> I CAN send using SMTP to my ISP though!
> 
> I am now confused!
> 
> Does anyone have any suggestions as to where to look?

Check /var/log/mail for hints, perhaps set logging to a higher level
"man sendmail", check the -X option and the LogLevel= option.

Could be related to relaying problems, but I wonder, since you write
you could sent via telnet...

Good luck

Michael Heiming

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

Date: Sun, 06 May 2001 14:49:08 +0200
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: RH7.1 - Can't telnet or SSH in from another host

Aaron Kaase wrote:
> 
> RedHat's knowledge base says to type 'rpm -qa | grep telnet' to make
> sure the telnet server is running. It is... Then it says to (as root)
> go into the /etc/xinetd.d directory and make sure that telnet is
> enabled.
> 
> I typed 'cat telnet' and found "disable = yes" so I changed it to no.
> This made it so when I type 'telnet localhost', I was able to get a
> login prompt. (Before it said connection refused.)
> 
> HOWEVER, I still can't access the system from another computer and I
> have no idea why. Any ideas? I can telnet OUT of the system just fine,
> just not IN to the computer.
> 
> Oh... And to all the security enthusiasts out there, yes, I do plan on
> using SSH instead. I've a hunch the SSH is not working because of the
> exact same reason.
> 
> --
> Aaron Kaase
> St. Paul, MN       

Telnet is mostly controlled via tcp wrappers (/etc/hosts.allow and
/etc/hosts.deny)
check "man tcpd" and "man 5 hosts_access" for details, may be there is
your problem.

Direct root login is disabled per default on most distros for good
reasons.

On the other hand you're just asking for trouble if you run telnet,
there are no
so called "security enthusiasts", it's just plain stupid to use telnet,
like buying a modern locking system for your home and then leave the key
below the doormat...So, use ssh & scp, there is really no need to run
telnet or
any kind of r* services.

Good luck

Michael Heiming

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

From: [EMAIL PROTECTED] (James Rose)
Subject: Re: RH7.1 - Can't telnet or SSH in from another host
Date: Sun, 06 May 2001 12:53:19 GMT

On Sun, 06 May 2001 11:42:25 GMT, [EMAIL PROTECTED] (Aaron Kaase)
wrote:

>RedHat's knowledge base says to type 'rpm -qa | grep telnet' to make
>sure the telnet server is running.

This command will tell you if the telnet server package is installed.  Not if
the server is running.

> It is... Then it says to (as root)
>go into the /etc/xinetd.d directory and make sure that telnet is
>enabled.

This is where you "activate" the telnet server during startup.

>I typed 'cat telnet' and found "disable = yes" so I changed it to no.
>This made it so when I type 'telnet localhost', I was able to get a
>login prompt. (Before it said connection refused.)

Great!  You figured out one of your problems on your own.  You can be sure that
the telnet server is now working (at least over the loopback device.)

>HOWEVER, I still can't access the system from another computer and I
>have no idea why. Any ideas? I can telnet OUT of the system just fine,
>just not IN to the computer.

You can also be sure that the networking stuff is loaded correctly because you
can telnet/ping out to somewhere else.

What happens when you try to telnet from another machine?  Any error messages?
Where is the machine you are attempting to connect to, in relation to the
machine you are initiating the connection from?  Can you use another service
(ftp, http, ssh, etc.) to connect to this machine successfully?

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


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