Linux-Misc Digest #422, Volume #27               Thu, 22 Mar 01 15:13:04 EST

Contents:
  Re: Linux for a 486? (fred smith)
  Re: how to compare two text file? (fred smith)
  unable to connect to cups server in LM why? ("folgui")
  login: ERROR: No such user! ("folgui")
  Hiring Beowulf Programmers (C/Perl) (remove (Jason Moore))
  Re: Mini-distro advice (Andreas Schweitzer)
  slave ypserv (Christoph Kukulies)
  Re: mouse roller? (Markku Kolkka)
  what is a "map installer"??? (Otavio Exel)
  Re: powersave (Bob Hauck)
  Re: Linux for a 486? (Stan Barr)
  Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-((( (Mathieu Brabant)
  Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-((( ("Eric en Jolanda")
  Re: launching a gui app at boot under linux ("Eric en Jolanda")
  Re: Any way to redirect a port scan? (Warren Bell)
  Re: Any way to redirect a port scan? (Warren Bell)
  ALMOST SOLVED! I did 'dd if=/boot/mbr.b of=/dev/hda' :-((( (Otavio Exel)

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

From: fred smith <[EMAIL PROTECTED]>
Subject: Re: Linux for a 486?
Date: Thu, 22 Mar 2001 11:40:05 GMT

Mike Flournoy <[EMAIL PROTECTED]> wrote:
: I am ignorant to Linux but have a old 486 I wanted to use to learn on. It
: appears most newer versions are aimed at Pentiums. Is it possible to run
: linux with a GUI on a 486 or is that just too slow?

Yes, it is possible, but you won't enjoy the experience.

OTOH if you are willing to dispense with the GUI chances are a lot
better it will be a decent experience for you.

Obviously the faster the 486 the better (I used to run it on a 486/100
which worked well for quite a long time), and the more RAM the better.
Without a GUI you'll want at least 16 megs of RAM, the more the better.
With a GUI, given the overall slowness of the machine, you'll find 
that 32 megs is not enough.

My current system (AMD K6-2/350) has 64 megs of RAM and while it works
fine, I'm usually anywhere from 10 to 100 megabytes into swap so it
would be better with 128 megs. If I didn't run X (and the other memory
hogs one uses under X, such as Netscrape, Star Office, etc.) 64 would
be a breeze.

Fred

-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
                      The eyes of the Lord are everywhere, 
                    keeping watch on the wicked and the good.
============================= Proverbs 15:3 (niv) =============================

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

From: fred smith <[EMAIL PROTECTED]>
Subject: Re: how to compare two text file?
Date: Thu, 22 Mar 2001 11:35:01 GMT

percy <[EMAIL PROTECTED]> wrote:
: how to compare two text file?

man diff

: --
: [EMAIL PROTECTED]



-- 
---- Fred Smith -- [EMAIL PROTECTED] ----------------------------
   "For the word of God is living and active. Sharper than any double-edged 
   sword, it penetrates even to dividing soul and spirit, joints and marrow; 
              it judges the thoughts and attitudes of the heart."  
============================ Hebrews 4:12 (niv) ==============================

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

Reply-To: "folgui" <[EMAIL PROTECTED]>
From: "folgui" <[EMAIL PROTECTED]>
Subject: unable to connect to cups server in LM why?
Date: Thu, 22 Mar 2001 17:25:37 GMT

Hi!

When i load 'printerdrake' after reading cups-drivers (a while) it shows me:
"unable to connect to cups server at /usr/lib/libDrakX/printer.pm line 417".

solution?

Thank you. Bye.






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

Reply-To: "folgui" <[EMAIL PROTECTED]>
From: "folgui" <[EMAIL PROTECTED]>
Subject: login: ERROR: No such user!
Date: Thu, 22 Mar 2001 17:27:30 GMT

Hi!

Since a few days ago, when console login appears, it shows me -> ERROR: No
such user!

I'd like to know the reason of this.

Thank you. Bye




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

From: [EMAIL PROTECTED](remove) (Jason Moore)
Subject: Hiring Beowulf Programmers (C/Perl)
Date: Thu, 22 Mar 2001 17:32:46 GMT

The Program in Human Genetics (http://phg.mc.Vanderbilt.edu) at Vanderbilt 
University Medical School has a programmer position available in our 
Computing/Bioinformatics Core. The successful applicant will have a B.S./M.S. 
in computer science with at least two years of C/C++ and Perl programming 
experience.  Opportunities include developing genetic analysis software for a 
110-processor Beowulf-style parallel computing cluster 
(http://www.vampire.vanderbilt.edu/).  Vanderbilt is situated in booming 
Nashville, TN (http://www.vanderbilt.edu/nash.html) and offers very 
competitive salaries and benefits 
(http://www.vanderbilt.edu/HRS/jobs/bensum.htm).  Please email your resume and 
a statement of career goals to moore(at)phg.mc.Vanderbilt.edu.

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

From: [EMAIL PROTECTED] (Andreas Schweitzer)
Subject: Re: Mini-distro advice
Date: 22 Mar 2001 17:36:14 GMT
Reply-To: [EMAIL PROTECTED]

In article <u6eu6.9898$[EMAIL PROTECTED]>,
H_Slave wrote:
>I'm either gonna get advice or ignite a holy war...   ^_^;
>
>I'm looking for a mini-distro that I can put on an old laptop of mine, and 
>was wanting to tap the massive cumulative experience of the Linux 
>community.  (Don't worry, I'll pull out before my head explodes.  ^_^ )
>
>The laptop is an IBM 750Cs, a 486SX, 25 Mhz, 12 Megs RAM, 325 MB HD space.  
>One floppy, no CD-Rom, and access to a parallel port ZIP Drive.  Network 
>access via a Linksys ethernet card, Internet access via a Kingston 
>Technologies 14.4 modem; both on PCMCIA.

Probably standard Debian and Slackware might even work. With 12MB RAM
you already have quite a bit. Debian has a rather large slection
of installation media.

For specialized Mini Distributions :
To add to the other post : go to www.linuxlinks.com -> Distributions
-> Mini Distributions.
>From the the top of my head I would suggest to get MuLinux and
"clone" it to the harddrive (it does support such an operation).
Or you should try TINY.

Andreas

-- 
                       Andreas Schweitzer
             http://dilbert.physast.uga.edu/~andy/
        This post is brought to you by VIM, slrn and FreeBSD

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

From: Christoph Kukulies <[EMAIL PROTECTED]>
Subject: slave ypserv
Date: 22 Mar 2001 17:49:39 GMT


Scenario: RH 6.1 

I want to make my system (>20 RH workstations, NFS, amd, NIS/yp)
it bit safer against dropouts.
That is, introduce a second (slave) NIS/yp server.
How can I accomplish this?

There are some amd.conf files, /etc/hosts and some others also mapped by
NIS, which might make things more complicate but I need a starting
point.


-- 
Chris Christoph P. U. Kukulies [EMAIL PROTECTED]

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

From: Markku Kolkka <[EMAIL PROTECTED]>
Subject: Re: mouse roller?
Date: 22 Mar 2001 19:36:17 +0200

Jimbob <[EMAIL PROTECTED]> writes:
> raf <[EMAIL PROTECTED]> wrote:
> > http://www.linux-mag.com/2000-07/hottips_05.html
> 
> Thats all well and good but I was already aware of that 'hack job'.
> I would like to know how to implement the actual wheel, not assign
> some buttons to perform the scrolling. 

The wheel sends button press messages, so the method in linux-mag is
the correct one, not a "hack job".

-- 
        Markku Kolkka
        [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Otavio Exel)
Subject: what is a "map installer"???
Date: 22 Mar 2001 18:01:28 GMT
Reply-To: [EMAIL PROTECTED]

[original poster here]

> sometimes the box just freezes after stating that if found a valid
> boot record in IDE-0 and sometimes I get the "LI" displayed :-(((

I read in a post that:

> LI  The first stage boot loader was able to load the second stage boot
> loader, but has failed to execute it. This can either be caused by a
> geometry mismatch or by moving /boot/boot.b without running the map
> installer.

I certainly moved my /boot/boot.b (I copied it from the old HD to the
new); I guess I must run a map installer; what is it? how do I run it?

TIA!

-- 
Otavio Exel /<\oo/>\ [EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (Bob Hauck)
Subject: Re: powersave
Reply-To: hauck[at]codem{dot}com
Date: Thu, 22 Mar 2001 18:09:15 GMT

On Thu, 22 Mar 2001 13:06:42 +0000, Spyros Tsiolis
<[EMAIL PROTECTED]> wrote:

>- /etc/X11/XF86Config - powersave was there.
>  Remarked it - no change

Are you starting X from xdm/gdm/kdm (the graphical login)?  If so, it is
possible that one of the scripts in /etc/X11/{xdm,gdm,kdm} are starting the
X server with a "dpms" parameter.

Actually, even startx could be doing this.

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

From: [EMAIL PROTECTED] (Stan Barr)
Subject: Re: Linux for a 486?
Reply-To: [EMAIL PROTECTED]
Date: 22 Mar 2001 18:19:04 GMT

On Thu, 22 Mar 2001 05:28:23 GMT, AJL <[EMAIL PROTECTED]> wrote:
>On Thu, 22 Mar 2001, Mike Flournoy wrote:
>
>> I am ignorant to Linux but have a old 486 I wanted to use to learn on. It
>> appears most newer versions are aimed at Pentiums. Is it possible to run
>> linux with a GUI on a 486 or is that just too slow?
>
>Text mode will not be a problem at all as far as speed is concerned, you
>will be pleased.  FVWM2 or TWM is a good quick GUI on a system like that
>(any others ppl?), but don't expect miracles if you only have 4M RAM =)

I used to use Afterstep on my 486 (still use it on this P200) - it's quick
veratile and looks good...best with >16Mb though.

www.afterstep.org

-- 
Cheers,
Stan Barr  [EMAIL PROTECTED]

The future was never like this!

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

From: Mathieu Brabant <[EMAIL PROTECTED]>
Subject: Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-(((
Date: Thu, 22 Mar 2001 18:30:10 -0000

  The lilo docs says that only getting to LI can be caused by "a geometry 
mismatch (between BIOS and lilo) or by moving the /boot/boot.b without 
running the map installer".  

  I've had this problem a couple times before with large drives and adding 
the LBA32 keyword to the lilo.conf file fixed it.  If it doesn't work, try 
the LINEAR keyword (uses linear sector addresses instead of 
sector/head/cylinder).


   Let us know if it worked!


Mathieu Brabant



Eric wrote:
> 
> 
> > > Yep ,
> > > `/sbin/fdisk -l /dev/hd[a-z]`
> > > would be useful.
> > >
> > > PS. did you run lilo, with the "boot=" flag pointing to /dev/hda ??
> > > (`cat /etc/lilo.conf `: post that too)
> >
> > thanks, Eric!
> >
> > I forgot to mention that I'm booting from the boot record in the old HD
> > and once the boot is completed the new HD works perfectly!
> 
> You set the bootchain to boot from hdc first in the BIOS?
> 
> > from my reading of the NGs I learned that there is a good chance that
> > the problem is the BIOS not recognizing the HDs correctly; here's what
> 
> It's never wrong, it can be different from what LILO thinks.
> That can be the reason of such confusion.
> 
> > was detected; does it look ok?
> >
> >                      /dev/hda   /dev/hdc
> > detected by BIOS:  58168/16/63 6256/16/63
> > reported by dmesg: 7271/128/63 6256/16/63
> 
> I'd expect problems with LILO on hda indeed.
> You can tell that the CHS values are different.
> try booting with hda=58168,16,63
> I'm not sure, LILO may complain again.
> fdisk most certainly will, but give it a try.
> 
> > here's the info I think is relevant:
> >
> > root@queluz:~# fdisk -l /dev/hda
> > Disk /dev/hda: 128 heads, 63 sectors, 7271 cylinders
> > Units = cylinders of 8064 * 512 bytes
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/hda1             1        17     68512+  83  Linux
> > /dev/hda2   *        18        34     68544   83  Linux
> > /dev/hda3            35       100    266112   83  Linux
> > /dev/hda4           101      7271  28913472    5  Extended
> > /dev/hda5           101       133    133024+  83  Linux
> > /dev/hda6           134       199    266080+  82  Linux swap
> > /dev/hda7           200       460   1052320+  83  Linux
> > /dev/hda8           461       981   2100640+  83  Linux
> >
> > root@queluz:~# fdisk -l /dev/hdc
> > Disk /dev/hdc: 128 heads, 63 sectors, 782 cylinders
> 
> This is not the same as in dmesg.
> This is strange. Appearantly not a problem though.
> 
> > Units = cylinders of 8064 * 512 bytes
> >    Device Boot    Start       End    Blocks   Id  System
> > /dev/hdc1             1        33    133024+  83  Linux
> > /dev/hdc2   *        34        42     36288   83  Linux
> > /dev/hdc3            43       108    266112   83  Linux
> > /dev/hdc4           109       782   2717568    5  Extended
> > /dev/hdc5           109       125     68512+  83  Linux
> > /dev/hdc6           126       158    133024+  82  Linux swap
> > /dev/hdc7           159       289    528160+  83  Linux
> > /dev/hdc8           290       782   1987744+  83  Linux
> >
> > root@queluz:~# cat /etc/lilo.conf
> > boot=/dev/hda
> > root=/dev/hda2
> > install=/boot/boot.b
> > map=/boot/map
> > vga=normal
> > delay=20
> > image=/boot/bzImage_2.2.18_1.7
> 
> This image is the one on hda too, right?
> If you boot from hdc, this is probably erroneous too.
> 
> >         label=bzImage2218
> >         read-only
> >
> > root@queluz:~# dmesg | grep QUANTUM
> > hda: QUANTUM FIREBALLlct20 30, ATA DISK drive
> > hdc: QUANTUM FIREBALL ST3.2A, ATA DISK drive
> > hda: QUANTUM FIREBALLlct20 30, 28629MB w/418kB Cache, CHS=7271/128/63
> > hdc: QUANTUM FIREBALL ST3.2A, 3079MB w/81kB Cache, CHS=6256/16/63
> >
> 
> HTH,
> 
> Eric
> 
> 


--
Posted via CNET Help.com
http://www.help.com/

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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: I did 'dd if=/boot/mbr.b of=/dev/hda' :-(((
Date: Thu, 22 Mar 2001 19:31:00 +0100

> > > I forgot to mention that I'm booting from the boot record in the old
> > > HD and once the boot is completed the new HD works perfectly!
> >
> > You set the bootchain to boot from hdc first in the BIOS?
>
> yes!
>
> > > from my reading of the NGs I learned that there is a good chance that
> > > the problem is the BIOS not recognizing the HDs correctly; here's what
> >
> > It's never wrong, it can be different from what LILO thinks.
> > That can be the reason of such confusion.
>
> I tried changing the BIOS settints to what dmesg reports (7271/128/63)
> and it still didn't work..

Don't bother

> > > was detected; does it look ok?
> > >
> > >                      /dev/hda   /dev/hdc
> > > detected by BIOS:  58168/16/63 6256/16/63
> > > reported by dmesg: 7271/128/63 6256/16/63
> >
> > I'd expect problems with LILO on hda indeed.
> > You can tell that the CHS values are different.
> > try booting with hda=58168,16,63
>
> how??? I can't get to the LILO prompt when I boot thru /dev/hda!

The lilo prompt when you boot hdc is good enough.

> > > root@queluz:~# fdisk -l /dev/hdc
> > > Disk /dev/hdc: 128 heads, 63 sectors, 782 cylinders
> >
> > This is not the same as in dmesg.
> > This is strange. Appearantly not a problem though.
>
> btw: I have the BIOS set to lba=On; is this correct?

It should be.
Strange that it is giving these CHS values then.
I would expect 255,63,(whatever remains for cylinders)

> > > image=/boot/bzImage_2.2.18_1.7
> >
> > This image is the one on hda too, right?
> > If you boot from hdc, this is probably erroneous too.
>
> hmm.. I'm not sure.. I haven't touched the old HD since I moved it to
> /dev/hdc; it was working fine when it was the only HD (/dev/hda);
>

Okay.
Now we've got something.
You must run lilo, from hda. (I think you could also use some lilo flags for
this)
boot with the use of a bootfloppy,
(you can make one from the hdc system : mkbootdisk on RH systems)
and specify "linux root=/dev/hda2" (hda2 is your root FS, right?)
at the lilo prompt (the one you get when you use the floppy!)

then once you booted, run `/sbin/lilo -v` and when you reboot now,
you should be able to boot from the HDD.

Eric



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

From: "Eric en Jolanda" <[EMAIL PROTECTED]>
Subject: Re: launching a gui app at boot under linux
Date: Thu, 22 Mar 2001 19:47:29 +0100

> Boot the server
> launch xdm (use grphical login)

is xdm required?
I'm not sure if it can be done through xdm.
(auto login ie.)

> login as user test (passwd pass)
> launch an applet.
> All of this automatically when the computer boot.

You could perhaps make a script that starts the commands
you want and start that (through inittab perhaps?)
(su test;startx;run_Xapp)

I haven't tested any of this, so I'm not sure if it will work
right away, or if you may need to tune your system a bit more.

Eric



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

From: Warren Bell <[EMAIL PROTECTED]>
Subject: Re: Any way to redirect a port scan?
Date: Thu, 22 Mar 2001 11:25:11 -0800

Jean-David Beyer wrote:
> 
> Warren Bell wrote (in part):
> >
> > Say you have a pesky person that port scans you daily.  Is there any
> > package I can install that will let me redirect all traffic (port scans)
> > from a certain IP to his/her own ISP so they are scanning thier own
> > provider?  And where it looks like the scans are coming from thier own
> > client and not from me?
> >
> I would think twice before doing this. How do you propose to get his
> ISP's IP address? I get port scans and stuff from crackers who forge
> the source addresses. It would not be fair to the owner of the forged
> address to do things like that. The particular pest that scans me uses
> addresses on my LAN as the source address; i.e., he uses addresses
> such as 192.168.1.xxx, where he changes xxx for each batch of
> attempts.
> 
> So if I did that to him, I would just forward the stuff to stations on
> my LAN. I am surprised this cracker never tried some of the more
> likely addresses on my LAN, so he never actually picked one of the
> addresses that actually exist. He is pretty stupid, tough. Here are
> two of his (denied) attempts:
> 
> Mar  5 10:28:28 valinux kernel: Packet log: input DENY ppp0 PROTO=6
> 192.168.1.16:80 208.225.67.131:4009 L=40 S=0x00 I=33758 F=0x4000 T=118
> (#2)
> Mar  5 10:28:28 valinux kernel: Packet log: input DENY ppp0 PROTO=6
> 192.168.1.16:80 208.225.67.131:4010 L=40 S=0x00 I=33759 F=0x4000 T=118
> (#2)
> 
> The cracker is probably a dumb script kiddie. I do not accept source
> addresses through my ppp (Internet) connections that have my LAN
> addresses, and I accept from my eth (LAN) connections only source
> addresses from my LAN.
> 
> --
>  .~.  Jean-David Beyer           Registered Linux User 85642.
>  /V\                             Registered Machine    73926.
> /( )\ Shrewsbury, New Jersey     http://counter.li.org
> ^^-^^ 7:40am up 19 days, 14:43, 3 users, load average: 2.10, 2.11,
> 2.09

I've had problems with this person before and have contacted his isp.  I
know that he's using his real address.

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

From: Warren Bell <[EMAIL PROTECTED]>
Subject: Re: Any way to redirect a port scan?
Date: Thu, 22 Mar 2001 11:26:32 -0800

Bart Friederichs wrote:
> 
> > Thanks, but I can't run iptables.  I'm running kernel 2.2.17.  Is there
> > any other way to do this?  I am running ipchains.  Maybe with ipmasqadm?
> 
> IPChains can do the same, there is a REDIRECT target, where you can
> redirect packets. See ipchains man page or the ipchains HOWTO.
> 
> Regards,
> Bart
> 

I'm pretty sure ipchains will only redirect from port to port locally. 
You can't use ipchains to redirect from one machine to another.

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

From: [EMAIL PROTECTED] (Otavio Exel)
Subject: ALMOST SOLVED! I did 'dd if=/boot/mbr.b of=/dev/hda' :-(((
Date: 22 Mar 2001 19:56:58 GMT
Reply-To: [EMAIL PROTECTED]

Eric en Jolanda <[EMAIL PROTECTED]> wrote:
>
> Strange that it is giving these CHS values then.
> I would expect 255,63,(whatever remains for cylinders)

as I posted, I had /dev/hda1 and /dev/hda2 (68M each) and was booting
from /dev/hda2; I moved my /boot to /dev/hda1 (it was unused) and now it
is booting fine!!!! and now it is reporting exactly what you said it
should: CHS=3649/255/63

does it mean that my problem was the "image above cyl #1024"? AFAIK the
image was under cyl #1024 even using the CHS detected by the BIOS
(58168/16/63);

the only problem I'm having now is that fdisk is showing me:

$ fdisk -l /dev/hda
Disk /dev/hda: 255 heads, 63 sectors, 3649 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1         9     68512+  83  Linux
Partition 1 does not end on cylinder boundary:
     phys=(16, 127, 63) should be (16, 254, 63)
/dev/hda2             9        18     68544   83  Linux
Partition 2 does not end on cylinder boundary:
     phys=(33, 127, 63) should be (33, 254, 63)
/dev/hda3            18        51    266112   83  Linux
Partition 3 does not end on cylinder boundary:
     phys=(99, 127, 63) should be (99, 254, 63)
/dev/hda4            51      3650  28913472    5  Extended
Partition 4 does not end on cylinder boundary:
     phys=(1023, 127, 63) should be (1023, 254, 63)
/dev/hda5            51        67    133024+  83  Linux
/dev/hda6            67       100    266080+  82  Linux swap
/dev/hda7           100       231   1052320+  83  Linux
/dev/hda8           231       493   2100640+  83  Linux

should I worry?
if yes how do I fix it?

many many many thanks to all of you!

-- 
Otavio Exel /<\oo/>\ [EMAIL PROTECTED]

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


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

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

Reply via email to