Linux-Misc Digest #176, Volume #25               Wed, 19 Jul 00 04:13:01 EDT

Contents:
  Re: How to run Lview under Wine (Bev)
  Re: Axent Defender + PPP (Justo M. Casablanca)
  Re: squid configuration ("Bryan Hepworth")
  Interesting network question (Gabe)
  How do I read newsgroup with @home? (Patrick Lam)
  mount / umount hangs ("Peter")
  Problem with make on Caldera 2.3 linux box. (Patrick Lam)
  learning linux ("Lord Apophis")
  Re: help me keep my interest in linux ("tvn")
  Re: Problem with make on Caldera 2.3 linux box. ("Tim Prince")
  Re: How do I read newsgroup with @home? (hac)
  Re: SQUID ... s-l-o-o-o-o-o-w! ("Micromans")
  Re: [Handhelds] Linux may be abandoned for WinCE here. (lars brinkhoff)
  Re: Problem with make on Caldera 2.3 linux box. (Patrick Lam)
  Re: Problem with make on Caldera 2.3 linux box. (Patrick Lam)
  Re: Problem with make on Caldera 2.3 linux box. (Patrick Lam)
  Re: Problem with make on Caldera 2.3 linux box. (Patrick Lam)
  Re: audio on cdrom? ([EMAIL PROTECTED])
  Re: memory allocator for specified areas (Roy Gordon)
  Is it physical or logical corruption? ("Bruce D. Meyer")
  Re: help me keep my interest in linux (mikey)
  FREEWARE - portable Unix utility scripts (Richard Anderson)

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

From: Bev <[EMAIL PROTECTED]>
Subject: Re: How to run Lview under Wine
Date: Tue, 18 Jul 2000 21:48:07 -0700

Dances With Crows wrote:

> Huh?  Then what is this directory called ".xvpics" that I see in those
> directories where I use xv to browse images?  It seems to contain
> thumbnails to me, and not just xv, but ee, kfm (with the "Icon View" and
> "View Thumbnails" options selected) and of course xv use this.

And speaking of xv, is it possible to specify a different size for the
thumbnails?

-- 
Cheers,
Bev   
++++++++++++++++++++++++++++++++++++++++++++
No lawyering.  Prosecutors will be violated.

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

From: Justo M. Casablanca <[EMAIL PROTECTED]>
Subject: Re: Axent Defender + PPP
Date: Wed, 19 Jul 2000 05:30:03 GMT

FYI, at my current job anyone who wants to log into the office
remotely must use an Axent Defender card. At my previous job,
a very similar method was used for remote logins. I suspect that
more and more software development companies will adopt these.

Hmmm, wouldn't it be nice if kpppd allowed one to interact with
the resulting dialup "challenge" ? Windoze has this option, after
all. Currently I have to use XISP from Linux in order to be able
to use my Axent Defender card for my remote office PPP connection.

Regards,

Justo M. Casablanca
[EMAIL PROTECTED]
[EMAIL PROTECTED]

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

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

From: "Bryan Hepworth" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,alt.os.linux,uk.comp.os.linux
Subject: Re: squid configuration
Date: Wed, 19 Jul 2000 06:32:26 +0100

I set up squid to deliver web pages to a wan of win95/98 PC's - Works like a
charm, not often you get people complementing you on how fast something runs
on the network :-)

If you want more information on specifics please feel free to email me.

bryan



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

From: Gabe <[EMAIL PROTECTED]>
Subject: Interesting network question
Date: Wed, 19 Jul 2000 01:44:19 -0400

Hey all you brilliant network folk, I need help...

I currently have a windows 98 machine connected to modem and running its
internet connection sharing. I want to get a linux box (mandrake 7)
connected to the network and be able to access the internet through the
win 98 machine's ICS. Does anyone know how to do this without purchasing
a program for windows. I have successfully set up linux to perform the
internet sharing, but was wondering if this would be possible.

Thanks
Gabe




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

From: Patrick Lam <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.caldera
Subject: How do I read newsgroup with @home?
Date: Tue, 18 Jul 2000 23:00:47 -0700
Reply-To: [EMAIL PROTECTED]

Hi all:

I am trying to use @home newsgroup (appearently I am using another
account right now) with my Caldera 2.3 box with kernel 2.2.16.  The
problem is that I am using a Win98 SE machine as the gateway
(192.168.0.1) and the address of this linux box is 192.168.0.2.  My
win98 SE machine can use the @home account by just using "news" as the
news server, but not the linux machine.  I think I am missing something
here .....

Thanks very much in advance.

Patrick.


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

From: "Peter" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: mount / umount hangs
Date: Wed, 19 Jul 2000 08:07:29 +0200

Hi all,

I'm using RedHat 6.1 with kernel 2.2.14-12 smp on a ASUS P2B-DS board and
when I try to umount an existing partition the process hangs. <Ctrl> C or
even kill -9 doesn't work.
The strange thing is however that the cpu load goes to 1.00
When I try to mount a new disk I've exactly the same problem, and the load
goed to 2.00 (with an idle 99.2% .....?!?) so every time when I do a mount
or umount the load increases with 1.00
The only thing I can do is the do a reboot -f because else the system want
to unmount the partitions and keeps hanging.
The mounting of the existing partitions are good mounted during the boot,
only unmounting and new disks mounting goes wrong.
(all installed packages are up2date!)

Has anybody some experience with this behavior?

Thankz.

Peter Oudakker
[EMAIL PROTECTED]




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

From: Patrick Lam <[EMAIL PROTECTED]>
Crossposted-To: comp.programming,comp.os.linux.caldera,comp.os.linux.programming.system
Subject: Problem with make on Caldera 2.3 linux box.
Date: Tue, 18 Jul 2000 23:08:29 -0700
Reply-To: [EMAIL PROTECTED]

Hi all:

Using the same makefile, I have successfully compiled a set of code in
Solaris, but not in Caldera 2.3 (kernel 2.2.16).  The error I got from
Linux is:

makefile:168: *** missing separator.  Stop.

What does this error mean?

Also, how do I see what version of glibc I am using?  Would it cause
this problem?

Thanks very much in advance.

Patrick.


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

From: "Lord Apophis" <[EMAIL PROTECTED]>
Subject: learning linux
Date: Wed, 19 Jul 2000 15:50:10 +1000

hi all i am learning redhat 5.1 at school and i think it is finally getting
me hooked. anyway what i am wanting to know is what books are available in
Australia for learning linux RH for newbies. stuff like installation, setup,
customisation etc...


thanks
Lord Apophis



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

From: "tvn" <[EMAIL PROTECTED]>
Subject: Re: help me keep my interest in linux
Date: Wed, 19 Jul 2000 02:24:05 -0400

great links .. thanks


I am pretty good in programming with C++ ...   tried to use emacs and vi to
write some code but moving around emacs or vi is another long learning step.
All that control + key things.



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

From: "Tim Prince" <[EMAIL PROTECTED]>
Crossposted-To: comp.programming
Subject: Re: Problem with make on Caldera 2.3 linux box.
Date: Tue, 18 Jul 2000 23:24:55 -0700
Reply-To: "Tim Prince" <[EMAIL PROTECTED]>

Check that line number and just ahead.  Make sure your file still has
hard tabs where they were in the original, and that there are no \r
characters.  e.g. if you ftp from unix to a Windows box, set binary
mode.

--
Tim Prince
"Patrick Lam" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> Hi all:
>
> Using the same makefile, I have successfully compiled a set of code in
> Solaris, but not in Caldera 2.3 (kernel 2.2.16).  The error I got from
> Linux is:
>
> makefile:168: *** missing separator.  Stop.
>
> What does this error mean?
>
>
> Thanks very much in advance.
>
> Patrick.
>



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

From: hac <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.networking,comp.os.linux.caldera
Subject: Re: How do I read newsgroup with @home?
Date: Wed, 19 Jul 2000 06:41:36 GMT

Patrick Lam wrote:
> 
> Hi all:
> 
> I am trying to use @home newsgroup (appearently I am using another
> account right now) with my Caldera 2.3 box with kernel 2.2.16.  The
> problem is that I am using a Win98 SE machine as the gateway
> (192.168.0.1) and the address of this linux box is 192.168.0.2.  My
> win98 SE machine can use the @home account by just using "news" as the
> news server, but not the linux machine.  I think I am missing something
> here .....
> 
You have two choices:

1) Use the FQDN instead of "news".
2) Set your domain to whatever your @Home subdomain is.

For me, #1 would be "news.irvn1.occa.home.com".  I use #2, by adding
this line to /etc/resolv.conf:

domain irvn1.occa.home.com

Use your own local domain, not mine.  It should be on your paperwork,
or you can look at the Windows settings, where DHCP should have
configured it for you.

-- 
Howard Christeller  Irvine, CA   [EMAIL PROTECTED]

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

From: "Micromans" <[EMAIL PROTECTED]>
Subject: Re: SQUID ... s-l-o-o-o-o-o-w!
Date: Tue, 18 Jul 2000 23:49:47 -0700

I checked out the squid mailing list and couldn't find a satisfactory
answer. However ... I figured it out myself. Works like a charm now!!!

I am new to Linux over the past 3 weeks or so. When I installed RedHat 6.0
it put in a default gateway that it thought appropriate to my network IP
address. I accepted it and forgot all about it. Finally with no other ideas
I recalled the gateway and deleted it. Squid now works perfectly.

I can't understand though why squid worked part of the time while the
default gateway was set to a non-existent address. Wouldn't it have worked
all of the time or not at all?

Anyways, squid is on the air !!!

Micromans




"Tom Williams" <[EMAIL PROTECTED]> wrote in message
news:8l31v3$o4e$[EMAIL PROTECTED]...
> In article <pCZc5.19058$[EMAIL PROTECTED]>,
>   "Micromans" <[EMAIL PROTECTED]> wrote:
> > I have installed the latest caching proxy-server "squid" STABLE
> version from
> > www.squid-cache.org and have it up and running. I've configured it to
> permit
> > all http access so that a client can access any web sites. Am running
> Linux
> > RedHat 6.0 using pppd to connect to a dial-up ISP on a 56k external
> USR
> > modem (ttyS1) that probably gets 33k at best of times. For the client
> I am
> > running NT 4.0.
> >
> > PROBLEM: Even though I can occasionally get certain web pages others
> wait
> > for a very long time and then return a "connection timeout" (this
> error
> > message is sent to the client from squid) at the client. Other times I
> wait
> > a long time and eventually - clunk - the web page fills in.
> Occasionally if
> > I press F5 to refresh it helps. Usually nothing helps. Yet many pages
> do
> > fill in normally. Some pages that never fill in can be pinged
> successfully
> > directly at the Linux box, and if I reboot the Linux box and choose NT
> > Workstation (on the same box, with the same modem) I can connect to
> the ISP
> > and browse all sites successfully.
> >
> > I have tried various squid options with no luck so far. I can request
> a page
> > and if it is going to time out I can simultaneously observe from the
> lights
> > on my modem that squid is doing nothing at all, (when squid does
> return a
> > page I will immediately see steady activity on the modem).
> >
> > I have checked out various threads on the web and find a large number
> of
> > posts indicating that squid is often very slow and needs tuning. I
> find a
> > few posts that claim squid needs no tuning at all.
> >
> > Is anyone familiar with this package? Does anyone have any tips or
> > suggestions for isolating the problem? It works, but not good enough
> to use
> > in practice. Can anyone point me to links or threads that might be
> useful?
> > Thanks.
> >
> > Micromans
> >
> >
>
> You should join the Squid mailing list and you will get your questions
> answered there.  The list is accessbile from here:
> http://www.squid-cache.org/mailing-lists.html
>
> There is also an archive you can search.
>
> Good luck!
>
> Peace....
>
> Tom
>
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.



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

From: lars brinkhoff <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.development.system,comp.os.linux.advocacy
Subject: Re: [Handhelds] Linux may be abandoned for WinCE here.
Date: Wed, 19 Jul 2000 06:51:31 GMT

*** I'd be very interested in hearing about work done by others ***
*** to reduce the size of Linux.  I already know about Graham   ***
*** Stoney's CONFIG_MESSAGES and dead function optimisation     ***
*** patches.                                                    ***

Wallace Owen wrote:
> Can anyone tell me what files in the Linux kernel have data
> declarations whose dimensions can be safely reduced?  My efforts
> at producing a small kernel have got the code segment down below
> half a meg, but the data segment is 1.5 megabytes.

I started a port of Linux 2.3.99 to our MIPS R3000-ish device (IDT
RC32064, really).  This device usually has 2M flash and 4M RAM.

To reduce the size of the text and data sections, I sorted the output
of the "size" command and investigated the files with the largest
sections.

These are the memory-saving changes I arrived at.  They are not really
tested, so some of them may break some functionality.

fs/dcache.c

        Changed HASH_BITS from 14 to 8.  This reduces the size of the
        cache from 128K to 2K.

fs/inode.c

        Changed HASH_BITS from 14 to 8.  This reduces the size of the
        cache from 128K to 2K.

include/linux/blk.h

        Changed NR_REQUEST from 256 to 16.  This reduces the number of
        requests that can be queued.  The size of the queue is reduce
        from 16K to 1K.

include/linux/major.h

        Changed MAX_BLKDEV and MAX_CHRDEV from 256 to 10 and 20,
        respectively.  This reduces the number of block and character
        devices and saves about 40K.

kernel/printk.c

        Changed LOG_BUF_LEN from 16384 bytes to 2048 bytes.

include/linux/tty.h

        Changed NR_PTYS and NR_LDISCS from 256 and 16, respectively,
        to 16 and 4, respectively.  Saved about 12K.

        Warning: this change may break the pty driver, in which
        case further modifications will have to be done to
        drivers/char/pty.c.

kernel/panic.c

        Changed a buffer from 1024 bytes to 200 bytes.

include/linux/sched.h

        Changed PIDHASH_SZ from 1024 to 16, which saves
        1008 bytes.

arch/mips/kernel/entry.S

        (Has 21184 bytes of data which might be trimmed?)

include/linux/mmzone.h

        NR_GPFINDEX from 0x100 to 0x10.  Saves 4800 bytes,
        but I'm not sure it doesn't break anything.

net/Makefile, net/socket.c, net/nosocket.c

        Replacing socket.c with nosocket.c, a file containing
        dummy replacement functions for those in socket.c, saves
        about 24K.

        Warning: this disables the socket API entirely, but it
        is currently not used in our product.

net/Makefile, net/network.a, net/core

        Excluding net/core/core.o from net/network.a doesn't save
        anything.  I guess core.o isn't referenced by anything
        in the rest of the kernel (except maybe socket.c, see
        above).

mm/Makefile, mm/swapfile.c, mm/swap_state.c, mm/noswapfile.c, mm/noswap_state.c

        Replacing swapfile.c with noswapfile.c, and swap_state.c with
        noswap_state.c saves about 12K.  The no*.c files contains empty
        replacement functions.

        Warning: this disables swapping of anonymous memory, which isn't
        used in our product.  But note that demand paging of executables
        still works.

mm/Makefile, mm/mmap.c

        The functions in mmap.c could probably also be replaced by
        empty functions.  Estimated saving: 9K (not included in the
        grand total below).

*, CONFIG_MESSAGES

        Applying the CONFIG_MESSAGES patch and disabling all
        kernel messages saves about 80K.

        The CONFIG_MESSAGES patch was written by Graham Stoney
        <[EMAIL PROTECTED]>.

With all of the above, and only this enabled in .config:
        CONFIG_EXPERIMENTAL=y
        CONFIG_CPU_R3000=y
        CONFIG_CPU_LITTLE_ENDIAN=y
        CONFIG_ELF_KERNEL=y
        CONFIG_BINFMT_ELF=y
        CONFIG_MODULES=y
        CONFIG_MODVERSIONS=y
        CONFIG_KMOD=y
        CONFIG_CROSSCOMPILE=y
, the kernel is down to about 550K.

Here is the output of "size vmlinux".  I think this is without the
CONFIG_MESSAGES patch (it was many months since I worked with this).

text    data    bss     dec     hex     filename
572128  41964   15860   629952  99cc0   vmlinux

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

From: Patrick Lam <[EMAIL PROTECTED]>
Crossposted-To: comp.programming
Subject: Re: Problem with make on Caldera 2.3 linux box.
Date: Wed, 19 Jul 2000 00:08:50 -0700
Reply-To: [EMAIL PROTECTED]

Thanks very much Tim.  Everything seems right in the makefile, except that
I did not quite understand the following:

Tim Prince wrote:

> Check that line number and just ahead.  Make sure your file still has

What did you mean by "line number and just ahead"?  What kind of line
number should I be looking for?  Sorry that if this is a stupid question.
I have been so stuck with visual c++, and am currently encouraged to try
linux development.

Thanks again.

Patrick.


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

From: Patrick Lam <[EMAIL PROTECTED]>
Crossposted-To: comp.programming
Subject: Re: Problem with make on Caldera 2.3 linux box.
Date: Wed, 19 Jul 2000 00:11:52 -0700
Reply-To: [EMAIL PROTECTED]

Thanks very much Tim.  Everything seems right in the makefile, except that
I did not quite understand the following:

Tim Prince wrote:

> Check that line number and just ahead.  Make sure your file still has

What did you mean by "line number and just ahead"?  What kind of line
number should I be looking for?  Sorry that if this is a stupid question.
I have been so stuck with visual c++, and am currently encouraged to try
linux development.

Thanks again.

Patrick.


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

From: Patrick Lam <[EMAIL PROTECTED]>
Crossposted-To: comp.programming
Subject: Re: Problem with make on Caldera 2.3 linux box.
Date: Wed, 19 Jul 2000 00:12:42 -0700
Reply-To: [EMAIL PROTECTED]

Thanks very much Tim.  Everything seems right in the makefile, except that
I did not quite understand the following:

Tim Prince wrote:

> Check that line number and just ahead.  Make sure your file still has

What did you mean by "line number and just ahead"?  What kind of line
number should I be looking for?  Sorry that if this is a stupid question.
I have been so stuck with visual c++, and am currently encouraged to try
linux development.

Thanks again.

Patrick.


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

From: Patrick Lam <[EMAIL PROTECTED]>
Crossposted-To: comp.programming
Subject: Re: Problem with make on Caldera 2.3 linux box.
Date: Wed, 19 Jul 2000 00:15:42 -0700
Reply-To: [EMAIL PROTECTED]

>

Sorry that my news client died while I was sending this reply.  I kept
pressing Send, and it turned out to have sent it a few times
......................

Patrick.



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

From: [EMAIL PROTECTED]
Subject: Re: audio on cdrom?
Date: 19 Jul 2000 00:24:56 -0700

Potter Wickware <[EMAIL PROTECTED]> writes:

> Hi all --
> 
> OK, so I've got Redhat 6 installed & running. Now how do I make the CD
> player play music? I've used the mount -a command and the CDROM makes
> the expected mechanical noises, and the CD player utility registers
> tracks & play time, etc., but no music comes out. Sound card works fine
> when the machine is booted on the win OS.
> 
...<snip>...
        Back in the old days I had a problem like this.  It turned out the
volume was turned waaayyy down.  Could that be your problem?  There are
programs for adjusting the volume.  The simplest is called volume and is
command line based, but mixer programs like xmix or xmixer (which, as their
names imply, need to run under X-windows) are more full-featured.
    ---- Remove "UhUh" and "Spam" to get my real email address -----

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

From: Roy Gordon <[EMAIL PROTECTED]>
Crossposted-To: comp.unix.programmer,comp.unix.solaris,comp.os.vxworks
Subject: Re: memory allocator for specified areas
Date: Wed, 19 Jul 2000 07:40:54 GMT


Conor,

I'm taking a totally different approach now.  But my question before is
supppose
I've have a large chunk of shared memory (via shmget and shmat).  Is
there
a memory allocator/deallocator that I can use on it analogous to
malloc()/free().

That is because I will have arbitrary allocations of varying size from
the shared memory segment.

> have you looked at shmget and shmat (on Solaris & Linux)

Conor




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

From: "Bruce D. Meyer" <[EMAIL PROTECTED]>
Subject: Is it physical or logical corruption?
Date: Wed, 19 Jul 2000 03:45:17 -0400
Reply-To: "Bruce D. Meyer" <[EMAIL PROTECTED]>

I have a INN server that every day reports:
EXT2_fs warning device ide1(22,65)); ext2 free block bit already cleared for
block (whatever)
or the same but free block count corrupted for block group (whatver)

I know it means I need to fsck, but I had always thought this was due to the
HD's filling up beyond 90% and corrupting the records. I have three drives
that are symlinked together at appropriate places to spread the files across
about 55 GB of drives. I know that this is mighty tiny for an NNTP server
but that's not the point. I have expire running every three hours, and also
run diskcheck every 5 minutes via cron to email me when my HD get's to 80%.
I haven't received an email in months (I have tested that it works by
lowering threshold) so It leads me to wonder, could this be an indicator of
a physical problem, or more likely that I have at one point, when I actually
filled up 100% of the drive, that it became some corrupted that fsck will
never cure, and I must fdisk, and start over?

Any pointers faqs etc, appreciated.

Bruce Meyer




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

From: mikey <[EMAIL PROTECTED]>
Subject: Re: help me keep my interest in linux
Date: Wed, 19 Jul 2000 07:44:15 GMT

In article <8l3heo$[EMAIL PROTECTED]>,
  "tvn" <[EMAIL PROTECTED]> wrote:
> great links .. thanks
>
> I am pretty good in programming with C++ ...   tried to use emacs and vi to
> write some code but moving around emacs or vi is another long learning step.
> All that control + key things.

If you have KDE, you can try KDevelop (IDE for C/C++).
Looks pretty cool, but I didn't get a chance to play with it yet :)
see http://www.kdevelop.org

Mike


>
>


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

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

From: [EMAIL PROTECTED]  (Richard Anderson)
Date: Wed, 19 Jul 2000 01:11:06 -0500
Subject: FREEWARE - portable Unix utility scripts

The software product Typhon (www.unixscripts.com) contains over 100 portable
Korn shell scripts for text processing, file and directory processing,
customizing your login environment, disk space management, performance 
analysis, system monitoring and system security.  It includes generalized 
login environment files for the Korn shell, bash and the C shell.

Some of the functions of Typhon:

* Substitute one text string for another in all files in a directory tree,
  skipping non-text files. The substitution strings can be regular expressions 
  or plain text. 

* Display all subdirectories as a visual directory tree.

* Copy a file to multiple remote hosts, with disk backup of the target file on
  each host. 

* List all subdirectories in one or more directories, including symbolic links
  to directories. 

Part of Typhon is distributed as freeware, part as a commercial product.  You
can download the freeware or purchase the product at www.unixscripts.com.

Richard Anderson, Ph.D.
Chief Technology Officer, Raycosoft

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


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