Kernel compiling..

1997-05-08 Thread Carlos Marcos Kakihara
-BEGIN PGP SIGNED MESSAGE-


I downloaded the kernel-source-2.0.30_2.0.30-4.deb and instaled
it. But when I do a make something, this happens:

[stress]:/usr/src/linux# make clean
make: *** File `Rules.make' has modification time in the future
make: *** File `arch/i386/Makefile' has modification time in the future
make: *** File `.config' has modification time in the future
make: *** File `Makefile' has modification time in the future
make: Failed to remake makefile `Rules.make'.
make: Failed to remake makefile `arch/i386/Makefile'.
make: Failed to remake makefile `.config'.
make: Failed to remake makefile `Makefile'.

There is an old package in my system?

TIA

-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQB1AwUBM3EWyNw+0ForGwIxAQGZigL8C+F84pDFF0Ywi8AtjYPZykvkwacxsT5D
EqIj6Grm84qbJJH4bJQwib5CJv9zIO2qcQyzgZ0d+Cv2jdVyTbJ5GO2MWTBTFM1b
jpIUvw/+RJvgzvmnfkynbxHr7SfKHox9
=H/V6
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: Kernel compiling..

1997-05-08 Thread Carlos Marcos Kakihara
-BEGIN PGP SIGNED MESSAGE-


Sorry, I seen the date of my system, it was in 1996. :)

On Wed, 7 May 1997, Carlos Marcos Kakihara wrote:

> 
>   I downloaded the kernel-source-2.0.30_2.0.30-4.deb and instaled
> it. But when I do a make something, this happens:
> 
> [stress]:/usr/src/linux# make clean
> make: *** File `Rules.make' has modification time in the future
> make: *** File `arch/i386/Makefile' has modification time in the future
> make: *** File `.config' has modification time in the future
> make: *** File `Makefile' has modification time in the future
> make: Failed to remake makefile `Rules.make'.
> make: Failed to remake makefile `arch/i386/Makefile'.
> make: Failed to remake makefile `.config'.
> make: Failed to remake makefile `Makefile'.
> 
>   There is an old package in my system?
> 
> TIA
> 
> --
> Good signature from user "Carlos Marcos Kakihara (bacate) <[EMAIL 
> PROTECTED]>".
> 


-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQB1AwUBM3Ej3dw+0ForGwIxAQEPdAMAoSjtfmfpcNerQnEHkE1XBdHDhaOVXyy5
BFESN4OMaIf0uPmbrVIX08FZJxhgN6JpvKhORAEAqG5iZiqygMb0emmyJX+MXJfY
Y0pz9rHoLGdZ9qWBGARLo9JtbhlDCewT
=EM1j
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mgetty "auto-telnet" ??

1997-05-08 Thread Adam Shand
>Do you have any idea on how to setup mgetty to automatically telnet an
>incoming connection to another system.  (i.e. anyone connecting to ttyS31
>should be automatically telnetted to aaa.bbb.ccc.ddd.)

I know that this can be done as we used to do it... but I can't remember
how we used to do it :( (it was nearly 3 years ago).  Come to think of it,
that long ago it wouldn't have been with mgetty either

One thing you can do is to create the users on the debian box without a
password and have their shell set to do an rlogin to the machine you want
to connect them to.  So the debian box asks them for a username and then
the other machine asks them for a password.  It's transparent to the user,
the only hassle is having to maintain two sets of passwords... but that
should be do-able with rdist or some such without too much hassle.

Adam.



- Earthlight Communications Limited 
P.O. Box 5301   Adam Shand (fax) +64 3 477 5463
Dunedin, New Zealand   Systems Manager(voice) +64 3 479 0303
-- http://larry.earthlight.co.nz/ --


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


PnP soundcard overrides conventional card

1997-05-08 Thread Mo Oishi
I've just installed isapnptools.  It works great on my PnP soundblaster
clone. The one problem is that now I can't use my non-PnP midi card. The
midi card just happens to sit at the same irq as the soundcard (which has
really corny midi emulation). Is there some way to get my midi card to
live happily with my soundcard? 

Mo

On Tue, 6 May 1997, Tim Sailer wrote:

> In your email to me, Christopher Ray Martin, you wrote:
> > 
> > 
> > Is there a debian package which will allow me to configure my PnP ISA
> > 2Mbps tape drive accelerator card?
> 
> Take a look at the 'isapnptools' package from Bo
> 
> Tim
> 
> -- 
>  (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - 
> http://www.buoy.com/~tps
>They tell me my job is easy... anyone can do it.
> Why doesn't anyone else want it?
>   -- me
> ** Disclaimer: My views/comments/beliefs, as strange as they are, are my 
> own.**
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] . 
> Trouble?  e-mail to [EMAIL PROTECTED] .
> 
> 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


inquiry about "exploder" mailing lists of Debian lists

1997-05-08 Thread Pete Templin

As list manager, I often assist people in the process of unsubscribing
from Debian lists.  Occasionally, I end up with a person who is receiving
Debian mail from a mailing list that is _on_ a Debian mailing list.  Many
of these lists serve excellent purposes (they're based in a locality that
has slow external connectivity, etc), but can make it difficult for a
subscriber to realize that the normal method of unsubscribing doesn't
work.

To assist with managing this dilemna, I'd like to ask anyone who currently
operates/manages/oversees any of those lists to contact me with the
following information:

Your name/email
What debian list(s) you "explode"
What address receives the mail from the first-tier Debian lists
Approximately how many subscribers are on your list(s)

I'm not going to ask you to stop what you're doing.  I'm merely hoping to
get a sense of how many there are, and attempt to keep track of who I can
contact to assist with problems.

Thanks for your help,

Pete

--
Peter J. Templin, Jr.   Client Services Analyst
Computer & Communication Services   tel: (717) 524-1590
Bucknell University [EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


re-configuring things...

1997-05-08 Thread smorrill
I have *another* newbie type question. (Do they ever stop?) I am using
debian release 1.2 on my 586/133mhz.  When I originally ran dselect
after doing my base system install, I skipped over configuring a number
of programs, like ppp, etc.

I've also made some mistakes (I think) on some of my hardware items that
need to be changed.  Instead of taking the weenie route & re-installing,
is there a graceful way to go back and correct my blunders?  I'd like to
learn how to do this thing right (I think that's one of the reasons I'm
trying to learn this stuff... :-) )

Any suggestions appreciated!!
-- 
Steve Morrill
  

> Please reply to <[EMAIL PROTECTED]>..  +  PGP pub key id: 0xF2459FCD  <
> header changed to prevent spamming!   +  Linux..it's not just an OS, <
>   +  it's an adventure!  <



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Messages off by default?

1997-05-08 Thread Sam Ockman
Debian 1.3 seems to turn messages off by default for users.  I know I can
put "mesg on" in the default login files either in skel or etc, but is
there anyway to do it that is not shell specific

Thanks,
Sam


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Debian on a ThinkPad

1997-05-08 Thread Matthew Tebbens
Is anyone here running Debian on a ThinkPad ?
I would like to install Debian on my ThinkPad 755cx.

Thanks,
Matthew


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ideas about moving Debian to another hard drive

1997-05-08 Thread Barak Pearlmutter
> Some time ago it was rumored that cp cannot copy files with holes, it
> just fills the holes :-( There's even a package to work around this,
> perforate. Is it still true that cp -a cannot preserve holes?
>
> Carlos

No, this rumor is quite easy to falsify.  GNU cp makes a copy with
holes iff the original has holes.


$ dd if=/dev/zero of=foo bs=1k count=200
200+0 records in
200+0 records out
$ cp foo bar
$ du -s foo bar
201 foo
201 bar

$ zum foo
foo [1608K]  [1 link]
$ cp foo bar1
$ du -s foo bar bar1
0   foo
201 bar
0   bar1


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: gpm configuration

1997-05-08 Thread Martin Schulze
Franck LE GALL - STAGIAIRE A FT.BD/CNET/DTD/PIH writes:
> Hi,
> 
> When I installed Debian, I made some errors while configuring options of gpm.
> 
> Now, I know what to do, but I am unable to change the default configuration 
> of 
> gpm at boot time. How could I do this ?

Just log in as root and type

gpmconfig

This starts a script which does all the configurtion for you.  Don't
worry, you're getting asked for several settings.

Regards

Joey

-- 
  / Martin Schulze  *  [EMAIL PROTECTED]  *  26129 Oldenburg /
 /  Whenever you meet yourself you're in a time loop /
/ http://home.pages.de/~joey/   or in front of a mirror /


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is this a bad, bad sign? (harddisk problem?)

1997-05-08 Thread A. M. Varon
On Wed, 7 May 1997, Rick Jones wrote:

> What do you think is causing this:
> 
> May  5 07:23:26 panther kernel: hda: WDC AC21200H, 1222MB w/128kB Cache,
> LBA, CHS=2484/16/63, DMA
> 
> Keep in mind that I'm not using LBA mode. Maybe I'm mistaken, but doesn't
> that field that says LBA mean the drive is in LBA mode?  
> 
> Ofcourse, you can tell it's not since the cylinders are more that 1023.
> Not to mention I just went through switching from LBA to normal mode not
> to long ago because of file coruption I suspected was caused by the LBA
> mode.  Which now may be something else all together.
> 
> I've only had this drive about a year.  I can't imagine it going tit's-up
> this fast.

Indeed, there is something really wrong.  Something really is
wrong with the harddisk. Few months ago there was a thread in a linux
mailing list about the how unreliable some western digital harddisk are.
many disgruntled linux users. you could check out www.wdc.com.

regards,
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Andre M. Varon Lasaltech, Incorported
 Technical Head Fax-Tel: (034)433-3520
 e-mail  : [EMAIL PROTECTED]
 web page: http://www.lasaltech.com/andre.html
 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=





--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: kahnd

1997-05-08 Thread Hamish Moffatt
On Wed, May 07, 1997 at 08:49:14AM -0400, Jens B. Jorgensen wrote:
> IP address) and UDP broadcast packets are *not* routed which 
> means if 1.1.1.3 is trying to find 1.1.1.2 by name, it won't find
> it. The solution to this is to set up a WINS server--sorta like 
> a DNS server. You can do this in Linux, you just need SAMBA (which
> it seems like you already have. The program is nmbd and you need
> to create a file which maps host names to IP addresses (and which
> looks like an /etc/hosts file) and 'nmbd -H your-lm-hosts-file'
> will then run the server. Then on your Win95 client go into TCP/IP
> settings and set 1.1.1.1 as a WINS server. If you've got '-proxyarp'
> being passed to pppd on your Linux box, you should be there.

Hmmm. Interesting explanation, thanks. Does this explain one odd
thing I see? I have a machine at home running Samba, as well as my
own workstation (Win95/Linux). I have another machine running Samba,
located at my ISP. I can access the machine at the ISP fine from Windows;
I never had to set up an LMHOSTS for Win95 or anything. (All machines
are in the same domain).

But a friend has his own PC (Win95/NT), and wants to talk to this machine
at the ISP too, and it doesn't work, even with LMHOSTS it seems.


Hamish
-- 
Hamish Moffatt, StudIEAust[EMAIL PROTECTED]
Student, computer science & computer systems engineering.3rd year, RMIT.
http://yallara.cs.rmit.edu.au/~moffatt (PGP key here) CPOM: [  ] 42%


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is this a bad, bad sign? (harddisk problem?)

1997-05-08 Thread Jim Pick

Andre M. Varon wrote:
> Indeed, there is something really wrong.  Something really is
> wrong with the harddisk. Few months ago there was a thread in a linux
> mailing list about the how unreliable some western digital harddisk are.
> many disgruntled linux users. you could check out www.wdc.com.

Indeed, I had a 1.6GB one die on me.  I had some "errors" and it started
making clunking noises.  A few hours later, it was dead.

Luckily, I've got good backups here.  I did have to wait for a month to
get the replacement drive from my dealer though.

There's a notice on their web site about quality problems with one of their
1.6GB models (I'm not sure if it was the same as mine).  I'm unsure as
to whether this extends to the rest of their line.

Cheers,

 - Jim



pgpRB6oMqYCJI.pgp
Description: PGP signature


PPP Problems

1997-05-08 Thread Alex Monaghan
This may be a FAQ, if so please point me to the 
right place. 

I have kernel 2.0.27 and could not make a PPP 
connection. 

I can dial and login to my ISP OK, but can't seem 
to get a PPP session.

When I use my old Slackware 1.3.x PC on the same 
modem with the same setup I get a connection and a 
PPP session.

The only difference I can see is when I cat 
/proc/net/(can't remember which one) 

on the Slakware one I get ppp0-15 as well as lo and 
eth0, on the Debian I get only eth0 and lo.

I've applied the 2.0.28,29&30 patches and 
re-compiled (making sure that ppp is included) but 
still the same result.

When checking the logs I get the pppd startup 
messages as on Slackware, but get LCP a timeout 
message.

Any suggestions ?

 - Please copy any reply to [EMAIL PROTECTED]


-- 
---
---
Alex Monaghan   Network Support Analyst, Royal 
Mail Anglia
London Rd, Stevenage, SG1 1AA, 
UK
Email   [EMAIL PROTECTED] 
STD 01438 767081
Postline5811 7081
---
---


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


kfdialog.h

1997-05-08 Thread Rick Jones
This is interesting:

panther# pwd
/usr/src/kde/kdelibs
panther# find /usr -iname kfdial*
/usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.cpp
/usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.moc
/usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.h
/usr/src/kde/kdm-0.4.4/kfdialog.cpp
panther# cd ../kdm*
panther# pwd
/usr/src/kde/kdm-0.4.4
panther# find /usr -iname kfdial*
/usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.cpp
/usr/src/kde/kdm-0.4.4/kfdialog.cpp
panther# make
c++ -c  -O2 -fno-strength-reduce -m486
-DKDMLOGO=\"/lib/pics/kdelogo.ppm\"
  -DSTDC_HEADERS -I//usr/local/qt/include -I/usr/local/kde/include
-I/usr/X11R6/include  -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE
-D_SVID_SOURCE -DX_LOCALE   kfdialog.cpp
kfdialog.cpp:13: kfdialog.h: No such file or directory
kfdialog.cpp:70: kfdialog.moc: No such file or directory
make: *** [kfdialog.o] Error 1
panther#

Now why can't "find" see the kfdialog.h/.moc files from the kdm directory
but it sees them from kdelibs directory?

I am not happy about this.  Does anybody have a clue?

Have a good one,

--Rick

[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Is there a problem with this list.

1997-05-08 Thread Stephen Davey

I normally receive 20 to 30 messages a day but the last 2 days I have received 
4 ? 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: postgres95 / libbsd.so

1997-05-08 Thread Nicola Bernardelli
On Wed, 7 May 1997, Karl M. Hegbloom wrote:

> > "Nicola" == Nicola Bernardelli <[EMAIL PROTECTED]> writes:
> 
>  Rather than commenting out the -ltermcap, you could replace it with
> -lncurses, and it will link fine.  Ncurses has termcap emulation.

GREAT! Actually, I was wondering about that... good that you gave a look
at the diff file, thank you!


 Nicola Bernardelli <[EMAIL PROTECTED]>
---
 Please use <[EMAIL PROTECTED]> for messages from any kind of
robot, such as mailing lists. From that address no autoresponse
messages will return even when I'm not at home.
---



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is this a bad, bad sign? (harddisk problem?)

1997-05-08 Thread Sam Ockman

Excellent, I have a Western Digital 1.6 gb harddrive, the same one that
their web page admits to having problems withGateway is sending me a
new one, I only hope this one lasts until then..

(It does take some guts for WD to admit they messed up, and replace the
drives.)

Thanks for all the help---
Sam

Message from A. M. Varon ([EMAIL PROTECTED]):
> On Wed, 7 May 1997, Rick Jones wrote:
> 
> > What do you think is causing this:
> > 
> > May  5 07:23:26 panther kernel: hda: WDC AC21200H, 1222MB w/128kB Cache,
> > LBA, CHS=2484/16/63, DMA
> > 
> > Keep in mind that I'm not using LBA mode. Maybe I'm mistaken, but doesn't
> > that field that says LBA mean the drive is in LBA mode?  
> > 
> > Ofcourse, you can tell it's not since the cylinders are more that 1023.
> > Not to mention I just went through switching from LBA to normal mode not
> > to long ago because of file coruption I suspected was caused by the LBA
> > mode.  Which now may be something else all together.
> > 
> > I've only had this drive about a year.  I can't imagine it going tit's-up
> > this fast.
> 
> Indeed, there is something really wrong.  Something really is
> wrong with the harddisk. Few months ago there was a thread in a linux
> mailing list about the how unreliable some western digital harddisk are.
> many disgruntled linux users. you could check out www.wdc.com.
> 


-- 
VA Research Linux Workstations
Engineered like no other
http://www.varesearch.com
Sam Ockman - (415)934-3666, ext. 133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is there a problem with this list.

1997-05-08 Thread Rick Jones

Must be a problem.  I've sent more than that myself.  I've seen less than
usual but not too bad.

On Thu, 8 May 1997, Stephen Davey wrote:

> 
> I normally receive 20 to 30 messages a day but the last 2 days I have 
> received 4 ? 
> 
> 
> --
> TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
> [EMAIL PROTECTED] . 
> Trouble?  e-mail to [EMAIL PROTECTED] .
> 

Have a good one,

--Rick

[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: kfdialog.h

1997-05-08 Thread Craig Sanders

On Thu, 8 May 1997, Rick Jones wrote:

> panther# cd ../kdm*
> panther# pwd
> /usr/src/kde/kdm-0.4.4
> panther# find /usr -iname kfdial*
> /usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.cpp
> /usr/src/kde/kdm-0.4.4/kfdialog.cpp

try putting quotes around kfdial*.

e.g.
find /usr -iname "kfdial*"

Without the quotes, the kfdial* argument MATCHES the file kfdialog.cpp
in the current directory (/usr/src/kde/kdm-0.4.4), and that is what is
passed to find as an argument.

You're even taking advantage of this behaviour when you issue commands
like "cd ../kdm*"


> [...deleted...]
> 
> Now why can't "find" see the kfdialog.h/.moc files from the kdm directory
> but it sees them from kdelibs directory?
> 
> I am not happy about this.  Does anybody have a clue?

it's not a problem with find, it's a problem with the user :-)

if you don't put quotes around wildcard characters (like "*" and "?")
then your shell will attempt to expand the wildcard BEFORE passing the
arguments to the program.  If any files in the current directory match the
wildcard then they get passed as arguments, otherwise the wildcard itself
is passed.

e.g. if you execute the command "foo *.c" there are two possible sets of
arguments passed to program foo:

1. in a directory with NO .c files, foo gets "*.c"
2. in a directory with fred.c, joe.c, etc.c, foo gets "fred.c joe.c etc.c"

correct quoting and escaping of characters with ", ', and \ is very
important in any shell, and also in many scripting languages like
sed, awk, perl, and others. it is definitely a good use of any unix
user/admin's time to learn how it works.

a quick summary:

use \ to escape a single character.  e.g.  \*, \?

use " to quote an entire string, allowing $ substitution.
  e.g. "s/$SEARCH/$REPLACE/"

use ' to quote an entire string.  e.g 's/  */ /g'

you can use combinations of the above too.  e.g. you can include a quote
within a quoted string like so: '\'hello\'' is 'hello'


I don't know if it's still in print, but a good basic book for
explaining how the shell works is "The UNIX System" by S.R. Bourne
(the same Steve Bourne for whom bash is named). Published 1983 by
Addison-Wesley.

Similar information can be found in the various Unix FAQs, and probably
in some of the Linux Doc Project stuff.

IMO, the best way of learning this stuff is to play with it
interactively.

craig


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: postgres95 / libbsd.so

1997-05-08 Thread Maarten Boekhold
> >  Rather than commenting out the -ltermcap, you could replace it with
> > -lncurses, and it will link fine.  Ncurses has termcap emulation.
> 
> GREAT! Actually, I was wondering about that... good that you gave a look
> at the diff file, thank you!

Ah, at my system this was resolved automagically because somewhere in the
Makefile.global (I think) -lncurses was added somewhere.

Maarten

_
| Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL|
|[EMAIL PROTECTED]   [EMAIL PROTECTED]  |
-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: kfdialog.h

1997-05-08 Thread Rick Jones

Thanks for that little tid-bit.  I've used the find command for about two
years and never discovered this before except when the wild card is in
front it caused a problem and I'd use quotes.  I don't think I've ever
searched for a file from a directory that contained one matching the
pattern before.  I never knew it expanded the wild card before it
searched.  Gotta be the old DOS mentality.

Thanks again.

On Thu, 8 May 1997, Craig Sanders wrote:

> 
> On Thu, 8 May 1997, Rick Jones wrote:
> 
> > panther# cd ../kdm*
> > panther# pwd
> > /usr/src/kde/kdm-0.4.4
> > panther# find /usr -iname kfdial*
> > /usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.cpp
> > /usr/src/kde/kdm-0.4.4/kfdialog.cpp
> 
> try putting quotes around kfdial*.
> 
> e.g.
>   find /usr -iname "kfdial*"
> 
> Without the quotes, the kfdial* argument MATCHES the file kfdialog.cpp
> in the current directory (/usr/src/kde/kdm-0.4.4), and that is what is
> passed to find as an argument.
> 
> You're even taking advantage of this behaviour when you issue commands
> like "cd ../kdm*"
> 
> 
> > [...deleted...]
> > 
> > Now why can't "find" see the kfdialog.h/.moc files from the kdm directory
> > but it sees them from kdelibs directory?
> > 
> > I am not happy about this.  Does anybody have a clue?
> 
> it's not a problem with find, it's a problem with the user :-)
> 
> if you don't put quotes around wildcard characters (like "*" and "?")
> then your shell will attempt to expand the wildcard BEFORE passing the
> arguments to the program.  If any files in the current directory match the
> wildcard then they get passed as arguments, otherwise the wildcard itself
> is passed.
> 
> e.g. if you execute the command "foo *.c" there are two possible sets of
> arguments passed to program foo:
> 
> 1. in a directory with NO .c files, foo gets "*.c"
> 2. in a directory with fred.c, joe.c, etc.c, foo gets "fred.c joe.c etc.c"
> 
> correct quoting and escaping of characters with ", ', and \ is very
> important in any shell, and also in many scripting languages like
> sed, awk, perl, and others. it is definitely a good use of any unix
> user/admin's time to learn how it works.
> 
> a quick summary:
> 
> use \ to escape a single character.  e.g.  \*, \?
> 
> use " to quote an entire string, allowing $ substitution.
>   e.g. "s/$SEARCH/$REPLACE/"
> 
> use ' to quote an entire string.  e.g 's/  */ /g'
> 
> you can use combinations of the above too.  e.g. you can include a quote
> within a quoted string like so: '\'hello\'' is 'hello'
> 
> 
> I don't know if it's still in print, but a good basic book for
> explaining how the shell works is "The UNIX System" by S.R. Bourne
> (the same Steve Bourne for whom bash is named). Published 1983 by
> Addison-Wesley.
> 
> Similar information can be found in the various Unix FAQs, and probably
> in some of the Linux Doc Project stuff.
> 
> IMO, the best way of learning this stuff is to play with it
> interactively.
> 
> craig
> 

Have a good one,

--Rick

[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is this a bad, bad sign? (harddisk problem?)

1997-05-08 Thread Rick Jones
On Thu, 8 May 1997, Jim Pick wrote:

> Andre M. Varon wrote:
> > Indeed, there is something really wrong.  Something really is
> > wrong with the harddisk. Few months ago there was a thread in a linux
> > mailing list about the how unreliable some western digital harddisk are.
> > many disgruntled linux users. you could check out www.wdc.com.
> 
> Indeed, I had a 1.6GB one die on me.  I had some "errors" and it started
> making clunking noises.  A few hours later, it was dead.

I checked their site and my drive isn't mentioned for known errors.  I
just checked the drive (e2fsck) and it's clean. 

Have a good one,

--Rick

[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


sysklogd dumps core

1997-05-08 Thread Victor Torrico
sysklogd used to work fine.  Recently it has started dumping core.  I
purged and reloaded the -15 version of the package and it still does the
same thing.

Here is the error message during boot (runlevel 2):

Starting system log daemon: syslogd klogd/etc/init.d/sysklogd: line
51:   429 Segmentation fault  (core dumped) start-stop-daemon --stop
--quiet --signal 1 --pidfile /var/run/syslogd.pid

Any help appreciated.

Cheers,

Victor


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ideas about moving Debian to another hard drive

1997-05-08 Thread Dale Scheetz
On Wed, 7 May 1997, Robert D. Hilliard wrote:

> On Date: Wed, 07 May 1997 "David B. Teague" <[EMAIL PROTECTED]> wrote:
> > On Tue, 6 May 1997, Robert D. Hilliard wrote:
> > 
> > > cp -ax certainly is much simpler than using find and cpio.  Is
> > > there any option to cp (I can't find one) that would keep it from
> > > copying /proc, like the -prune option in find?
> > 
> > Isn't /proc a mounted file system, even if it is a pseudo file system? 
> > Doesn't that make x option (which prevents other mounted file systems
> > from being copied) the solution to this problem? 
> 
>  Apparently not.  I made a directory /newproc and tried cp with
> the following results:
> 
> root:vc-6:~>cp -a -x /proc /newproc
> root:vc-6:~>du -s /proc
> 0   /proc
> root:vc-6:~>du -s /newproc
> 23936   /newproc
> 
>  I stopped the copy with ^C when I got tired of watching it sit
> there, so /newproc might have grown larger if I had more patience.  
>  
This is not an adequate test of the feature. You have side stepped the -x
lockout by specifying you wish to copy the file system /proc. The proper
opperation of -x would only keep other file systems, mounted on /proc,
from being copied. The reason /newproc grows indefinately is that /proc is
always having new data added to it. The /proc file system knows how to
"replace" old data with new, but the ext2 file system just keeps adding
the new data to the old files.
I have a test machine with two Linux partitions. One partition has a
"standard" system installed, the other was empty. I mounted the second
partition on /mnt and did: 

cp -a -x / /mnt

When the prompt returned, everything but /mnt and /proc could be found on
the /mnt partition. I added these two mount points, edited /etc/fstab and
changed the mount partition to the new one and rebooted. I didn't have
time to try anything "difficult", but the system seems to be complete and
functional. (at least I could log in, mount the old partition, and run mc)

This process DOES work with the GNU cp provided with the Debian system.

Luck,

Dwarf
-- 
_-_-_-_-_-_-  _-_-_-_-_-_-_-

aka   Dale Scheetz   Phone:   1 (904) 656-9769
  Flexible Software  11000 McCrackin Road
  e-mail:  [EMAIL PROTECTED] Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


procmail / smail problem

1997-05-08 Thread Wieboldt, David
It has been quite a chore getting procmail to run at all here.  No
success
at all with the .forward hack; any time it is run, the mail goes to
"nobody."  Anyway I managed to get procmail running after finding a clue
and hacking /etc/smail/transports like this:

# This is the Smail transports file, which gives details of how ...
# It was originally generated by `smailconfig', part of the Smail
package
# distributed with Debian, but it may edited by the mail system
administrator.
# Hacked 5 May 97: redid "local"

local:  from, local, inet, return_path, driver=pipe; user=root,
cmd="/usr/bin/procmail -d $($user$)"

smtp:   uux:pipe:   file:   (all unchanged)


At this point the hope is that I replaced my local delivery agent with
procmail.  Therefore, according to TFM, it should run if the user has a
.procmailrc file.  Those look like this:

#Set on when debugging
VERBOSE=off

#Replace 'mail' with your mail dir
MAILDIR=$HOME/mail

#directory for storing procmail log and rc files
PMDIR=$HOME/.procmail

LOGFILE=$PMDIR/log
INCLUDERC=$PMDIR/rc.filter

Now that is well and good, but it does not run!  Mail gets forwarded by
procmail to the user's account just fine, but the user's recipie does
not
get executed.

Additionally, any attempt to run procmail with -m (filter mode) simply
hangs up and does not run.  I suspect more smail hacking is in order.

Does anybody have a clue?

TIA!

--
[EMAIL PROTECTED] . . . . . . . . . This computer is RUNNING Linux!!


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: kfdialog.h

1997-05-08 Thread Steffen Hansen
On Thu, 8 May 1997, Rick Jones wrote:

> This is interesting:
> 
> panther# pwd
> /usr/src/kde/kdelibs
> panther# find /usr -iname kfdial*
> /usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.cpp
> /usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.moc
> /usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.h
> /usr/src/kde/kdm-0.4.4/kfdialog.cpp
There should also be
/usr/src/kdm-0.4.4/kfdialog.{h,moc}
They are symlinks to the files in kgreeter/ made by xmkmf
> panther# cd ../kdm*
> panther# pwd
> /usr/src/kde/kdm-0.4.4
> panther# find /usr -iname kfdial*
> /usr/src/kde/kdm-0.4.4/kgreeter/kfdialog.cpp
> /usr/src/kde/kdm-0.4.4/kfdialog.cpp
same here

> panther# make
> c++ -c  -O2 -fno-strength-reduce -m486
> -DKDMLOGO=\"/lib/pics/kdelogo.ppm\"
>   -DSTDC_HEADERS -I//usr/local/qt/include -I/usr/local/kde/include
> -I/usr/X11R6/include  -Dlinux -D__i386__ -D_POSIX_SOURCE -D_BSD_SOURCE
> -D_SVID_SOURCE -DX_LOCALE   kfdialog.cpp
> kfdialog.cpp:13: kfdialog.h: No such file or directory
> kfdialog.cpp:70: kfdialog.moc: No such file or directory
> make: *** [kfdialog.o] Error 1
> panther#
> 
> Now why can't "find" see the kfdialog.h/.moc files from the kdm directory
> but it sees them from kdelibs directory?
> 
> I am not happy about this.  Does anybody have a clue?

You are right. The looks wierd!

--
Steffen Hansen
email: [EMAIL PROTECTED], [EMAIL PROTECTED] 
URL:   http://www.dit.ou.dk/~stefh

Cave is just a Nick-name...



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


RE: Debian on a ThinkPad

1997-05-08 Thread Wieboldt, David
>From:  Matthew Tebbens[SMTP:[EMAIL PROTECTED]
>Sent:  Wednesday, 07 May, 1997 23:34 PM
>To:debian-user@lists.debian.org
>Cc:The recipient's address is unknown.
>Subject:   Debian on a ThinkPad
>
>Is anyone here running Debian on a ThinkPad ?
>I would like to install Debian on my ThinkPad 755cx.
>
>Thanks,
>Matthew

Sure!  Have it running on a 760L.  I think I have seen reports of it
running on various other stinkpads too.  Regular stuff, networking, apm,
pcmcia cards, sound, and X all run.
--
[EMAIL PROTECTED] . . . kc5xh . . . . . My other computer runs Linux!


>
>


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: ideas about moving Debian to another hard drive

1997-05-08 Thread rick
> It seems really impractical to try to "copy" the data from one
> disk to another (correct me if I am wrong, please) because symlinks
> tend to get lost or messed up.
>
> It seems really impractical to try to "copy" the data from one
> disk to another (correct me if I am wrong, please) because symlinks
> tend to get lost or messed up.
> 
> Seems to me the most direct way to move the system is make new boot
> disks, install a base system from my old CD (1.1), upgrade in place
> to 1.2 using ftp, and then restore my favorite configuration files.
> 
> Anyone have a better idea?

I just moved a partition.  I think I got the recipe from Matt Welsh's
book.
remove /proc from /etc/fstab and reboot
mkdir /t
mount /dev/newpartition /t
(cd / && tar lcf - .)|(cd /t && tar xvpf -)

Regards.
Rick
-- 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


RE: Debian on a ThinkPad

1997-05-08 Thread David S. Jackson
On Thu, 8 May 1997, Wieboldt, David wrote:

> >Is anyone here running Debian on a ThinkPad ?
> >I would like to install Debian on my ThinkPad 755cx.
> 
> Sure!  Have it running on a 760L.  I think I have seen reports of it
> running on various other stinkpads too.  Regular stuff, networking, apm,
> pcmcia cards, sound, and X all run.

I've had it running on a 701CS; I'm now trying to install RedHat just for
fun. :-)
   __   _
David S. Jackson  / /  (_)__  __   __
  [EMAIL PROTECTED]/ /__/ / _ \/ // /\ \/ /  
  [EMAIL PROTECTED]   //_/_//_/\_,_/ /_/\_\ 

* * * CHOICE OF A GNU GENERATION * * *


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: PnP soundcard overrides conventional card

1997-05-08 Thread Jens B. Jorgensen
Mo Oishi wrote:
> 
> I've just installed isapnptools.  It works great on my PnP soundblaster
> clone. The one problem is that now I can't use my non-PnP midi card. The
> midi card just happens to sit at the same irq as the soundcard (which has
> really corny midi emulation). Is there some way to get my midi card to
> live happily with my soundcard?
> 

Can't you just have isapnptools just assign a different IRQ to the
SB?

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: procmail / smail problem

1997-05-08 Thread Jens B. Jorgensen
Wieboldt, David wrote:
> 
> It has been quite a chore getting procmail to run at all here.  No
> success
> at all with the .forward hack; any time it is run, the mail goes to
> "nobody."  Anyway I managed to get procmail running after finding a clue
> and hacking /etc/smail/transports like this:
> 
> # This is the Smail transports file, which gives details of how ...
> # It was originally generated by `smailconfig', part of the Smail
> package
> # distributed with Debian, but it may edited by the mail system
> administrator.
> # Hacked 5 May 97: redid "local"
> 
> local:  from, local, inet, return_path, driver=pipe; user=root,
> cmd="/usr/bin/procmail -d $($user$)"
> 
> smtp:   uux:pipe:   file:   (all unchanged)
> 
> At this point the hope is that I replaced my local delivery agent with
> procmail.  Therefore, according to TFM, it should run if the user has a
> .procmailrc file.  Those look like this:
> 
> #Set on when debugging
> VERBOSE=off
> 
> #Replace 'mail' with your mail dir
> MAILDIR=$HOME/mail
> 
> #directory for storing procmail log and rc files
> PMDIR=$HOME/.procmail
> 
> LOGFILE=$PMDIR/log
> INCLUDERC=$PMDIR/rc.filter
> 
> Now that is well and good, but it does not run!  Mail gets forwarded by
> procmail to the user's account just fine, but the user's recipie does
> not
> get executed.
> 
> Additionally, any attempt to run procmail with -m (filter mode) simply
> hangs up and does not run.  I suspect more smail hacking is in order.
> 
> Does anybody have a clue?
> 

Just a guess, but instead of 

local:  from, local, inet, return_path, driver=pipe; user=root,
cmd="/usr/bin/procmail -d $($user$)"

how about

local:  from, local, inet, return_path, driver=pipe; user=$user$,
cmd="/usr/bin/procmail -d $($user$)"

otherwise will procmail really know whose recipie to run?

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mgetty "auto-telnet" ??

1997-05-08 Thread Jens B. Jorgensen
Kevin Traas wrote:
> 
> I have a Digiboard Portserver II on my LAN that I currently have modems
> "hanging off" of.  I've configured it so that any incoming terminal
> connections are automatically "telnetted" to another location.  This works
> great; however, there are some *serious* performance problems associated
> with the Digiboard PSII.  It is *contstantly* "pausing" - i.e. no traffic
> passes through it for anywhere from 5 to 45 seconds - then everything goes
> back to normal.  Very, very strange!
> 
> Anyway, I want to "dump" this $2000 box for a basic Debian GNU/Linux box
> running on a 486 and a 16port Bocaboard (which I've used and am *very*
> happy with).  So, to get down to my question:
> 
> Do you have any idea on how to setup mgetty to automatically telnet an
> incoming connection to another system.  (i.e. anyone connecting to ttyS31
> should be automatically telnetted to aaa.bbb.ccc.ddd.)
> 

Yes. mgetty will still prompt them for a login, but after that it will
run telnet to the remote machine and as long as the remote telnetd
supports the ENVIRON option the user will not have to type their
login twice. You need to edit the file /etc/mgetty/login.config.
This file controls what program is launched by getty (usually
/bin/login). The first field in each (non-comment) line matches the
user name and the use of '*' for a wildcard is allowed. Ordinarily
there's a line at the end (the first matching line in the file is
used) like this:

*   -   -   /bin/login @

Which means that any user logging in which doesn't match a previous
entry will have /bin/login started for them. The '@' just passes
the user name. You should replace this line with:

*   -   -   /usr/bin/telnet -8 -E -a -l @ target-machine

Actually you may want to consider (for extra security)

*   nobody  nobody  /usr/bin/telnet -8 -E -a -l @ target-machine

Since otherwise telnet will run as root (although -E prevents the
telnet "escape" which would allow a user to run a program).

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mgetty "auto-telnet" ??

1997-05-08 Thread Tim Sailer
In your email to me, Jens B. Jorgensen, you wrote:

> > Do you have any idea on how to setup mgetty to automatically telnet an
> > incoming connection to another system.  (i.e. anyone connecting to ttyS31
> > should be automatically telnetted to aaa.bbb.ccc.ddd.)
> > 
> 
> Yes. mgetty will still prompt them for a login, but after that it will
> run telnet to the remote machine and as long as the remote telnetd
> supports the ENVIRON option the user will not have to type their
> login twice. You need to edit the file /etc/mgetty/login.config.
> This file controls what program is launched by getty (usually
> /bin/login). The first field in each (non-comment) line matches the
> user name and the use of '*' for a wildcard is allowed. Ordinarily
> there's a line at the end (the first matching line in the file is
> used) like this:
> 
> *   -   -   /bin/login @
> 
> Which means that any user logging in which doesn't match a previous
> entry will have /bin/login started for them. The '@' just passes
> the user name. You should replace this line with:
> 
> * -   -   /usr/bin/telnet -8 -E -a -l @ target-machine
> 
> Actually you may want to consider (for extra security)
> 
> * nobody  nobody  /usr/bin/telnet -8 -E -a -l @ target-machine
> 
> Since otherwise telnet will run as root (although -E prevents the
> telnet "escape" which would allow a user to run a program).

This works as you state. However, he wants per port control to where
ther telnet. I don't think this is possible.

Tim

-- 
 (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps
  Madness takes its toll...
  Please have exact change!
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: PPP Problems

1997-05-08 Thread Jens B. Jorgensen
Alex Monaghan wrote:
> 
> This may be a FAQ, if so please point me to the
> right place.
> 
> I have kernel 2.0.27 and could not make a PPP
> connection.
> 
> I can dial and login to my ISP OK, but can't seem
> to get a PPP session.
> 
> When I use my old Slackware 1.3.x PC on the same
> modem with the same setup I get a connection and a
> PPP session.
> 
> The only difference I can see is when I cat
> /proc/net/(can't remember which one)
> 
> on the Slakware one I get ppp0-15 as well as lo and
> eth0, on the Debian I get only eth0 and lo.
> 
> I've applied the 2.0.28,29&30 patches and
> re-compiled (making sure that ppp is included) but
> still the same result.
> 
> When checking the logs I get the pppd startup
> messages as on Slackware, but get LCP a timeout
> message.

If you're getting LCP timeout messages, then the problem is likely
with your dial-script. What are you using to get the connection going?

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: kahnd

1997-05-08 Thread Jens B. Jorgensen
Hamish Moffatt wrote:
> 
> On Wed, May 07, 1997 at 08:49:14AM -0400, Jens B. Jorgensen wrote:
> > IP address) and UDP broadcast packets are *not* routed which
> > means if 1.1.1.3 is trying to find 1.1.1.2 by name, it won't find
> > it. The solution to this is to set up a WINS server--sorta like
> > a DNS server. You can do this in Linux, you just need SAMBA (which
> > it seems like you already have. The program is nmbd and you need
> > to create a file which maps host names to IP addresses (and which
> > looks like an /etc/hosts file) and 'nmbd -H your-lm-hosts-file'
> > will then run the server. Then on your Win95 client go into TCP/IP
> > settings and set 1.1.1.1 as a WINS server. If you've got '-proxyarp'
> > being passed to pppd on your Linux box, you should be there.
> 
> Hmmm. Interesting explanation, thanks. Does this explain one odd
> thing I see? I have a machine at home running Samba, as well as my
> own workstation (Win95/Linux). I have another machine running Samba,
> located at my ISP. I can access the machine at the ISP fine from Windows;
> I never had to set up an LMHOSTS for Win95 or anything. (All machines
> are in the same domain).
> 
> But a friend has his own PC (Win95/NT), and wants to talk to this machine
> at the ISP too, and it doesn't work, even with LMHOSTS it seems.
> 

I really struggle with these problems. I've been learning this 
Winbloze networking stuff over the past few months (and I can't say
it's been fun). If your friend is running NT, he might need to go
to the networking properties, pick the 'WINS Address' tab (I'm 
assuming NT 4.0 here) and click the 'Enable DNS for Windows Resolution'
but then again, I've run into some weird problems that don't seem
to have a logical explanation where some Win95 boxes can't get to
SAMBA servers over a dialup link and some can. This stuff seems to
be a black art at best since as is typical with MS there is no
documentation which goes deep enough to really tell you what's going
on.

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


XTACACSD

1997-05-08 Thread Marcelo E. Magallon
Hi,

I´m trying to install xtacacds here, but I haven´t had any
success. Everytime I try to authenticate a password, there´s an entry in
the log file that says "invalid password" and that´s it.

Anyone here using xtacacsd under Debian? Can I have your
makefile/config?

TIA,

Marcelo Magallon
Physics Department, U. of Costa Rica


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] .
Trouble?  e-mail to [EMAIL PROTECTED] .


Need Help mounting CD-ROM's w/NFS

1997-05-08 Thread ANTHONY LANDRENEAU
Greetings,
 I have a few IP based CD towers that I am mounting to a debian box. 
The mount is going fine, however the sub-directories that the mounts are
listing are only available to root.  I need to make these sub-directories
exportable to another nfs mount, so I need to make the owner nobody.
   When I try to chown the directory to nobody it tells me that it is
read-only and no changes happen.  I unmount the CDS then chown the
directory without any problems.  However, when I remount the CDS it all
goes back to root:root.  
The CDS are being mounted by listing them in fstab.  Any ideas would
be much appreciated.
Anthony


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


keyboard config

1997-05-08 Thread J . Olwoch
Hi,

I recently upgraded to 1.2.4. and now cannot get my keyboard to boot in the uk 
configuration. I've set the default to uk but it is ignored. Any help ?

Best Rgds,


John


[EMAIL PROTECTED] 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mgetty "auto-telnet" ??

1997-05-08 Thread Jens B. Jorgensen
Tim Sailer wrote:
> 
> In your email to me, Jens B. Jorgensen, you wrote:
> 
> > > Do you have any idea on how to setup mgetty to automatically telnet an
> > > incoming connection to another system.  (i.e. anyone connecting to ttyS31
> > > should be automatically telnetted to aaa.bbb.ccc.ddd.)
> > >
> >
> > Yes. mgetty will still prompt them for a login, but after that it will
> > run telnet to the remote machine and as long as the remote telnetd
> > supports the ENVIRON option the user will not have to type their
> > login twice. You need to edit the file /etc/mgetty/login.config.
> > This file controls what program is launched by getty (usually
> > /bin/login). The first field in each (non-comment) line matches the
> > user name and the use of '*' for a wildcard is allowed. Ordinarily
> > there's a line at the end (the first matching line in the file is
> > used) like this:
> >
> > *   -   -   /bin/login @
> >
> > Which means that any user logging in which doesn't match a previous
> > entry will have /bin/login started for them. The '@' just passes
> > the user name. You should replace this line with:
> >
> > * -   -   /usr/bin/telnet -8 -E -a -l @ target-machine
> >
> > Actually you may want to consider (for extra security)
> >
> > * nobody  nobody  /usr/bin/telnet -8 -E -a -l @ target-machine
> >
> > Since otherwise telnet will run as root (although -E prevents the
> > telnet "escape" which would allow a user to run a program).
> 
> This works as you state. However, he wants per port control to where
> ther telnet. I don't think this is possible.
> 

  ^
Come on, we're talking about *Linux* here, not Winbloze95 or NT.
No problema. Instead of

* -   -   /usr/bin/telnet -8 -E -a -l @ target-machine

You use

* -   -   /etc/mytelnetshim.sh @

And here's what /etc/mytelnetshim.sh looks like:

#!/bin/bash
case `/usr/bin/tty` in
  /dev/ttyS0) exec /usr/bin/telnet -8 -E -a -l $1 target-machine-1;;
  /dev/ttyS1) exec /usr/bin/telnet -8 -E -a -l $1 target-machine-2;;
  /dev/ttyS2) exec /usr/bin/telnet -8 -E -a -l $1 target-machine-3;;
  /dev/ttyS3) exec /usr/bin/telnet -8 -E -a -l $1 target-machine-4;;
  /dev/ttyS4) exec /usr/bin/telnet -8 -E -a -l $1 target-machine-5;;
esac

Bada-bing, bada-boom.

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


lprng and tty's

1997-05-08 Thread Nils Rennebarth
-BEGIN PGP SIGNED MESSAGE-

I have a problem making lprng work with a printer attached to a serial
line. First I had to change the permission to root.lp, this was simple and
sensible IMHO. But then it refuses to print, only sometimes the old needle
printer spews out a few characters or a newline.

I tried to fiddle with the :ty=: settings in /etc/printcap, but to no
avail. Just cat file > /dev/ttyS3 works just fine.

This is the output of stty -a < /dev/ttyS3:
speed 9600 baud; rows 24; columns 80; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ;
eol2 = ; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W;
lnext = ^V; flush = ^O; min = 1; time = 0;
- -parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
- -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff
- -iuclc -ixany -imaxbel
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt
echoctl echoke

I now print to /dev/null using a filter that cat's to /dev/ttyS3, but this
is a bad workaround.

Old lpr had no problems just specifying lp=/dev/ttyS3

What did I do wrong?

Nils

- -- 
 \  /| Nils Rennebarth
--* WINDOWS 42 *--   | Schillerstr. 61 
 /  \| 37083 Göttingen
 | ++49-551-71626
   Micro$oft's final answer  | http://www.nus.de/~nils

-BEGIN PGP SIGNATURE-
Version: 2.6.3i
Charset: noconv

iQB1AwUBM3H7pVptA0IhBm0NAQGVdwMAnKWcJVmzMoxkZeh5i91BP1UGQrVopYrS
ZjGX0l1TS+b8U4xOBDYJ/VxS2ZOTCbOZ9QuO/VfrcCM/t91TeQauE0dN202Fqpd8
i1HObHDnapKxD+nhB4ni9Ii/6UcBWhPu
=Fq3V
-END PGP SIGNATURE-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Samba help

1997-05-08 Thread Andy Scott
I can mount my Linux server through a modem connection using mgetty.  

I am using NFS to mount a Novell file server.

I am running Samba on all of my UNIX machines and can see all of them
from remote access.

I need to be able to mount and access a Win95 box from remote locations
through remote access.  I have tried smb_mount, with no luck.
I also cannot see the mounted Novell partitions from remote.

Has anyone done this before?  If so, Please Help!!

Thank you in advance,

Andy


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


closing the session the background process aren' t killed

1997-05-08 Thread Andrea Arcangeli
I have noticed that since some time, when I close a session, if I have
launched some programs in background, these programs aren' killed. What is
the packages that has changed this?

Is a kernel decision? ... I use [pre-2.1.37-5] kernel.

PS. I think it' s a useful thing.

Thanks in advance.

Bye.

Andrea Arcangeli
[EMAIL PROTECTED]

HomePage:  http://www.imola.queen.it/user/arcangeli/
Debian Mirror: ftp://dida43.deis.unibo.it/pub/debian/

Debian GNU
 _   _ _  _ 
( \  \__   __/( (/||\ /||\ /|( )
| ( ) (   |  \  ( || )   ( |( \   / )| |
| | | |   |   \ | || |   | | \ (_) / | |
| | | |   | (\ \) || |   | |  ) _ (  | |
| | | |   | | \   || |   | | / ( ) \ (_)
| (/\___) (___| )  \  || (___) |( /   \ ) _ 
(___/\___/|/)_)(___)|/ \|(_)



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Netscape locked up console.

1997-05-08 Thread Chris Brown

 Last night I was running Netscape 3.01 Gold, looking at files on 
my local drive and the machine stopped responding to the keyboard and 
mouse buttons.  The prockmeter was running, monitoring the ppp line 
to my ISP, it was running fine.  When I telneted into the system and 
did ps -a and top, netscape was missing but was still being displayed 
as active on fvwm2.  This happened once before quite a while back.  
The only thing that I could think to do was kill the pppd by 
unplugging the modem, letting it set for a while to flush as much of 
the casch as possoble then reset it.  After this the system booted 
fine with the exception of complaining about the file system not 
being unmounted properly.  Any help would be greatly appreciated.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Re: Samba help

1997-05-08 Thread Jens B. Jorgensen
Andy Scott wrote:
> 
> I can mount my Linux server through a modem connection using mgetty.
> 
> I am using NFS to mount a Novell file server.
> 
> I am running Samba on all of my UNIX machines and can see all of them
> from remote access.
> 
> I need to be able to mount and access a Win95 box from remote locations
> through remote access.  I have tried smb_mount, with no luck.
> I also cannot see the mounted Novell partitions from remote.
> 
> Has anyone done this before?  If so, Please Help!!
> 

smb_mount will work (if anything will). Post the error messages
that smb_mount is printing when you try to run it.

-- 
Jens B. Jorgensen
[EMAIL PROTECTED]


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


mirroring debian

1997-05-08 Thread Ryan Shaw
greetings.

could someone email me their mirror configuration files for mirroring
the debian site?  i've got the 1.2.4 CD from cheapbytes but would like
to mirror bo.  i'm on a different system at the moment and cannot check
example configurations.

many thanks.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Netscape locked up console.

1997-05-08 Thread Karl M. Hegbloom
> "Chris" == Chris Brown <[EMAIL PROTECTED]> writes:

Chris>  Last night I was running Netscape 3.01 Gold, looking
Chris> at files on my local drive and the machine stopped
Chris> responding to the keyboard and mouse buttons.

 Do you have your window manager configured to auto-raise on focus?
I've had netscape raise itself over the top of menus that had the
server grabbed before.  It totally locks you out then.

 It was when I had a LogiTech mouse that had a middle button wired to
do a double-click instead of a real middle button.  I had emulate
three buttons set...  I couldn't drag with the middle button, like in
TkDesk, because it would stutter.  Without stay-up menus, it was very
hard to use.  I had to make a wishlet that let me toggle the far and
middle buttons (buttonswapper).

 Several times, I'd use the middle button to raise a menu in netscape, 
and have the wm raise netscape above the menu, causing a lockup.

-- 
Karl M. Hegbloom <[EMAIL PROTECTED]>
http://www.inetarena.com/~karlheg
Portland, OR  USA
Debian GNU 1.2  Linux 2.1.36 AMD K5 PR-133


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: mirroring debian

1997-05-08 Thread Tim Sailer
In your email to me, Ryan Shaw, you wrote:
> 
> greetings.
> 
> could someone email me their mirror configuration files for mirroring
> the debian site?  i've got the 1.2.4 CD from cheapbytes but would like
> to mirror bo.  i'm on a different system at the moment and cannot check
> example configurations.

Tack this onto the end of your existing mirror.defaults file:

package=debian
site=llug.sep.bnl.gov
remote_dir=/pub/debian
local_dir=/usr2/mirror/debian

exclude_patt=(^|/)(\.mirror$|core$|\.cap|\.in\..*\.$|MIRROR\.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost\+found/|Network
 Trash Folder|msdos)
package=debian_non-us
  site=os.inf.tu-dresden.de
  remote_dir=/pub/debian-non-US
  local_dir=/usr2/mirror/debian/local

exclude_patt=(^|/)(\.mirror$|core$|\.cap|\.in\..*\.$|MIRROR\.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost\+found/|Network
 Trash Folder|msdos|source)
 


Change the local_dir to suit your system, and run 'mirror' to do
the dirty deed.

Tim

-- 
 (work) [EMAIL PROTECTED] / (home) [EMAIL PROTECTED] - http://www.buoy.com/~tps
   "What if there were no hypothetical situations?"
** Disclaimer: My views/comments/beliefs, as strange as they are, are my own.**


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Several stand-alone boxes

1997-05-08 Thread danny
We are in the process of setting up several stand-alone intel boxes
running debian linux.  Have other users come up with good solutions to
the following:

1.  Maintaining uniform installations without nfs-mounting a
common filesystem.  We'd rather have redundant /usr
filesystems than have our machines freeze after each hiccup on
the net.  Is there a way to turn the output of "dpkg -l" into
a useable script for reproducing one machine's setup on
another?

2.  Distributing important /etc files without NIS.  We'd rather
not run NIS, and figure on using rdist+DNS instead.  Has anyone
made this work with the "passwd" program, or even with shadow
passwords?  We think that for a relatively small network NIS
introduces too much confusion (vis-a-vis DNS) to be
worthwhile.



Danny Heap, UCSF,  California St., Room 102, SF CA, 94118
[EMAIL PROTECTED], voice:   (415) 476-8910, fax: (415) 476-1508



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: kfdialog.h

1997-05-08 Thread Maarten Boekhold
> pattern before.  I never knew it expanded the wild card before it
> searched.  Gotta be the old DOS mentality.

Actually, no. It is the *shell* that expands the wildcard on a
unix-system. If you want to pass a wildcard to a program, you have to
explicitly make it clear to the shell *not* to expand it by making a
string. In old DOS, it is the program itself that does the globbing (I
think thats what they call it there).

Maarten

_
| Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL|
|[EMAIL PROTECTED]   [EMAIL PROTECTED]  |
-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


mail crasher

1997-05-08 Thread Ralph Winslow
The attached mail is as forwarded to me by my ISP after it had "crashed"
Netscape Mail several times.  I called my ISP and had them cut this item
out of my mail file (they use an NT server) after which my remaining
mail
came up OK.  Prior to that, I'd tried to pull my mail four times.  Each
time I got the two items which preceded it, and then Netscape "froze" 
while trying to pull this in.  It looks innocuous to me; does anyone
else have a clue as to why this occurred?? TIA
-- 
-
Ralph Winslow [EMAIL PROTECTED]
Someday soon I really  MUST find a way to
piss away a LOT of bandwidth on this .sig
--- Begin Message ---
Received: from [205.229.104.5] by othello (NTMail 3.02.13) with ESMTP id
rjw for <[EMAIL PROTECTED]>; Wed, 7 May 1997 18:23:49 -0400
Received: (qmail 16547 invoked by uid 38); 7 May 1997 23:21:17 -
Resent-Date: 7 May 1997 23:21:17 -
Resent-Cc: recipient list not shown: ;
X-Envelope-Sender: [EMAIL PROTECTED]
Date: Wed, 7 May 1997 18:20:05 -0400 (EDT)
From: Rick Jones <[EMAIL PROTECTED]>
Sender: [EMAIL PROTECTED]
To: "Regina O'Rear" <[EMAIL PROTECTED]>
cc: debian-user@lists.debian.org
Subject: Re: PPP & Kernel Problems
In-Reply-To: <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Resent-Message-ID: <"v4DUE.0.k04.gvGSp"@debian>
Resent-From: debian-user@lists.debian.org
Precedence: list
Received: from [205.229.104.5] by othello (NTMail 3.02.13) with ESMTP id
rjw for <[EMAIL PROTECTED]>; Wed, 7 May 1997 18:45:24 -0400
Received: (qmail 18789 invoked by uid 38); 7 May 1997 23:42:45 -
Resent-Date: 7 May 1997 23:42:45 -
Resent-Cc: recipient list not shown: ;
X-Envelope-Sender: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
X-Sender: Eric Nesser <[EMAIL PROTECTED]>
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Wed, 07 May 1997 17:43:15 -0500
To: debian-user@lists.debian.org
From: Eric Nesser <[EMAIL PROTECTED]>
Subject: Mailing List
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Resent-Message-ID: <"kUIkd2.0.2b4.pDHSp"@debian>
Resent-From: debian-user@lists.debian.org
X-Mailing-List:  archive/latest/4127
X-Loop: debian-user@lists.debian.org
Precedence: list
Resent-Sender: [EMAIL PROTECTED]


This is likely not the right address to be sending this to, but I'm not
sure where else to send this to.

My problem is pretty simple.. I need removed from the mailing list
immediately. I tried to do this automatically from the website, but I
received an error. I *MUST* cancel the mailing list from here because it's
crashing my mail server due to the enormous amount of mail. I can pick this
mailing list up on another server, however.

So, for now, I'd really appreciate if I can be removed from the list, if
possible? 

If this wasn't the correct address, could whoever gets this possibly send
me back the address I should be mailing this to?

Thanks a whole lot. I appreciate it.
I am so very sorry for any inconvience this causes.




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


--- End Message ---


Re: postgres95 / libbsd.so

1997-05-08 Thread Nicola Bernardelli
 Yes, compilation was possible also with -ltermcap just commented out,
but _maybe_ (I haven't done a serious test) that the server log file was
not exactly the same as with -lncurses after the intense regress test
(wasn't it bigger without -lncurses?). 

 Nicola Bernardelli <[EMAIL PROTECTED]>
---
 Please use <[EMAIL PROTECTED]> for messages from any kind of
robot, such as mailing lists. From that address no autoresponse
messages will return even when I'm not at home.
---

On Thu, 8 May 1997, Maarten Boekhold wrote:

> > >  Rather than commenting out the -ltermcap, you could replace it with
> > > -lncurses, and it will link fine.  Ncurses has termcap emulation.
> > 
> > GREAT! Actually, I was wondering about that... good that you gave a look
> > at the diff file, thank you!
> 
> Ah, at my system this was resolved automagically because somewhere in the
> Makefile.global (I think) -lncurses was added somewhere.
> 
> Maarten
> 
> _
> | Maarten Boekhold, Faculty of Electrical Engineering TU Delft,   NL|
> |[EMAIL PROTECTED]   [EMAIL PROTECTED]  |
> -
> 
> 


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Several stand-alone boxes

1997-05-08 Thread Dale Scheetz
On Thu, 8 May 1997 [EMAIL PROTECTED] wrote:

> We are in the process of setting up several stand-alone intel boxes
> running debian linux.  Have other users come up with good solutions to
> the following:
> 
> 1.Maintaining uniform installations without nfs-mounting a
>   common filesystem.  We'd rather have redundant /usr
>   filesystems than have our machines freeze after each hiccup on
>   the net.  Is there a way to turn the output of "dpkg -l" into
>   a useable script for reproducing one machine's setup on
>   another?
> 
Try dpkg --set-selections to create the file and dpkg --get-selections on
the new machine.

Luck,

Dwarf
-- 
_-_-_-_-_-_-  _-_-_-_-_-_-_-

aka   Dale Scheetz   Phone:   1 (904) 656-9769
  Flexible Software  11000 McCrackin Road
  e-mail:  [EMAIL PROTECTED] Tallahassee, FL  32308

_-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_-


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Several stand-alone boxes

1997-05-08 Thread Brad Bell
On Thu, 8 May 1997, Dale Scheetz wrote:
> On Thu, 8 May 1997 [EMAIL PROTECTED] wrote:
> > 1.  Maintaining uniform installations without nfs-mounting a
> > common filesystem.  We'd rather have redundant /usr
> > filesystems than have our machines freeze after each hiccup on
> > the net.  Is there a way to turn the output of "dpkg -l" into
> > a useable script for reproducing one machine's setup on
> > another?
> > 
> Try dpkg --set-selections to create the file and dpkg --get-selections on
> the new machine.

I believe it's the other way around...

-brad

[EMAIL PROTECTED] - http://weber.u.washington.edu/~maximill


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


NIS netgroups in /etc/exports

1997-05-08 Thread Kevin Hilman
I can't get nfsd and mountd to allow NIS netgroups in the /etc/exports
file.  I can list the hosts explicitly and it works fine.  Also, NIS
works fine in all other aspects.

Both hosts can ypmatch the netgroup in question as well, and
I even tried listing the hosts in question in /etc/hosts, but to no avail. 

The NFS Server is a 486-debian box, and some of the clients will
also be debian boxes, and some will be SunOS and BSDI3.0 as well.

What am I missing here.

-- 
Kevin Hilman -- [EMAIL PROTECTED]
Sysadmin - Image Computing Systems Lab - U of Washington
PGP public key at http://icsl.ee.washington.edu/~khilman/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: NIS netgroups in /etc/exports (Solved)

1997-05-08 Thread Kevin Hilman
> "KH" == Kevin Hilman <[EMAIL PROTECTED]> writes:

KH> I can't get nfsd and mountd to allow NIS netgroups in the
KH> /etc/exports file.  I can list the hosts explicitly and it works
KH> fine.  Also, NIS works fine in all other aspects.

I figured out the problem.  When mountd looks up the IP address
of the client, it comes back with the FQDN 
(i.e hostname.ee.washington.edu).  In the netgroup, the hosts are just
listed by hostname only (no trailing .ee.washington.edu).

Is it "proper" or common or more secure to list the FQDN in netgroups?

-- 
Kevin Hilman -- [EMAIL PROTECTED]
Sysadmin - Image Computing Systems Lab - U of Washington
PGP public key at http://icsl.ee.washington.edu/~khilman/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . Trouble? 
e-mail to [EMAIL PROTECTED] .


Printing to Win95 printer via samba?

1997-05-08 Thread Colin Telmer
I have being trying to figure out how to print to a printer attached to a
networked win95 machine using samba for about 2 hours now and I don't seem
to be getting anywhere. I was hoping someone could shed some light on the
matter if I supply some details. 

First of all, I also have win95 on my machine and it prints to the other
machine fine. So there is no problem on the hardware side.

The printer I am trying to print to is called HPLIII as listed
from the output of  "smbclient -L Main" where Main is the server:

Added interface ip=130.15.134.30 bcast=130.15.134.255 nmask=255.255.255.0
Got a positive name query response from 130.15.134.16 (130.15.134.16)
read socket failed. ERRNO=111
Server time is Thu May  8 18:52:58 1997
Timezone is UTC-4.0

Server=[MAIN] User=[] Workgroup=[IIGR] Domain=[IIGR]

Sharename  Type  Comment
-    ---
D  Disk
HPLIII Printer
IPC$   IPC   Remote Inter Process Communication
PRINTER$   Disk 

My first concern is with the read socket failed. But I don't know what to
do about this (some debuging info below). I have setup a printcap entry as
specified in the print2win mini-howto with a device created by 
"touch /dev/iigr" as specified in the bottom of that document. The
printcap entry is:

iigr|Remote samba printer:\
:cm=HP III Printer in IIGR Room 301:\
:lp=/dev/iigr:\
:sd=/var/spool/lpd/iigr:\
:af=/var/spool/lpd/iigr/acct:\
:mx#0:\
:if=/usr/local/bin/smbprint:

Question 1: Is acct supposed to be a file that I create or a directory?

I have also copied smbprint from the /usr/doc/samba/example directory and
placed it in /usr/local/bin as specified above (my exact smbprint is
listed at the end of this file). 

my /etc/smb.conf is

[global]
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root
[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700
[hpliii]
   path = /tmp
   readonly = yes
   printable = yes
   public = true

and my /var/spool/lpd/iigr/.config is

server=Main
service=hpliii
password=""
user=terrapin

So, when I go to print a file using lpr -Piigr foo.txt nothing happens at
the other end. /var/spool/lpd/iigr/status says "lp is ready and printing"
and /tmp/smb-print.log states

server Main, service hpliii
server Main, service hpliii 

I really don't know what else to add except for the output from testparm,
the output from "smbclient main//hpiii -d 4 -P" and my smbprint file:

PS. I also tried to use the print command from the prompt in smbclient
without sucess. Any help is very much appreciated. Cheers, Colin.


--output from testparm
Load smb config files from /etc/smb.conf
Processing section "[printers]"
Processing section "[hpliii]"
Loaded services file OK.
Press enter to see a dump of your service definitions
Global parameters:
debuglevel: 2
syslog: 1
syslog only: No
protocol: 5
security: 0
printing: 0
max disk size: 0
lpq cache time: 10
encrypt passwords: No
getwd cache: Yes
read prediction: No
read bmpx: Yes
read raw: Yes
write raw: Yes
use rhosts: No
load printers: Yes
null passwords: No
strip dot: No
interfaces: 
password server: 
socket options: 
netbios name: 
smbrun: /usr/bin/smbrun
veto files: 
log file: 
config file: 
smb passwd file: 
hosts equiv: 
preload: 
server string: Samba 1.9.16p11
printcap name: /etc/printcap
lock dir: /var/lock/samba
root directory: /
default service: 
message command: 
dfree command: 
passwd program: /bin/passwd
passwd chat: *old*password* %o\n *new*password* %n\n *new*password* 
%n\n *changed*
valid chars: 
workgroup: TERRAPIN
domain controller: 
username map: 
character set: 
logon script: 
logon path: 
remote announce: 
socket address: 0.0.0.0
max log size: 5000
mangled stack: 50
max mux: 2
max xmit: 65535
max packet: 65535
password level: 0
keepalive: 0
deadtime: 0
time offset: 0
read size: 16384
os level: 0
max ttl: 14400
wins support: Yes
wins proxy: No
wins server: 
preferred master: Yes
domain master: No
domain logons: No
browse list: Yes

Default service parameters:
comment: 
copy: 
include: 
exe