Linux-Misc Digest #964, Volume #18                Tue, 9 Feb 99 13:14:33 EST

Contents:
  Umount won't unmount /usr (Dan Srebnick)
  Re: Desktop falls off the Monitor in XWindows? (Andy Repton)
  LINUX INTERNET (Philipp Heise)
  Re: Best speech recognition software to control Linux? (Guy Zelck)
  kernel 2.2.1, taper and Colorado 5GB IDE TBU (John Thompson)
  Kernel 2.0.36 compile error in delay.c (Guy Zelck)
  Re: kernel too big? (Dan Nguyen)
  X Apps via Telnet ("dgap")
  Re: Microsoft Linux 1.0 (Steve Salgo)
  Squid store log (Milos Prudek)
  Re: File Type Application Association - How? (Frank Boehme)
  Hiding process (Rafael Marcus)
  Re: Non-anonymous  chroot-ed  ftp. ("MostToys")
  Re: alternatives to Round Robin DNS (was Re: FreeBSD and Linux benchmarks) (Leslie 
Mikesell)
  Re: SAMBA: cannot be recognized by win95 ("Francis Pierot")

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

From: [EMAIL PROTECTED] (Dan Srebnick)
Subject: Umount won't unmount /usr
Date: 9 Feb 1999 10:17:42 -0500

My rc.6 script that runs to do a system shutdown does a umount -a to
unmount all filesystems.  This used to work just fine.  Recently, however,
I am unable to unmount /usr because it is busy.  I've made a lot of system
changes recently, including upgrading to glibc2.06.  Can someone suggest a
way to diagnose why this is happening and propose a fix?

Many thanks.

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

From: [EMAIL PROTECTED] (Andy Repton)
Subject: Re: Desktop falls off the Monitor in XWindows?
Date: 9 Feb 1999 15:31:58 GMT

On Tue, 09 Feb 1999 13:59:40 +0000, PG <[EMAIL PROTECTED]> wrote:
>So I added 1152x864 at 16 bit Color to the XF86Config mode line. It
>works *but* the desktop is way<--- to the left on the  screen. Not even
>the monitor controls manage to drag it back rightward enough. What-up? I
>can cycle through every other resolution just fine (the screen's a
>little dim at the lowest resolution).
>

As root, in X, run xvidtune. There are buttons to adjust the timings so 
that the display can be centred. Once you've got it right you can 
hit a button to output the correct mode line to the shell, then simply
copy that into the appropriate place in XF86Config. 

-- 
Andy


"You can't judge right by looking at the wrong." -- Willie Dixon 

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

Date: Tue, 9 Feb 1999 17:53:53 +0200 
From: Philipp Heise <[EMAIL PROTECTED]>
Subject: LINUX INTERNET

how to get ppp in the kernel ?!
in the howto file i read that the kernel had to be new compiled or
something like that . i am a
newbie in linux and i only want to know how to get in the internet over
linux.

please help me !

:-)



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

From: Guy Zelck <[EMAIL PROTECTED]>
Subject: Re: Best speech recognition software to control Linux?
Date: Wed, 03 Feb 1999 12:16:31 +0100

This is a multi-part message in MIME format.
==============C671081F04B3C6F2BF661978
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

To all,

The K stands for KDE where there's a lot of s.w., see at www.kde.org.

Guy.

[EMAIL PROTECTED] wrote:

> [EMAIL PROTECTED] wrote:
> : jerryn <[EMAIL PROTECTED]> wrote:
> :> I use KVOICECONTROL, it's free and it's pretty accurate!  PLUS you can
> :> read the code and LEARN HOW TO WRITE YOUR OWN SPEECH RECOGNITION
> :> TOOLS.  So expand your mind, use kvoicecontrol
> :
> : Where can one find this lovely piece of software?
> :
>
> Yes, I would like to know too... Is anyone aware of any
> free handwriting recognition software? Currently I'm rather
> interested in all sorts of alternative input methods - my wrists
> are giving me gyp, and besides, handwriting recognition software
> could easily be hacked to recognize Chinese characters.
> --
>
> Boudewijn Rempt  | www.xs4all.nl/~bsarempt

==============C671081F04B3C6F2BF661978
Content-Type: text/x-vcard; charset=us-ascii;
 name="guy.zelck.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Guy Zelck
Content-Disposition: attachment;
 filename="guy.zelck.vcf"

begin:vcard 
n:Zelck;Guy
tel;fax:+32 2 711.39.47
tel;work:+32 2 711.39.43
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard

==============C671081F04B3C6F2BF661978==


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

From: John Thompson <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.hardware
Subject: kernel 2.2.1, taper and Colorado 5GB IDE TBU
Date: Mon, 08 Feb 1999 13:40:47 -0600

I have just finished compiling kernel 2.2.1 and am trying to
use taper with my Colorado 5GB IDE tape drive.  The kernel
appears to recognize the drive, as evidenced by
/var/log/messages:


Feb  8 11:53:30 starfleet kernel: ide0: BM-DMA at
0xf000-0xf007, BIOS settings: hda:pio, hdb:pio
Feb  8 11:53:30 starfleet kernel: ide1: BM-DMA at
0xf008-0xf00f, BIOS settings: hdc:pio, hdd:pio
Feb  8 11:53:30 starfleet kernel: hda: WDC AC26400B, ATA
DISK drive
Feb  8 11:53:30 starfleet kernel: hdc: 36X CD-ROM, ATAPI
CDROM drive
Feb  8 11:53:30 starfleet kernel: hdd: HP COLORADO 5GB,
ATAPI TAPE drive

When I try to use taper ("taper -T ide") the drive appears
to respond correctly but always eventually fails with a seg
fault:


---clip from taper_log---
Mon Feb  8 12:11:47 1999:  Backing up file
/home/skylar/Office50/config/nedland.bmp; actual size 29808,
on tape size 29808.
Mon Feb  8 12:11:47 1999:  W: Child Segmentation fault



When starting taper I do get some messages from the ide-tape
driver to the effect that a speed setting is not properly
configured:

Feb  8 12:04:25 starfleet kernel: ide-tape: hdd: overriding
capabilities->speed 
(assuming 650KB/sec)

Perusing ide-tape.c suggests that this may be a quirk of the
Colorado drive and that by using "speed == 0" one may
overcome this obstacle:


 * Ver 1.13  Jan  2 98   Add "speed == 0" work-around for HP
COLORADO 5GB

But it is not clear to me how, or where this change is to be
made.  I'm not a programmer; I don't know c from Martian so
take it easy, please.  I feel like I'm making progress (at
least the drive responds now) but I'm not there yet.

Thanks...



-- 

-John ([EMAIL PROTECTED])

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

From: Guy Zelck <[EMAIL PROTECTED]>
Subject: Kernel 2.0.36 compile error in delay.c
Date: Wed, 03 Feb 1999 16:17:19 +0100

This is a multi-part message in MIME format.
==============E787148343BA1385B442C7D5
Content-Type: multipart/alternative;
 boundary="------------FB893D941FD1F285D9D54A05"


==============FB893D941FD1F285D9D54A05
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit


Hello everyone,

I've tried to compile the 2.0.36 kernel after installing it from the
tar.gz file. I'm not a newby but there's an error that pops up when
its compilation gets to the
/usr/src/linux/arch/i386/libs directory, it's the following:

make[2]: Entering directory `/usr/src/linux/arch/i386/lib'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c
-o checksum.o checksum.c
gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional -c
semaphore.S -o semaphore.o
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strength-reduce -pipe
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586  -c
-o delay.o delay.c
delay.c:19: conflicting types for `__delay'
/usr/src/linux/include/asm/delay.h:19: previous declaration of `__delay'

delay.c: In function `__const_udelay':

delay.c:31: `current_cpu_data' undeclared (first use this function)

delay.c:31: (Each undeclared identifier is reported only once
delay.c:31: for each function it appears in.)
make[2]: *** [delay.o] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'

My previous kernel was 2.0.34 and delay.c didn't exist there.
What is going wrong here?
Thanks for your solutions.

Guy ([EMAIL PROTECTED])

==============FB893D941FD1F285D9D54A05
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
&nbsp;
<br>Hello everyone,
<p>I've tried to compile the 2.0.36 kernel after installing it from the
tar.gz file. I'm not a newby but there's an error that pops up when
<br>its compilation gets to the
<br>/usr/src/linux/arch/i386/libs directory, it's the following:
<p>make[2]: Entering directory `/usr/src/linux/arch/i386/lib'
<br>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe
<br>-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586&nbsp;
-c -o checksum.o checksum.c
<br>gcc -D__KERNEL__ -I/usr/src/linux/include -D__ASSEMBLY__ -traditional
-c semaphore.S -o semaphore.o
<br>gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strength-reduce -pipe
<br>-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586&nbsp;
-c -o delay.o delay.c
<br>delay.c:19: conflicting types for `__delay'
<br>/usr/src/linux/include/asm/delay.h:19: previous declaration of `__delay'
<br>delay.c: In function `__const_udelay':
<p>delay.c:31: <b>`current_cpu_data' undeclared</b> (first use this function)
<p>delay.c:31: (Each undeclared identifier is reported only once
<br>delay.c:31: for each function it appears in.)
<br>make[2]: *** [delay.o] Error 1
<br>make[2]: Leaving directory `/usr/src/linux/arch/i386/lib'
<br>make[1]: *** [first_rule] Error 2
<br>make[1]: Leaving directory `/usr/src/linux/arch/i386/lib'
<p>My previous kernel was 2.0.34 and delay.c didn't exist there.
<br>What is going wrong here?
<br>Thanks for your solutions.
<p>Guy ([EMAIL PROTECTED])</html>

==============FB893D941FD1F285D9D54A05==

==============E787148343BA1385B442C7D5
Content-Type: text/x-vcard; charset=us-ascii;
 name="guy.zelck.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Guy Zelck
Content-Disposition: attachment;
 filename="guy.zelck.vcf"

begin:vcard 
n:Zelck;Guy
tel;fax:+32 2 711.39.47
tel;work:+32 2 711.39.43
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
email;internet:[EMAIL PROTECTED]
end:vcard

==============E787148343BA1385B442C7D5==


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

From: Dan Nguyen <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup
Subject: Re: kernel too big?
Date: 9 Feb 1999 16:14:55 GMT

In comp.os.linux.setup Mark Matties <[EMAIL PROTECTED]> wrote:

: make dep; make clean; make; make zImage
                        ^^^^      
Don't need the lone make there

: System is too big. Try using bzImage or modules.

: any ideas??

Your kernel is too big.  Did you try using bzImage? Instead of a make
zImage use make bzImage.  If that does work, consider making things
which would not normally be used as a module.  Like I have IDE-CDROM
controller as a module because I don't use my cdrom that often.  I
also have ppp, and a few other things as a module.  That will keep
your kernel smaller.


-- 
           Dan Nguyen            | There is only one happiness in
        [EMAIL PROTECTED]         |   life, to love and be loved.
http://www.cse.msu.edu/~nguyend7 |                   -George Sand


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

From: "dgap" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.questions
Subject: X Apps via Telnet
Date: Tue, 9 Feb 1999 16:54:44 +0100

Hi, there...

On my LAN I have a Linux server and some PC's with Windows 9*/NT4.

I want to develop graphical Apps (using Tcl/Tk or some Motif-like library)
on my Linux Server, nut I also want that users on the PC's use those apps
(and, of course, the graphical environment). Is this possible??

I know that, in some ways (for example, when using SGI Irix...), it is
possible to redirect the graphics output to another computer (I think that
it involves setting the display variable, although I don't know how to do
it), but will it work with PC's ??

Thank you for your help and I hope to ear from you soon

Paulo Ferreira




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

From: [EMAIL PROTECTED] (Steve Salgo)
Subject: Re: Microsoft Linux 1.0
Date: Tue, 09 Feb 1999 01:58:14 GMT
Reply-To: [EMAIL PROTECTED]

Nothing could stop them. They would release a dumbed-down version with
everything important obfuscated into the "registry" and costing only
$39. A lot of people would buy it but them come to the conclusion that
it was a peice of crap. Then the next version, a little better but
with proprietary "enhancements." As silly as it sounds, they could
actually get away with it.

On Tue, 9 Feb 1999 00:55:32 -0000, "Clive" <[EMAIL PROTECTED]>
wrote:

>Whats to stop them ?
>
>
>Steve Salgo <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]...
>>Kinda scary, huh?
>>
>>
>
>



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

From: Milos Prudek <[EMAIL PROTECTED]>
Subject: Squid store log
Date: Tue, 09 Feb 1999 18:19:30 +0100

Documentation about squid's store.log states that key RELEASE means "the
object has been removed from the cache". When the client browser is
required to compare the document in its cache to the original on the
server, a single TCP_CLIENT_REFRESH line is added to access.log, and two
lines are added to store.log. First a RELEASE line, and immediately
after a SWAPOUT line. Is this the correct behavior? 

When the client browser is set to never check, a single HIT line is
added to access.log, and nothing is added to store.log.

In both cases, the requested document is already in squid's storage, and
it's not in local browser cache.

--
Milos Prudek

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

From: Frank Boehme <[EMAIL PROTECTED]>
Subject: Re: File Type Application Association - How?
Date: Tue, 09 Feb 1999 17:00:01 +0000

David J. DeFrain wrote:
> 
> How do I associate an application to a specific filetype in Linux?  I want
> the GIMP to open automatically when I click on a .jpg file, for instance.
> TIA.

Nobody will be able to answer this question, because you are not telling
us what do you mean by 'clicking on a file'. I gather that you are
talking about a file manager of sorts which runs under X. But which one?

There are plenty of them...

Frank

--
Dr Frank Boehme                      | Email: [EMAIL PROTECTED]
National University of Ireland, Cork | phone: +353-21-903163       
Dept of Computer Science             |   fax: +353-21-903113
Cork, Ireland                        |   WWW: http://yeats.ucc.ie/~fboehme/

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

From: Rafael Marcus <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.admin,comp.os.linux.help,comp.os.linux.setup
Subject: Hiding process
Date: Thu, 28 Jan 1999 23:02:22 -0800
Reply-To: [EMAIL PROTECTED]

I run a Linux system (kernel version 2.0.27) and I have the following
problem:
I found processes that I am sure they are running (there are logs
updated every 10 min) but I can't see them when I do "ps -aux".
The process has a pid.* file and using the process number from this file
I can kill the process but I can't display it using "ps".
One of the prcesess hiding is an IRC eggdrop (IRC bot program) the
comunicates with the IRC server but I can't display it using "ps"
Any idea?
                            Thanks for your help.
                                   Rafael.

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

From: "MostToys" <[EMAIL PROTECTED]>
Subject: Re: Non-anonymous  chroot-ed  ftp.
Date: Mon, 8 Feb 1999 21:36:01 -0800

Check out guestgroups in the ftpaccess man page (man ftpaccess).  It will
provide the functionality you are looking for.  You must create the proper
directory structure which will look just like the one for anonymous ftp.
Let me know if you need further assistance.

MostToys


Alex Bezas wrote in message <[EMAIL PROTECTED]>...
>Hello everyone...
>
>We are recently trying to set up personal ftp Upload areas for several
>client users.
>The obvious way is to let them make normal ftp connections, find
>themselves in their
>home dirs. and then upload their stuff.
>
>However, in this way they can browse through the entire / filesystem,
>which is obviously not much desirable.
>Anonymous ftp is a solution since it chroots to /home/ftp  , and then
>use specific "hidden" dirs for each user.
>
>But the most attractive of all would be a combination:  Normal ftp
>logins (not-anonymous, but with user and pass),
>that would chroot to the ~user dir., so that the user sees his home as
>"/".
>
>I tried defining these users in /etc/passwd with chrooted shells, but
>that is not acceptable since
>the login shell changes to the UID of the logged-in user, and so chroot
>cannot execute.
>
>I believe there must be a way through the FTP server setup.
>Any hints or ideas?
>
>
>Thanks in advance,
>Alex
>
>
>
>
>



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

From: [EMAIL PROTECTED] (Leslie Mikesell)
Crossposted-To: alt.os.linux,comp.unix.bsd.freebsd.misc
Subject: Re: alternatives to Round Robin DNS (was Re: FreeBSD and Linux benchmarks)
Date: 28 Jan 1999 22:28:21 -0600

In article <[EMAIL PROTECTED]>,
Mike Tancsa <[EMAIL PROTECTED]> wrote:
>
>>What would be a comparable solution on a Linux or other Unixoid server
>>farm?
>
>
>Just a thought, but depending on the type of web application, you could
>probably do it in routing if you didnt want to do round robin DNS which as
>stated in the article does have its drawbacks when there is a server fault.
>Basically, its 'one IP address', and then on your router (hey, a UNIX box
>!), you could programmatically route the data in whatever pattern you so
>desire.  i.e. each server aliases lo0 to the 'single ip address' like Rod
>and Todd did. (e.g. lo0 is aliased to 192.168.1.1 irrespective of the
>individual ethernet addresses). Then your router alternates sending the
>data to the different servers and could be programmed to route based on
>availability of the servers, load avg, whatever....

Look at http://www.eddieware.org/.
  
Free, open source package for:
      IP Migration Application 
      Load-balancing DNS Server 
      Intelligent HTTP Gateway 
      Content Replication Application 

 Les Mikesell
   [EMAIL PROTECTED]

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

From: "Francis Pierot" <[EMAIL PROTECTED]>
Subject: Re: SAMBA: cannot be recognized by win95
Date: Mon, 8 Feb 1999 13:31:21 +0100

(We need more infos about your smb.conf.)

 I just happened to finally succeed in configuring Samba for accessing from
a Windows 98 box to a Linux server, and everything runs fine, including
ecnrypted passwords. It's really cool once correctly configured and I assure
you it IS possible.

A couple of guesses.

0) Try to use smbd and nmbd as daemons from rc.d, I find they're easier to
stop and restart this way.

1) Make sure your lock/log directories are existing.

2) Type 'hostname' on your Linux shell. Is the name what you expect ?

3) Do you have a WORKGROUP setup in smb.conf ? If not, try inserting one in
[global] section :

[global]
    ...
    workgroup = MYGROUP

(this is a default setting). Try not using more than 8 characters and no
space/punctuation, could be problematic.

4) Then try to see this group and the host name from Win95 in Network
Neighborhood.

5) save your smb.conf and restart samba (use 'samba restart' if you have the
script, might depend on the installation.) At worse, reboot (!) but best is
to kill and restart smbd and nmbd daemons.

6) Instead of using 'net view' from a dos box on Windows 95, go to the
Network Neighborhood on the desktop.

7) Make sure your Windows IP address is not in a "hosts deny" line in
smb.conf, or that it's allowed by your "hosts allow" line if you used that.
Best is, at first, not to use these commands at all in smb.conf and add them
later when connection works.

8) Well, read docs, specially DIAGNOSIS.TXT. There are a number of steps in
this text which allow you to test Samba installation and working in a very
straightforward way and gives clues if it doesn't work.

9) Make sure your Windows IP address is not locked by the networking
security undergrounds in Linux TCP/IP services. Samba cannot give access to
a host if it is rejected by TCP/IP first. Samba is on top of Linux, so every
TCP/IP networking setup consideration take precedence over Samba
configuration settings.

10) A possible problem could also be that you did not set any service in
smb.client. Try to setup the 'tmp' example service with public access, if
your host has no shared service I think it won't be visible.

11) If you have problems with passwords, use the following in [global] :

security = share

This will make all services accessible at the share security level, which
means usernames won't be a problem as all services will be accessed via user
'guest' remapping. (In fact, the guest account is generally 'nobody' which
is a generic user in passwd).

12) Don't try to setup encrypted passwords yet. Configuring Samba can be
frustrating with that when trying to access to Samba from Windows things and
should be done by steps, but once it's okey there's simply no problem at
all! (I spent a whole week to solve this password problem.)

As I have a correctly configured Samba/Windows setup here, I can answer your
questions if I have the time. If possible, please CC your newsgroup posts to
my email [EMAIL PROTECTED] so I don't need to check the newsgroup too
often. (It's a BIG one!) I will reply the same way.

Francis Pierot
Senior Programmer - Tech Direction
Cryo Interactive Entertainment
[EMAIL PROTECTED]

- Computers are to programmers
  What brushes are to painters -

Danke Hirasawa <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I just installed/configured samba-1.9.18p7 came with Slackware 3.5.  I
> am running SMB through inetd.
>
> After I configured smb.cong file, I tested it by  testparm.  It seemed
> OK.  I also did  smbclient -L (samba-server) and smbclient -L
> (win95-host) on the samba-server.  Both were working.
>
> Now I am trying to see if I can see the Samba-server from the Win95-host
>
> via NetBios, "net view \\(samba-server)" command on the Win95 host.  It
> is NOT working.  Win95 complaining "can not locate the host
> (samba-server)."    I have set Lmhosts file in c:\windows directory of
> Win95 machine and confirmed that TCP/IP connection between two hosts is
> working.  I tried to run SMB through standalone Daemons, but it did not
> work either.  I checked upper/lower cases of  host name, did not matter.




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


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