Linux-Setup Digest #311, Volume #20              Sat, 30 Dec 00 12:13:09 EST

Contents:
  initlog.conf (Fokkema DBRA)
  Transparent proxy? (Fokkema DBRA)
  Re: Apache Web Server Help ("Peter Tselios")
  PANIC! Cannot see anything after install! (RH6.2) (Bo Berglund)
  Red Hat 7.0 Extremely Slow (Robert Morelli)
  question_on_Linux_and_Windows98 (Peteris Daugulis)
  Linux Networking Problem ("david conner")
  Re: Dialup as backup (Eric Ho)
  Networking with Linux ("david conner")
  Re: removing mouse causes Linux to crash/hang. kernel 2.4 (Kasper Dupont)
  Curing LIL? ([EMAIL PROTECTED])
  Curing LIL? ([EMAIL PROTECTED])
  Re: Apache Web Server Help (macrospy)
  Adaptec AVA-2904 support (Gotzon Berrojalbiz)
  Re: Apache Web Server Help (Michael Heiming)
  Re: Slackware Trouble (B'ichela)

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

From: Fokkema DBRA <[EMAIL PROTECTED]>
Subject: initlog.conf
Date: 30 Dec 2000 12:32:10 GMT


Hi there!

I have a  network connection with my brother and he has a Windows box
and shares his hard drives using SMB. I connect to them at boot time.
Sometimes his computer is powered down and I get error messages that
the connection could not be made. I use RedHat 7.0 and I don't need
the error messages, since the boot scripts report with [ OK ] or 
[ FAILED ]. That's all I need. I inspected the boot scripts and, if I'm
correct, initlog is used to log the output of the commands (in this
case, `mount') and can be instructed to ignore output using the config
file /etc/initlog.conf. I'm afraid I don't really know what to do with
those regular expressions. I want to ignore lines like `SMB connection
failed' and 'Could not connect to elim'. How do I do this? Any help
would be appreciated.

Thanx in advance,

David Fokkema

PS: Happy New Year

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

From: Fokkema DBRA <[EMAIL PROTECTED]>
Subject: Transparent proxy?
Date: 30 Dec 2000 12:31:30 GMT


Hi there!

I have a network connection with my brother in the next room, and he
has a modem in his computer. Of course it would be nice to share the
internet connection, so I installed a proxy server on his system (I'm
afraid it is a Windows machine) and pointed my browser to this server.
I also set up a telnet and ftp gateway. It irritates me though that I
have to telnet to his box before I can access other machines on the
internet. To check on my mail, I have to make use of the pop gateway
which results in doing things like username#popserver@proxybox. To do
this once is not really a problem, but occasionally I take my computer
(it's a laptop) with me and plug it in at the university which has a
direct connection (at least it's transparent, but that maybe doesn't
say that much) so I have to re-edit everything. It's not that much of
work, of course, but I'd really like to set up a transparent connection
to the internet at home as well. I thought of setting up squid as a
proxy server on my own box, directing it to use the proxy server at my
brother's box, and of using ipchains to transparently redirect all
connections to the internet to squid. I have not finished my
configuration yet, but I've been led to believe that I won't be able
to telnet and ftp directly to locations on the internet. What I really
just want is to lead (all) my applications into believing that I have a
direct connection to the internet. Can anyone help, please?

Thanx in advance,

David Fokkema

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

From: "Peter Tselios" <[EMAIL PROTECTED]>
Subject: Re: Apache Web Server Help
Date: Sat, 30 Dec 2000 15:19:09 +0200

Depents!!
The most common setup is "chmod ugo+rx /home/the_user/public_html".
Do not forget to chmod to chmod ugo+rx /home/the_user too!
In the http.conf there is an example of how to setup apache in order to get
read-only directories.

Cheers,
Peter
"It's interesting to note that one of the main reasons for writing the first
Unix kernel was to get better interactive performance from the computer to
play a game called Space Travel."


"daemonX" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Michael,
>
> Sorry it did not work...how do you set the permissions ?
>
> Thanks.
>
> Regards,
> Norbert.
>



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

From: [EMAIL PROTECTED] (Bo Berglund)
Crossposted-To: comp.os.linux.misc,comp.os.linux.help
Subject: PANIC! Cannot see anything after install! (RH6.2)
Reply-To: [EMAIL PROTECTED]
Date: Sat, 30 Dec 2000 13:52:27 GMT

I am completely stumped by this:
Installed RH6.2 on a PC that previously was running RH5.1, but with
new disk, all other hardware the same. Video is a Trio S3 on teh
motherboard.

Used the graphic installation and specified KDE Workstation.

After all was completed the system restarted and during that there was
a brief show of a character based login. But before I was done typing
in the login the screen disappeared completely into a black
nothingness!
Can't do anything here. Except I tried to login blindly by first
typing root then TAB then the root password. This started some
activity showing the system somehow is acting 'normally' except
nothing is displayed!

Tried to redo the installation as an 'Upgrade' (Why is there no
'repair' option?) to preserve what I did before, but no good - still
the black screen.

Why does the screen disappear, there is a perfectly good graphics
screen shown during the setup sequence???


Bo Berglund
[EMAIL PROTECTED]

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

Date: Sat, 30 Dec 2000 07:26:44 -0500
From: Robert Morelli <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Subject: Red Hat 7.0 Extremely Slow

I just installed Red Hat 7.0 on a Pentium 166 laptop
with 64 Mb of ram and an 80 MB swap partition.  The 
system is functioning,  but it is extremely sluggish,  
as if the processor has been
set to low speed.  The slowness began already during
installation,  which took over three hours off an 8X 
CD-ROM.  The installed system takes well over 5 minutes
to boot,  the mouse moves jerkily,  windows redraw painfully
slowly,  etc.  I even get warning dialogs popping up stating
that this or that software is not responding (probably because 
the software is taking so long to run).

One clue is that if I reboot without shutting off the power,
the memory test on reboot runs very slowly.  Of course,
by this point,  linux is gone,  which suggests again that
RH 7.0 is switching the processor into a low speed mode.

The machine also has a Win95 partition and an OS/2 partition 
and these are still functioning normally.  That doesn't 
completely rule out a hardware problem,  but it does make it
less likely.

Is it possible that RH 7.0 is optimized for a Pentium II in such
a way that it suffers on an older processor,  or causes it to
slow itself down?  (In various places the OS reports that it is 
running on an i586.)

The software I installed was the very minimum necessary
to have networking,  internet,  and GNOME 1.2.  I 
understand that a linux system generally requires more
ram and runs more slowly than a comparable Windows or
OS/2 system.  However,  I don't think this alone can 
account for such a dramatic difference on this machine.
I'd really rather not catapult myself back into the
1980's by stripping out GNOME and recompiling the kernel
to remove functionality and such.  A P166 with 64MB ram may 
not be a supercomputer,  but it should be sufficient to run a 
basic OS,  even a pokey one.  (I know, I know -- go tell that 
to the Win2000 team.)

Any help much appreciated.

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

From: Peteris Daugulis <[EMAIL PROTECTED]>
Subject: question_on_Linux_and_Windows98
Date: Sat, 30 Dec 2000 17:00:39 +0200

Can anyone help me with providing links to detailed manuals about
installing Linux on an Intel Celeron while preserving a Windows 98 file
system on a part of the hard drive and being able to switch between
Windows 98 and Linux?

My problem is that I want to install Linux on my Intel Celeron which
currently runs under Windows 98 and interchangingly use Linux and
Windows (and do not have too much time to learn how to do it myself )

Please respond to [EMAIL PROTECTED]

Thanks in advance and Happy New Year to anyone who reads this!

Peter


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

From: "david conner" <[EMAIL PROTECTED]>
Subject: Linux Networking Problem
Date: Sat, 30 Dec 2000 14:47:19 GMT

Hello,
I just installed Red Hat 7 (I downloaded it) and I don't know how to let it
access the network. I duel boot with Windows 98 so I printed out all that
winipcfg would tell me about the network. In Linux, I don't know what to
fill out and where to fill out this information in netconf. I called Red
Hat, but they weren't much help. I am using a Cable Internet connection, but
I am on a Network under that... so the cable probably doesn't mean anything.
Thanks in advance to all who answer... my email address is
[EMAIL PROTECTED], so if you know what to do, you can email me.
Regards,
Andrew Conner
[EMAIL PROTECTED]




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

From: Eric Ho <[EMAIL PROTECTED]>
Subject: Re: Dialup as backup
Date: 30 Dec 2000 15:11:31 GMT

I tried that already, but every time when pppd starts, the connection
drops :(

Best Regards,
Eric Ho

E J <[EMAIL PROTECTED]> wrote:
: My ISP gives ADSL with 5 hours per month for dialup.
: When eth0 is brought up and comes up FAILED, my ADSL is down.
: I use kppp or rh ppp dialer to dial up my ISP.

: Eric Ho wrote:

:> Hi,
:>
:> I am currently using a ADSL connection, but it is not too stable.
:> How can I use my 56K modem line as a backup ?
:> If the ADSL goes down, the 56K modem can switch over, then that
:> is perfect, but I don't mind switching it manually.
:>
:> Could someone tell me what I need to do to make this happen ?
:>
:> Best Regards,
:> Eric Ho


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

From: "david conner" <[EMAIL PROTECTED]>
Subject: Networking with Linux
Date: Sat, 30 Dec 2000 15:07:43 GMT

Hello,
I just installed Red Hat 7 (I downloaded it) and I don't know how to let it
access the network. I duel boot with Windows 98 so I printed out all that
winipcfg would tell me about the network. In Linux, I don't know what to
fill out and where to fill out this information in netconf. I called Red
Hat, but they weren't much help. So basicly, I need to know how to setup a
peer to peer network with RedHat Linux 7 and Windows 98. I alreday have the
network going with 2 other computers, so I know the network works... just I
don't know how to make Linux work the way I want. I am using a Cable
Internet connection, but I am on a Network under that... so the cable
probably doesn't mean anything. Thanks in advance to all who answer... my
email address is [EMAIL PROTECTED], so if you know what to do, you can
email me.
Regards,
Andrew Conner
[EMAIL PROTECTED]




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

From: Kasper Dupont <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system
Subject: Re: removing mouse causes Linux to crash/hang. kernel 2.4
Date: Sat, 30 Dec 2000 15:26:20 +0000

Robert Redelmeier wrote:
> 
> > linux 2.4.0-test7 #3 SMP
> >
> > I found out that, if I remove the cable of the mouse from the
> > back of the PC, linux hangs. had to reboot. this happens everytime.
> 
> PS/2 or serial mouse?  PS/2 is not hot [un]pluggable and I'd
> expect a hang if not hardware damage from hot unplugging.
> AFAIK, RS232 serial ports are designed for hot-plugging and
> shouldn't suffer.
> 
> -- Robert

I have a PS/2 mouse and a PS/2 keyboard and
run Linux 2.2.x. I can hot [un]plug both 
without any major problems.

I have to make a single switch between X
and textmode before the mouse works again.

Fidling with keyboard cable does cause some
ghost keypresses. And the keyboard will not
remember its internal state lake leds. I 
found that the keyboard driver used under
DOS detects the keyboard being pluged in
makes a beep and updates the keyboards
state.

But if this should not be possible why is
it that DOS supports it?

-- 
Kasper Dupont

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

From: [EMAIL PROTECTED]
Subject: Curing LIL?
Date: Sat, 30 Dec 2000 15:29:55 GMT

if you have an NT bootloader, you may need to copy the new boot image
across to the NT partition in a file called "boot.ini".

So, whenever you run /sbin/lilo, you need to copy the first 512 bytes
of the partition onto a floppy using a command like that below:

   dd if=/dev/hda5 of=/mnt/floppy/boot.lnx bs=512 count=1

assuming linux is on /dev/hda5 and that the floppy is mounted
on /mnt/floppy. You can then copy this image from the floppy to the NT
partition, and reference the linux image in the boot.ini file.

HTH,

   --ibs






Sent via Deja.com
http://www.deja.com/

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

From: [EMAIL PROTECTED]
Subject: Curing LIL?
Date: Sat, 30 Dec 2000 15:30:13 GMT

if you have an NT bootloader, you may need to copy the new boot image
across to the NT partition in a file called "boot.ini".

So, whenever you run /sbin/lilo, you need to copy the first 512 bytes
of the partition onto a floppy using a command like that below:

   dd if=/dev/hda5 of=/mnt/floppy/boot.lnx bs=512 count=1

assuming linux is on /dev/hda5 and that the floppy is mounted
on /mnt/floppy. You can then copy this image from the floppy to the NT
partition, and reference the linux image in the boot.ini file.

HTH,

   --ibs






Sent via Deja.com
http://www.deja.com/

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

From: macrospy <[EMAIL PROTECTED]>
Subject: Re: Apache Web Server Help
Date: Sun, 31 Dec 2000 00:00:44 +0800

Thanks Peter for the reply, I also notice in the error log  is pointing to
/home/httpd/html/home/user/public_html when I use this URL
http://localhost/~user instead to /home/user/public_html with the error message
"access denied".

I have set in httpd.conf - UserDir public_html and I thought if I do this -
http://localhost/~user it should look for the index.html in
/home/user/public_html.

Thanks.

Regards,
Norbert.

Peter Tselios wrote:

> Depents!!
> The most common setup is "chmod ugo+rx /home/the_user/public_html".
> Do not forget to chmod to chmod ugo+rx /home/the_user too!
> In the http.conf there is an example of how to setup apache in order to get
> read-only directories.
>
> Cheers,
> Peter
> "It's interesting to note that one of the main reasons for writing the first
> Unix kernel was to get better interactive performance from the computer to
> play a game called Space Travel."
>
> "daemonX" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Michael,
> >
> > Sorry it did not work...how do you set the permissions ?
> >
> > Thanks.
> >
> > Regards,
> > Norbert.
> >


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

From: Gotzon Berrojalbiz <[EMAIL PROTECTED]>
Crossposted-To: 
alt.os.linux,comp.os.linux.hardware,comp.os.linux.misc,linux.debian.user
Subject: Adaptec AVA-2904 support
Date: Sat, 30 Dec 2000 16:44:49 +0100

I'm trying to setup this scsi pci card and I hope somebody correct me if
I'm going wrong somewhere.
These are the Kernel Options:
- SCSI SUPPORT
- SCSI GENERIC SUPPORT
- SCSI LOW LEVEL -> ADAPTEC AIC7XXX
Is this OK ? Do I have to add any parameter to lilo.conf ?

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

Date: Sat, 30 Dec 2000 17:01:42 +0100
From: Michael Heiming <[EMAIL PROTECTED]>
Subject: Re: Apache Web Server Help

daemonX wrote:

> Michael,
>
> Sorry it did not work...how do you set the permissions ?
>
> Thanks.
>
> Regards,
> Norbert.

Hello,

yes 755 is the way to go as Peter Tselios mentioned.

Don't forget these settings in your httpd.conf if they are not yet there
(asuming the userdir_module is
compiled in your apache, if not compile it new, or handle it with
mod_rewrite, you can do the same with it):

LoadModule userdir_module     /usr/lib/apache/mod_userdir.so

AddModule mod_userdir.c

#
# UserDir: The name of the directory which is appended onto a user's
home
# directory if a ~user request is received.
#

<IfModule mod_userdir.c>
    UserDir public_html
</IfModule>

For further info www.apache.org

Good luck

Michael Heiming

P.S. If you're doing much with apache, get a good book about it, I have
the "Apache Web-Server" mitp
from Lars Eilebrecht, it's in german but I think it's also available in
english....



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

From: [EMAIL PROTECTED] (B'ichela)
Subject: Re: Slackware Trouble
Date: Sat, 30 Dec 2000 11:30:40 -0500
Reply-To: [EMAIL PROTECTED]

On Sat, 30 Dec 2000 11:56:22 GMT, LenBum <[EMAIL PROTECTED]> wrote:
>For the past 2 weeks I've been trying to install
>Linux.................anyone of them. I've tried 4 or 5 versions and right
>now have installed Slackware on my Windows partition. The install went ok,
>going through set up and then installing the packages. I reboot and come to
>the login screen. I login and everything seems to be ok. But at the next
>prompt I type startx and the system seems to want to start but I get a fatal
>server error basically telling me it can't find device FB0. I checked my
>Linux files and there is such a file but has 0 bytes in it. I'm going to try
>to update the kernel next. I used the ata66.i to start with. Any other
>ideas? It's probably some kind of hardware conflict, but not know all that
>much about Linux, trying to troubleshoot is pretty complicated for me.
>Thanks
        Easily explained. You need to Configure Xfree86 first!  Thats
what XF86Config is for! or is it xf86config????? By default to  avoid
blowing up your monitors.  the Slackware Xfree86 is setup BROKEN! I
seem to  remember there is a graphical setup  program called xf86setup
as well (not sure of case). If you bought the distro with a book. the
manual should explain this configuration process.\
        the /dev directory is not normal files. these are special
files that identify devices. the first number is the major number for
the type of device for example...

crw-rw-rw-   1 root     tty        5,   0 Jul 17  1994 /dev/tty
crw-------   1 root     root       4,   0 Jul 17  1994 /dev/tty0
        these files above are for Character devices. Their major
numbers are 5 and 4 with minor number of both 0. The following are
some of the IDE devices for  this example

brw-r-----   1 root     disk       3,   1 Apr 27  1995 /dev/hda1
brw-r-----   1 root     disk       3,   2 Apr 27  1995 /dev/hda2
        these are Block devices (disks) notice that their Major
numbers are 3 with Minor numbers of 1 and 2.
        See the man page for mknod for more info on defining  devices.

        Back to the XF86Config issue. what I do is  cd to /etc  first
as root and type
xf86config
        this is the non gui version of the configuration too.  for my
computer using slackware 3.9 it worked better. You will need to know
the type of mouse, mouse port, videoo card, video card ram and the
monitor specifications. For getting started USUALLY spedifiying your
mouse type and port and selecting standard SVGA monitor and card will
get you up and running,  usually, you will most likely want to tweak
it a bit.  for that you can either modify the /etc/XF86Config file
by hand or try XF86Setup to make changes. When I try XF86Setup I
always found it more likely to create bad /etc/XF86Config files!

-- 

                        B'ichela


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


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