VMware with potato - any issues?

2000-08-04 Thread Rick Macdonald

I'm just about to try VMware on my potato system to run Win 95 or 98.

Are there any problems to know about?

...RickM...



Re: potato installation problem: lp driver; get "init_module: Device or resource busy" message: MORE DATA

2000-08-04 Thread Daniel Barclay

> I'm having trouble with the current pre-release of potato.  I
> can't tell if this is a bug, an odd incompatibility in my system 
> (which works fine with slink), or something I'm doing wrong.
> 
> 
> When I get to the step of configuring device drivers, I can't 
> install module lp.
> ...

Here's something else I noticed:

When the system boots, right before the first installation program
dialog comes up, a number of repeated messages flash by on the screen, 
saying (approximately--they flashed by):
   ... modprobe: can't open dependency file /lib/modules/2.2.17/modules.dep

Also, I noticed a message on the fourth virtual console (I had booted 
with "linux verbose debug"):

   kmod: runaway modprobe loop assumed and stopped 


I tried running modprobe from the command line, and got the same
error message (one).


Are those messages normal?



-- 
Daniel Barclay
[EMAIL PROTECTED]
(Hmm.  A little worrisome:  http://www.junkbusters.com/cgi-bin/privacy
http://www.anonymizer.com/snoop.cgi )



Re: System locked and now complains at startup about modules

2000-08-04 Thread Jeronimo Pellegrini
:: On Fri, 4 Aug 2000 20:21:42 -0700 (PDT), "[EMAIL PROTECTED]" <[EMAIL 
PROTECTED]> said:

Hello Nate. Thanks a lot for replying.

Here are the specs:

Pentium II 400 Mhz,
Motherboard DFI PA61 ATX   (VIA Apollo Pro 133 chipset - 693/596b)
(Absolutely nothing on-board)
Award BIOS
64 Mb RAM (no ECC...)
Video Card Diamond SpeedStar A50 (SiS 6326 AGP, not on-board)
HD: Western Digital Caviar, 13.5 Gb, 7200 RPM

With stable kernels, I use ATA/33
With unstable kernels, I managed to get a patch to use ATA/66.

(I still didn't completely rule out ATA66, but... The system locked
with a stable kernel (and hence, with ATA33)

BTW, I have checked to see if I could find anything related to
problems with this chipset and HD, but found nothing.

> pelleg >To see what could be the problem, I left the system with xmms running
> pelleg >while I was out for 4 hours. When I came back, the keyboard was
> pelleg >non-functionl, and nothing worked... Since it's a standalone box, I
> pelleg >hadto reset it. I was sort of expecting this (I was actually trying to
> pelleg >rule out some applications that could be locking the system)

> best thing to rule out first is X windows, disable X from starting:
> if you run X from a login screen like KDM/GDM/XDM remove the link:

No, I use startx...

> pelleg >What could be happening? (I mean, why would it just ignore the
> pelleg >comments and treat them like listed modules to be loaded?)

> I can't imagine a reason why it would, something else may be wrong, but
> the end result is harmless.

Hm, waht about the fact that it only happened after this lock? I
thought that perhaps this could mean filesystem corruption...

> pelleg >I really don't understand what's going on... I suspected that my
> pelleg >memory could be bad, but I've compiled lots of big packages (including
> pelleg >several kernels, sometimes every two days), for months and never got a
> pelleg >sig11. 
> check the kernel log /var/log/kern.log  if the kernel encounters an error
> it will be reported there, assuming it is not a serious hardware problem
> which causes the machine to freeze before the kernel can report anything.

Nothing there... Actually, it jumps from Aug, 4 to Aug, 21:50 (when I
resetted the machine). And the messages begin with the new
boot... Nothing in the period in which it crashed.

> pelleg >I'm beginning to suspect this may be:
> pelleg >
> pelleg >- PS/2 mouse (these locks began to happen after I got a new mouse)

> what brand/model of mouse?

I got it from a cousin... It's a "Leadership" mouse, made in China.
Ordinary 3-button PS/2 mouse, it seems...

> and what kind of mainboard? i had serious PS/2
> trouble on an old AOpen AP5T-3, after a few months the PS/2 port worked
> intermittantly(sp) maybe one out of 10 boots and even then would cause
> random crashes, eventually i just moved to a serial mouse.(that
> motherboard is still in service after 3 years it currently runs
> mandrake7.0 and acts solely as a TV for my bedroom)

Hmmm... Maybe I should get a serial mouse...

> pelleg >- X 3.3.6  (no problems happened with X 4)
> pelleg >- video card (SiS 6326 AGP)

> what video mode are you running in?

1280x1240. I've been using this mode, with this card... For months!

> and are you using a framebuffer X server?

I believe there is no support to that for this card yet...

> again i would reccomend not running X to see if X has something to
> do with it, X can be a very good center place for lockups.

Hm, just now I realize... I use flwm as a window manager (fast, small,
and not configurable at all).
I did compile it myself here (and I think I tried to include some
compiler options to optimize it a little bit, like
--arch=pentiumpro)... And packaged. Now I've reverted to the .deb I
had before...

But could this be a problem? I mean... Building the package myself? I
was confident that the same package compiled by the mantainer could be
compiled here... You know... We can even do that automatically with
apt-get... :-)

> if you run X, i would also suggest redirecting the output to a logfile,
> when you login run:
> startx >&X.log
> all output will be saved to X.log, if there is a crash check it to see if
> any helpful info is available.

Right...
I forgot to do that, but will next time.

> pelleg >Next thing I'll do is to compile X 4.0.1 and see if the problem goes
> pelleg >away. If it does, then (and I'd be surprised) it'd be an X-3.3.6
> pelleg >problem... 

> is it onboard video? if so do you have another video card to try? i
> wouldnt reccomend going to XF86 4.0.1 if you can avoid it its likely to be
> more buggy then XF86 3.3.6 for that video card(but i could be wrong)

Actually, I did use 4.0.1 for a few days, and it didn't crash... But
it may have been too little time.

(I thought this could be a reasonable option, since the code is a lot
different from that of 3.3.6)

> hope this helps!

Yes, that helped a lot already.

> nate

J.

-- 
Jeronimo Pellegrini
Institute of Computing - Unicamp - Bra

@home network

2000-08-04 Thread Jaron Abbott

Hello,

I'm wondering if anybody can help me figure out how to connect two computers 
to one net connection (@home network).  The computer I want to add is a 
Debian box (potato), the currently connected computer is a Windoze box.  I'd 
like to be able to run stuff like sshd, apache, etc. off the Debian box, but 
I don't want to take net access away from the Windoze computer.  I've 
thought about getting another NIC, so that the Debian box would have two 
NICs -- one connected to the net, the other to the Windoze box.  However, I 
have no idea how I would set something like this up, what software, 
documentation, etc.  Perhaps this isn't the best solution, even if I could 
get it to work.  Any suggestions?


Thanks in advance,

Jaron

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



Re: Tomcat and Debian

2000-08-04 Thread Brian May
> "Simon" == Simon Read <[EMAIL PROTECTED]> writes:

Simon> Folks, Tomcat (the JSP/Java Servlets plug-in for Apache
Simon> from Jakarta) is not available as a Debianised package.  Is
Simon> anyone working on this?  Has anyone had success installing
Simon> this under Debian?  Is there a reason why a package hasn't
Simon> yet been developed?

I have installed Tomcat on my System, however not packaged it.

However the reason I installed Tomcat was so I get get Cocoon 2 (alpha
version), from xml.apache.org, working. I found Cocoon 2 (not sure
about Tomcat) requires Jdk 1.2+, which isn't yet packaged for Debian,
either.
-- 
Brian May <[EMAIL PROTECTED]>



Re: System locked and now complains at startup about modules

2000-08-04 Thread [EMAIL PROTECTED]
On 4 Aug 2000, Jeronimo Pellegrini wrote:

pelleg >As I've reported in another post, my system is locking sometimes. I
pelleg >couldn't yet determine what is the problem, but something strange
pelleg >happened today:

i havent been following this thread but i'll see if i have any ideas.

pelleg >To see what could be the problem, I left the system with xmms running
pelleg >while I was out for 4 hours. When I came back, the keyboard was
pelleg >non-functionl, and nothing worked... Since it's a standalone box, I
pelleg >hadto reset it. I was sort of expecting this (I was actually trying to
pelleg >rule out some applications that could be locking the system)

best thing to rule out first is X windows, disable X from starting:

if you run X from a login screen like KDM/GDM/XDM remove the link:

/etc/rc2.d/S99xdm
/etc/rc2.d/S99kdm
/etc/rc2.d/S99gdm

and reboot the next time your system boots X will not load. you don't have
to reboot but its easier then tryin to explain how to track down the
processes and kill them the right way.

pelleg >But at startup, it now makes strange complaints, like:
pelleg >
pelleg >modprobe: can't locate module #
pelleg >modprobe: can't locate module are
pelleg >modprobe: can't locate module with

safe to ignore, that is the kernel module loader trying to find the
modules.

pelleg >But these are parts of commented lines in /etc/modules!!!

many times the kernel will try to load modules even if they are not in
/etc/modules again, its not a problem its just the system telling you it
can't load what it can't find, no harm done.  Either way the reports are
harmless.

pelleg >What could be happening? (I mean, why would it just ignore the
pelleg >comments and treat them like listed modules to be loaded?)

I can't imagine a reason why it would, something else may be wrong, but
the end result is harmless.

pelleg >It happens no matter which kernel I boot.
pelleg >Anyway, since no modules were being loaded there, that wasn't much of
pelleg >a problem...

right :)

pelleg >
pelleg >But I did get also a "can't find modules.dep" mesage later (this is
pelleg >fixed already)
pelleg >

another relativly harmless message.

pelleg >I really don't understand what's going on... I suspected that my
pelleg >memory could be bad, but I've compiled lots of big packages (including
pelleg >several kernels, sometimes every two days), for months and never got a
pelleg >sig11. 

check the kernel log /var/log/kern.log  if the kernel encounters an error
it will be reported there, assuming it is not a serious hardware problem
which causes the machine to freeze before the kernel can report anything.

pelleg >I'm beginning to suspect this may be:
pelleg >
pelleg >- PS/2 mouse (these locks began to happen after I got a new mouse)

what brand/model of mouse? and what kind of mainboard? i had serious PS/2
trouble on an old AOpen AP5T-3, after a few months the PS/2 port worked
intermittantly(sp) maybe one out of 10 boots and even then would cause
random crashes, eventually i just moved to a serial mouse.(that
motherboard is still in service after 3 years it currently runs
mandrake7.0 and acts solely as a TV for my bedroom)

pelleg >- X 3.3.6  (no problems happened with X 4)
pelleg >- video card (SiS 6326 AGP)

what video mode are you running in? and are you using a framebuffer X
server? again i would reccomend not running X to see if X has something to
do with it, X can be a very good center place for lockups.

pelleg >This system (woody) worked fine for months... Could one single package
pelleg >that I've upgraded lock X? (well X itself was upgraded recently...)

if you run X, i would also suggest redirecting the output to a logfile,
when you login run:

startx >&X.log

all output will be saved to X.log, if there is a crash check it to see if
any helpful info is available.

pelleg >(It locked with kernels 2.4.0-test5, 2.2.16 and some other that I
pelleg >don't remember...)

please include full hardware specs (if you have already i missed em:( )

pelleg >Not that I didn't expect to have crashes running woody, but... Locks
pelleg >like this? Is this common?

it can be, i had a Abit BP6 (Dual celeron) and had similar problems for
over a year, it was a badly designed motherboard(wrong kind of voltage
regulator) i replaced it recently with a new asus board and no more
lockups.  Also a couple days ago i had a few system crashes due to my
7200RPM SCSI drives overheating, once i put fans on them (3 fans on each
drive) the crashes stopped completely.

pelleg >Next thing I'll do is to compile X 4.0.1 and see if the problem goes
pelleg >away. If it does, then (and I'd be surprised) it'd be an X-3.3.6
pelleg >problem... 

is it onboard video? if so do you have another video card to try? i
wouldnt reccomend going to XF86 4.0.1 if you can avoid it its likely to be
more buggy then XF86 3.3.6 for that video card(but i could be wrong)

pelleg >I have to confess I am confused...

i know how ya feel i spent 3 months troubleshooting the BP6!

potato installation problem: lp driver; get "init_module: Device or resource busy" message

2000-08-04 Thread Daniel Barclay

I'm having trouble with the current pre-release of potato.  I
can't tell if this is a bug, an odd incompatibility in my system 
(which works fine with slink), or something I'm doing wrong.


When I get to the step of configuring device drivers, I can't 
install module lp.

When I try, I get these error messages (copied by hand, so typos 
are possible):

  /lib/modules/2.2.17/misc/lp.o: init_module: Device or resource busy
  Hint: this error can be caused by incorrect module parameters,
including invalid IO or IRQ parameters
  /lib/modules/2.2.17/misc/lp.o: insmod /lib/modules/2.2.17/misc/lp.o
failed
  /lib/modules/2.2.17/misc/lp.o: insmod lp failed

I thought there might be some requirement to configure the parport 
module first, but when I configured it and then tried lp again, I 
got the same messages from the installation system.

I also tried insmod from the shell on the second virtual console, 
both trying lp by itself and trying parport and then lp.  In all 
cases, I got the "/lib/modules/2.2.17/misc/lp.o: init_module: Device 
or resource busy" error.

On a previous attempt (details not written down, unfortunately), I 
tried several IRQ and IO settings, but always got the error message.



I don't know of anything special or weird on my machine.  (It works fine
with slink.)

The motherboard is a Gigabyte GA-5AX rev. 3.0.

Here's the output of dmesg from my usual slink system (I was installing
potato on a spare partition):


Memory: sized by int13 0e801h
Console: 8 point font, 480 scans
Console: colour VGA+ 132x60, 1 virtual console (max 63)
pcibios_init : BIOS32 Service Directory structure at 0x000fb100
pcibios_init : BIOS32 Service Directory entry at 0xfb580
pcibios_init : PCI BIOS revision 2.10 entry at 0xfb5b0
Probing PCI hardware.
Calibrating delay loop.. ok - 225.28 BogoMIPS
Memory: 127168k/131072k available (1124k kernel code, 384k reserved,
2396k data)
Swansea University Computer Society NET3.035 for Linux 2.0
NET3: Unix domain sockets 0.13 for Linux NET3.035.
Swansea University Computer Society TCP/IP for NET3.034
IP Protocols: IGMP, ICMP, UDP, TCP
VFS: Diskquotas version dquot_5.6.0 initialized
Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Checking 'hlt' instruction... Ok.
Linux version 2.0.38 ([EMAIL PROTECTED]) (gcc version 2.7.2.3) #2 Sat Dec 4
19:46:05 EST 1999
Starting kswapd v 1.4.2.2 
Real Time Clock Driver v1.09
tpqic02: Runtime config, $Revision: 0.4.1.5 $, $Date: 1994/10/29
02:46:13 $
tpqic02: DMA buffers: 20 blocks, at address 0x278600 (0x278574)
Ramdisk driver initialized : 16 ramdisks of 4096K size
loop: registered device at major 7
ide: ALI15X3: enabled read of IDE channels state (en/dis-abled)
Succeeded.
ide: ALI15X3 (dual FIFO) DMA Bus Mastering IDE 
Controller on PCI bus 0 function 120
ide0: BM-DMA at 0xf000-0xf007
ide1: BM-DMA at 0xf008-0xf00f
hda: Maxtor 90840D5, 8047MB w/256kB Cache, CHS=1025/255/63, UDMA(33)
hdc: Maxtor 91024U4, 9765MB w/2048kB Cache, CHS=19841/16/63, UDMA(33)
hdd: TOSHIBA CD-ROM XM-6302B, ATAPI CDROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
md driver 0.36.3 MAX_MD_DEV=4, MAX_REAL=8
ncr53c8xx: at PCI bus 0, device 9, function 0
ncr53c8xx: 53c876 detected with Tekram NVRAM
ncr53c876-0: rev=0x26, base=0xe800, io_port=0xe000, irq=9
ncr53c876-0: Tekram format NVRAM, ID 7, Fast-20, Parity Checking
ncr53c876-0: on-chip RAM at 0xe8001000
ncr53c876-0: restart (scsi reset).
ncr53c876-0: Downloading SCSI SCRIPTS.
Failed initialization of WD-7000 SCSI card!
scsi0 : ncr53c8xx - revision 3.1e
scsi : 1 host.
  Vendor: Seagate   Model: STT8000N  Rev: 3.22
  Type:   Sequential-Access  ANSI SCSI revision: 02
scsi : detected total.
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 hda9 hda10 >
 hdc: [PTBL] [1244/255/63] hdc1 hdc2 hdc3 hdc4
VFS: Mounted root (ext2 filesystem) readonly.
Adding Swap: 128484k swap-space (priority -1)
Serial driver version 4.13p1 with no serial options enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PS/2 auxiliary pointing device detected -- driver installed.
lp1 at 0x0378, (polling)
ftape-2.08 960314
 (c) 1993-1995 Bas Laarhoven ([EMAIL PROTECTED])
 (c) 1995-1996 Kai Harrekilde-Petersen ([EMAIL PROTECTED])
 (c) 1996-1997 Claus Heine ([EMAIL PROTECTED])
 QIC-117 driver for QIC-40/80/3010/3020 tape drives
 Compiled for kernel version 2.0.38 with versioned symbols
CSLIP: code copyright 1989 Regents of the University of California
SLIP: version 0.8.4-NET3.019-NEWTTY-MODULAR (dynamic channels, max=256).
SLIP linefill/keepalive option.
PPP: version 2.2.0 (dynamic channel allocation)
PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
PPP line discipline registered.
Detected scsi tape st0 at scsi0, channel 0, id 4, lun 0
hdd: media changed
hdd : tray open or drive not ready
hdd : tray open or drive not ready
hdd : tray open o

Re: C programming

2000-08-04 Thread Eric G . Miller
To follow up: how floating point numbers are represented in the machine
during computations may vary slightly from how they get represented when
stored into a variable.  That is, the evaluation of (x+y) may have
greater numerical precision then the result of z = x + y.  In the second
case, there "appears" to be some loss of precision in the result and
therefore  z -> x faster than (x + y) -> x.

Disclaimer: I'm not a computer scientist!  However, the final value of
"y" in your first result is different then the final result of "y" in
the second case.  Check it out by adding "printf "y=%g\n".  You'll see
what I mean.

And by all means, don't use such icky for loops.
-- 
MegaHAL quote:
I think a blowpipe is a marijuana cigarrette.  
It'll get you deleted!



Re: Debian in Academic and Public Organisations

2000-08-04 Thread Tom Marshall
My only concern is that these are x86 machines, not Sparcs.  My experience
is that Linux does not run as well as Solaris on the Sparc platform. 
Specifically, RedHat 6.1 on a SUN4U box doesn't seem to play very nice with
the SCSI controller and the entire machine pauses for noticeable periods
under moderate disk activity.

I've also seen this behaviour from Linux running on x86 motherboards with
Via chipsets and UDMA66 drives.  Replacing the 80-pin cable with a 40-pin
cable clears the problem up nicely.  YMMV as always.

On Fri, 4 Aug 2000, Dr. Simon Read wrote:

> Folks,
> 
> I am a Computer Science professor at American University in Washington
> D.C.
> 
> I want  to recommend that we  replace Solaris in  our Computer Science
> department with  Debian.  In doing so,  I know that  we will encounter
> problems  wuite  specific to  the  public  (as  in non-profit,  public
> sector) and  academic nature  of the enterprise.   I want  to advocate
> Debian over  RedHat and  TurboLinux who are  trying to sell  into this
> market.
> 
> Is there  anyone else out there  in this kind of  organisation, who is
> using Debian in  this kind of environment?  Contact  me and let's band
> together!
> 
> Simon Read
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 



Re: Buggered up my router somehow.

2000-08-04 Thread John Pearson
On Fri, Aug 04, 2000 at 09:55:25AM -0600, Adam Scriven - Lore wrote
> Ok, by some great and wonderful streak of stupidity, I seem to have somehow
> completely fscked up my router.
> 
> It's hooked up to an ADSL modem, running PPPoE (Roaring Penguin), and that 
> part
> looks like it's working great.
> I've got 2 other network cards, both 3Com 905B.  I have the 3c59x module
> loading with modprobe, and I've checked ifconfig, and both cards look to be
> setup correctly.
> eth0 is 192.168.0.1, and eth1 is 192.168.1.1
> (Incedentally, eth2 is an NE2k-pci card, for the PPPoE client).
> 
> I can see the world just fine from the router (I'm telnetting to an ISP
> where my maail is hosted to send out this message, and I'm on the router now),
> but I can't ping anything on my 192.168.0.0 network (192.168.1.0 isn't used
> yet).
> The route command returns:
> Kernel IP routing table
> Destination   Gateway Genmask Flags Metric Ref   Use Iface
> ADSL-NAME *   255.255.255.255 UH0  0 0   ppp0
> 192.168.1.0   *   255.255.255.0   U 0  0 0   eth1
> 192.168.0.0   *   255.255.255.0   U 0  0 0   eth0
> default   ADSL-NAME   0.0.0.0 UG0  0 0   
> ppp0
> 
> (I had to tyype this in by hand, so any formatting problems are mine.)
> 
> This all looks OK to me, but pinging just gives 100% packet loss, and 
> traceroute
> to 192.168.0.2 from the router gives:
> traceroute: sendto: Operation not permitted
>  1 traceroute: wrote 192.168.0.2 38 chars, ret=-1

Assuming your router is a Linux box:

This means that your kernel is dropping the packets, probably due
to an IPChains rule or because forwarding is disabled.

Check 
# ipchains -L input
# ipchains -L output
# ipchains -L forward

and 
# cat /proc/sys/net/ipv4/ip_forward
(should be "1")

and
# cat /proc/sys/net/ipv4/conf/eth0/forwarding
# cat /proc/sys/net/ipv4/conf/eth1/forwarding
(should both be "1").

As a last resort, you can also try
# cat /proc/sys/net/ipv4/conf/eth0/rp_filter
# cat /proc/sys/net/ipv4/conf/eth1/rp_filter

These are both normally "1".  If your router receives
packets for forwarding from an address that doesn't match
the network address of the interface they are received on
and this is set to "1", the kernel drops the packets; this
is intended to prevent spoofing.  You shouldn't normally have
to play with this, but I found that I had to when (e.g.)
I had multiple networks on the same cable.  I've never used
PPPoE and I doubt that's it, but as I say, it's worth
checking as a last resort.

You can change any of these parameters with echo, e.g.:
# echo 1 > /proc/sys/net/ipv4/ip_forward

> OH, I also meant to ask.  I used to use linuxconf on my RH systems.  Is there 
> an
> equiv. for Debian?  Something better, perhaps?

Well, there's always Linuxconf.  Never used it myself, but it 
wouldn't be there if it didn't work at all.


John P.
-- 
[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mdt.net.au/~john Debian Linux admin & support:technical services



Re: ip masq with 2.3.x kernels?

2000-08-04 Thread Phil Brutsche
A long time ago, in a galaxy far, far way, someone said...

> Hello,
> 
>I am looking for some documentation on how to compile kernels 2.3.x
> with ip masq support. The current HOWTO doesn't cover those kernels
> yet.

http://netfilter.kernelnotes.org/unreliable-guides/index.html

I also have these rules that I use on my firewall.  $IPT is the iptables
executable (/usr/local/bin/iptables).  $PUBIP is my public IP number;
$OUTSIDE_IFACE is the interface $PUBIP is assigned to (eth1).

This is the definition in /etc/networks:

localnet 192.168.0.0

Here are the rules.  Note the third stanza: this is how I got squid
working as a transparent proxy (along with some http_accel_* lines in
squid.conf).  The second and fourth stanzas redirect Microsoft's
accursed DirectPlay technology to work behind the firewall.

$IPT -P INPUT ACCEPT
$IPT -F
$IPT -t nat -F
$IPT -t nat -A POSTROUTING -o $OUTSIDE_IFACE -j MASQUERADE
$IPT -P FORWARD ACCEPT
$IPT -A INPUT -s localnet/16 -j ACCEPT

# allowed incoming ports
# for some games
$IPT -A INPUT -p tcp --dport 47624 -j ACCEPT
$IPT -A INPUT -p tcp --dport 2300:2400 -j ACCEPT
$IPT -A INPUT -p udp --dport 47624 -j ACCEPT
$IPT -A INPUT -p udp --dport 2300:2400 -j ACCEPT
$IPT -A INPUT -p tcp --dport 9110 -j ACCEPT
$IPT -A INPUT -p tcp --dport 9113 -j ACCEPT
# for incoming ssh
$IPT -A INPUT -p tcp --dport ssh -j ACCEPT
# for web going to giedi
$IPT -A INPUT -p tcp -d $PUBIP --dport www -j ACCEPT
$IPT -t nat -A PREROUTING -d $PUBIP -p tcp --dport www \
-j DNAT --to-destination 192.168.0.2

# for the squid web cache
$IPT -A INPUT -p tcp -d 127.0.0.1 --dport www -j ACCEPT
$IPT -A INPUT -p tcp -d 192.168.0.3 --dport www -j ACCEPT
$IPT -t nat -A PREROUTING -p tcp --dport www \
-j DNAT --to-destination 192.168.0.3:3128

# directplay stuff
$IPT -t nat -A PREROUTING -p tcp -d $PUBIP --dport 47624 \
-j DNAT --to-destination 192.168.0.103
$IPT -t nat -A PREROUTING -p tcp -d $PUBIP --dport 2300:2400 \
-j DNAT --to-destination 192.168.0.103
$IPT -t nat -A PREROUTING -p udp -d $PUBIP --dport 47624 \
-j DNAT --to-destination 192.168.0.103
$IPT -t nat -A PREROUTING -p udp -d $PUBIP --dport 2300:2400 \
-j DNAT --to-destination 192.168.0.103
$IPT -t nat -A PREROUTING -p tcp -d $PUBIP --dport 9110 \
-j DNAT --to-destination 192.168.0.103
$IPT -t nat -A PREROUTING -p tcp -d $PUBIP --dport 9113 \
-j DNAT --to-destination 192.168.0.103

$IPT -A INPUT -s localhost -j ACCEPT
$IPT -P INPUT DROP
$IPT -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward

This last stanza is particularly interesting: the new netfilter
firewalling code implements what's known as a statefull firewall.  What
effectively happens is all new incoming connections are dropped, but
established connections (as well as new connections related to another,
like for www to work) are allowed.

It all works like a charm; I'm using kernel 2.4.0-test2-ac2.

-- 
--
Phil Brutsche   [EMAIL PROTECTED]

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstien



System locked and now complains at startup about modules

2000-08-04 Thread Jeronimo Pellegrini

Hello...

As I've reported in another post, my system is locking sometimes. I
couldn't yet determine what is the problem, but something strange
happened today:

To see what could be the problem, I left the system with xmms running
while I was out for 4 hours. When I came back, the keyboard was
non-functionl, and nothing worked... Since it's a standalone box, I
hadto reset it. I was sort of expecting this (I was actually trying to
rule out some applications that could be locking the system)

But at startup, it now makes strange complaints, like:

modprobe: can't locate module #
modprobe: can't locate module are
modprobe: can't locate module with

But these are parts of commented lines in /etc/modules!!!

# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line.  Comments begin with
# a `#', and everything on the line after them are ignored.

(Lines 2, 3 and 4 end with #, are, and with)

Later, it will complain about an open  " ` " which was not closed.  But
this is because of the open " ` " in line 5!

What could be happening? (I mean, why would it just ignore the
comments and treat them like listed modules to be loaded?)
It happens no matter which kernel I boot.
Anyway, since no modules were being loaded there, that wasn't much of
a problem...

But I did get also a "can't find modules.dep" mesage later (this is
fixed already)

I really don't understand what's going on... I suspected that my
memory could be bad, but I've compiled lots of big packages (including
several kernels, sometimes every two days), for months and never got a
sig11. 
I'm beginning to suspect this may be:

- PS/2 mouse (these locks began to happen after I got a new mouse)
- X 3.3.6  (no problems happened with X 4)
- video card (SiS 6326 AGP)

This system (woody) worked fine for months... Could one single package
that I've upgraded lock X? (well X itself was upgraded recently...)

(It locked with kernels 2.4.0-test5, 2.2.16 and some other that I
don't remember...)

Not that I didn't expect to have crashes running woody, but... Locks
like this? Is this common?

Next thing I'll do is to compile X 4.0.1 and see if the problem goes
away. If it does, then (and I'd be surprised) it'd be an X-3.3.6
problem... 

I have to confess I am confused...

Thanks for any ideas.
J.

-- 
Jeronimo Pellegrini
Institute of Computing - Unicamp - Brazil
http://www.ic.unicamp.br/~jeronimo
mailto:[EMAIL PROTECTED]mailto:[EMAIL PROTECTED]



Re: Cool trick: gmc and Debs

2000-08-04 Thread benalb
 Cuando: jue, 03 de ago de 2000, a las 10:51:54 -0700
 Quien: kmself@ix.netcom.com
 Que: Cool trick:  gmc and Debs


> The cool hat trick:  You can browse through the contents of a Deb
> package *.deb file) with gmc as if it were a locally mounted fileystem,
> without having to unarchive and untar all the constituent components.
> 
> This is pretty damned sweet.  Thought I'd share.
> 
> If you already knew this, laugh at me.  If you didn't -- well, now you
> do.

This must be my second or thir mail to the list, again sorry for my
poor english. Well, mc (or gmc) is really cool, but you can browse a
.deb file with "less":

add this to /etc/profile:  eval `/usr/bin/lesspipe` , source it, 
and then  less whateveryouwant.deb. Cool, isn't it? Works with .rpm,
.tar.gz, .zip too. 

-- 
Benjamín Albiñana Pérez
Linux User Nº78177
Clave pública: wget http://personal1.iddeo.es/benalb/benjamin-gpg.asc 
Usar emacs es como tirarse una licuadora. Electrizante al principio,
pero no te quedan ganas de repetir.




pgpiRKsIeBavZ.pgp
Description: PGP signature


Re: C programming

2000-08-04 Thread Eric G . Miller
I suggest going to comp.lang.c and checking the C FAQ. Specifically look
for the inherent problem of putting the same variable on both sides of a
relational operator: (x+y) > x

If memory serves, the behavior is "undefined" -- so don't do it!

On Fri, Aug 04, 2000 at 11:55:36PM +0200, Christophe TROESTLER wrote:
> Hi the list,
> 
> I apologize if that is a little bit off topic but I am a bit puzzled
> and  I  know there  are  experts  on this  list.   I  would like  an
> explanation on why the two "for" below give different results.
> 
> Thanks,
> ChriS
> 
> 
> -.¸¸.·´¯`·.¸¸.-.¸¸.·´¯`·.¸¸.-.¸¸.·´¯`·.¸¸.-.¸¸.·´¯`·.¸¸.-.¸¸.·´¯`·.¸¸.-
> 
> 
> #include 
> 
> main()
> {
>   double x, y, z;
>   int t;
>   
>   for(x=.5, y=1./4., t=1;   z= x + y, z > x;   y /=2,  t++)
> ;
>   printf("t=%i\n", t);
> 
>   for(x=.5, y=1./4., t=1;  x+y > x;   y /=2,  t++)
> ;
>   printf("t=%i\n", t); 
> }
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 

-- 
MegaHAL quote:
I think a blowpipe is a marijuana cigarrette.  
It'll get you deleted!



Re: Helix Gnome Evolution 0.3

2000-08-04 Thread Jared Johnson

> > >Hi, I was reading today on slashdot about Evolution 0.3.  They have a
> > download link for the tar.gz file.  I was wondering if the apt-get
> utility
> > will work if I use the spidermonkey.helixgnome.com source for the
> update?
> > Has anyone else tried this?

No, this won't work.  You can (or could), however, add a line to
/etc/apt/sources.list:

deb http://spidermonkey.helixcode.com/evolution/distributions/Debian ./

so just do:  su; echo "deb
http://spidermonkey.helixcode.com/evolution/distributions/Debian ./" >>
/etc/apt/sources.list; apt-get update; apt-get install evolution

and maybe apt-get upgrade as well in case the dependancies don't reflect
new versions of stuff.

> I don't think that Evolution is targeted towards experienced users. I
> think
> the purpose of it is to get some Windows-users to switch to linux, and to
> provide an MS-exchange server. It seems like it will be better and surely
> safer than Outlook, so there is much reason for windows-users to switch
> to
> linux/GNOME. It would be great if evolution could use for example the
> GIMP
> ui (many windows), but in that case it might not succeed in providing an
> easy replacement for Outlook.

I think that i agree, kinda.  Perhaps not on the "safe" part (i agree with
the later mail on that subject) but i do believe evolution is geared toward
people migrating.  My hope is that it will first be better implimented (and
safer) and then be developed to accomodate advanced users as well and fit
different UI tastes.

> afaik there are other programs for experienced users (balsa ?, (x)emacs
> with VM/Gnus ...).

Spruce is an extremely good mail client when it comes to the smarter
programs that we look for in GNOME and GTK apps.  It could use some work,
but has come extremely far and I currently use it for all of my email
needs.  The latest stable version, 0.6.5, is not in the debian archive for
some reason, but can be found on my webserver at:

http://silverchair.futureks.net/~solomon/spruce_0.6.5-1_i386.deb
(packaged on woody)

I'm just about to try Pronto, which just appeard in woody.  From the
description, it looks very cool.  I'm excited :D



-- 
Jared Johnson
[EMAIL PROTECTED]

In Xanadu did Kubla Khan
A stately pleasure dome decree:
Where Alph, the sacred river, ran
Through caverns measureless to man
Down to a sunless sea.
So twice five miles of fertile ground
With walls and towers were girdled round:
And there were gardens bright with sinuous rills,
Where blossomed many an incense-bearing tree;
And here were forest ancient as the hills,
Enfolding sunny spots of greenery.
-- S.T. Coleridge, "Kubla Kahn"

-BEGIN GEEK CODE BLOCK-
Version:  3.12
GCS/C d+(-)>-- s:+ a18 C$ UL>$ P+> L+++ E--- W+ N+ o? K- w---
!O M-- V-- !PS !PE Y PGP- t+ 5-- X R-- tv- b+ DI>+ !D G e>++(>+++) h-- r*
y-(>+++)
--END GEEK CODE BLOCK--



Olympus Drivers for the 500l Camera

2000-08-04 Thread Bill Rhea



 


Debian in Academic and Public Organisations

2000-08-04 Thread Dr. Simon Read
Folks,

I am a Computer Science professor at American University in Washington
D.C.

I want  to recommend that we  replace Solaris in  our Computer Science
department with  Debian.  In doing so,  I know that  we will encounter
problems  wuite  specific to  the  public  (as  in non-profit,  public
sector) and  academic nature  of the enterprise.   I want  to advocate
Debian over  RedHat and  TurboLinux who are  trying to sell  into this
market.

Is there  anyone else out there  in this kind of  organisation, who is
using Debian in  this kind of environment?  Contact  me and let's band
together!

Simon Read



Tomcat and Debian

2000-08-04 Thread Dr. Simon Read
Folks,

Tomcat (the JSP/Java Servlets plug-in  for Apache from Jakarta) is not
available as  a Debianised package.   Is anyone working on  this?  Has
anyone had  success installing this  under Debian?  Is there  a reason
why a package hasn't yet been developed?

I don't want  to waste my time  fighting with it if I  can use someone
else's efforts.

Simon Read



Re: displaying binary files

2000-08-04 Thread kmself
On Sat, Aug 05, 2000 at 01:09:12AM +0200, Sven Burgener wrote:
> On Fri, Aug 04, 2000 at 10:46:31PM +, john smith wrote:
> > Greetings,
> 
> Hello
> 
> > 1. if the console is "trashed" already with displaying binary..is there a 
> > way to make it recover w/o rebooting? logging out of the console doesn't 
> > seem to work.
> 
> "reset", as has been suggested to me in an older thread on this list. It's 
> the easist method.
> 
> The other method of un-fsck'ing the terminal is by typing 'Ctrl-V' followed 
> by 'Ctrl-O' and then hitting Enter.

With "top" being another good general un-munger.  Hitting the spacebar a
few times while it's running seems to speed things up.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpPAu8g0iT7Z.pgp
Description: PGP signature


Re: Why not Standard, Pre-Release, and Development versions?

2000-08-04 Thread Daniel Barclay

> From: David Karlin <[EMAIL PROTECTED]>


> A rose (or potato) by any other name, smells just as sweet.

So what?

Before you open the box and smell it, all you have is the name.
Then it makes a difference whether the name is "sweet flower" or 
"thorny flower".


Daniel
-- 
Daniel Barclay
[EMAIL PROTECTED]
(Hmm.  A little worrisome:  http://www.junkbusters.com/cgi-bin/privacy
http://www.anonymizer.com/snoop.cgi )



Re: Where to get icewm default themes

2000-08-04 Thread Thomas J. Hamman
Woody has an icewm-themes package, there's probably one in Potato too.

Tom

On Fri, Aug 04, 2000 at 08:42:04AM -0700, Ezequiel wrote:
> Hi,
> I downloaded and installed icewm but it comes only with its default theme, I
> remember having seen it in the slink CD with some themes like OS2, FVwm,
> motif, ... etc. I thought they would come has part of the icewm package
> since they are the simplest among ice themes (compared to the very
> sofisticated ones in the themes site), all I need is someone that uses icewm
> please tell me where to look for these themes.
> thanks.



Re: C programming

2000-08-04 Thread Christophe TROESTLER
On Fri, 4 Aug 2000, John Reinke <[EMAIL PROTECTED]> wrote:
> 
> 1) This is NOT for a programming assignment. ;-)

Ho, no!  :-)  These are just some experiments.

> 2) Using the comma within a condition is treated as AND (&&). That's
> messier code than I usually create.

Well, this is uncorrect.  Execute

main()
{
  int i;
  
  for(i=1; 0, i <10; i++)
printf("%i\n", i);
}

ANSI C states:

A pair of expressions separated by a coma is evaluated left to
right, and the value of the left expression is discarded.

Thanks for taking the time to reply,
ChriS



Re: ppp connection speed

2000-08-04 Thread David Reviejo
On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote:
> Hello,
> 
> I am using Debian slink, and a standard modem/pppd connection to my
> provider. 
> 
> Everything works well since years (I used the same config with Slakware)
> 
> But how/where can I see with which speed the modem has been connected ??
> 
> thanks,
> 
> -- 
> - Philippe MICHEL

A very simple solution:

- put
REPORT  CONNECT
  in your chat script (pppconfig do this for you, at least in potato).
  Take a look at your modem docs; maybe you need REPORT CARRIER instead.

- use the chat "-r" option to set the chat log file (p.e:
  /var/log/chat.log). In this file you get something like this:

chat:  Aug 04 13:12:20 CONNECT 9600
chat:  Aug 04 13:14:02 CONNECT 14400/REL-LAPM V.42 BIS
chat:  Aug 04 18:11:05 CONNECT 33600/ARQ/V34/LAPM/V42BIS
   ^
HTH,
-- 
David



Re: Cool trick: gmc and Debs

2000-08-04 Thread David Reviejo
* Lehel Bernadt <[EMAIL PROTECTED]> [000804 21:30]:
> 
> On 04-Aug-2000 Carl Fink wrote:
> > On Fri, Aug 04, 2000 at 12:16:33PM -0400, Mike Werner wrote:
> >  
> >> You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
> >> tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
> >> and zip programs are all installed.
> > 
> > Interestingly, though, it can't browse cpio archives.
> 
> mc's vfs uses the scripts in /usr/lib/mc/extfs, so it can be easily
> extended to handle other formats too.
> 

Yes, but I think mc support cpio archives right now (see
/usr/lib/mc/extfs/ucpio). 

Anyway, I'm having some anoying messages from mc like this
Direntry warning
Super ino_usage is 2, memory leak
when browsing/extracting from gziped tar balls. 

Anyone know what is this?
-- 
David



Where to get icewm default themes

2000-08-04 Thread Ezequiel
Hi,
I downloaded and installed icewm but it comes only with its default theme, I
remember having seen it in the slink CD with some themes like OS2, FVwm,
motif, ... etc. I thought they would come has part of the icewm package
since they are the simplest among ice themes (compared to the very
sofisticated ones in the themes site), all I need is someone that uses icewm
please tell me where to look for these themes.
thanks.



Re: X with a S3 Trio64V+ card

2000-08-04 Thread Russ Pitman
Yes, at least mine can. Sold as a ViewTop BP-S3-Ax. Fitted with sockets for
8 chips but sold locally with only a choice of 2 or 4meg installed. 
The manual claims max [EMAIL PROTECTED] colors or [EMAIL PROTECTED] or
[EMAIL PROTECTED] colors with 4Meg installed.

On Fri, Aug 04, 2000 at 08:26:40AM +0200, Stefan Bellon wrote:
> In article <[EMAIL PROTECTED]>,
>Russ Pitman <[EMAIL PROTECTED]> wrote:
> > I have no problems with the S3 Trio64V+ at 1024x768 -16/24bit
> > but it may be because I had 4 meg ram and upgraded to 8meg latterly
> > still using it on a 'passed over' machine.
> 
> You can upgrade the S3 Trio64V+ to 8 MB video RAM?
> 
> Greetings,
> 
> Stefan.
> 
> -- 
>  Stefan Bellon *  * 
> 
>  ... A)bort R)etry G)et a stick and kill it.
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 



Re: displaying binary files

2000-08-04 Thread Sven Burgener
On Fri, Aug 04, 2000 at 10:46:31PM +, john smith wrote:
> Greetings,

Hello

> 1. if the console is "trashed" already with displaying binary..is there a 
> way to make it recover w/o rebooting? logging out of the console doesn't 
> seem to work.

"reset", as has been suggested to me in an older thread on this list. It's 
the easist method.

The other method of un-fsck'ing the terminal is by typing 'Ctrl-V' followed 
by 'Ctrl-O' and then hitting Enter.

> 2. how do I make debian ask/warn first before displaying a binary file?

"file" comes in very handy for this. Recognises pretty many file
formats. Try it.

Sven
-- 
   I am the "ILOVEGNU" signature virus. Just copy me to your signature.
This email was infected under the terms of the GNU General Public License.



Re: displaying binary files

2000-08-04 Thread Alberto Brealey
On Fri, Aug 04, 2000 at 10:46:31PM +, john smith wrote:

> 1. if the console is "trashed" already with displaying binary..is there a 
> way to make it recover w/o rebooting? logging out of the console doesn't 
> seem to work.

try typing 'reset' + Enter on the fsckd console. (there was a thread about a
week ago on this, maybe you want to check it, nice info on it).

> 2. how do I make debian ask/warn first before displaying a binary file?

hmmm... this is the default, at least for less (at least in the 30+ boxes i
have to use around here...). maybe check the man page for any config
options? or are you using cat? cat does not warn here, and fscks up the
console.

hope it helps,

alberto



Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?

2000-08-04 Thread C. Falconer

Here's a thought - are you attempting to mount
\\desktop\c$
as the name of the share?  If so, your shell will probably be getting 
confused by the dollars sign.  (For those who don't know, NT W and NT S 
create shares of c$ and d$ and so on for the root of each drive.  The $ 
stops the share being browseable (to use samba terminology) )


Try creating a new share on the same drive, and call it something else.  I 
think the $ was a bad choice of character on MS part.


At 08:25 AM 8/4/00 -0400, you wrote:


This might be a trivial questions with a quick No! as the answer ...

At work, in a predominantly NT environment, I use Samba to mount drives of
the NT servers on the Lan. However, I'd also love to access files on my
(vanilla NT 4.0) desktop at work which is set to let other 'share' its
files.  I tried mounting these from a Linux box but failed.  Is there a way
to get to these files so that I could access the files from Linux?

CC's welcome as I am not currently subscribed here...

Thanks, Dirk

--
According to the latest figures, 43% of all statistics are totally worthless.


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < 
/dev/null


--
Criggie



displaying binary files

2000-08-04 Thread john smith

Greetings,

 In mandrake, when you want to see a file and it's in binary form..it warns 
you about it and asks if you still want to see it. but in debian, it just 
automatically shows it then you can no longer read anything on that console 
and thus rendering that console useless until you reboot. two questions:


1. if the console is "trashed" already with displaying binary..is there a 
way to make it recover w/o rebooting? logging out of the console doesn't 
seem to work.

2. how do I make debian ask/warn first before displaying a binary file?


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com



ip masq with 2.3.x kernels?

2000-08-04 Thread Joseph de los Santos
Hello,

   I am looking for some documentation on how to compile kernels 2.3.x with ip 
masq support. The current HOWTO  doesn't  cover those kernels yet.


Thanks for any advice.



RE: C programming

2000-08-04 Thread Sean 'Shaleh' Perry

On 04-Aug-2000 Christophe TROESTLER wrote:
> Hi the list,
> 
> I apologize if that is a little bit off topic but I am a bit puzzled
> and  I  know there  are  experts  on this  list.   I  would like  an
> explanation on why the two "for" below give different results.
> 

my comment here is -- use better coding style.  '1.' -> '1.0', etc.  Why
initialize x twice? or even in the loop?  Why do all the work in the loop parts
anyway?  Makes it harder to find the actual logic.



Re: C programming

2000-08-04 Thread John Reinke
Quick answer here - I'll make two assumptions:

1) This is NOT for a programming assignment. ;-)

2) Using the comma within a condition is treated as AND (&&). That's
messier code than I usually create.

Making the z = x + y assignment is part of the loop's condition, so it is
evaluated at whatever the value is, in addition to the z > x. If the
assignment is does not evaluate to the same value (true or false) as the
>, it can change the number of times the loop cycles. Move z = x + y out
of the condition part of the for statement, and you will have the same
results from both loops.

Also, it depends on how decimal values evaluate into either true or false,
since that is what the z = x + y assigment gives to the condition. You can
write a little program to test that out, and it will probably answer your
question.

John

On Fri, 4 Aug 2000, Christophe TROESTLER wrote:

> I apologize if that is a little bit off topic but I am a bit puzzled
> and  I  know there  are  experts  on this  list.   I  would like  an
> explanation on why the two "for" below give different results.
> 
> Thanks,
> ChriS
> -.??.???`?.??.-.??.???`?.??.-.??.???`?.??.-.??.???`?.??.-.??.???`?.??.-
> 
> #include 
> 
> main()
> {
>   double x, y, z;
>   int t;
>   
>   for(x=.5, y=1./4., t=1;   z= x + y, z > x;   y /=2,  t++)
> ;
>   printf("t=%i\n", t);
> 
>   for(x=.5, y=1./4., t=1;  x+y > x;   y /=2,  t++)
> ;
>   printf("t=%i\n", t); 
> }



Re: Questions on Slack / *BSDs

2000-08-04 Thread Dan Brosemer
On Fri, Aug 04, 2000 at 11:26:44PM +0200, Sven Burgener wrote:
> Could anyone using (or having used) Slackware please tell me what's 
> (particularly) good about it? -> What particular things made you 
> choose Slack?

It was around and (IMO) better than Yggdrasil when I used it. :)

> >From what I've read, it's probably the distro closest to the
> "roll-your-own" type of thing. Correct?

Yes.  You know very well what's going on on the system (not that you don't
on Debian, just that slack is a smaller system, takes less into account,
etc.  It's a great system, but I wouldn't use it today.  Others are welcome
(and expected) to disagree.

> Slack's package format is ".tgz"; correct? Is that a plain tar file, like
> the ending suggests or what?

Not quite.  I believe it has some metadata.  I could just be attributing the
OpenBSD packaging to Slackware, though... haven't used Slack in a long time.

> Now, whilst we're at it; I'd also like to hear what's special about 
> (Net|Free|Open)BSD.

Oh, here's a big topic.

NetBSD focuses on being portable to every 32-bit or better archatecture ever
dreamed of.  It pretty much succeeds too.  My uVAX][ runs NetBSD, but that's
my only experience with it, so I'll stop now on this one.

FreeBSD tries very hard to be blindingly fast on Intel hardware.  It succeeds 
in almost every respect.  Its disk I/O is absolutely incredible.  I use it
on every webserver I set up.  As of late, they're also taking security to be
a big concern.

OpenBSD is without a doubt the most securable/secure-by-default UNIX (and
arguably operating system) available.  I use it for almost every other
machine I set up (I don't for the machines that have a user sit at them,
though, for that, I use Debian).  I love that it emails me with diffs on all
files in /etc every night... that its default firewall is stateful (yeah, no
ip_masq_icq module!)  It affords the control you had with Slackware, but
gives you a ports tree (the three mentioned BSDs have a ports tree) which
allows you to install packages with almost as much ease as apt.

> Firstly, what are the differences between them all?
> And, how do they compare to (Debian GNU /) Linux ... and to each other?
> 
> Which are free? (Suppose OpenBSD sounds pretty free :)

All three.  BSDI makes a BSD-derived UNIX too.  Once upon a time, it wasn't
free.  I don't know about now.  I really haven't paid any attention too it.

> I've never used anything but {Debian GNU,SuSE} / Linux 

I haven't used SuSE.  Don't think I will as Debian seems to meet all my
needs.

> and AIX.

I'm sorry. :)

-Dan

-- 
"... the most serious problems in the Internet have been caused by 
unenvisaged mechanisms triggered by low-probability events; mere human 
malice would never have taken so devious a course!" - RFC 1122 section 1.2.2



pgpDhNgvpDXC6.pgp
Description: PGP signature


C programming

2000-08-04 Thread Christophe TROESTLER
Hi the list,

I apologize if that is a little bit off topic but I am a bit puzzled
and  I  know there  are  experts  on this  list.   I  would like  an
explanation on why the two "for" below give different results.

Thanks,
ChriS


-.¸¸.·´¯`·.¸¸.-.¸¸.·´¯`·.¸¸.-.¸¸.·´¯`·.¸¸.-.¸¸.·´¯`·.¸¸.-.¸¸.·´¯`·.¸¸.-


#include 

main()
{
  double x, y, z;
  int t;
  
  for(x=.5, y=1./4., t=1;   z= x + y, z > x;   y /=2,  t++)
;
  printf("t=%i\n", t);

  for(x=.5, y=1./4., t=1;  x+y > x;   y /=2,  t++)
;
  printf("t=%i\n", t); 
}



Re: xterm and shell behaviors

2000-08-04 Thread Tom Marshall
The system defaults for X apps are under usr/X11R6/lib/X11/app-defaults. The
user preferences are read from ~/.Xresources and/or ~/.Xdefaults.  The
preferences for colors and what to do with ^G (the beep) can be set in these
files.  The manpages for xrdb and xterm should be helpful also.  To save you
some reading, try adding these to your ~/.Xresources:

XTerm*background:   black
XTerm*foreground:   gray
XTerm*visualBell:   False

See the file /usr/X11R6/lib/X11/rgb.txt for a comprehensive list of the
color names that X will recognize, or just use the #rrggbb hex codes.

I know there are solutions for the backspace/delete thing, but I have not
dealt with it in some time.  There are many ways to tackle this one.  Might
I suggest that you try rxvt instead of xterm?  The default Debian rxvt has
the correct (imho) backspace/delete mappings.

On Fri, 4 Aug 2000, Thomas J. Hamman wrote:

> I'm a new convert to Debian, and I need a little help changing a few 
> behaviors of xterm and the shell (bash).
> 
> 1.  When I press tab to autocomplete something in the command line, and there 
> are more than one possible autocompletion, the shell BEEPS.  This is very 
> annoying, especially when my gf is asleep within ten feet of my computer. :)  
> How can I disable this?
> 
> 2.  I like my xterms to have a black background and gray text, like the 
> console; how can I make this the default setting?  (I know how to do it with 
> command line options, but I want it to be default.)  I noticed there are 
> commented lines for such settings in /etc/X11/Xresources/xterm, but 
> uncommenting those lines seems to have no effect.
> 
> 3.  The delete key seems to function the same as the backspace key in xterm; 
> how can I change it to delete the character in _front_ of the cursor instead?
> 
> Any help will be appreciated.  I'm enjoying Debian, it's much better than the 
> other distros I've tried. :)
> 
> Tom
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 



Questions on Slack / *BSDs

2000-08-04 Thread Sven Burgener
Dear debs

Could anyone using (or having used) Slackware please tell me what's 
(particularly) good about it? -> What particular things made you 
choose Slack?

>From what I've read, it's probably the distro closest to the
"roll-your-own" type of thing. Correct?

Slack's package format is ".tgz"; correct? Is that a plain tar file, like
the ending suggests or what?

Now, whilst we're at it; I'd also like to hear what's special about 
(Net|Free|Open)BSD.

Firstly, what are the differences between them all?
And, how do they compare to (Debian GNU /) Linux ... and to each other?

Which are free? (Suppose OpenBSD sounds pretty free :)

I've never used anything but {Debian GNU,SuSE} / Linux and AIX.
(Talking about real OS' here, so I'm not counting winhose :)

Thanks
Sven



Re: xterm and shell behaviors

2000-08-04 Thread Moritz Schulte
On Fri, Aug 04, 2000 at 03:55:39PM -0400, Thomas J. Hamman wrote:

> 1.  When I press tab to autocomplete something in the command line,
> and there are more than one possible autocompletion, the shell BEEPS.
> This is very annoying, especially when my gf is asleep within ten feet
> of my computer. :) How can I disable this?

see man bash. (search for 'bell'). it is a thing from the 'readline'
library. you've to put "set bell-style none" in your ~/.inputrc or the
system wide /etc/inputrc...


> 2.  I like my xterms to have a black background and gray text, like
> the console; how can I make this the default setting?  (I know how to
> do it with command line options, but I want it to be default.)  I
> noticed there are commented lines for such settings in
> /etc/X11/Xresources/xterm, but uncommenting those lines seems to have
> no effect.

there was a xfree86-common package (version 3.3.6-8?), with a bug,
which caused that the xresources were not read. are you running this
version?

or, did you forget to restart X (or to run xrdb) after you have
uncommented these lines?

> 3.  The delete key seems to function the same as the backspace key
> in xterm; how can I change it to delete the character in _front_ of
> the cursor instead?

which debian version are you running? if you are running potato see
/usr/share/doc/xterm/README.Debian.

moritz
-- 
/* Moritz Schulte <[EMAIL PROTECTED]>
 * http://hp9001.fh-bielefeld.de/~moritz/
 * PGP-Key available, encrypted Mail is welcome.
 */



Cyber Cafe with Linux

2000-08-04 Thread Paulo Henrique Baptista de Oliveira
Hi all,
I have to build a cyber cafe with 9 clients and 1 server all with Linux!
It has to have scanner, printers (with accounting), webcams, CD-R, Zip
and acouting.
What scanner I can buy?
What printer and system printing I can use?
What webcam? CD-R? And system accounting for Net users I use?
Thanks, Paulo Henrique



Re: Very large SCSI drives and partitioning.

2000-08-04 Thread Richard Kaszeta
Gary Hennigan writes ("Re: Very large SCSI drives and partitioning."):
>There shouldn't be anything inherently wrong with a 70G
>partition. Linux limit for a partition size is somewhere in the TB
>range. I bet it'll make for some LONG fsck times though!
>
>You might read the Large Disk HOWTO to see if it gives you any
>ideas. It's mostly for IDE, but there is at least a section
>SCSI. Perhaps you can feed the kernel a geometry of your own choosing
>via the lilo "append" option with something like:
>
>append="sda=8924,255,63"
>
>Don't rely on my math above either

This didn't really do anything, but feeding c=8924,h=255,s=63 to fdisk
seems to have done the trick.  It formatted cleanly, mounted cleanly,
and now I'm copying data to it.  We'll see how it goes.

Thanks for the help.

-- 
Richard W Kaszeta   PhD. Candidate and Sysadmin
[EMAIL PROTECTED]   University of MN, ME Dept
http://www.menet.umn.edu/~kaszeta



Re: ppp connection speed

2000-08-04 Thread Jesús Ruiz de Infante
On Thu, Aug 03, 2000 at 10:48:32AM +0200, Philippe MICHEL wrote:
> Hello,
> 
> I am using Debian slink, and a standard modem/pppd connection to my
> provider. 
> 
> Everything works well since years (I used the same config with Slakware)
> 
> But how/where can I see with which speed the modem has been connected ??
> 
> thanks,
> 
> -- 
> - Philippe MICHEL

I use the following /etc/chatscripts/provider file:

ABORT BUSY
ABORT "NO CARRIER"
ABORT VOICE
ABORT "NO DIALTONE" 
ABORT "NO ANSWER"
"" ATZ
OK ATX4
OK ATW1
OK ATDT947650210
CONNECT \d\c

The commands to display connection speed are:

ATX4: wait for dialtone, send CONNECT  when connected, else send send NO 
DIALTONE or 
BUSY as appropiate
ATW1: inform about modem-to-pc speed as CONNECT  and connection speed as 
CARRIER 

Deppending on your modem you could need ATQ0 and ATV1 too.  

Here you have a connection log as given by syslogd in /var/log/ppp.log :

Aug  4 12:09:45 tejeringo pppd[691]: pppd 2.3.11 started by root, uid 0
Aug  4 12:09:46 tejeringo chat[692]: abort on (BUSY)
Aug  4 12:09:46 tejeringo chat[692]: abort on (NO CARRIER)
Aug  4 12:09:46 tejeringo chat[692]: abort on (VOICE)
Aug  4 12:09:46 tejeringo chat[692]: abort on (NO DIALTONE)
Aug  4 12:09:46 tejeringo chat[692]: abort on (NO ANSWER)
Aug  4 12:09:46 tejeringo chat[692]: send (ATZ^M)
Aug  4 12:09:46 tejeringo chat[692]: expect (OK)
Aug  4 12:09:46 tejeringo chat[692]: ATZ^M^M
Aug  4 12:09:46 tejeringo chat[692]: OK
Aug  4 12:09:46 tejeringo chat[692]:  -- got it 
Aug  4 12:09:46 tejeringo chat[692]: send (ATX4^M)
Aug  4 12:09:46 tejeringo chat[692]: expect (OK)
Aug  4 12:09:46 tejeringo chat[692]: ^M
Aug  4 12:09:46 tejeringo chat[692]: ATX4^M^M
Aug  4 12:09:46 tejeringo chat[692]: OK
Aug  4 12:09:46 tejeringo chat[692]:  -- got it 
Aug  4 12:09:46 tejeringo chat[692]: send (ATW1^M)
Aug  4 12:09:46 tejeringo chat[692]: expect (OK)
Aug  4 12:09:46 tejeringo chat[692]: ^M
Aug  4 12:09:46 tejeringo chat[692]: ATW1^M^M
Aug  4 12:09:46 tejeringo chat[692]: OK
Aug  4 12:09:46 tejeringo chat[692]:  -- got it 
Aug  4 12:09:46 tejeringo chat[692]: send (ATDT947650210^M)
Aug  4 12:09:47 tejeringo chat[692]: expect (CONNECT)
Aug  4 12:09:47 tejeringo chat[692]: ^M
Aug  4 12:10:14 tejeringo chat[692]: ATDT947650210^M^M
Aug  4 12:10:14 tejeringo chat[692]: CARRIER 49333^M<<< your 
question
Aug  4 12:10:15 tejeringo chat[692]: ^M
Aug  4 12:10:15 tejeringo chat[692]: PROTOCOL: LAP-M^M
Aug  4 12:10:15 tejeringo chat[692]: ^M
Aug  4 12:10:15 tejeringo chat[692]: CONNECT
Aug  4 12:10:15 tejeringo chat[692]:  -- got it 
Aug  4 12:10:15 tejeringo chat[692]: send (\d)
Aug  4 12:10:16 tejeringo pppd[691]: Serial connection established.
Aug  4 12:10:16 tejeringo pppd[691]: Using interface ppp0
Aug  4 12:10:16 tejeringo pppd[691]: Connect: ppp0 <--> /dev/ttyS1
Aug  4 12:10:21 tejeringo pppd[691]: Cannot determine ethernet address for 
proxy ARP
Aug  4 12:10:21 tejeringo pppd[691]: local  IP address 212.7.57.115
Aug  4 12:10:21 tejeringo pppd[691]: remote IP address 62.14.9.104


By the way, what means 'Cannot determine ethernet address for proxy ARP'?

-- 
Jesús Ruiz de Infante
Key fingerprint =  CA 44 E4 0B 47 DF F7 8F  6F F7 8E 4A 60 19 AA 1A AE 9D D0 31
To add my public key to your keyring:
pgpk -a hkp://horowitz.surfnet.nl/[EMAIL PROTECTED]


pgpJJAHqNkW8q.pgp
Description: PGP signature


some tcsh questions

2000-08-04 Thread Jonas Moberg
I've (after many years of use..) been looking up what my shell actually can do 
for me to make my life easier. I've been going thru the features of tcsh (first 
shell I ever used, but I'm determined to go thru bash and zsh or ksh (when time 
permits that is..)).

So, of course, I got some questions for you all.. ;-) When I was reading the 
tcsh man-page I found some interesting examples on how to set the xterm title.


   postcmd Runs before each command gets executed.

   > alias postcmd  'echo -n "^[]2\;\!#^G"'

   then  executing  vi  foo.c  will  put  the command
   string in the xterm title bar.


This is something I've been looking for a long time, being able to print the
current process in the xterm-title (be it "top" or "joe" or whatever). Not that 
this example works of course ;).. But why? Is it depending on the 
window-manager?

I've read the xterm-title mini-howto and it simply says it's "hard" to do it 
in any other shell than zsh (the author welcomes any suggestions).

Just for your info, I can't seem to get these other xterm-titles using
cwdcmd to work either. I'm not so good that I understand what ^[]2; and ^G
does.


   cwdcmd  Runs after every change of working directory.  For
   example,  if  the  user  is working on an X window
   system using xterm(1) and  a  re-parenting  window
   manager  that  supports  title bars such as twm(1)
   and does

   > alias cwdcmd   'echo  -n  "^[]2;${HOST}:$cwd
   ^G"'

   then  the  shell  will  change  the  title  of the
   running xterm(1) to be the name  of  the  host,  a
   colon,  and the full current working directory.  A
   fancier way to do that is

   >  alias   cwdcmd   'echo   -n
   "^[]2;${HOST}:$cwd^G^[]1;${HOST}^G"'

   This  will  put the hostname and working directory
   on the title bar but only the hostname in the icon
   manager menu.

   Note  that  putting  a cd, pushd or popd in cwdcmd
   may cause an infinite loop.  It  is  the  author's
   opinion  that  anyone  doing so will get what they
   deserve.


I've experimented with the methods described in the the xterm-title mini
howto succesfully. But this thing one eluding me..

Of course, if you got any solutions or suggestions for bash or other shells
feel free to share them.. ;)



While I'm at it, I'll get another tcsh issue of my chest. Is there any 
possibility to get TAB to do the the tcsh list-glob function (lists global 
patterns) aswell as the commands-, dir-, var-, env-completion that it does by 
default? 

Thanks!




X crashed on laptop update

2000-08-04 Thread Karsten Bolding
Hello

I just updated updated X (woody) on my laptop with the result it does
not work anymore. From windows I get it's a ATI LT PRO and I use the
Mach64 server. I've not changed anything else in X.
The only thing I get is the lowest few pixels on the screen are turned
on - the rest is black

Sorry I a similar question has just been posted but I've been away for a
week where I could not follow the mailing list and Sunday I go again and
would like the laptop to work.

Karsten

-- 
***
Karsten Bolding   Phone:  +39 0332 225090
Via Adda 31   E-mail: [EMAIL PROTECTED]
I-21100 Varese(VA)
Italia
***



How is leafnode's delaybody supposed to work?

2000-08-04 Thread Christian Pernegger
I'd like to proxy news in a LAN with a potato server and 2 Windows clients.
Both low and high traffic text groups will be read and some binary groups
scavenged :)

The obvious choice for me was leafnode, BUT the standard mode where it gets
all messages in all groups is obviously to expensive in terms of bandwidth,
as well as ineffective - probably only 1/10th of all messages are actually
read.

In delaybody=1 mode it will download only headers, replace the bodies with a
pseudo-message comfirming it has been marked for the next retreival and
retreive the real body the next time fetchnews is run...

It says in the docs this doesn't work with Netscape, but it also doesn't
work properly with Forte Agent or XNews (=every reader with cache). Also,
I'd have to cron fetchnews every minute to allow the users normal reading.

Did I setup something wrong? If not, what would one use delaybody for?

And, most importantly, how can I achieve the desired effect: (not
necessarily with leafnode)

* clients can connect to the local "newsserver" and see the combined active
files of all configured servers

* headers are refreshed regularly and stored on the server

* as soon as a user requests a body, if is fetched and piped through from
the upstream server


Regards

Christian



Re: Fetchmail isn't working the way it should.

2000-08-04 Thread Alberto


use:

poll POP_SERVER protocol POP3:
user POP_USER, no keep, no rewrite, fetchall
password YOUR_PASSWD;


At 23:11 03/08/00 +0200, Sven Burgener wrote:

On Thu, Aug 03, 2000 at 10:02:19PM +0100, [EMAIL PROTECTED] wrote:
> I have recently setup Fetchmail as a demon polling 3 mail servers
> every five minutes when I'm online.

Wow, that's quite frequent.

> It downloads the mail without problems but it doesn't delete it
> from the servers after downloading.  I do not have 'keep' in any
> of the user lines in .fetchmailrc.

Have you tried 'fetchall'? Worked for me.

[snip]

> Any ideas anyone?

HTH

Sven
--
The UNIX Guru's view of sex:
unzip ; strip ; touch ; finger
mount ; fsck ; more ; yes ; umount
sleep


--
Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < 
/dev/null




Re: Helix Gnome Evolution 0.3

2000-08-04 Thread Andrew Sullivan
On Fri, Aug 04, 2000 at 09:03:57PM +0200, Felix Natter wrote:

> It seems like it will be better and surely safer than Outlook,

Why better and, most particularly, why safer?  Given that GNOME is
built to allow components to interact with one another via scripting,
there is no reason to suppose that the same problems faced by MS
Office could not find their way into a GNOME environment.  Once you
start building tools to make their interaction apparently seamless,
you face the possibility that someone is going to exploit that
seamlessness.  There is nothing magical about Free software that
makes it immune to those problems.

A

-- 
Andrew Sullivan  Computer Services
<[EMAIL PROTECTED]>Burlington Public Library
+1 905 639 3611 x158   2331 New Street
   Burlington, Ontario, Canada L7R 1J4



Re: Helix Gnome Evolution 0.3

2000-08-04 Thread Felix Natter
Hans <[EMAIL PROTECTED]> writes:

> At 12:03 PM 7/28/00 -0400, Ethan Pierce wrote:
> >Hi, I was reading today on slashdot about Evolution 0.3.  They have a
> download link for the tar.gz file.  I was wondering if the apt-get utility
> will work if I use the spidermonkey.helixgnome.com source for the update?
> Has anyone else tried this?
> >
> >Thanks -Ethan
> >
> >
> >-- 
> >Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null
> >
> >
> I don't want to start a war here, but what's so great about Evolution? It
> looks more like a regression to me. It imitates M$ in more than one way: it
> looks like it, has the same bloat factor and packs way to many features in
> a single frame. Where is the innovation? I switched from KDE to Gnome
> because I saw smarter programs being developed by the Gnome team, but after
> seeing Gnumeric and now this Evolution I start to doubt.

I don't think that Evolution is targeted towards experienced users. I think
the purpose of it is to get some Windows-users to switch to linux, and to
provide an MS-exchange server. It seems like it will be better and surely
safer than Outlook, so there is much reason for windows-users to switch to
linux/GNOME. It would be great if evolution could use for example the GIMP
ui (many windows), but in that case it might not succeed in providing an
easy replacement for Outlook.

afaik there are other programs for experienced users (balsa ?, (x)emacs
with VM/Gnus ...).

-- 
Felix Natter




Re: gnus-list-identifiers

2000-08-04 Thread Felix Natter
Brian May <[EMAIL PROTECTED]> writes:

> > "Felix" == Felix Natter <[EMAIL PROTECTED]> writes:
> 
> Felix> Brian May <[EMAIL PROTECTED]> writes:
> >> If I get a mailing list that prefixes subject lines with
> >> [Cocoon Devel], how do I remove it?
> >> 
> >> In earlier versions of Gnus, this worked:
> >> 
> >> (setq gnus-list-identifiers "\\(\\[Cocoon Devel\\]\\)")
> 
> Felix> It seems like with Gnus 5.8.7, you have to omit the
> Felix> subexpression-saving braces (\\(...\\)).
>  
> >> however, as of 5.8.7 it no longer works :-(
> 
> Felix> I remember having read about this in the manual - it seems
> Felix> like it was mentioned like this in there. Maybe this is
> Felix> still an error in the manual.  Can you tell me where this
> Felix> is described ?
> 
> Info Page --> Article Treatment --> Article Hiding
> 
> and
> 
> C-h v gnus-list-identifiers
> 
> If you can no longer use a regexps (like the documentation says you
> can), then I don't know how it could work for more then one mailing
> list. However, at the moment I only do have one mailing list, so I
> will try that.

No. you still use a regular expression, but without "\\(..\\)" surrounding
it (this was used for subexpression replacement. i.e.
you have str="hello world...", then you do
(string-match "\\(hello\\) world.*" str)
which gives you
(match-string 1) => "hello"
and you can easily replace the subexpression with "").
If you still do this, it will confuse Gnus because your regular-expression
is wrapped in another one, which uses \\(..\\) to find subexpressions..

C-h v gnus-list-identifiers:

gnus-list-identifiers's value is 
nil

Documentation:
Regexp that matches list identifiers to be removed from subject.
This can also be a list of regexps.

You can customize this variable.

Defined in `gnus-sum'.
-- 
Felix Natter



Re: Very large SCSI drives and partitioning.

2000-08-04 Thread Gary Hennigan
Richard Kaszeta <[EMAIL PROTECTED]> writes:
> Peter S Galbraith writes ("Re: Very large SCSI drives and partitioning. "):
> >
> >Richard Kaszeta wrote:
> >
> >>  I've gotten a
> >> ST173404LW drive (73.4 Gig Ultra2 160 drive), 
> >> However, I can't partition the new drive.  Cfdisk on debian 2.1
> >> refuses to talk to it at all.  fdisk will talk to it, but thinks it
> >> only has 4.5 GB of capacity.
> >
> >Did you try passing the disk geometry to the kernel at boot time?
> >e.g. using lilo:
> >
> > LILO: somekernelname sdb=14100,24,424
> >
> >Just guessing here...
> 
> Well, the kernel seems to be able to figure out most of it by itself:
> 
> SCSI device sdb: hdwr sector= 512 bytes. Sectors= 143374738 [70007 MB] [70.0 
> GB]
> 
> which is indeed the correct sector count and capacity according to Seagate's 
> spec sheet.
> 
> Here's excerpts from 'scsiinfo -a /dev/sdb' for it:
> 
>   Serial Number '3CE02MCM7044LENE'
>   Data from Rigid Disk Drive Geometry Page
>   
>   Number of cylinders14100
>   Number of heads24
>   Starting write precomp 0
>   Starting reduced current   0
>   Drive step rate0
>   Landing Zone Cylinder  0
>   RPL0
>   Rotational Offset  0
>   Rotational Rate10016
> 
>   Data from Format Device Page
>   
>   Removable Medium   0
>   Supports Hard Sectoring1
>   Supports Soft Sectoring0
>   Addresses assigned by surface  0
>   Tracks per Zone1810
>   Alternate sectors per zone 0
>   Alternate tracks per zone  6
>   Alternate tracks per lun   0
>   Sectors per track  424
>   Bytes per sector   512
>   Interleave 1
>   Track skew factor  95
>   Cylinder skew factor   85
> 
> So apparently scsiinfo and Seagate appear to agree that
> cylinder=14100, and heads=24.
> 
> Sectors appear to be 424, which means that total raw capacity is
> 24*14100*424=143481600, which is slightly larger than the 143374738
> reported by the kernel and seagate.
> 
> However, fdisk doesn't allow me to partition it:
> 
>   zombie:~# fdisk /dev/sdb
>   Device contains neither a valid DOS partition table, nor Sun or SGI 
> disklabel
>   Building a new DOS disklabel. Changes will remain in memory only,
>   until you decide to write them. After that, of course, the previous
>   content won't be recoverable.
>   
>   
>   The number of cylinders for this disk is set to 4471.
>   There is nothing wrong with that, but this is larger than 1024,
>   and could in certain setups cause problems with:
>   1) software that runs at boot time (e.g., LILO)
>   2) booting and partitioning software from other OSs
>   (e.g., DOS FDISK, OS/2 FDISK)
>   
>   Command (m for help): 
> 
> So it's defaulting to a cylinder count of 4471, not the 14100 it should be.
> 
> So let's try expert mode:
> 
>   Command (m for help): x
>   
>   Disk /dev/sdb: 64 heads, 32 sectors, 4471 cylinders
>   
>   Nr AF  Hd Sec  Cyl  Hd Sec  Cyl   StartSize ID
>1 00   0   00   0   00   0   0 00
>2 00   0   00   0   00   0   0 00
>3 00   0   00   0   00   0   0 00
>4 00   0   00   0   00   0   0 00
>   
>   Expert command (m for help): h
>   Number of heads (1-256, default 64): 24
>   
>   Expert command (m for help): c  
>   Number of cylinders (1-65535, default 4471): 14100
>   
>   The number of cylinders for this disk is set to 14100.
>   There is nothing wrong with that, but this is larger than 1024,
>   and could in certain setups cause problems with:
>   1) software that runs at boot time (e.g., LILO)
>   2) booting and partitioning software from other OSs
>  (e.g., DOS FDISK, OS/2 FDISK)
>   
> So far, so good...
> 
>   Expert command (m for help): s
>   Number of sectors (1-63, default 32): 464
>   Value out of range.
>   Number of sectors (1-63, default 32): 
> 
> So it's not letting me up the sector count.  So the max capacity I've
> seen so far in fdisk is 63*14100*24=21319200, or about 1/7th of the
> real capacity.
> 
> 'mke2fs /dev/sdb' appears to work fine, however.  I still don't know
> if this won't hurt anything...  Just skiddish before trusing 60 GB of
> data to it (although it is backed up via networker)

There shouldn't be anything inherently wrong with a 70G
partition. Linux limit for a partition size is somewhere in the TB
range. I bet it'll make for some LONG fsck times though!

You might read the Large Disk HOWTO to see if it gives you any
ideas. It's mostly for IDE, but there is at least a section
SCSI. Perhaps you can feed the kernel a geometry of your own choosing
via the lilo "append" option with something 

RE: autofs question

2000-08-04 Thread Lehel Bernadt

On 03-Aug-2000 Brian Stults wrote:
> Hello,
> 
> I'm using the kernel-based auto mounter, autofs.  I have all my mount
> points in the default /var/autofs/misc, and I have symbolic links to
> them in /mnt.  However, whenever I do a listing of /mnt (either from an
> xterm, or from within an application such as StarOffice), all of the
> devices controlled by autofs are mounted.  

This is normal, since ls or soffice will try to readlink(2) the symlinks, thus
getting autofs mount them.

> Is there a way to prevent
> this?  If I want to access my CD-RW from within StarOffice, I would like
> to be able to go into the directory called /mnt and then go into the
> directory called /mnt/cdrw.  But I would like to be able to do this
> without inadvertantly automatically mounting all the devices controlled
> by autofs.  Any suggestions?

If you stay with this configuration, you cannot change this behavior. 
The problem is that when you don't use links, you can't refer to the mountpoint
while browsing from a gui, since this is created when you try to access it.
Most of these programs however can use bookmarks for directory URLs too. So you
can add the mountpoints to your bookmarks; under mc you could use the directory
hotlist.

HTH,
Lehel



xterm and shell behaviors

2000-08-04 Thread Thomas J. Hamman
I'm a new convert to Debian, and I need a little help changing a few behaviors 
of xterm and the shell (bash).

1.  When I press tab to autocomplete something in the command line, and there 
are more than one possible autocompletion, the shell BEEPS.  This is very 
annoying, especially when my gf is asleep within ten feet of my computer. :)  
How can I disable this?

2.  I like my xterms to have a black background and gray text, like the 
console; how can I make this the default setting?  (I know how to do it with 
command line options, but I want it to be default.)  I noticed there are 
commented lines for such settings in /etc/X11/Xresources/xterm, but 
uncommenting those lines seems to have no effect.

3.  The delete key seems to function the same as the backspace key in xterm; 
how can I change it to delete the character in _front_ of the cursor instead?

Any help will be appreciated.  I'm enjoying Debian, it's much better than the 
other distros I've tried. :)

Tom



Loading fetchmail man page in Gnome-help uses all memory

2000-08-04 Thread Lee Elliott
Hello list,

I noticed a curious thing this evening - when I load the fetchmail man
page in the Gnome help browser, it grabs all my memory - 256MB and ramps
up swap usage until all that's gone too - another 256MB - previously
none was used.  CPU utilisation runs at about 75% on both cpus (SMP
system) while this happens.

This all takes about 10 seconds on this system.  It then frees all the
memory, effectively flushing the cache and buffer memory, and displays
the fetchmail man page ok.

Apart from the cpus being tied up, there's no other obvious effects or
consequences - nothing crashes (tried a kernel compile and running
Netscape) and the system then seems fine, although swap usage doesn't
return to 0MB immediately but seems to drop off over time, probably as
the system moves stuff back into main memory.  I just logged out and
back in and that cleared most of the swap - only 9.5MB used now, down
from 64MB after loading the man page several times, dropping to 29MB
just before I logged out.

There don't seem to be any spurious processes left hanging around.

This happens on consecutive loads on this man page: start
Gnome help, select Man Pages, select User Commands, select fetchmail -
memory used.  Use the Back button, select User Commands (again), select
fetchmail - memory used.

I've got three discrete 2.2.17 Potatos on this system, all with the same
s/w installed - I've tried it on two of them with identical results -
reboots make no difference.  At least it shows I'm keeping them in
step;)

This doesn't happen if the fetchmail man page is loaded from a Gnome
term: 'man fetchmail'

dmesg gives:

VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for gnome-man2html...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for gnome-man2html...
VM: do_try_to_free_pages failed for procmeter3...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for gnome-man2html...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for init...
VM: do_try_to_free_pages failed for sh...
VM: do_try_to_free_pages failed for sh...
VM: do_try_to_free_pages failed for sh...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for sh...
VM: do_try_to_free_pages failed for procmeter3...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for tasklist_applet...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for kswapd...
VM: do_try_to_free_pages failed for gnome-man2html...
VM: do_try_to_free_pages failed for gnome-man2html...
VM: do_try_to_free_pages failed for sh...
VM: do_try_to_free_pages failed for sh...
VM: do_try_to_free_pages failed for XF86_SVGA...
VM: do_try_to_free_pages failed for sh...
VM: do_try_to_free_pages failed for sh...
VM: do_try_to_free_pages failed for procmeter3...
VM: do_try_to_free_pages failed for mount...
VM: do_try_to_free_pages failed for procmeter3...

I'm getting really crappy conections at the moment so I've not been able
to check the bug list, but if any one else gets the same behaviour I'll
check it out and raise a bug if neccessary.

LeeE
-- 

http://www.spatial.freeserve.co.uk

...or something



Re: Very large SCSI drives and partitioning.

2000-08-04 Thread Richard Kaszeta
Peter S Galbraith writes ("Re: Very large SCSI drives and partitioning. "):
>
>Richard Kaszeta wrote:
>
>>  I've gotten a
>> ST173404LW drive (73.4 Gig Ultra2 160 drive), 
>> However, I can't partition the new drive.  Cfdisk on debian 2.1
>> refuses to talk to it at all.  fdisk will talk to it, but thinks it
>> only has 4.5 GB of capacity.
>
>Did you try passing the disk geometry to the kernel at boot time?
>e.g. using lilo:
>
> LILO: somekernelname sdb=14100,24,424
>
>Just guessing here...

Well, the kernel seems to be able to figure out most of it by itself:

SCSI device sdb: hdwr sector= 512 bytes. Sectors= 143374738 [70007 MB] [70.0 GB]

which is indeed the correct sector count and capacity according to Seagate's 
spec sheet.

Here's excerpts from 'scsiinfo -a /dev/sdb' for it:

  Serial Number '3CE02MCM7044LENE'
  Data from Rigid Disk Drive Geometry Page
  
  Number of cylinders14100
  Number of heads24
  Starting write precomp 0
  Starting reduced current   0
  Drive step rate0
  Landing Zone Cylinder  0
  RPL0
  Rotational Offset  0
  Rotational Rate10016

  Data from Format Device Page
  
  Removable Medium   0
  Supports Hard Sectoring1
  Supports Soft Sectoring0
  Addresses assigned by surface  0
  Tracks per Zone1810
  Alternate sectors per zone 0
  Alternate tracks per zone  6
  Alternate tracks per lun   0
  Sectors per track  424
  Bytes per sector   512
  Interleave 1
  Track skew factor  95
  Cylinder skew factor   85

So apparently scsiinfo and Seagate appear to agree that
cylinder=14100, and heads=24.

Sectors appear to be 424, which means that total raw capacity is
24*14100*424=143481600, which is slightly larger than the 143374738
reported by the kernel and seagate.

However, fdisk doesn't allow me to partition it:

  zombie:~# fdisk /dev/sdb
  Device contains neither a valid DOS partition table, nor Sun or SGI disklabel
  Building a new DOS disklabel. Changes will remain in memory only,
  until you decide to write them. After that, of course, the previous
  content won't be recoverable.
  
  
  The number of cylinders for this disk is set to 4471.
  There is nothing wrong with that, but this is larger than 1024,
  and could in certain setups cause problems with:
  1) software that runs at boot time (e.g., LILO)
  2) booting and partitioning software from other OSs
  (e.g., DOS FDISK, OS/2 FDISK)
  
  Command (m for help): 

So it's defaulting to a cylinder count of 4471, not the 14100 it should be.

So let's try expert mode:

  Command (m for help): x
  
  Disk /dev/sdb: 64 heads, 32 sectors, 4471 cylinders
  
  Nr AF  Hd Sec  Cyl  Hd Sec  Cyl   StartSize ID
   1 00   0   00   0   00   0   0 00
   2 00   0   00   0   00   0   0 00
   3 00   0   00   0   00   0   0 00
   4 00   0   00   0   00   0   0 00
  
  Expert command (m for help): h
  Number of heads (1-256, default 64): 24
  
  Expert command (m for help): c  
  Number of cylinders (1-65535, default 4471): 14100
  
  The number of cylinders for this disk is set to 14100.
  There is nothing wrong with that, but this is larger than 1024,
  and could in certain setups cause problems with:
  1) software that runs at boot time (e.g., LILO)
  2) booting and partitioning software from other OSs
 (e.g., DOS FDISK, OS/2 FDISK)
  
So far, so good...

  Expert command (m for help): s
  Number of sectors (1-63, default 32): 464
  Value out of range.
  Number of sectors (1-63, default 32): 

So it's not letting me up the sector count.  So the max capacity I've
seen so far in fdisk is 63*14100*24=21319200, or about 1/7th of the
real capacity.

'mke2fs /dev/sdb' appears to work fine, however.  I still don't know
if this won't hurt anything...  Just skiddish before trusing 60 GB of
data to it (although it is backed up via networker)





-- 
Richard W Kaszeta   PhD. Candidate and Sysadmin
[EMAIL PROTECTED]   University of MN, ME Dept
http://www.menet.umn.edu/~kaszeta



Re: Cool trick: gmc and Debs

2000-08-04 Thread Lehel Bernadt

On 04-Aug-2000 Carl Fink wrote:
> On Fri, Aug 04, 2000 at 12:16:33PM -0400, Mike Werner wrote:
>  
>> You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
>> tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
>> and zip programs are all installed.
> 
> Interestingly, though, it can't browse cpio archives.

mc's vfs uses the scripts in /usr/lib/mc/extfs, so it can be easily
extended to handle other formats too.



Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?

2000-08-04 Thread Nicole Zimmerman
At 11:44 on Aug 4, Dirk Eddelbuettel combined all the right letters to say:

> No, I mean C:\ as the main partition on the 'desktop' computer.



> Permissions are read-access for everyone.  Can I read those from Linux via
> Samba?

What *have* you tried? If you do a `smbmount` (no args) it blah blahs
about mounting smbfs stuffs. At the bottom is the snippet that someone
posted earlier,

mount -t smbfs -o username=tridge,password=foobar //fjall/test /data/test

Right now, I have the e: drive of the windows box to my left mounted by 

mount -t smbfs //crackbox/e /mnt/smb/crackbox/

If it were password protected by windows share, I'd do the same thing,
let it try to mount it, and then smbmount *asks* me for the password to
access the directory.

Obviously, I had to create the /mnt/smb/crackbox/ dir, but that's not
something out of the ordinary.

Do you get any sort of errors or anything? When I've had problems in the
past, I know errors were reported back (I can't remember what they were,
but I know they were there).

-nicole



FIXED: Buggered up my router somehow.

2000-08-04 Thread Adam Scriven

Ok, no laughing.

I setup the TrinityOS firewall script too.  I didn't mention this, but I 
have no idea why.


I had the $INTIF setup wrong.  eth1 != eth0.

Sorry.
Adam
Toronto, Ontario, Canada




Very large SCSI drives and partitioning.

2000-08-04 Thread Richard Kaszeta
Okay, due to some *very* large storage requirements, I've gotten a
ST173404LW drive (73.4 Gig Ultra2 160 drive), and I've hooked it up to
the onboard AIC-7890 controller on my ASUS p2b-s motherboard (which
has worked fine with my 9 and 18 GB ATLAS drives).  

However, I can't partition the new drive.  Cfdisk on debian 2.1
refuses to talk to it at all.  fdisk will talk to it, but thinks it
only has 4.5 GB of capacity.  If I go into expert mode, I can set the
number of cylinders to 14,100 (from manufacturers data sheet), and the
heads to 24 (again, from manufacturer), but then the drive has 424
sectors, and fdisk won't allow sectors>63.

Same thing happens whether large drive translation is turned on or
off---if I don't overflow one number (like cylinders), I overflow
another (sectors).  

Any ideas?

As an aside, if I don't partition the drive it seems to work fine,
i.e. 'fdisk /dev/sdb'.  Can I run it like this safely?

-- 
Richard W Kaszeta   PhD. Candidate and Sysadmin
[EMAIL PROTECTED]   University of MN, ME Dept
http://www.menet.umn.edu/~kaszeta



Re: Adapted AHA1542 Problems.

2000-08-04 Thread Adam Scriven

At 13:22 2000/08/03 -0400, you wrote:

At 11:11 2000/08/03 -0600, you wrote:
each time i re-install windows on the box (every 6 months, tops), it 
fscks the pnp info on every card, so i sometimes have to set my card on 
pnp or manual config. when this happens, changing the io address fixes 
the "device or resource busy" problem. if you can, you may want to try 
changing the card io address and passing the new value to the module. not 
the nicest solution, but has worked for me before.


Thanks for the info.
I set it back to it's default IO address 330, and it worked like a charm.

Thanks!
Adam

Toronto, Ontario, Canada



Re: emacs and screen

2000-08-04 Thread Christopher Tessone
On 4 August 2000 at 10:28, "Noah L. Meyerhans" <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> 
> Does anybody know if it's possible to make screen get along better with
> emacs?  They have a whole lot of overlapping keyboard commands, and I'd
> like it if screen didn't grab all my C-a's and stuff.  I've read the
> screen FAQ and man page, but it didn't really address it.  Does anybody
> have a .screenrc which remaps screen commands to commands that don't
> conflict with emacs?  Remapping emacs keys would be bad as at this point
> they're pretty much hardcoded into my brain.

The solution I use is to put "escape ^ww" in my screenrc.  That makes
screen use C-w as the command character instead of C-a.  You can use
C-w w to get a literal ^W.

Chris

-- 
Christopher Tessone   Computer Programmer
Illinois Mathematics & Science Academy Learning-at-a-Distance Program
http://www.imsa.edu/~tessone/
GnuPG Key: http://www.imsa.edu/~tessone/mykey.asc



Re: Buggered up my router somehow.

2000-08-04 Thread Adam Scriven

At 14:36 2000/08/04 -0400, you wrote:

whoopsie... :) been in windows too long..
anyhow.. possible though ?


Yup.  That just means to use the whole C block as one subnet.
Basically, I've got 2 different subnets, 192.168.0.* and 192.168.1.*.

BUT, I got it to work...and I got my portforwarding working too.

This stuff _isn't_ impossible!
8-)

Thanks!
Adam

Toronto, Ontario, Canada



Re: Distribution Download

2000-08-04 Thread romeu

Thanks, Justin. This is the kind of ftp program I was looking for.

Gaucho




   
cam 
   
<[EMAIL PROTECTED]Para:   [EMAIL PROTECTED] 
   
ahoo.com>cc: Debian User List   
   
Enviado Por:  
   
[EMAIL PROTECTED]Assunto: Re: Distribution 
Download
.com.br 
   

   

   
03/08/00
   
18:10   
   

   

   



When I was at school and behind a firewall...BulletProof FTP worked fine
for
dowloading...see if that works for ya.

Justin

[EMAIL PROTECTED] wrote:

> I want to download the entire distribution of linux from ftp.debian.org.
> What (windows) program should I use for this purpose? I mean, I want to
> select the directory ftp.debian.org/debian and download it all with just
> one click. I tried CuteFtp, but it does not deal good with proxies
> authentication (oh, I'm at work, so I'm using Windows, behind a
firewall).
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null



__

Do You Yahoo!?

Talk to your friends online with Yahoo! Messenger.

http://im.yahoo.com








Re: autofs question

2000-08-04 Thread kmself
On Thu, Aug 03, 2000 at 12:15:21AM -0400, Brian Stults wrote:
> Hello,
> 
> I'm using the kernel-based auto mounter, autofs.  I have all my mount
> points in the default /var/autofs/misc, and I have symbolic links to
> them in /mnt.  However, whenever I do a listing of /mnt (either from an
> xterm, or from within an application such as StarOffice), all of the
> devices controlled by autofs are mounted.  Is there a way to prevent
> this?  If I want to access my CD-RW from within StarOffice, I would like
> to be able to go into the directory called /mnt and then go into the
> directory called /mnt/cdrw.  But I would like to be able to do this
> without inadvertantly automatically mounting all the devices controlled
> by autofs.  Any suggestions?

I haven't used autofs since I converted from RH last year.  IIRC mount
behavior is controlled by a couple of config files.  I'm not sure
whether or not access methods can be specified and discriminated
for/against (say, like diald allows/dissallows net connection by
activity type).

Suggest you post your config files, relevant parts of your directory
tree, and examples of behavior which cause/don't cause filesystems to
mount.

I found autofs more trouble than it was worth.  There are a number of
GUI apps which provide for mounting and umounting specific filesystems
fairly transparently, for Gnome, KDE, and WindowMaker.  This might be a
preferred alternative.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpVpCpjIws4O.pgp
Description: PGP signature


Re: Buggered up my router somehow.

2000-08-04 Thread Mark A. Bialik
Kevin wrote:
 
> whoopsie... :) been in windows too long..
> anyhow.. possible though ?

Sure, you may have many different networks all using the same subnet
masks. 255.255.255.0 will give his networks a network number of
192.168.1.0 with a broadcast of 192.168.1.255, and
192.168.0.0/192.168.0.255.  All the IP's in-between are useable.

I forget if he said he was using a router nor not... If so, it *could*
be that his router is unaware of how to get to either of the 192.168
nets... not enough info was provided. Running RIP/routed or entering
static routes should clear that up. If this is a linux router on the
same box, could it be that IP forwarding has not been turned on?

Mark

===
Mark A. Bialik   (414) 290-6749
Network/Security Manager [EMAIL PROTECTED]
Infinity HealthCare, Inc.Mequon, WI



Re: Trouble with initial istall

2000-08-04 Thread kmself
On Sun, Aug 03, 1980 at 10:32:39PM -0700, Ed Burke wrote:

Fix your system date.

> Debian helpers, I got partially through an install when I ran in to
> trouble.  Is there ANY body out there that can help?I'm afraid to
> mention scsi but that seems to be where the trouble may be.  I don't
> really know.  If I upset someone on your staff I am truely sorry - It
> was truely unintentional.  This is my 4th attempt to reach you.
> Waiting anxiously,  Ed

First, there's no "staff", there's the list.  Participation is totally
voluntary.  If you don't get a response, re-submit your question.
Poorly worded, phrased, titled, or formatted posts tend to get ignored.
Also use archives (Deja, Remarq, Google) to research your problem.

Post your hardware (number/type of HDs, SCSI controller, CPU type (eg:
x86, 68, PowerPC), error messages, and any substantiated hunches you might
have as to what's wrong or what might fix things (but don't speculate
if you really don't know, it's usually not helpful), to this list.

I'd also suggest a subject line along the lines of "Install problem:
SCSI foo", where "foo" is descriptive of your specific SCSI card and
problems you're having with it.

Good luck.

-- 
Karsten M. Self  http://www.netcom.com/~kmself
 Evangelist, Opensales, Inc.http://www.opensales.org
  What part of "Gestalt" don't you understand?   Debian GNU/Linux rocks!
   http://gestalt-system.sourceforge.net/K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595 DC61 3847 889F 55F2 B9B0


pgpU91SRgMwwU.pgp
Description: PGP signature


RE: Is there anybody out there?

2000-08-04 Thread Pollywog

On 04-Aug-1980 Ed Burke wrote:
>I am trying to do an initial install of Debian [New Riders/Mac
> Millan Pubs.] and I
> ran into a dead end path.  Quite by accident I found I can boot from the
> CD, so I don't
> need the path to the boot loader.  However the process ended when I
> didn't understand
> how to get the OS to recgnize my HDD.  It is a scsi HDD. Ed
> 

You did not specify just what hardware you have.  Is the SCSI Adaptec or what;
model info and such.  Then someone might be able to help.

--
Andrew



Re: Buggered up my router somehow.

2000-08-04 Thread Kevin


whoopsie... :) been in windows too long..
anyhow.. possible though ?

"Mark A. Bialik" wrote:
> 
> Kevin wrote:
> 
> > I see you have both 192.* nets using the same broadcast...
> > 255.255.255.0
> > Can you do that.. anyone ?
> 
> Those aren't broadcast addresses... they're subnet masks.
> 
> ===
> Mark A. Bialik   (414) 290-6749
> Network/Security Manager [EMAIL PROTECTED]
> Infinity HealthCare, Inc.Mequon, WI



Print accounting

2000-08-04 Thread Neilen Marais
I have an HPLJ 4l set up with magicfilter, and it prints fine, but no
print accounting seems to be taking place... When I print nothing gets
logged at all.  This is how my printcap file looks:

lp|hplj4l|HP Laserjet 4L:\
:lp=/dev/lp0:sd=/var/spool/lpd/hplj4l:\
:sh:pw#80:pl#72:px#1440:mx#0:\
:if=/etc/magicfilter/ljet4l-filter:\
:af=/var/log/lp-acct:\
:lf=/var/log/lp-errs:

the file /var/log/lp-acct is always empty.

Any ideas?  Permissions possibly, and if so, which?

Thanks
Neilen


--
E-Mail: Neilen Marais <[EMAIL PROTECTED]>
Date: 04-Aug-2000
Time: 21:09:02

This message was sent by XFMail
--



dwww errors

2000-08-04 Thread Neilen Marais
Hi.

I'm running potato, and my dwww seems to be not quite right.

For instance, on the debian document menu, a number of choices result
in not found messages, or other arb errors. If I manually browse the
same location in netscape useing file:///whatever (by looking at the
URL dwww generates) things usually go dandy.

Sometimes I get errors like:
Access denied.

dwww will not allow you to read file
/usr/share/doc/gnome-users-guide-en/html/index.html 

Going to the page manually works fine.

futhermore, my HTML documentation index is empty.

I have purged, and reinstalled to no avail.  The version of dwww I'm
using is dwww_1.4.3.5-1.9.

Is this an issue with the documentation istalled by the packages, or
dwww itself, or something weird with my system?

Help would be helpful :)  I rather like dwww in concept, I'd just like
to get it to work 100%.

Thanks
Neilens


--
E-Mail: Neilen Marais <[EMAIL PROTECTED]>
Date: 04-Aug-2000
Time: 21:12:31

This message was sent by XFMail
--



Is there anybody out there?

2000-08-04 Thread Ed Burke
   I am trying to do an initial install of Debian [New Riders/Mac
Millan Pubs.] and I
ran into a dead end path.  Quite by accident I found I can boot from the
CD, so I don't
need the path to the boot loader.  However the process ended when I
didn't understand
how to get the OS to recgnize my HDD.  It is a scsi HDD. Ed



Re: Buggered up my router somehow.

2000-08-04 Thread Mark A. Bialik
Kevin wrote:
 
> I see you have both 192.* nets using the same broadcast...
> 255.255.255.0
> Can you do that.. anyone ?

Those aren't broadcast addresses... they're subnet masks.

===
Mark A. Bialik   (414) 290-6749
Network/Security Manager [EMAIL PROTECTED]
Infinity HealthCare, Inc.Mequon, WI



Re: Buggered up my router somehow.

2000-08-04 Thread Kevin


I see you have both 192.* nets using the same broadcast...
255.255.255.0
Can you do that.. anyone ?

Adam Scriven - Lore wrote:
> 
> Ok, by some great and wonderful streak of stupidity, I seem to have somehow
> completely fscked up my router.
> 
> It's hooked up to an ADSL modem, running PPPoE (Roaring Penguin), and that 
> part
> looks like it's working great.
> I've got 2 other network cards, both 3Com 905B.  I have the 3c59x module
> loading with modprobe, and I've checked ifconfig, and both cards look to be
> setup correctly.
> eth0 is 192.168.0.1, and eth1 is 192.168.1.1
> (Incedentally, eth2 is an NE2k-pci card, for the PPPoE client).
> 
> I can see the world just fine from the router (I'm telnetting to an ISP
> where my maail is hosted to send out this message, and I'm on the router now),
> but I can't ping anything on my 192.168.0.0 network (192.168.1.0 isn't used
> yet).
> The route command returns:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref   Use Iface
> ADSL-NAME   *   255.255.255.255 UH0  0 0   ppp0
> 192.168.1.0 *   255.255.255.0   U 0  0 0   eth1
> 192.168.0.0 *   255.255.255.0   U 0  0 0   eth0
> default ADSL-NAME   0.0.0.0 UG0  0 0   ppp0
> 
> (I had to tyype this in by hand, so any formatting problems are mine.)
> 
> This all looks OK to me, but pinging just gives 100% packet loss, and 
> traceroute
> to 192.168.0.2 from the router gives:
> traceroute: sendto: Operation not permitted
>  1 traceroute: wrote 192.168.0.2 38 chars, ret=-1
> 
> So, the question is, how have I managed to bugger this up, since it was 
> working
> fine this morning.  I recompiled a new 2.2.17 kernel, but AFAIK I picked all
> the options that I needed.  My old (working) kernel was 2.2.14.  Did I forget
> some vital piece of information?
> 
> Thanks very much for any help.
> Adam
> 
> OH, I also meant to ask.  I used to use linuxconf on my RH systems.  Is there 
> an
> equiv. for Debian?  Something better, perhaps?
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Re: Buggered up my router somehow.

2000-08-04 Thread Kevin

I see you have both 192.* nets using the same broadcast...
255.255.255.0
Can you do that ? 

Adam Scriven - Lore wrote:
> 
> Ok, by some great and wonderful streak of stupidity, I seem to have somehow
> completely fscked up my router.
> 
> It's hooked up to an ADSL modem, running PPPoE (Roaring Penguin), and that 
> part
> looks like it's working great.
> I've got 2 other network cards, both 3Com 905B.  I have the 3c59x module
> loading with modprobe, and I've checked ifconfig, and both cards look to be
> setup correctly.
> eth0 is 192.168.0.1, and eth1 is 192.168.1.1
> (Incedentally, eth2 is an NE2k-pci card, for the PPPoE client).
> 
> I can see the world just fine from the router (I'm telnetting to an ISP
> where my maail is hosted to send out this message, and I'm on the router now),
> but I can't ping anything on my 192.168.0.0 network (192.168.1.0 isn't used
> yet).
> The route command returns:
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric Ref   Use Iface
> ADSL-NAME   *   255.255.255.255 UH0  0 0   ppp0
> 192.168.1.0 *   255.255.255.0   U 0  0 0   eth1
> 192.168.0.0 *   255.255.255.0   U 0  0 0   eth0
> default ADSL-NAME   0.0.0.0 UG0  0 0   ppp0
> 
> (I had to tyype this in by hand, so any formatting problems are mine.)
> 
> This all looks OK to me, but pinging just gives 100% packet loss, and 
> traceroute
> to 192.168.0.2 from the router gives:
> traceroute: sendto: Operation not permitted
>  1 traceroute: wrote 192.168.0.2 38 chars, ret=-1
> 
> So, the question is, how have I managed to bugger this up, since it was 
> working
> fine this morning.  I recompiled a new 2.2.17 kernel, but AFAIK I picked all
> the options that I needed.  My old (working) kernel was 2.2.14.  Did I forget
> some vital piece of information?
> 
> Thanks very much for any help.
> Adam
> 
> OH, I also meant to ask.  I used to use linuxconf on my RH systems.  Is there 
> an
> equiv. for Debian?  Something better, perhaps?
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null



Trouble with initial istall

2000-08-04 Thread Ed Burke
  Debian helpers,
  I got partially through an install when I ran in to
trouble.  Is there ANY body out
 there that can help?I'm afraid to mention scsi but that seems to be
where the trouble
 may be.  I don't really know.  If I upset someone on your staff I am
truely sorry - It was truely unintentional.  This is my 4th attempt to
reach you.  Waiting anxiously,  Ed



Re: Cool trick: gmc and Debs

2000-08-04 Thread Peter S Galbraith

kmself@ix.netcom.com wrote:

> The cool hat trick:  You can browse through the contents of a Deb
> package *.deb file) with gmc as if it were a locally mounted fileystem,
> without having to unarchive and untar all the constituent components.

See also the debview package:

Description: Emacs mode for viewing Debian packages
 After installing, you can use C-D in dired mode to view the .deb file
 on the current line.  Allows both the structure and contents of a .deb
 archive to be examined.

--

Also, /usr/bin/lesspipe (which can be used to enhance `less') has
support for deb packages, listing package description and then
content, e.g.

$ less xless_1.7-11.deb
 new debian package, version 2.0.
 size 17326 bytes: control archive= 1168 bytes.
 439 bytes,12 lines  control  
 593 bytes, 9 lines  md5sums  
 644 bytes,19 lines   *  postinst #!/bin/sh
 299 bytes, 9 lines   *  postrm   #!/bin/sh
 356 bytes,12 lines   *  prerm#!/bin/sh
 Package: xless
 Version: 1.7-11
 Section: text
 Priority: extra
 Architecture: i386
 Depends: xaw-wrappers, libc6 (>= 2.1), xlib6g (>= 3.3.5-1)
 Installed-Size: 56
 Maintainer: Randolph Chung <[EMAIL PROTECTED]>
 Description: A file browsing tool for the X Window System
  xless allows you to view information in an X window. It allows
  filename(s) arguments, or input via STDIN. It can print the
  current buffer and do regular expression searches.

*** Contents:
drwxr-xr-x root/root 0 1999-10-16 13:32:15 ./
drwxr-xr-x root/root 0 1999-10-16 13:32:13 usr/
drwxr-xr-x root/root 0 1999-10-16 13:32:14 usr/bin/
-rwxr-xr-x root/root 24432 1999-10-16 13:32:14 usr/bin/xless.real
drwxr-xr-x root/root 0 1999-10-16 13:32:12 usr/X11R6/
drwxr-xr-x root/root 0 1999-10-16 13:32:12 usr/X11R6/lib/
[cut]


Peter



Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?

2000-08-04 Thread Kent West
Dirk Eddelbuettel wrote:
> 
> On Fri, Aug 04, 2000 at 09:58:43AM -0500, Kent West wrote:
> > Dirk Eddelbuettel wrote:
> > > Yes, as I wrote, that works fine for NT servers providing a share. I use
> > > that with the corresponding entry in /etc/fstab so that I can simply say
> > > mount /mountpoint
> > > and the rest happens automatically.
> > >
> > > I now would like to access the C:\ I declared as 'shared' on my desktop.  
> > > I
> > > can't figure out what that would be. Whatever I try yields 'session 
> > > request
> > > to DESKTOP failed'.
> > >
> > > Any idea?
> >
> > You said you "would like to access the C:\ I declared as 'shared'
> > on my desktop." By "desktop", do you mean your workstation
> 
> Yes.
> 
> > computer, or do you mean your Windows Desktop (shell program)? If
> 
> No, I mean C:\ as the main partition on the 'desktop' computer.
> 
> > the latter, you can't mean "C:\", yet the error message that you
> > mention indicates the latter.
> >
> > So, what directory have you shared, "C:\" or
> > "C:\WINNT\PROFILES\YOURUSERNAME\DESKTOP", and with what
> > permissions?
> 
> Permissions are read-access for everyone.  Can I read those from Linux via
> Samba?
> 
> Thanks, Dirk
> 

Yes, you can. I'm not sure what the problem is, but I just did it
on my boxen. I'll think about it and get back with you later.


Kent
[EMAIL PROTECTED]



Re: Cool trick: gmc and Debs

2000-08-04 Thread Carl Fink
On Fri, Aug 04, 2000 at 12:16:33PM -0400, Mike Werner wrote:
 
> You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
> tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
> and zip programs are all installed.

Interestingly, though, it can't browse cpio archives.
-- 
Carl Fink   [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum




Re: Cool trick: gmc and Debs

2000-08-04 Thread Greg Strockbine.
> You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
> tarballs, and zips as well, providing that the attendant gzip, bzip, tar,

well, gee, its starting to sound like emacs  :-)

greg s.



Re: Cool trick: gmc and Debs

2000-08-04 Thread Mike Werner
kmself@ix.netcom.com wrote:
> Color me clueless, but I just found something way cool.  I guess I
> *should* have spent more time with Novell.

> The cool hat trick:  You can browse through the contents of a Deb
> package *.deb file) with gmc as if it were a locally mounted fileystem,
> without having to unarchive and untar all the constituent components.

You can also browse tarballs, gzips, bzips, gzipped tarballs, bzipped
tarballs, and zips as well, providing that the attendant gzip, bzip, tar,
and zip programs are all installed.  Select the archive in question, and you
can either:
Hit F3 to view a listing of the files contained in the archive
or
Hit Enter to browse the archive as if it were a directory

Altogether a most usefull little program.
-- 
Mike Werner  KA8YSD   | He that is slow to believe anything and
  | everything is of great understanding,
'91 GS500E| for belief in one false principle is the
Morgantown WV | beginning of all unwisdom.



Re: uninstalling staroffice

2000-08-04 Thread Wayne Topa

Subject: uninstalling staroffice
Date: Thu, Aug 03, 2000 at 03:09:04PM -0700

In reply to:jojo zero

Quoting jojo zero([EMAIL PROTECTED]):
> How can I uninstall staroffice? it's taking too much space.
> 

apt-get remove staroffice comes to mind
or
dpkg (purge | deinstall) staroffice

But it's best if 'you' read the manual pages and decide for yourself.
After all, you 'are' using Linux, which comes with the manuals at no
extra charge.

:-) HTH, YMMV, HAND :-)

-- 
Operator! Trace this call and tell me where I am.
___



Buggered up my router somehow.

2000-08-04 Thread Adam Scriven - Lore
Ok, by some great and wonderful streak of stupidity, I seem to have somehow
completely fscked up my router.

It's hooked up to an ADSL modem, running PPPoE (Roaring Penguin), and that part
looks like it's working great.
I've got 2 other network cards, both 3Com 905B.  I have the 3c59x module
loading with modprobe, and I've checked ifconfig, and both cards look to be
setup correctly.
eth0 is 192.168.0.1, and eth1 is 192.168.1.1
(Incedentally, eth2 is an NE2k-pci card, for the PPPoE client).

I can see the world just fine from the router (I'm telnetting to an ISP
where my maail is hosted to send out this message, and I'm on the router now),
but I can't ping anything on my 192.168.0.0 network (192.168.1.0 isn't used
yet).
The route command returns:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref   Use Iface
ADSL-NAME   *   255.255.255.255 UH0  0 0   ppp0
192.168.1.0 *   255.255.255.0   U 0  0 0   eth1
192.168.0.0 *   255.255.255.0   U 0  0 0   eth0
default ADSL-NAME   0.0.0.0 UG0  0 0   ppp0

(I had to tyype this in by hand, so any formatting problems are mine.)

This all looks OK to me, but pinging just gives 100% packet loss, and traceroute
to 192.168.0.2 from the router gives:
traceroute: sendto: Operation not permitted
 1 traceroute: wrote 192.168.0.2 38 chars, ret=-1

So, the question is, how have I managed to bugger this up, since it was working
fine this morning.  I recompiled a new 2.2.17 kernel, but AFAIK I picked all
the options that I needed.  My old (working) kernel was 2.2.14.  Did I forget
some vital piece of information?

Thanks very much for any help.
Adam

OH, I also meant to ask.  I used to use linuxconf on my RH systems.  Is there an
equiv. for Debian?  Something better, perhaps?



Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?

2000-08-04 Thread Dirk Eddelbuettel
On Fri, Aug 04, 2000 at 09:58:43AM -0500, Kent West wrote:
> Dirk Eddelbuettel wrote:
> > Yes, as I wrote, that works fine for NT servers providing a share. I use
> > that with the corresponding entry in /etc/fstab so that I can simply say
> > mount /mountpoint
> > and the rest happens automatically.
> > 
> > I now would like to access the C:\ I declared as 'shared' on my desktop.  I
> > can't figure out what that would be. Whatever I try yields 'session request
> > to DESKTOP failed'.
> > 
> > Any idea?
> 
> You said you "would like to access the C:\ I declared as 'shared'
> on my desktop." By "desktop", do you mean your workstation

Yes.

> computer, or do you mean your Windows Desktop (shell program)? If

No, I mean C:\ as the main partition on the 'desktop' computer.

> the latter, you can't mean "C:\", yet the error message that you
> mention indicates the latter.
> 
> So, what directory have you shared, "C:\" or
> "C:\WINNT\PROFILES\YOURUSERNAME\DESKTOP", and with what
> permissions?

Permissions are read-access for everyone.  Can I read those from Linux via
Samba?

Thanks, Dirk

-- 
According to the latest figures, 43% of all statistics are totally worthless.



Re: xfstt and font not available

2000-08-04 Thread Eric G . Miller
On Fri, Aug 04, 2000 at 09:18:47PM -0500, Matthew Davis wrote:
> Hi all,
> 
> I have just wiped my system and reinstalled Debian (thanks completely to
> Windows 2000 and my dual booting).  I was attempting to setup my
> truetype fonts for use in X, and I seem to be doing something wrong.
> Here's what I've done and what it happening:
> 
> Copied /WINNT/Fonts/* /user/share/fonts/truetype to obtain the font
> library.
> 
> apt-get install xfstt
> 
> added the quoted line to /etc/X11/xinit/xinitrc
> "xset fp+ unix/:7101"

I don't think that is the preffered way to set a FontPath globally.  Try
putting the line:

FontPath  "unix/:7101"

in /etc/X11/XF86Config  in the "Files" section.  Then stop X, restart
xfstt, and restart X to see if it works.  Everything else you did looks
correct.

-- 
MegaHAL quote:
I think a blowpipe is a marijuana cigarrette.  
It'll get you deleted!



Re: gnapster won't download: "fopen: No such file or directory"

2000-08-04 Thread John Bagdanoff
I had trouble downloading with gnapster too, so I switched to
knapster, which I found more reliable.

John


***
K, it seems to download now, though I still get the fopen() errors.
I like the gnapster interface but things like this, I hate to say,
make Windows look good at the expense of linux.. -chris 
  

-- 

Using Linux




Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?

2000-08-04 Thread Kent West
Dirk Eddelbuettel wrote:
> 
> On Fri, Aug 04, 2000 at 08:44:01AM -0500, Phil Brutsche wrote:
> > A long time ago, in a galaxy far, far way, someone said...
> > > At work, in a predominantly NT environment, I use Samba to mount drives of
> > > the NT servers on the Lan. However, I'd also love to access files on my
> > > (vanilla NT 4.0) desktop at work which is set to let other 'share' its
> > > files.  I tried mounting these from a Linux box but failed.  Is there a 
> > > way
> > > to get to these files so that I could access the files from Linux?
> >
> > mount -t smbfs //server/share /mountpoint -o
> > username=,password=,uid=
> >
> > That should all be one line, of course.
> 
> Yes, as I wrote, that works fine for NT servers providing a share. I use
> that with the corresponding entry in /etc/fstab so that I can simply say
> mount /mountpoint
> and the rest happens automatically.
> 
> I now would like to access the C:\ I declared as 'shared' on my desktop.  I
> can't figure out what that would be. Whatever I try yields 'session request
> to DESKTOP failed'.
> 
> Any idea?

You said you "would like to access the C:\ I declared as 'shared'
on my desktop." By "desktop", do you mean your workstation
computer, or do you mean your Windows Desktop (shell program)? If
the latter, you can't mean "C:\", yet the error message that you
mention indicates the latter.

So, what directory have you shared, "C:\" or
"C:\WINNT\PROFILES\YOURUSERNAME\DESKTOP", and with what
permissions?

-- 
Kent West
[EMAIL PROTECTED]



Re: Cc: to poster (was Re: OT: less v. more...)

2000-08-04 Thread Gerfried Fuchs
On 04 Aug 2000, Ben Pfaff <[EMAIL PROTECTED]> wrote:
> See, the thing is, I didn't start this thread of discussion and
> I'm not at all interested in a rehash of this topic.  And what's
> more, I already asked on debian-user to be dropped from CC:'s.

 ROTFL 8-))  Here you can see quite clearly that it's not a good idea to
Cc: one when replying. For my person I stated quite soon (after the
first mail I got that was Cc:ed to -user) that I don't read that special
list.

> So, if you'd just not email me any more about it, I'd greatly
> appreciate it.

 It would be a good idea to start with the things you request yourself.
I don't speak of my person, but that you Cc:ed Bolan who also wrote
quite often that he _is_ on -user and don't need to be Cc:ed.

 I think I will skip the comfort of noticing it on the list and send a
seperate mail to everyone that Cc:es me. This will destroy the
additional feature that other might read it and react appropriately but
on the other hand will stop such mega threads.

 Have fun!
Alfie
-- 
"Imagine if every Thursday your shoes exploded if you tied them the
usual way.  This happens to us all the time with computers, and nobody
thinks of complaining."
-- Jeff Raskin, interviewed in Doctor Dobb's Journal



Re: t-dsl

2000-08-04 Thread Stefan Nobis
Nathan E Norman <[EMAIL PROTECTED]> writes:

> Well, first of all, you want to assign the user an address via DHCP,
> or else it's an administrative nightmare.

You can use Radius, LDAP-based solutions and surley much more. With
PPPoE there are even more possibilities to hack IP-addresses then
without PPP. I still don't see your point. And last but not least: Why
not using static IPs instead of dynamic IPs? Use static IPs and
everything is very simple to set up and very simple to secure. That's
why i say the dynamic IP combined with PPPoE is very braindead.

-- 
Until the next mail...,
Stefan.



Re: precmnd in bash?

2000-08-04 Thread Christopher Mosley


On Fri, 4 Aug 2000, Brian Stults wrote:

> Brian Stults wrote:
> > 
> > Is there a function in bash that is similar to tcsh's precmnd?
> > Something that will allow you to run a command before each prompt is
> > printed?  Thanks.
> > 
> 
> I'll answer my own question in case it's of interest to anyone (and from
> now on I'll always search for 5 additional minutes before posting to the
> group).  There is a variable called PROMPT_COMMAND that will do it. 
> Also, it's "precmd" in tcsh, not "precmnd".  I hope I can handle my own
> constructive criticism.  If not, I'll send myself a private rebuttle,
> and save the rest of the group from such unpleasantries.
> -- 

It is not an unpleasentry at all - please feel free to post yourself.
I for one would be very interested in reading your inner dialogues.
Also, I can't see how a soliloquy now and then violates the policy of this
list.
  Thanks


> 
> Brian J. Stults
> Doctoral Candidate
> Department of Sociology
> University at Albany - SUNY
> Phone: (518) 442-4652  Fax: (518) 442-4936
> Web: http://www.albany.edu/~bs7452
> 



> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 




emacs and screen

2000-08-04 Thread Noah L. Meyerhans
-BEGIN PGP SIGNED MESSAGE-

Does anybody know if it's possible to make screen get along better with
emacs?  They have a whole lot of overlapping keyboard commands, and I'd
like it if screen didn't grab all my C-a's and stuff.  I've read the
screen FAQ and man page, but it didn't really address it.  Does anybody
have a .screenrc which remaps screen commands to commands that don't
conflict with emacs?  Remapping emacs keys would be bad as at this point
they're pretty much hardcoded into my brain.

Thanks...
noah


 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 

-BEGIN PGP SIGNATURE-
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCVAwUBOYrTJIdCcpBjGWoFAQFCGQP6AvFPzm+sTvBT0lVzBgjaS657+Ps51CRq
1/wZeuJG+C9+aji0k+AFI8lBsd1d/nHdscda89yEdLZZHfgy6xzAy8eRru8G9l+y
SsAgwYQF7thddijXSxhnLbZewSjXQ8pHfL4OgFqEfUhOTOb5OClHBJ3Nrowacmzh
5rWUq3PjqG4=
=KkBs
-END PGP SIGNATURE-



xfstt and font not available

2000-08-04 Thread Matthew Davis
Hi all,

I have just wiped my system and reinstalled Debian (thanks completely to
Windows 2000 and my dual booting).  I was attempting to setup my
truetype fonts for use in X, and I seem to be doing something wrong.
Here's what I've done and what it happening:

Copied /WINNT/Fonts/* /user/share/fonts/truetype to obtain the font
library.

apt-get install xfstt

added the quoted line to /etc/X11/xinit/xinitrc
"xset fp+ unix/:7101"

restarted xfstt daemon with . /etc/init.d/xfstt restart

And here's what happens:

I am running Helix-gnome, so I go into gnomecc to change my default
fonts.  When I hit "browse" to select a font, and highlight any of the
new ttf fonts (they do appear in the font list), I am told the font is
not available and the default 'fixed' font is used in it's place.

The same phenomenon occurs in both Mozilla M16-1 and in Netscape, and
seemingly any GTK program (i.e. Gnotepad+)

Have I left something out?  I don't know what is wrong.  It obvisouly
sees the path.  I have also tried running X as root, and that doesn't
work either; root gets the same errors as user.

Thanks in adavance for any help.

Matt



Re: precmnd in bash?

2000-08-04 Thread Brian Stults
Brian Stults wrote:
> 
> Is there a function in bash that is similar to tcsh's precmnd?
> Something that will allow you to run a command before each prompt is
> printed?  Thanks.
> 

I'll answer my own question in case it's of interest to anyone (and from
now on I'll always search for 5 additional minutes before posting to the
group).  There is a variable called PROMPT_COMMAND that will do it. 
Also, it's "precmd" in tcsh, not "precmnd".  I hope I can handle my own
constructive criticism.  If not, I'll send myself a private rebuttle,
and save the rest of the group from such unpleasantries.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452



precmnd in bash?

2000-08-04 Thread Brian Stults
Is there a function in bash that is similar to tcsh's precmnd? 
Something that will allow you to run a command before each prompt is
printed?  Thanks.

-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452



Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?

2000-08-04 Thread Dirk Eddelbuettel

On Fri, Aug 04, 2000 at 08:44:01AM -0500, Phil Brutsche wrote:
> A long time ago, in a galaxy far, far way, someone said...
> > At work, in a predominantly NT environment, I use Samba to mount drives of
> > the NT servers on the Lan. However, I'd also love to access files on my
> > (vanilla NT 4.0) desktop at work which is set to let other 'share' its
> > files.  I tried mounting these from a Linux box but failed.  Is there a way
> > to get to these files so that I could access the files from Linux?
> 
> mount -t smbfs //server/share /mountpoint -o
> username=,password=,uid=
> 
> That should all be one line, of course.

Yes, as I wrote, that works fine for NT servers providing a share. I use
that with the corresponding entry in /etc/fstab so that I can simply say
mount /mountpoint 
and the rest happens automatically.

I now would like to access the C:\ I declared as 'shared' on my desktop.  I
can't figure out what that would be. Whatever I try yields 'session request
to DESKTOP failed'.

Any idea?

-- 
According to the latest figures, 43% of all statistics are totally worthless.



Re: [Q] Can Samba mount 'shared' (not 'served') Win drives ?

2000-08-04 Thread Phil Brutsche
A long time ago, in a galaxy far, far way, someone said...

> 
> This might be a trivial questions with a quick No! as the answer ...
> 
> At work, in a predominantly NT environment, I use Samba to mount drives of
> the NT servers on the Lan. However, I'd also love to access files on my
> (vanilla NT 4.0) desktop at work which is set to let other 'share' its
> files.  I tried mounting these from a Linux box but failed.  Is there a way
> to get to these files so that I could access the files from Linux?

mount -t smbfs //server/share /mountpoint -o
username=,password=,uid=

That should all be one line, of course.

-- 
--
Phil Brutsche   [EMAIL PROTECTED]

"There are two things that are infinite; Human stupidity and the
universe. And I'm not sure about the universe." - Albert Einstien



Re: Cc: to poster (was Re: OT: less v. more...)

2000-08-04 Thread Ben Pfaff
Gerfried Fuchs <[EMAIL PROTECTED]> writes:

>  I assume that Bolan is on the list?  And Ben, are you on
>  -user?  

See, the thing is, I didn't start this thread of discussion and
I'm not at all interested in a rehash of this topic.  And what's
more, I already asked on debian-user to be dropped from CC:'s.
So, if you'd just not email me any more about it, I'd greatly
appreciate it.

Thanks,

Ben.



kernel config

2000-08-04 Thread Dale Morris
 I have reinstalled potato, and compiled the 2.2.16 kernel. In my last 
installation I had sound and printing when I rebooted after compiling, this 
time I dont. I am sure there is a switch I'm not setting properly. Before, I 
thought the trick was to set the switches to M for sound, and set the kernel to 
auto configure. I'm trying to install my yamaha oplsax sound card. Then after 
I've done bzlilo make modules, make_install. Didn't work, I have no printing 
and no sound, I'm thinking of recompiling and leaving out the make_install. Oh, 
and the other difference, before I had downloaded and unsuccessfully installed 
the alsa sound moduleswhen I recompiled. any suggestions
thanks



apt-get vs. dselect?

2000-08-04 Thread Adam Scriven

Hey all.

I'm going through the process of upgrading the kernel on my router box, and 
implementing some better firewall rules (Thanks to the TrinityOS doc.  Very 
helpful).  Traditionally I've used dselect to manage the packages that I 
have installed, but it gets rather cumbersome having to scroll through a 
list of crud, looking for specific updates.


Is that what apt-get does for me automatically?  I noticed that apt-get has 
the dselect-upgrade option, and in convesation with a list member, he 
recommended apt-get to update the kernel packages.


So which is the preferred way, and why?

Thanks!
Adam
Toronto, Ontario, Canada



Volunteers needed for MashPotato tech support crew in #Debian on irc.debian.org around August 15.

2000-08-04 Thread Andrew Lau

-BEGIN PGP SIGNED MESSAGE- 
Hash: SHA1
Hello, this is Andrew "Netsnipe" Lau from #debian at
irc.debian.org calling 
out for volunteers who know a bit of Debian GNU/Linux and can offer a
part 
of time to help others. As many of you are well aware, the third test
cycle 
of Debian is about to end soon, schedules on August 15 (no guarantees or

leaks here), and quite possibly, if we're lucky will officially become
stable.
Debian itself, unfortunately, despite progress in this area over the last

year or two, has never been an easy to install or configurable
distribution 
for the beginner. Remember the first time as a Linux newbie when you

installed Debian and were intimidated by dselect (thank goodness tasksel

has been introduced). How long did it take you to get X or sound running
on 
your own, or even when you switched distributions?
We here at #debian, the official IRC chatroom of Debian have decided that

when Potato 2.2 does officially become stable, that we will provide the

most comprehensive Debian GNU/Linux support service that we can to users

both new and old. However, being the official IRC room, #debian will be

overwhelmed with literally hundreds of users seeking installation and

configuration help. The task would be quite daunting for regulars there
as 
we already handle several dozen help requests a day.
Hence the Potato release now has a dedicated IRC tech support crew 
nicknamed the Mobile Array of Support Helpers for Potato (MashPotato)
which 
serve around the clock for users around the world. To make things easier,

we will also divert users to different channels from #debian to for
example 
#debian-install and #debian-x, #debian-sound, #debian-gnome. However, we

will be lacking in numbers of people to answer the multitudes of
help.
To sign up for the roster list for MashPotato, just come into #debian and

type in "apt roster" for further details, and return over the
next few days 
for more details. You don't need to be using Potato, but any Debian-based

help provided will be greatly appreciated.
So please, for the sake of new users, please volunteer for MashPotato and

help promote the Debian GNU/Linux community to new users as well. Debian
is 
much more than yet another Linux distribution. It has a fine tradition of

being a community which distinguishes it as one of the best Linux 
distributions out there. Let's keep it that way.
Yours sincerely, 
Andrew "Netsnipe" Lau 
[EMAIL PROTECTED] 
ICQ: 2194697
PS: MashPotato is not an official organization or division of the Debian

GNU/Linux project, however we do have members and links with those who
hang 
around at #debian. MashPotato is a volunteer group run by people at
#Debian 
in the spirit of the project. 
-BEGIN PGP SIGNATURE- 
Version: PGPfreeware 6.5.3 for non-commercial use

iQA/AwUBOYoy8LkiQgasmtMtEQKVqACgvSh5hIOVQB/8GhKYY604S9n38ccAn3H7 
BA2sl+jXzy5bg6RKjoH6uynY 
=FRgK 
-END PGP SIGNATURE-



Volunteers needed for MashPotato tech support crew in #Debian on irc.debian.org around August 15.

2000-08-04 Thread Andrew Lau

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello, this is Andrew "Netsnipe" Lau from #debian at irc.debian.org calling 
out for volunteers who know a bit of Debian GNU/Linux and can offer a part 
of time to help others. As many of you are well aware, the third test cycle 
of Debian is about to end soon, schedules on August 15 (no guarantees or 
leaks here), and quite possibly, if we're lucky will officially become stable.

Debian itself, unfortunately, despite progress in this area over the last 
year or two, has never been an easy to install or configurable distribution 
for the beginner. Remember the first time as a Linux newbie when you 
installed Debian and were intimidated by dselect (thank goodness tasksel 
has been introduced). How long did it take you to get X or sound running on 
your own, or even when you switched distributions?

We here at #debian, the official IRC chatroom of Debian have decided that 
when Potato 2.2 does officially become stable, that we will provide the 
most comprehensive Debian GNU/Linux support service that we can to users 
both new and old. However, being the official IRC room, #debian will be 
overwhelmed with literally hundreds of users seeking installation and 
configuration help. The task would be quite daunting for regulars there as 
we already handle several dozen help requests a day.

Hence the Potato release now has a dedicated IRC tech support crew 
nicknamed the Mobile Array of Support Helpers for Potato (MashPotato) which 
serve around the clock for users around the world. To make things easier, 
we will also divert users to different channels from #debian to for example 
#debian-install and #debian-x, #debian-sound, #debian-gnome. However, we 
will be lacking in numbers of people to answer the multitudes of help.

To sign up for the roster list for MashPotato, just come into #debian and 
type in "apt roster" for further details, and return over the next few days 
for more details. You don't need to be using Potato, but any Debian-based 
help provided will be greatly appreciated.

So please, for the sake of new users, please volunteer for MashPotato and 
help promote the Debian GNU/Linux community to new users as well. Debian is 
much more than yet another Linux distribution. It has a fine tradition of 
being a community  which distinguishes it as one of the best Linux 
distributions out there. Let's keep it that way.

Yours sincerely,
Andrew "Netsnipe" Lau
[EMAIL PROTECTED]
ICQ: 2194697

PS: MashPotato is not an official organization or division of the Debian 
GNU/Linux project, however we do have members and links with those who hang 
around at #debian. MashPotato is a volunteer group run by people at #Debian 
in the spirit of the project.
-BEGIN PGP SIGNATURE-
Version: PGPfreeware 6.5.3 for non-commercial use 

iQA/AwUBOYoy8LkiQgasmtMtEQKVqACgvSh5hIOVQB/8GhKYY604S9n38ccAn3H7
BA2sl+jXzy5bg6RKjoH6uynY
=FRgK
-END PGP SIGNATURE-



Re: gzipped readmes in /usr/doc/*

2000-08-04 Thread Christopher Mosley


On Fri, 4 Aug 2000, Stuart Krivis wrote:

> On Thu, Aug 03, 2000 at 03:07:19PM +1000, Russ Pitman wrote:
> > 
> > Try using mc  . Just select the file and hit 'F3'.
> >


For navigating directories, viewing gzips as well as jpgs etc.
Try "lynx ." or lynx /usr/doc .  In addition to lynx being a web browser,
as a  viewer for unix - it is what Buerg's list was for dos   
  



[Q] Can Samba mount 'shared' (not 'served') Win drives ?

2000-08-04 Thread Dirk Eddelbuettel

This might be a trivial questions with a quick No! as the answer ...

At work, in a predominantly NT environment, I use Samba to mount drives of
the NT servers on the Lan. However, I'd also love to access files on my
(vanilla NT 4.0) desktop at work which is set to let other 'share' its
files.  I tried mounting these from a Linux box but failed.  Is there a way
to get to these files so that I could access the files from Linux?

CC's welcome as I am not currently subscribed here...

Thanks, Dirk

-- 
According to the latest figures, 43% of all statistics are totally worthless.



  1   2   >