Linux-Setup Digest #718, Volume #20              Tue, 27 Feb 01 11:13:18 EST

Contents:
  Re: ipchains logging (Robert Davis)
  Re: Install linux on laptop with broken floppy? (Bj�rn Tore Sund)
  Re: How to install multiple distros (Rod Smith)
  Listing current kernel settings? (Neil Watson)
  VESA energy saver with a new 2.4.0 kernel? (Otto J. Makela)
  Re: Linux partitioning question (Rod Smith)
  Re: Need a laptop with multiple network configurations? (Julian Midgley)
  replacing freebsd with linux ("Chad Whitten")
  Re: Trouble connecting SCSI AIT drive (Joshua Baker-LePain)
  Re: 3com NIC Card ("Guillaume")
  Re: Fork a compile into the background ? (Paul Kimoto)
  How to Prevent Linux from Taking MBR? (Dino Hsu)
  kodak USB Driver=(none) (Francis Fillion)
  Re: Asus A7V + Promise ATA100 + RH7 ("Rake@Q3")

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

From: Robert Davis <[EMAIL PROTECTED]>
Subject: Re: ipchains logging
Date: Tue, 27 Feb 2001 08:21:57 -0500

I have this line in syslog.conf:
*.info;mail.none;news.none;authpriv.none        /var/log/messages

and I dont get any packets in my messages file. I have rh6.1

Roy B wrote:
> 
> by default, packet filter (ipchains) messages get logged to the
> /var/log/messages file (at least on RedHat7 they do.)  They have timestamps
> in the messages file.  The packet log files are kernel.info messages.
> 
> On my system I added the following to /etc/syslog.conf.  This causes the
> packet log messages to go to their own file /var/log/fw/ipchains.log.  There
> are a very few miscellaneous network related messages that also go to the
> ipchains.log file but not enough to be bothersome.
> 
> kern.=info
> /var/log/fw/ipchains.log
> 
> I also changed another line in syslog.conf so that the packet log messages
> would not be duplicated in /var/log/messages.  This line now reads:
> 
> *.info;kern.!=info;mail.none;news.none;authpriv.none    /var/log/messages
> 
> before I changed it it said:
> 
> *.info;mail.none;authpriv.none                         /var/log/messages
> 
> Hope this helps.
> 
> Roy
> 
> "Robert Davis" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]...
> > Seems there must be something I should do to syslog.conf . But I cant
> figure out the correct syntax.
> > I have:
> > kern.*    /var/log/kern
> > *.info;....          /var/log/messages
> >
> > I would think these messages are kernel msgs or something.
> >
> > thanks
> > bob
> >
> >
> > Robert Davis wrote:
> > >
> > > I have my firewall setup.
> > > I have logging on where I want it.
> > > The only way I can see the logging is by dmesg.
> > > Is there a way I can get this to be sent to a file?
> > > Also dmesg doesnt show any time. How do I get a timestamp.
> > > I have read the ipchains how-to and ipchains man but I cant seem to find
> this doc.
> > >
> > > thanks
> > > bob
> > >
> > > --
> > >         The phenomenon of UFO doesn't say anything about
> > >     the presence of intelligence in space.
> > >         It just shows how rare it is here on the earth.
> > >                                     A.C.Clarke
> > >
> > > email: mailto:[EMAIL PROTECTED]
> > >        mailto:[EMAIL PROTECTED]
> > >        mailto:[EMAIL PROTECTED]
> > > web:   http://people.ne.mediaone.net/rsdavis
> > >        http://rsdavis.ne.mediaone.net
> > > n42 58.476 w70 55.454
> >
> > --
> > The phenomenon of UFO doesn't say anything about
> >     the presence of intelligence in space.
> >   It just shows how rare it is here on the earth.
> >                                     A.C.Clarke
> >
> > email: mailto:[EMAIL PROTECTED]
> >        mailto:[EMAIL PROTECTED]
> >        mailto:[EMAIL PROTECTED]
> > web:   http://people.ne.mediaone.net/rsdavis
> >        http://rsdavis.ne.mediaone.net
> > n42 58.476 w70 55.454

-- 
==============
        The phenomenon of UFO doesn't say anything about
    the presence of intelligence in space.
        It just shows how rare it is here on the earth.
                                    A.C.Clarke

email: mailto:[EMAIL PROTECTED]
       mailto:[EMAIL PROTECTED]
       mailto:[EMAIL PROTECTED]
web:   http://people.ne.mediaone.net/rsdavis
       http://rsdavis.ne.mediaone.net
n42 58.476 w70 55.454

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

From: [EMAIL PROTECTED] (Bj�rn Tore Sund)
Subject: Re: Install linux on laptop with broken floppy?
Date: 27 Feb 2001 14:26:19 GMT
Reply-To: [EMAIL PROTECTED]

On 22 Feb 2001 19:29:24 GMT, [EMAIL PROTECTED] wrote:
>       I bought a laptop that had Windows NT 3.51 installed on it.  Now I 
> realize the floppy drive is broken.  I can download files under WinNT with 
> the modem.

Someone else suggested booting from cdrom.  Usually not an option
on older laptops.

The next question is _how_ broken the floppy drive is?  I've got a
laptop with a floppy drive that can't read/write to a couple of 
addresses on it.  I cannot boot from a SuSE floppy, Redhat is fine,
Mandrake works if I've created the floppy on the laptop.

But in the worst case...

>       I'm out of luck, aren't I, because the NT boot loader wants a 
> valid bootsector and I can't really provide one.  Loadlin won't work.  Is 
> there any way I can do this?  I was hoping I could somehow boot a linux 
> kernel and mount a ramdisk, then nfs mount with a NIC to my desktop to do 
> the install.

I'd put the hard drive into another laptop, install there, and
then move the hard drive back.  Think you can borrow someone
else's laptop?

Bj�rn
-- 
Bj�rn Tore Sund                  "When in fear, and when in doubt;
                                  Run in circles, scream and shout!"
[EMAIL PROTECTED]                            - Robert Heinlein

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

From: [EMAIL PROTECTED] (Rod Smith)
Crossposted-To: linux.debian.user
Subject: Re: How to install multiple distros
Date: Tue, 27 Feb 2001 14:36:14 -0000
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
        "Mark L. Kahnt" <[EMAIL PROTECTED]> writes:
> 
> I'm honestly not sure if /boot could be shared

I've done it. The main problem is that some of the LILO-related files,
like /boot/chain.b, may be for different versions. This means you may
only be able to run the lilo program from one distribution (LILO can
still boot both distributions, though; you can only INSTALL it from
one). I believe there was also some issue with the System.map file, but
IIRC I resolved that by using symbolic links to the System.map files in
the /usr/src/linux directory tree. I suppose a similar solution would
work for chain.b and other LILO files, but that would require mucking
with stuff installed via RPM or Debian packages.

On the whole, it's not worth the bother to share /boot. That partition,
if it's separate at all, is so small that it's not worth the hassle. The
only reason I can think of to try it would be if you somehow need
primary partitions for both distributions' /boot partitions, and you're
running out of them.

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

From: Neil Watson <[EMAIL PROTECTED]>
Subject: Listing current kernel settings?
Date: Tue, 27 Feb 2001 14:38:31 GMT

Hello everyone,

If I begin using a system for which I don't know the history is there a way 
for me to list the current settings of the kernel?

Thanks,
-- 
Neil Watson
http://webhome.idirect.com/~neilw

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

Crossposted-To: 
sfnet.atk.linux,comp.os.linux.hardware,comp.os.linux.misc,alt.os.linux.redhat,redhat.config,comp.os.linux.x
Subject: VESA energy saver with a new 2.4.0 kernel?
From: [EMAIL PROTECTED] (Otto J. Makela)
Date: Tue, 27 Feb 2001 14:44:50 GMT

I assume the whole logic behind the VESA energy saving system has
changed, or something, because the settings in XF86Config-4 which
worked well with a older kernel no longer (with a hand-compiled 2.4.0)
switch my monitor to energy saving from the gdm login screen, nor does
the Gnome screen saver ever switch over to energy saving mode though
it has been set to do so.  This is a RH7.0 system with XFree86 4.0.1,
the old kernel was the 2.2.16-22 that came with the system.

I got a report of a similar problem from another user, and then again,
someone else told me that it works just fine for him.

How should I proceed to figure out what's wrong?
-- 
   /* * * Otto J. Makela <[EMAIL PROTECTED]> * * * * * * * * * * * * * * * */
  /* Phone: +358 40 765 5772, FAX: +358 42 7655772, ICBM: 60N 25E */
 /* Mail: Mechelininkatu 26 B 27,  FIN-00100  Helsinki,  FINLAND */
/* * * Computers Rule 01001111 01001011 * * * * * * * * * * * * */

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

From: [EMAIL PROTECTED] (Rod Smith)
Crossposted-To: comp.os.linux.misc,comp.os.linux.hardware
Subject: Re: Linux partitioning question
Date: Tue, 27 Feb 2001 14:54:04 -0000
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>,
        Floyd Davidson <[EMAIL PROTECTED]> writes:
> [EMAIL PROTECTED] (Rod Smith) wrote:
>>Splitting off multiple partitions has several advantages, such as a
>>reduced chance of problems should a runaway process create a too-large
>>file and a reduced chance losing all your data in case of a filesystem
>>problem. IMHO, these are all dwarfed for new users by the near certainty
>>of getting partition sizes wrong, but those who know how big to make
>>their partitions may prefer to split things up.
> 
> Since SysV R3 (with symbolic links) it has been almost
> *impossible* to get the partition sizes wrong, and hence there
> is absolutely no need to readjust partitions sizes (which was
> indeed a *serious* admin consideration when installing a SysV R2
> UNIX).  Instead entire directories can be placed on other
> partitions and symlinked to any given location.

This is pretty ugly, IMHO, but it does of course work. Part of the
problem is that it cuts into the advantages of having multiple
partitions to begin with. For instance, suppose you normally mount
/usr/local read-only for security reasons, activating read/write access
only when you install a new package or upgrade a new one. When it runs
out of space and the only space left is on /home and link some
directories in /usr/local to somewhere in /home, you lose the read-only
nature of /usr/local for those files.

Furthermore, my objection to lots of filesystem splits is not for
experienced users, but for newbies. Will a newbie know the commands to
use to safely move these files? Probably not. A newbie with incomplete
instructions on doing this could easily produce a non-bootable system
and have to reinstall (or do SERIOUS maintenance, which this newbie
would also be unqualified to do).

-- 
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration

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

Subject: Re: Need a laptop with multiple network configurations?
From: [EMAIL PROTECTED] (Julian Midgley)
Date: Tue, 27 Feb 2001 15:07:37 GMT

In article <[EMAIL PROTECTED]>,
Mike Perry <[EMAIL PROTECTED]> wrote:
>Hi all-
>
>I take a laptop pretty much to every possible type of network setting.  At
>work, its dhcp managed; at home it could be wired ethernet or wireless.  On
>the road, its dialup ppp or fast ethernet in the room.  What used to get me
>down was the constant fiddling with networking to strike a happy balance. 
>Enter this little program called Netenv at netenv.sourceforge.net.  There
>are debian and rpm packages and tarballs.  You get a menu of options plus
>the ability add new ones.  The scripts behind it require only a minimum of
>setup.

If you are using a pcmcia network card, the standard pcmcia package
already provides a method of doing this for you.  You can configure
multiple network schemes in /etc/pcmcia/network.opts, and then use:

cardctl scheme <configname>

to switch between them.

Julian Midgley
-- 
Julian Midgley
Principal Consultant                    [EMAIL PROTECTED]
Zeus Technology Ltd                     http://www.zeus.com

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

From: "Chad Whitten" <[EMAIL PROTECTED]>
Subject: replacing freebsd with linux
Date: Tue, 27 Feb 2001 09:17:15 -0600

I have two machines, both running freebsd that I want to change over to
linux.  Problem is, I cannot get rid of the freebsd partitions.  linux fdisk
seg-faults every time I try to remove them or change them. dos fdisk will
tell me it gets rid of them but then I boot back up with a linux or *bsd
boot disk and do fdisk and they are still there.  I can even install windows
on the machine, run it for a few days, reboot with the linux disk, do fdisk
and it shows the four bsd partitions?  any ideas on how to get by this.


--
DNS Administrator
Nexband Communications



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

From: Joshua Baker-LePain <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: Re: Trouble connecting SCSI AIT drive
Date: 27 Feb 2001 15:22:09 GMT

In comp.os.linux.hardware Matt Clay <[EMAIL PROTECTED]> wrote:

> Thanks for the help. I was just trying to track down exactly what type
> of drive it  was when I found out it was SE and that it is compatible
> with LVD.  Unfortunately, that means that we can't fix the incompatibility 
> by getting an adapter...

Compatible, yes.  But as the 29160 is a single channel card, you're
forcing the whole chain (including the internal one) into SE mode.  In
addition to the speed hit on your hard drive, you also inherit the
strict cable length limit.  How long is your total chain (internal +
external)?  Are you *sure* that *both* ends are properly terminated?
LVD drives do not provide their own termination.  Unless the terminator
on the end of your internal chain is dual mode (LVD/SE), that may
be your problem.

> Anyone else have any ideas on what might be the problem?

Well, there are all sorts of things you can try.  There should be jumpers
on the hard drive to force it into SE mode and terminate itself (I believe).
You can also go into the SCSI bios and explicitly set the speed for
the ID of your tape drive.  You can also turn off domain validation for
your tape drive, which I've seen recommended.

But, IMO, the best solution in this case is also the easiest solution.  Go
out and buy something like an Adaptec 2930U.  You can get that card
for ~$90, and it will most likely take care of any external connectivity
needs you have (unless you start adding hard drive cabinets, but you've
already got the 29160 for that).  Put the tape drive on the 2930.  Problem
solved.  Your tape drive works, and this removes the massive speed hit
you're taking on your hard drives.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University

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

From: "Guillaume" <[EMAIL PROTECTED]>
Crossposted-To: 
comp.os.linux.hardware,comp.os.linux.networking,corelsupport.linux.corellinux,corelsupport.linux.networking
Subject: Re: 3com NIC Card
Date: Tue, 27 Feb 2001 16:33:10 +0100

>    Just wondering if someone can tell me how to install a network card
using
> the corel linux os.  The card is a 3com 3c509b-tpo.  Just directions to
> installing any card would be great.

You need to disable the plug'nplay of the card before using it under Linux.

Download the utility from 3com for it, then boot on a dos floppy and run
PNPDSBL.BAT from 3com, reboot your machine under linux, edit the
/etc/modules.conf file (on Redhat name could be /etc/conf.modules on other
Linux, I don't know Corel Linux), add the line:
alias eth0 3c509
reboot (not necessary if you know how to activate kernel modules...)
work for me!

read man page for mod_probe if trouble.

Guillaume.



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

From: [EMAIL PROTECTED] (Paul Kimoto)
Subject: Re: Fork a compile into the background ?
Date: 27 Feb 2001 10:41:09 -0500
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, Steve Martin wrote:
>> My question is, Is there anyway to fork the "./configure, make, make
>> install" commands into the background ? So when I log off the box the jobs
>> won't be terminated.
> 
> There's probably no way to fork the "configure" step, since it's
> interactive, but try this for the rest:
> 
> nohup make bzlilo modules modules_install >& /dev/null &
                                            ^^

(Warning: the ">&" is csh syntax.)

You could write a little script of the type

#! /bin/sh
./configure && make && make install

then invoke it with

$ nohup ./my_script > output_of_my_script 2>&1 &

-- 
Paul Kimoto
This message was originally posted on Usenet in plain text.  Any images, 
hyperlinks, or the like shown here have been added without my consent,
and may be a violation of international copyright law.

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

From: Dino Hsu <[EMAIL PROTECTED]>
Subject: How to Prevent Linux from Taking MBR?
Date: Tue, 27 Feb 2001 23:45:09 +0800

Dear all,

I installed Linux Red Hat 7.0 on a multi-boot PC (Bootstar). Normally
the multi-boot program takes the MBR (Master Boot Record) and fills
the partition table with respective partition information of the
profile chosen by the user. 

However, when Linux Red Hat 7.0 is installed, it takes control of the
MBR, so I have to re-install Bootstar, the multi-boot program. But
after this, Linux cannot be started any more, with the following
message:
Error while loading operating system! <Key>

My question is: how to prevent Linux from taking MBR?

Thanks in advance.

Regards,
Dino

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

From: Francis Fillion <[EMAIL PROTECTED]>
Subject: kodak USB Driver=(none)
Date: Tue, 27 Feb 2001 11:01:34 -0500

 OK, HI all I have read a lot of stuff on USB for now, I even use my
Visor to sync for a longtime on USB, but I can't figure out how to make
connection with my kodak Dc5000 digital camera with the USB port, here
what I have.

Compiled kernel 2.2.18 running on redhat 7.0, it's an SMP machine (Dell
420) with only one cpu, so I'm running a non smp kernel

Compiled in the kernel:
#
# USB support
#
CONFIG_USB=y
CONFIG_USB_DEBUG=y

#
# Miscellaneous USB options
#
CONFIG_USB_DEVICEFS=y

#
# USB Controllers
#
CONFIG_USB_UHCI=y

#
# USB Devices
#

CONFIG_USB_SERIAL=y
CONFIG_USB_SERIAL_VISOR=y
CONFIG_USB_DC2XX=m



/sbin/lsmod
Module                  Size  Used by
dc2xx                   2688   0  (unused)
NVdriver              526976   8 
emu10k1                41088   0 

cat /proc/bus/usb/drivers
 80- 95: dc2xx
         hub
         usbdevfs
         serial


SO the driver is loaded.

when I connect the camera
cat /proc/bus/usb/devices

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  2 Spd=12  MxCh= 0
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=040a ProdID=0131 Rev= 1.00
S:  Manufacturer=Eastman Kodak Company
S:  Product=KODAK DC5000 ZOOM Digital Camera
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS=  64 Ivl=  0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=  0ms


So I don't know why but it do recognize the camera but don't see any
driver.

With dmesg I have:

hub.c: port 1 connection change
hub.c: portstatus 101, change 1, 12 Mb/s
hub.c: portstatus 103, change 0, 12 Mb/s
usb.c: USB new device connect, assigned device number 2
usb.c: kmalloc IF c42518e0, numif 1
usb.c: new device strings: Mfr=1, Product=2, SerialNumber=0
usb.c: USB device number 2 default language ID 0x409
Manufacturer: Eastman Kodak Company
Product: KODAK DC5000 ZOOM Digital Camera
usb.c: unhandled interfaces on device
usb.c: USB device 2 (prod/vend 0x40a/0x131) is not claimed by any active
driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.00
  Vendor:Product      = 040a:0131
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 1.00
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0020
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   40
  MaxPower            =    2mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   02
    bInterface Class:SubClass:Protocol =   ff:00:00
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   01 (out)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   82 (in)
      bmAttributes        =   02 (Bulk)
      wMaxPacketSize      = 0040
      bInterval           =   00


Please help me or point me out to other stuff that I could read.

-- 
Broadcasting live from his linux box.
And the maintainer of http://www.windplanet.com

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

From: "Rake@Q3" <[EMAIL PROTECTED]>
Subject: Re: Asus A7V + Promise ATA100 + RH7
Date: Tue, 27 Feb 2001 15:52:03 GMT

So, you want him to type linux ide2=a000,9800+2 ide3=9400,9000+2 on the boot
prompt, no?

That will not cut it.

For the correct way, see URL http://www.geocities.com/ender7007/index.html
and URL http://www.themonsens.org/michaelfamily/a7v_and_mandrake_7.2


Enough said.

"Fabio Garufi" <[EMAIL PROTECTED]> wrote in message
news:96arlv$2oos$[EMAIL PROTECTED]...
> If you cannot even boot, boot with an installation disk, and, when in the
> installation shell look into the /proc/pci file. You should see something
> as:
>
> Bus 0, device 17, function 0:
> Unknown mass storage controller:Prom,ise Technology Unknown Device
>
> Vendor id=105a. Device id=d30.
> Medium devsel. IRQ10. Master capable. Latency=32
> I/O at 0xa000        (a)
> I/O at 0x9800        (b)
> I/O at 0x9400        (c)
> I/O at 0x9000        (d)
> I/O at 0x8800
>
> Non-prefetchable 32 bit memory at 0x55000000...
>
> Note the (a), (b), (c), (d) numbers and reboot.
> At the boot prompt, type linux ide2=(a),(b)+2 ide3=(c),(d)+2 (if not
linux,
> vmlinuz or whatever your kernel is called)
>
> This should tell the kernel where to look for the proper device.
>
> --
> ------------------------------------------------------------------------
> ** Fabio Garufi
> ** Software Manager
> **
> ** ELE.SI.A. S.r.l.
> ** ISO 9001 CERTIFIED
> ** Tel. 39.6.8813320 / Fax 39.6.8813352
> ** http://www.elesia.it
> ------------------------------------------------------------------------
> "Jan Kov��" <[EMAIL PROTECTED]> ha scritto nel messaggio
> news:9662rm$4a8$[EMAIL PROTECTED]...
> > Hello.
> > I have downloaded the Hendick's patches for ATA100. There were not msg
> about
> > how to use it there. So I have read the manual for patch and tried to
use
> it
> > as written in manual. It has said:
> > patch: **** strip count num is not a number
> > I do not know if it is good or bad or what does it mean. I can see some
> hde,
> > hde1, hde4, hde5 ... hdf, hdf1 ..etc in /dev
> >
> > I have connected the new disk and after starting the linux I have tried
to
> > mount the hard drive. It said:
> > mount: the kernel does not recognize /dev/hde4 as a block device
> >        (maybe `insmod driver'?)
> >
> > What does it mean? What should I do?
> >
> > Thanks for any help.
> >
> > Jan Kovar
> >
> >
> >
>
>



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


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