Linux-Setup Digest #88, Volume #21               Sun, 22 Apr 01 08:13:12 EDT

Contents:
  Re: lpr broken, instant error message ("Peter T. Breuer")
  Re: minimum install help ("Peter T. Breuer")
  Re: Any way to set up Linux so that changing the IDE channel of the HD doesn't 
require surgery? ("Peter T. Breuer")
  Re: Modem trouble (Dougie Richardson)
  RedHat 7.1 install hangs after selecting installation type (Peter Forsberg)
  Re: RedHat 7.1 install hangs after selecting installation type (jtnews)
  Re: RedHat 6.2 Kenel compiling ? ("Bo")
  Sendmail doesnot work ("Anonymous")
  Re: rp3 dialer Problem RH7.0 Kernel 2.4.2 no modules, Monolithic! (Steve Martin)
  anonymous can not upload, please help... ("Anonymous")
  Re: What kind of Fontpath is unix/:-1 ? (Steve Martin)
  Re: Create ext2 Partition from Windows ("Anonymous")
  Re: Should I still be running xfs? (Steve Martin)
  Re: Sound Blaster 16 problems on SuSe linux 7.1 (Kevin Croxen)
  Re: RedHat 6.2 Kenel compiling ? (Steve Martin)
  Re: RedHat 7.1 install hangs after selecting installation type (Steve Martin)
  wich one ?? ("soD")
  Re: CAn someone help me with Rp3 or wvdial? (Steve Martin)
  Re: Modem trouble (Steve Martin)

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: lpr broken, instant error message
Date: Sun, 22 Apr 2001 10:19:04 +0200

Mike Knudsen <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>, "Peter T. Breuer"
> <[EMAIL PROTECTED]> writes:
> attachment).  Supposedly in a month I'll be getting a newer machine with RH
> 7.0, installed and configured by "expert" friends.  I do want to understand

RH 7.0 is not in my opinion a good choice. It's nonstandard, and buggy.
You might prefer SuSE or Debian or Slackware.

> this stuff better for when it breaks, though, especially since my "friends" are
> going to stick me with Samba and CUPS.

CUPS and lprng are still incoprehensible to me. I prefer bsd lpd and lpr.

Installpkg is part of slackwares package management system. It's very
current and very convenient.

> Hmmm.  I've been wondering what the resolution available is with the msleep()
> call, which takes microsecond arguments.  I'm porting my music composer program
> from a true real-time OS that supported 5 ms resolution.  Obviously well over
> Linux's head, or is it?

The default scheduler resolution is 10ms. You can change the HZ in the
kernel and recompile to give  yourself finer resolution. If you really
want to use the rtc you'll have to go to a real-time linux variant.

>>I don't really see how you managed to install lpd, since that should
>>have been in the tcp.tgz package, no?
> Or in a printer tarball?  No idea where it came from on the 4-CDROM set, but I

It should have come from tcpip.tgz. lpr comes from lpr.tgz. It looks as
though you installed one but not the other?

> do have lpd.  I can start it but it exits quietly within a second -- probably
> senses no TCP/IP.

Run it under strace to see what it does. It should also be complaining
away at you in the syslog if anything is wrong, so take a look! BTW,
the normal and correct behaviour of lpd is to "exit quietly". At least
that's what it looks like to you, since it will fork and detatch from
the terminal, and generally "go daemon". This is what it does:

  pebbles:/usr/oboe/ptb% sudo /usr/sbin/lpd
  pebbles:/usr/oboe/ptb% 

(i.e. nothing, but it's now running in background). You should be able
to see what goes on in syslog ...

  pebbles:/usr/oboe/ptb% tail /var/log/syslog
  Apr 22 10:17:04 pebbles lpd[7059]: /usr/spool/lpd/lp1: No such file or directory

Wups :-). OK, fixed. That's better.

> I think I understand now how lpr and lpd eveolved.  Someone already had a
> network of workstations, and wanted to share a printer, so lpr began in a
> network environment.  For us home users, the printer comes first, so we get
> upset over lpr needing TCP/IP.  Has someone written a non-networked print
> server?

> Thanks for all your help.  If I can just installpkg the missing components, and
> they will dynamically load as needed, then it's "just" a matter of setting up
> /etc/hosts and friends.  --Mike K.

Peter

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: minimum install help
Date: Sun, 22 Apr 2001 10:22:52 +0200

Stanislaw Flatto <[EMAIL PROTECTED]> wrote:


> earl yuzik wrote:

>> I have redhat 7 on my machine now.  I want to have a minimum installation
>> for what I need which would be a basic kde package, without the toys games
>> and gimmicks.  I have heard it is possible to install linux with x in as
>> little as 80 megs.  Is this true.  How would I go about getting a basic
>> install that I could build into the system with the packages that I want.
>>
>> any help would be welcome

> On 80M hard disk better forget X. Even text based console may have problems as

Hey, I have X and compilers and so on in 80MB! A 486sx50 with 8MB ram.

> modern programs like wide spaces. You have to allocate something for swap too.

Umm .. a fully equipped / will come to about 16MB. /usr can be about
another 30MB and that's heavyweight (don't use emacs :-). /usr/X11R6 can be
about  another 30MB.

> If you are a newcomer to our congregation get some experience and then try
> again.

As a newbie, he should just do a minimal install of some standard
distro. Debian and slackware will take up about 40MB at minimum.

Petre

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

From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Any way to set up Linux so that changing the IDE channel of the HD 
doesn't require surgery?
Date: Sun, 22 Apr 2001 10:24:54 +0200

Lucius Chiaraviglio <[EMAIL PROTECTED]> wrote:
> I would like to know how to prepare a Linux installation so that if the hard
> drive is moved from the primary IDE channel to the secondary IDE channel
> doesn't require surgery to re-enable the operating system.  The reason for

Nothings required except editing fstab and lilo.conf once you're done
with the move (and rerunning lilo).

Peter

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

From: Dougie Richardson <[EMAIL PROTECTED]>
Crossposted-To: 
alt.linux,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.redhat
Subject: Re: Modem trouble
Date: Sun, 22 Apr 2001 10:52:17 +0100

Mark Bratcher wrote:

> Anyway, I think the Rockwell chip set _might_ be for a Windows-modem
> (winmodem). In other words, all signal processing functions are performed
> on the PC's driver for the OS. Windows OS driver model uses "special"
> drivers for devices like this in which the complexity of the device is
> programmed into the driver.

The rockwell chipset is a winmodem and is not supported by Linux as 
rockwell won't divulge the details - winmodems using the Lucent chipset and 
a couple of others are supported however - take a look at: 
http://linmodems.org for more information.
Dougie Richardson      //================================
                               //                 
[EMAIL PROTECTED]
=================//                http://www.incarnate.uklinux.net

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

From: Peter Forsberg <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat
Subject: RedHat 7.1 install hangs after selecting installation type
Date: Sun, 22 Apr 2001 11:59:54 +0200

Hi,
  I'm trying to install 7.1 (final, not beta) by booting from CD1.
Everything moves along just fine until after I have selected
installation type (Custom) and pressed Next. At this point the CD light
goes on and everything else seems to hang, the  machine freezes. Even
the mouse pointer does not move.

I have tried different alternatives: graphical, non-graphical and expert
modes. I have also tried both Custom and Upgrade installation types, all
with the same result. 

I tried to disconnect my USB hub and all USB devices, but it made no
difference.

I have previously installed several Redhat versions (5.0, 5.2, 6.0, 6.1
and 7.0) on the same machine without any problems.

Has anyone else seen the same behavior, and hopefully resolved the
problem?

Does anyone know what the install process does right after selecting
installation type? Maybe it could give a hint to what goes wrong.

Thanks in advance for any help!

(this was also posted to the seawolf mail list at Redhat, see
https://listman.redhat.com/mailman/listinfo/seawolf-list )

Best regards,
  Peter Forsberg

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

From: jtnews <[EMAIL PROTECTED]>
Crossposted-To: linux.redhat.install,linux.redhat
Subject: Re: RedHat 7.1 install hangs after selecting installation type
Date: Sun, 22 Apr 2001 10:16:04 GMT

Do you get a list of all the packages
to install after selecting Custom
and pressing Next?

I used graphical mode and it worked fine.

One problem I had was that some ftp
sites have corrupted rpm's.  So that
the installation process would abort
unexpectedly a short while after beginning
to install packages.

You can use

 gpg --import RPM-GPG-KEY
 rpm --checksig *.rpm

to check all your rpms.


Peter Forsberg wrote:
> 
> Hi,
>   I'm trying to install 7.1 (final, not beta) by booting from CD1.
> Everything moves along just fine until after I have selected
> installation type (Custom) and pressed Next. At this point the CD light
> goes on and everything else seems to hang, the  machine freezes. Even
> the mouse pointer does not move.
> 
> I have tried different alternatives: graphical, non-graphical and expert
> modes. I have also tried both Custom and Upgrade installation types, all
> with the same result.
> 
> I tried to disconnect my USB hub and all USB devices, but it made no
> difference.
> 
> I have previously installed several Redhat versions (5.0, 5.2, 6.0, 6.1
> and 7.0) on the same machine without any problems.
> 
> Has anyone else seen the same behavior, and hopefully resolved the
> problem?
> 
> Does anyone know what the install process does right after selecting
> installation type? Maybe it could give a hint to what goes wrong.
> 
> Thanks in advance for any help!
> 
> (this was also posted to the seawolf mail list at Redhat, see
> https://listman.redhat.com/mailman/listinfo/seawolf-list )
> 
> Best regards,
>   Peter Forsberg

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

From: "Bo" <[EMAIL PROTECTED]>
Subject: Re: RedHat 6.2 Kenel compiling ?
Date: Sun, 22 Apr 2001 11:39:24 +0200

# cd /usr/src/linux
# make xconfig
# make dep;make clean; make zImage; make modules; make modules_install

This olways come back with Error code 2.
Do I have to use bzImage instead zImage?

Steve Martin <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Bo wrote:
> >
> > I try to compiling kernel on RedHat linux 6.2 but with no success.
> > I did everything by the book and still nothing happen.
> > Can anyone help me with this?
>
> I'm sure someone will try, but we need a little more information.
> Exactly what happens when you try? What error messages do you
> get? How are you trying to compile the kernel?



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

From: "Anonymous" <[EMAIL PROTECTED]>
Subject: Sendmail doesnot work
Date: Sun, 22 Apr 2001 11:32:51 GMT


[root@e89108 mail]# telnet 192.168.0.1 25
Trying 192.168.0.1...
telnet: Unable to connect to remote host: Connection refused
[root@e89108 mail]# telnet 127.0.0.1 25
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
220 e89108.upc-e.chello.nl ESMTP Sendmail 8.11.2/8.11.2; Sat, 21 Apr 2001
17:33:11 GMT

As you see, I try to run a smtp-server, but the sendmail deamon only accept
connections from localhost. Perhaps I need to modify a conf-file. I thought
I adjusted everything ok.... My firewall is configured well, it accept
connections from eveywhere on port 25. Nevertheless is does not work.

Who can help me?





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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: rp3 dialer Problem RH7.0 Kernel 2.4.2 no modules, Monolithic!
Date: Sun, 22 Apr 2001 04:39:41 -0400

Emu wrote:

> make connections with the modem?  Is rp3 dialer broken in Red Hat 7.0?

I found it to be so... perhaps someone else out there could enlighten.
This is one of the reasons I bailed on 7.0 and went back to 6.2,
which gives me a whole lot less trouble.

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

From: "Anonymous" <[EMAIL PROTECTED]>
Subject: anonymous can not upload, please help...
Date: Sun, 22 Apr 2001 11:36:34 GMT


I try to run a ftp-server where anonymous can upload in /upload, and can
make 1 subdirectory.

My /etc/ftpaccess:
#This file controls the behavior of the wu-ftpd
# ftp server.
#
# If you're looking for a graphical frontend to
# editing it, try kwuftpd from the kdeadmin
# package.

# Don't allow system accounts to log in over ftp
deny-uid %-99 %65534-
deny-gid %-99 %65534-
allow-uid ftp
allow-gid ftp

# The ftpchroot group doesn't exist by default, this
# entry is just supplied as an example.
# To chroot a user, modify the line below or create
# the ftpchroot group and add the user to it.
#
# You will need to setup the required applications
# and libraries in the root directory (set using
# guest-root).
#
# Look at the anonftp package for the files you'll need.
guestgroup ftpchrool

# User classes...
class all real,guest,anonymous *
class anonftp anonymous *

# Set this to your email address
email [EMAIL PROTECTED]

# Allow 2 mistyped passwords
loginfails 2

# Notify the users of README files at login and when
# changing to a different directory
readme README* login
readme README* cwd=*

# Messages displayed to the user
message /welcome.msg login
message .message cwd=*
# Allow on-the-fly compression and tarring
compress yes all
tar yes all

# Prevent anonymous users (and partially guest users)
# from executing dangerous commands
chmod no guest,anonymous
delete no anonymous
overwrite no anonymous
rename no anonymous

# Turn on logging to /var/log/xferlog
log transfers anonymous,guest,real inbound,outbound

# If /etc/shutmsg exists, don't allow logins
# see ftpshut man page
shutdown /etc/shutmsg

# Ask users to use their email address as anonymous
# password
passwd-check rfc822 warn

upload /var/ftp /upload yes ftpadmin ftpadmin 0444 dirs 3777
upload /var/ftp /upload/* yes ftpadmin ftpadmin 0444 nodirs


====================
As you see: ftpadmin is the administrator for the ftp-server, he is added in
/etc/passwd as: ftpadmin:x:502:502::/var/ftp:/bin/bash

The permissions for the maps in /var/ftp:

[root@e89108 ftp]# ls -l
total 20
d--x--x--x 2 root root 4096 Apr 16 23:33 bin
d--x--x--x 2 root root 4096 Apr 16 23:33 etc
drwxr-xr-x 2 root root 4096 Apr 16 23:33 lib
drwxr-sr-x 3 root ftp 4096 Apr 20 21:43 pub
drwxrwxrwx 2 ftpadmin ftpadmin 4096 Apr 20 21:31 upload

Still it does not work (you can try it: ftp://213.93.89.108 )
(btw: there is not any interesting yet, sorry)

Why doesnot it work??

Thanks for your help.



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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: What kind of Fontpath is unix/:-1 ?
Date: Sun, 22 Apr 2001 04:45:23 -0400

John Scudder wrote:
> 
> What is the Fontpath "unix/:-1" all about in the Linux Mandrake file
> "/etc/X11/XF86Config-4" ?  The file "/etc/X11/fs/config" lists the
> actual Fontpaths apparently.

This line merely instructs the X server to access your local font
server rather than (or in addition to) the fonts listed in the
XF86Config file. If you're running xfs (the X font server), then the
X server will query the font server for font data.

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

From: "Anonymous" <[EMAIL PROTECTED]>
Subject: Re: Create ext2 Partition from Windows
Date: Sun, 22 Apr 2001 11:41:35 GMT


Partition Magic Pro 6.0 can do this.

"Lucius Chiaraviglio" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]...
> "Eric" <[EMAIL PROTECTED]> wrote:
> >> I created an image file, but all of the implementations of rawrite I've
> >> found so far do not allow me to write to anything but floppies.  I have
> >> been thinking about researching GNU Parted to see if it would work.  Do
> >> you know of any rawrite or similar utilities that will write to disks
> >> other than floppies?
> >
> >I really don't know.
> >Perhaps a DOS version of dd exists?
> >I kind of assumed that rawrite would let you select the device to write
too.
>
> On http://uranus.it.swin.edu.au/~jn/linux/explore2fs.htm, creating an ext2
> system is in the list of features to add in the future.  Check back there
> later, and you may be in luck (if you can wait).
>
> --
> Lucius Chiaraviglio
> New e-mail address is approximately:  [EMAIL PROTECTED]
> To get the exact address:                         ^^^^^^^^^^^^^^^^^
> Replace indicated characters with common 4-letter word meaning the same
thing
> and remove underscores (Spambots of Doom, take that!).



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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: Should I still be running xfs?
Date: Sun, 22 Apr 2001 04:48:03 -0400

John Scudder wrote:
> 
> With the original install of Linux Mandrake 7.2, xfs is run at boot.
> Now that I have upgraded to XFree86 4.0.3 I am supposed to load the
> module "Freetype". The docs say freetype and xtt can't run at the same
> time, how about freetype and xfs?  Do I need to turn off the automatic
> loading of xfs at boot?
> 
> When I turned off xfs, X would not start up.

Leave xfs running, won't hurt and (apparently) it's essential
to your X setup. I'm surprised that X wouldn't start, though..
do you have any other fonts listed in the FontPath section
other than the reference to the font server? If not, and you've
killed the font server, then X will have no fonts at all to work
with, and yes, it'll die.

If you don't want to run the font server, then you need some
FontPath entries. I'm not knowledgeable enough about the font
server to know why it's preferable to just hard-coding the
FontPath entries, maybe someone else can enlighten?

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

From: [EMAIL PROTECTED] (Kevin Croxen)
Subject: Re: Sound Blaster 16 problems on SuSe linux 7.1
Reply-To: [EMAIL PROTECTED]
Date: Sun, 22 Apr 2001 11:45:20 GMT

As root, issue "modprobe sb" This should load the sb driver until the next
boot. Assuming the results are satisfactory, as root add the above command
as the last line in the file /sbin/init.d/boot.local

--Kevin



On Sat, 21 Apr 2001 16:22:54 -0700, E. Carrillo
 <[EMAIL PROTECTED]> wrote:
>I have a sound blaster 16 ISA card which works fine under windows, but I
>can't make it work properly on linux.  The card does work the first time I
>boot the system right after the linux installation. But as soon as I restart
>the system the sound stops working.  During the boot up process I see a line
>that says something like "initializing snd-card-sb16" and "Done" on the
>right side of the screen with green letters.  If I try using the YaSt 2
>setup program it recognizes the card, but during the sound test there is no
>sound. It supposedly starts ALSA during the boot up process but that doesn't
>seem to do any good.  I'm a total newbie to this linux world so if you can
>help me please be as descriptive as you can. Thank you in advance.
>
>

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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: RedHat 6.2 Kenel compiling ?
Date: Sun, 22 Apr 2001 04:54:32 -0400

Bo wrote:
> 
> # cd /usr/src/linux
> # make xconfig
> # make dep;make clean; make zImage; make modules; make modules_install
> 
> This olways come back with Error code 2.
> Do I have to use bzImage instead zImage?

I think so... the kernel image is (if I'm not mistaken)
loaded in the processor's real mode, which means it needs to
be small enough to fit under 1 megabyte. I think the size
of the kernel has grown to the point where the larger
compression of bzip2 is needed.

Try doing the last three steps (make bzImage, make modules,
make modules_install) separately instead of on the same
command line; that way, we can tell which is blowing up.

By the way, after "make bzImage" (once all this is working),
you'll need to copy the image to your boot partition and
set LILO to point to it.

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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: linux.redhat.install,linux.redhat
Subject: Re: RedHat 7.1 install hangs after selecting installation type
Date: Sun, 22 Apr 2001 04:56:18 -0400

Peter Forsberg wrote:

>   I'm trying to install 7.1 (final, not beta) by booting from CD1.
> Everything moves along just fine until after I have selected
> installation type (Custom) and pressed Next. At this point the CD light
> goes on and everything else seems to hang, the  machine freezes. Even
> the mouse pointer does not move.

I had almost the same thing happen to me trying to
install RH7.0 on a system at work... in my case,
it turned out that I had developed a bad SCSI
controller. Perhaps you have a hardware problem that's
just now rearing its ugly head.

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

From: "soD" <tol106[nospam]@wanadoo.nl>
Subject: wich one ??
Date: Sun, 22 Apr 2001 13:57:34 +0200

want to install a linux os on a small 60Mhz, 16 MB machine.
only to router a cable (PPPoE) connection to two other windoz machines.

wich small, easy linux can i use ????

thx

--




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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Re: CAn someone help me with Rp3 or wvdial?
Date: Sun, 22 Apr 2001 04:58:58 -0400

Emu wrote:

> pppd 2.3.11 started by root, uid 0
> ioctl(PPPIOCGFLAGS): Invalid argument
> tcsetattr: Invalid argument
> Exit.
> 
> HELP!!
> 
> Runnind Red hat 7.0 with monolithic kernel 2.4.2.  Only module running is
> for 1480 Adaptec slim SCSI Card Bus Card.

I think I know the problem. The pppd you're running isn't compatible
with the kernel.

Check out the Changes file under the kernel source Documentation
directory. There are a bunch of things that need to be checked
and/or upgraded when going to a 2.4-series kernel; PPPD is one of them.
It needs to be at least version 2.4 to work.

Read the Changes file; that's gospel.

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

From: Steve Martin <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Crossposted-To: 
alt.linux,comp.os.linux.hardware,comp.os.linux.help,comp.os.linux.redhat
Subject: Re: Modem trouble
Date: Sun, 22 Apr 2001 05:01:18 -0400

Keith Mastin wrote:
> 
> Its a winmodem. Remove the modem. Get a hammer. Hit the modem. Hit it
> again. It not a real modem. Go to the linmodem site, which has some
> drivers for one or two winmodems. Mostly, I'de say that you're sol. Get a real modem,
> but first check the linux_hardware_compatability_howto at linuxdoc.org.

I'm a little confused. I know about the issues with winmodems and
understand
why they're a problem. However, Krstanovic states that this modem worked
under
DOS; doesn't that mean it's *not* a winmodem??

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


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