Linux-Misc Digest #538, Volume #24               Sat, 20 May 00 22:13:03 EDT

Contents:
  Re: Making a distribution (Garry Knight)
  Modem : Line not clean error! (Sandhitsu R Das)
  Re: Cannot use large IDE disk w/ fdisk (David Efflandt)
  Re: WYSIWYG web page generator (Keith Brown)
  Re: chmod problem (David Efflandt)
  How to search all files in a directory? (Paul Rubin)
  Re: How to search all files in a directory? (Hal Burgiss)
  Re: Modem : Line not clean error! (Bob Martin)
  Re: Cannot use large IDE disk w/ fdisk (John in SD)
  Re: WYSIWYG web page generator (Frank Johnson)
  Re: Modem : Line not clean error! (Sandhitsu R Das)
  Re: compiling (Daffy)
  Re: How to search all files in a directory? (Tim Hockin)
  Re: sound over network (David Efflandt)
  Re: URI cpan ? (David Efflandt)
  ZIP 100/250 drives w/linux (lindoze 2000)
  bc calculator (lindoze 2000)

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

From: [EMAIL PROTECTED] (Garry Knight)
Subject: Re: Making a distribution
Date: Sun, 21 May 2000 01:21:10 +0100
Reply-To: [EMAIL PROTECTED]

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] 
says...
>I want to learn more about linux-internals and i want to do it the hard
>way: making a new distribution. [...]

>Who knows where to find some docs about this, or wants to participate in
>this project?

There's a Distribution HOWTO which you should find at LinuxDoc:
http://www.linuxdoc.org/

-- 
Garry Knight
[EMAIL PROTECTED]

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

From: Sandhitsu R Das <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,alt.os.linux
Subject: Modem : Line not clean error!
Date: Sat, 20 May 2000 20:28:44 -0400


I've got an Actiontec PCI Call Waiting modem which is supported in
Linux. It dials, connects but then exits with the following error in
/var/log/messages:

(I think I'm missing something silly)

$ tail -20 /var/log/messages
May 21 07:57:22 localhost pppd[535]: Exit.
May 21 08:10:00 localhost kernel: PPP: ppp line discipline successfully unregistered 
May 21 08:11:47 localhost kernel: CSLIP: code copyright 1989 Regents of the University 
of California 
May 21 08:11:47 localhost kernel: PPP: version 2.3.3 (demand dialling) 
May 21 08:11:47 localhost kernel: PPP line discipline registered. 
May 21 08:11:47 localhost kernel: registered device ppp0 
May 21 08:11:47 localhost pppd[630]: pppd 2.3.7 started by root, uid 0
May 21 08:11:48 localhost chat[631]: send (ATDT12155734777^M)
May 21 08:11:48 localhost chat[631]: expect (CONNECT)
May 21 08:12:27 localhost chat[631]: ATDT12155734777^M^M
May 21 08:12:27 localhost chat[631]: CONNECT
May 21 08:12:27 localhost chat[631]:  -- got it 
May 21 08:12:27 localhost chat[631]: send (^M)
May 21 08:12:27 localhost pppd[630]: Serial connection established.
May 21 08:12:37 localhost pppd[630]: Using interface ppp0
May 21 08:12:37 localhost pppd[630]: Connect: ppp0 <--> /dev/ttyS0
May 21 08:13:08 localhost pppd[630]: LCP: timeout sending Config-Requests 
May 21 08:13:08 localhost pppd[630]: Connection terminated.
May 21 08:13:08 localhost pppd[630]: Connect time 0.6 minutes.
May 21 08:13:08 localhost pppd[630]: Receive serial link is not 8-bit clean:
May 21 08:13:08 localhost pppd[630]: Problem: all had bit 7 set to 0




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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: Cannot use large IDE disk w/ fdisk
Date: 21 May 2000 00:56:36 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 20 May 2000 12:47:57 +0200, Cyrille Artho <[EMAIL PROTECTED]> wrote:
>I added a large (40 GB) IDE disk to the system. I had problems with LILO
>and the BIOS, so I disabled the HD in the BIOS.

If you do not disable it in the BIOS, does your BIOS show the correct
size?  If it does, then everything should work, if it doesn't then you
have to make sure that any place you boot from is below the size it does
show.  Unless you have the latest LILO, you need a /boot partition (16
meg) below cyl 1024 anyway.  But it looks like you did not do this since
your first partition is 16G not 16M.

>Unfortunately, Linux does not discover the correct number of cylinders
>(using Kernel 2.2.12). I tried to override this when partitioning the
>hard disk. However, as soon as I quit fdisk, the system "forgets" the
>physical layout again, and fdisk shows:

Linux fdisk should get this info from your partition table, unless there
originally was no partition table, in which case did you use expert (x)  
mode of fdisk to set the number of cylinders?  Did you exit fdisk using
'q' instead of 'w'?

>Disk /dev/hdd: 255 heads, 63 sectors, 870 cylinders
>Units = cylinders of 16065 * 512 bytes
>
>   Device Boot    Start       End    Blocks   Id  System
>/dev/hdd1             1      2048  16450528+  83  Linux
>Partition 1 has different physical/logical endings:
>     phys=(1023, 254, 63) logical=(2047, 254, 63)
>/dev/hdd2          2049      4982  23567355   83  Linux
>Partition 2 has different physical/logical beginnings (non-Linux?):
>     phys=(1023, 254, 63) logical=(2048, 0, 1)
>Partition 2 has different physical/logical endings:
>     phys=(1023, 254, 63) logical=(4981, 254, 63)

Ouch!  It should be much more orderly.  Example of 27.3G drive:

Disk /dev/hda: 255 heads, 63 sectors, 3328 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1         2     16033+  83  Linux /boot
/dev/hda2             3         4     16065   83  Linux spare
/dev/hda3             5      2044  16386300    c  Win95 FAT32 (LBA)
/dev/hda4          2045      3328  10313730    5  Extended
/dev/hda5          2045      2057    104391   82  Linux swap
/dev/hda6          2058      2090    265041   83  Linux /var
/dev/hda7          2091      2690   4819468+  83  Linux /
/dev/hda8          2691      2723    265041   83  Linux spare
/dev/hda9          2724      3328   4859631   83  Linux spare

>Even though I could initially format the disk without getting error
>messages, I then found out that Linux uses the physical layout, mapping
>different sectors on the same target! This resulted in some "funny"
>results, including duplicate blocks, corrupt inodes, and a kernel panic
>when trying to umount the file system. Certain corrupted files cannot be
>removed anymore (rm blocks the entire system), and I lost some data
>(since I originally thought the drive could work without using the
>BIOS). I now have copied all the data back, so I can re-partition the
>hard drive.
>
>How do I tell Linux the number of cylinders? How can I use the drive if
>I disable it in the BIOS?

Cylinders can be set in expert (x) mode of fdisk.  But since it is not
automatic, I am not sure what you need to divide the real number of cyls
by to translate it for 255 heads.  Just remember to write your changes
using 'w'.  Don't know if you can access the drive at all if you disable
it in BIOS.

>--
>Regards,
>Cyrille Artho - http://artho.com/ - Tel. +41 - [0]1 - 313 08 92
>Murder is always a mistake -- one should never do anything one cannot
>talk about after dinner.
>                -- Oscar Wilde, "The Picture of Dorian Gray"


-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: Keith Brown <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: WYSIWYG web page generator
Date: Sat, 20 May 2000 20:04:19 -0500

ray jones wrote:
> 
> Mark Wilden wrote:
> 
> > JEDIDIAH wrote:
> > >
> > > The Web is not WYSIWYG.
> >
> > That's the unfortunate term used to describe an editor that provides a
> > visual representation. It's quite literally true, since what you see is
> > indeed what you--but only you--get. But Web purists mentally translate
> > it into WYSIW Everyone G, and so they miss the benefits that the visual
> > representation of information can provide to some people.
> 
>             Now, how about answering his original question. YES!!!!!
> There is a really great one, too, IMHO easily the equal of FrontPage from
> you-know-who. IBM has done a wine-related port of their TopPage, and it is
> just excellent. Can drag table columns and cells and rows exactly where
> you want them, automatic FTP works great, I am very impressed with how
> much WORK can be done in an hour. There are RPM's available.
> 
> --
> Ray R. Jones
> The Computer Shop
> [EMAIL PROTECTED]
> HTTP://gordo.penguinpowered.com

Can you provide a link?

-- 
Keith Brown
[EMAIL PROTECTED]

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: chmod problem
Date: 21 May 2000 01:01:45 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 20 May 2000 12:29:20 -0700, marge schott <[EMAIL PROTECTED]> wrote:
>Yes, here are the results:
>
>[root@teno /root]# ls -ls
>total 176
> 148 -rw-r--r--   1 root     root       145721 May 20 07:36
>Bastille-1.0.4.tar.gz
>   8 -rw-r--r--   1 root     root         7377 May 20 07:52
>bastille-action-log
>   4 -rw-r--r--   1 root     root          696 May 20 07:52
>bastille-error-log
>   4 -rw-r--r--   1 root     root          165 May 20 07:52
>bastille-input-log
>   4 drwxr-xr-x   3 root     root         4096 May 20 07:38
>bastillebackup
>   4 drwx------   2 root     root         4096 May 18 13:16 nsmail
>   0 -r--------   1 root     root            0 May 18 12:57 rhosts
>   4 drwx------   4 root     root         4096 Apr  3 14:37
>run-Bastille
>[root@teno /root]# rm -f .rhosts
>rm: cannot unlink `.rhosts': Operation not permitted

This clears it up entirely.  Look more closely at the directory listing.
There is no '.rhosts', but there is an 'rhosts'.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: Paul Rubin <[EMAIL PROTECTED]>
Subject: How to search all files in a directory?
Date: Sun, 21 May 2000 00:50:33 GMT

Hi all,

I'm a new linux user, and I'd like to find a way to search all the
files in one directory for a particular word or string, case
insensitive. What is the correct command and syntax?

Your help is greatly appreciated!
Sincerely,
Paul Rubin
[EMAIL PROTECTED]


Sent via Deja.com http://www.deja.com/
Before you buy.

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

From: [EMAIL PROTECTED] (Hal Burgiss)
Subject: Re: How to search all files in a directory?
Reply-To: [EMAIL PROTECTED]
Date: Sun, 21 May 2000 01:09:59 GMT

On Sun, 21 May 2000 00:50:33 GMT, Paul Rubin <[EMAIL PROTECTED]>
wrote:
>I'm a new linux user, and I'd like to find a way to search all the
>files in one directory for a particular word or string, case
>insensitive. What is the correct command and syntax?

$ grep -i <string_to_match> *

Add '-r' to search subdirectories as well. 'man grep' -- a very powerful
and useful command, especially when combined with other commands.
'strings' command is more useful for binary files.

-- 
Hal B
[EMAIL PROTECTED]
--

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

From: Bob Martin <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,alt.os.linux
Subject: Re: Modem : Line not clean error!
Date: Sat, 20 May 2000 20:16:59 -0500

Sandhitsu R Das wrote:
> 
> I've got an Actiontec PCI Call Waiting modem which is supported in
> Linux. It dials, connects but then exits with the following error in
> /var/log/messages:
> 
> May 21 08:13:08 localhost pppd[630]: LCP: timeout sending Config-Requests
> May 21 08:13:08 localhost pppd[630]: Connection terminated.
> May 21 08:13:08 localhost pppd[630]: Connect time 0.6 minutes.
> May 21 08:13:08 localhost pppd[630]: Receive serial link is not 8-bit clean:
> May 21 08:13:08 localhost pppd[630]: Problem: all had bit 7 set to 0

Has nothing to do with th modem,it's dialing so it's working. It means
ppp never started on the other end. The server is either having problems
or they have changed something. I have had an ISP several times change
something on their end without any notification and things that were
working suddenly stop.
--

Bob Martin

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

From: John in SD <[EMAIL PROTECTED]>
Subject: Re: Cannot use large IDE disk w/ fdisk
Reply-To: [EMAIL PROTECTED]
Date: Sun, 21 May 2000 01:18:51 GMT

On Sat, 20 May 2000 12:47:57 +0200, Cyrille Artho <[EMAIL PROTECTED]> wrote:

>I added a large (40 GB) IDE disk to the system. I had problems with LILO
>and the BIOS, so I disabled the HD in the BIOS.
>
>Unfortunately, Linux does not discover the correct number of cylinders
>(using Kernel 2.2.12). I tried to override this when partitioning the

You must use a more recent kernel than 2.2.12 to get past the 32Gb disk limit.
I have seen the kernel revision in the newsgroups, but don't remember whether
it is 2.2.14 or later.

If you are using the "lba32" version of LILO from my site (21.4.3 is latest),
then you shoud be able to boot from anywhere on the disk ...

   IF -  you bios supports the EDD bios calls
 AND - all disks are visible to the bios (0x80, 0x81, 0x82, ...)

You can check what is visible from the bios with the floppy made with "make
floppy"  (21.4.3 and later versions of LILO source code).  Remember, you will
need the Netwide assembler for this make to work.

--John Coffman  <[EMAIL PROTECTED]>

  ftp::/metalab.unc.edu/pub/Linux/system/boot/lilo  or

  ftp://sd.dynhost.com/pub/linux/lilo  or 
  ftp://brun.dyndns.org/pub/linux/lilo


>hard disk. However, as soon as I quit fdisk, the system "forgets" the
>physical layout again, and fdisk shows:
>
>Disk /dev/hdd: 255 heads, 63 sectors, 870 cylinders
>Units = cylinders of 16065 * 512 bytes
>
>   Device Boot    Start       End    Blocks   Id  System
>/dev/hdd1             1      2048  16450528+  83  Linux
>Partition 1 has different physical/logical endings:
>     phys=(1023, 254, 63) logical=(2047, 254, 63)
>/dev/hdd2          2049      4982  23567355   83  Linux
>Partition 2 has different physical/logical beginnings (non-Linux?):
>     phys=(1023, 254, 63) logical=(2048, 0, 1)
>Partition 2 has different physical/logical endings:
>     phys=(1023, 254, 63) logical=(4981, 254, 63)
>
>Even though I could initially format the disk without getting error
>messages, I then found out that Linux uses the physical layout, mapping
>different sectors on the same target! This resulted in some "funny"
>results, including duplicate blocks, corrupt inodes, and a kernel panic
>when trying to umount the file system. Certain corrupted files cannot be
>removed anymore (rm blocks the entire system), and I lost some data
>(since I originally thought the drive could work without using the
>BIOS). I now have copied all the data back, so I can re-partition the
>hard drive.
>
>How do I tell Linux the number of cylinders? How can I use the drive if
>I disable it in the BIOS?


LILO version 21.4.3 (06-May-2000) source at
ftp: sd.dynhost.com   dir:  /pub/linux/lilo

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

From: Frank Johnson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.powerpc,alt.os.linux.mandrake
Subject: Re: WYSIWYG web page generator
Date: Sun, 21 May 2000 02:15:09 +0100

Rick wrote:
> Are there any WYSIWYG web page generators for Linux/LinuxPPC? It would
> need to be able to generate frames, input forms and secure pages.
> 
> Any and all he;p appreciated.
There is a beta (I think Version) of toppage out.  A bit of a big download
~16MB.

Sorry I can't be bothered to get into the wysiwyg or not to wysiswyg
argument.

-- 
-o>   Frank Johnson
 /\   [EMAIL PROTECTED]
_\_v  icq: 52932620
When you get your PH.D. will you get able to work at BURGER KING?

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

From: Sandhitsu R Das <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware,comp.os.linux.setup,alt.os.linux
Subject: Re: Modem : Line not clean error!
Date: Sat, 20 May 2000 21:25:58 -0400

On Sat, 20 May 2000, Bob Martin wrote:

Thanks Bob. I was hoping if you could dig me out of this shit - I'm in a
hurry to get ppp working on my new PC. The problem is - ppp still works
fine with the old PC (same linux distro, same scripts, same phone line) -
now what could possibly be the problem ? I noticed that a similar error
had occurred once in the old PC ( got that info from an older messages
file).


> Sandhitsu R Das wrote:
> > 
> > I've got an Actiontec PCI Call Waiting modem which is supported in
> > Linux. It dials, connects but then exits with the following error in
> > /var/log/messages:
> > 
> > May 21 08:13:08 localhost pppd[630]: LCP: timeout sending Config-Requests
> > May 21 08:13:08 localhost pppd[630]: Connection terminated.
> > May 21 08:13:08 localhost pppd[630]: Connect time 0.6 minutes.
> > May 21 08:13:08 localhost pppd[630]: Receive serial link is not 8-bit clean:
> > May 21 08:13:08 localhost pppd[630]: Problem: all had bit 7 set to 0
> 
> Has nothing to do with th modem,it's dialing so it's working. It means
> ppp never started on the other end. The server is either having problems
> or they have changed something. I have had an ISP several times change
> something on their end without any notification and things that were
> working suddenly stop.
> --
> 
> Bob Martin
> 


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

From: Daffy <[EMAIL PROTECTED]>
Subject: Re: compiling
Date: Sun, 21 May 2000 01:30:05 GMT


Bob Martin wrote:
> 
> Daffy wrote:
> > 
> > Ok, I've got the source (.c) file and a Makefile, now what?  I know how 
to
> > compile a kernel, but this has got me baffeled.  I am not a programmer 
by
> > any means.
> > 
> > Thanks
> > 
> 
> If that is all that the package came with , you just type make at the
> command prompt. The make utility will use the MAkefile to compile the
> source.
> --
> 
> Bob Martin
> 
> 
Thanks!  That worked.  Now if the program wouldn't give a segmentation 
fault as soon as it's supposed to start...but that's another thing 
altogether...

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

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

From: Tim Hockin <[EMAIL PROTECTED]>
Subject: Re: How to search all files in a directory?
Date: 21 May 2000 01:24:37 GMT

Paul Rubin <[EMAIL PROTECTED]> wrote:
: I'm a new linux user, and I'd like to find a way to search all the
: files in one directory for a particular word or string, case
: insensitive. What is the correct command and syntax?

find . -type f | xargs grep  is probably the fastest way

-- 
Tim Hockin
[EMAIL PROTECTED]
[EMAIL PROTECTED]
This program has been brought to you by the language C and the number F.

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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: sound over network
Date: 21 May 2000 01:33:18 GMT
Reply-To: [EMAIL PROTECTED]

On 20 May 2000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>Hi, I have 2 pc's:
>
>- linux 2.2.5-15 redhat 6
>  many mem&mhz X3
>  !!No souncard
>   /\ client01
>   |
>   | 10 mb ethernet (working)
>   |
>   \/ server
>- linux 2.2.14 redhat 6
>  p120, 16m  
>  working souncard
>  too slow for a good x
>
>And I want a xmms (or even cat>/dev/dsp) on client01 soundfile
>to make some noise out of the server...
>
>I have some kind of esd installed on both pc's , but I don't get the port:host 
>explanation in the esd "documentaition" 
>
>Who can help me?
>
>This is only for testing, I can play my music comfortably trough the server,
> so dont tell me to buy a soundcard
>
>(ps I know I'm root)
>[EMAIL PROTECTED] my be down this week, try [EMAIL PROTECTED] 

Check out VNC.  It allows you to remotely control any computer from most
any OS (or any Java capable web browser), but it does not transmit sound
to the remote, it plays it from the server.  Normally this is a
disadvantage, but is exactly what you are looking for.  It defaults to
using twm, but you can change it to enlightenment or other wm.

http://www.uk.research.att.com/vnc/index.html

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: [EMAIL PROTECTED] (David Efflandt)
Subject: Re: URI cpan ?
Date: 21 May 2000 01:36:46 GMT
Reply-To: [EMAIL PROTECTED]

On Sat, 20 May 2000 14:13:05 GMT, sleddog <[EMAIL PROTECTED]> wrote:
>One of the requirements for gotmail
>(http://www.ozemail.com.au/~peterhawkins/gotmail/) as listed in the
>readme:
>
>* The URI cpan module (liburi-perl debian package)
>
>Can anyone tell me what the RedHat 6 equivalent is? I've been pawing
>through rpms for over an hour without result. Thanks.

You don't need a RH specific or even Linux specific version of a Perl
module.  All you have to do is find the module on CPAN (or search
www.perl.com) and follow the instructions that come with it to install it.

-- 
David Efflandt  [EMAIL PROTECTED]  http://www.de-srv.com/
http://www.autox.chicago.il.us/  http://www.berniesfloral.net/
http://hammer.prohosting.com/~cgi-wiz/  http://cgi-help.virtualave.net/


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

From: lindoze 2000 <[EMAIL PROTECTED]>
Subject: ZIP 100/250 drives w/linux
Date: Sat, 20 May 2000 21:41:59 -0400

how reliable are those zip drives? I just got an Iomega zip 250.
how well they work with linux?  any hardware requirements? any
special adjustments? I have the internal IDE/ATAPI drive which
was autodetected by the BIOS in my W*nd*ws NT machine.
my linux machine is completly wintel free. the motherboard is
made by VIA with no intel parts at all. the processor is an
AMD K6-2 500MHz.  

-- 






*************************************************
  Please add your thoughts and ideas to
  My Experiment: http://www.fusionplant.com/ 
  This is a not a .COMmercial site, but
  rather a tiny .ORGanization.
*************************************************

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

From: lindoze 2000 <[EMAIL PROTECTED]>
Subject: bc calculator
Date: Sat, 20 May 2000 21:43:58 -0400

why does bc calculator give
10 / 3 = 3 ??
why not :
10 / 3 = 3.33333 ?

-- 






*************************************************
  Please add your thoughts and ideas to
  My Experiment: http://www.fusionplant.com/ 
  This is a not a .COMmercial site, but
  rather a tiny .ORGanization.
*************************************************

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


** 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 (and comp.os.linux.misc) via:

    Internet: [EMAIL PROTECTED]

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