Re: [expert] sendmail as gw?

1999-11-17 Thread Denis Havlik

:~>I need to setup sendmail as a forwarding gateway for 3 domains... like this:
:~>internet -> sendmail gw -> real mailserver.
:~>
:~>How is this done? I've looked around, but haven't found any examples on how to
:~>do it. Maybe I suck at searching? :)

Maybe with aliases? 

-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Agfa 1236S scanners

1999-11-17 Thread Denis Havlik

Your scanner is not supported (although SCSI-version thereof is). 
Take a look at:

http://www.mostang.com/sane/sane-backends.html

and especially:

http://www.cs.ualberta.ca/~charter/SnapScan/snapscan.html

I would sugesst you to complain very loudly about this at Agfa. Tell them
they should at least publish the documentation...
 
cu
Denis
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



RE: [expert] disk quotas to limit mailboxes?

1999-11-16 Thread Denis Havlik

:~>We're not a commercial ISP. We're a church who is hosting a distance
:~>education center with a dozen or so students for whom we want to limit the
:~>Emails.

Church & edu together... Well, here in Europe that is as near to
non-profit as one can get. 

OK. Just set-up your system with per-user quotas, and give it a
try. With some luck it will perform just as you want it to.  
If you get into trouble - shout.

cu
Denis
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Agfa 1236S scanners

1999-11-16 Thread Denis Havlik

:~>Hi,
:~>
:~>My printer, which is a supported model, is slaved to my scanner, which
:~>probably is not. Will the printer work as configured, or do I need to
:~>connect it directly? 

This sounds as if your scanner would be a paralel-port one. If so, you
will be very lucky if you get it working at all. 

Saying that, i must admitt: no idea. I have heard a word about supporting
more than one (chained) device on paralel-port in the 2.2 kernels, but
never tried it, since I have additional paralel port on the computer
with paralel-port zip drive. If you get it working, please post it here -
I am very curious. Maybe you should read the Paralel port HOWTO...

cu
Denis
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] KDE with 8 bits display

1999-11-16 Thread Denis Havlik

:~>I _think_ there's a setting in the KDE Control Panel to set how many
:~>colors KDE grabs for itself.

I have just consulted the friend of mine who works at the KDE project. The
answer was "yes and no". There are "old" (pre 1.2) icons which do not need
to many colors. "html" widget does the rendering. As far as i understood,
according to him, the rest of the KDE does not. If this is true, you would
be better off with "WindowMaker", which can do the rendering ( I think
it does it on 8-bit screens by default). 

It is highly unfortunate that X does not do color rendering by itself -
this would make a life with old X-terminals much more pleasant.  As it is,
there is no life beyond 16 bpp .-)

If absolutely nothing else works, "convert" from "ImageMagick" is capable
of reducing the number of colors in an icon. Take a look at "-map", 
"-colors", "-dither"  and maybe "-colorspace", "-treedepth",   

i hope that something like: 

++
#!/usr/bin/perl

$command = "convert -verbose -dither +map -colors 5";
foreach (@ARGV) {
  $files = join (" ", $files, $_); 
  print "add: $_\n";
}
system "$command $files reduced/icon.xpm\n";
foreach (0..$#ARGV) {
  system ("mv reduced/icon.xpm.$_ reduced/$ARGV[$_]");
}
+++
would do the trick for you. 

cu
Denis



Re: [expert] Red Hat Security advisories

1999-11-16 Thread Denis Havlik

I have heard the argument "yes, we are keeping pace with security updates,
but when R.H.&co. need update it does not mean we need it" before, and I
think it is a peace of crap. 
If you realy do it, then please post:

 "Today, XY distribution has posted a security update for Z package. We
have checked the Z' Mandrake package and found out that the given bug does
not affect our distribution". 

XY would mean Red Hat, and to a lesser extend "SuSe", "Debian" and
whatever distribution succeedes to become "important" in future.

It would be even better if you would do it before the other distributions
and come out with: 

"The bug A affecting B as reported in bugtrack does not affect Mandrake
package B'."  

As it is, other distributions announce updates and you announce nothing at
all. My best quess in this situation is and stays: "they do not bother." 

Sincirely yours

    Denis
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] (OT) funny

1999-11-16 Thread Denis Havlik

:~>On Mon, 15 Nov 1999, you wrote:
:~>> One barrier
:~>> which will be an INCREASING problem among the distributions is the lack of
:~>> an analog of the "InstallShield Wizard".  I think one could be written.  
:~>
:~> Check out the Zenguin Installer, www.zenguin.org. It's an effort to do
:~>exactly what you've described (although, I haven't heard any news on it in a
:~>while).

There was an discussion on this problem a while back on "slashdot". Loki
has published something similar and while the idea might sound interesting
to someone used to "ISW", it could have horrendeous consequences if not
done right.

"Right" means, take a package in whatever formate it is, ask some
questions if nessesarily and BUILD A BINARY PACKAGE IN A NATIVE FORMATE
FOR THE DISTRIBUTION YOU ARE RUNNING AT WHICH ALREADY HAS ALL THE CONFIG 
FILES PREPARED FOR YOUR NEEDS.

For Mandrake this would mean building a binary RPM (source RPM would be a
plus) out of whatever type of package you have. "alien" is a step in a
good direction, but misses the "dependencies-checking". I am also not
avare of a way to put "pre-install" "post-install" and "post-uninstall"
scripts in an alienised rpm package.

If I would have a tool which just takes a RPM, and makes a new RPM out of
it with "fixed" configuration-files and if nessesary dependencies, it
would save me a lot of work. To understand just how much work could be
saved, imagine a network with many machines. I take one of them, install
what i need, FIX THE PACKAGES, set-up a NFS-exported directory with fixed
packages and install the rest of the machines using the NFS-install.

Updating is even more important: I use "autorpm" for that - If i could
easily change rpm-packages in the above described way, it would save me
the work of putting the altered config files on all the machines
afterwards. I know that a cron job can do that for me ( it is just a
question of making a tarball and letting the cron unpack it AFTER the
"autorpm" has installed the packages...). By the way, if any of you has a
beter way of updating multiple machines, I am eagre to hear it.

cu
Denis   
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-




Re: [expert] KDE with 8 bits display

1999-11-16 Thread Denis Havlik

:>The window manager has nothing to do with color depth.  Color depth is a
:>decision of the X server.
:>
:>To start X in 8 bit pixel depth, use:
:>
:>  startx -- -bpp 8

Sure. And if your wm does not do rendering, but actually tries to get all
the colors it needs for all those fancy icons, you will end up with
beautifull flashy screen. 

It has been a long time since I have used the -bbp 8 for the last time
(because of the wabi), maybe every wm does the rendering today...

cu
Denis

-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] funny

1999-11-15 Thread Denis Havlik

:>  No, there's also Visio, PVCS, Visual Studio, Schedule+, Macromedia
:>Director, Adobe Premiere/AfterEffects, TruSpace, AutoCAD, etc., etc., etc.  
:>Besides that, Star Office does not interoperate with my other desktop
:>applications.

If you really have to use all of them, better stay with windows. If you
are using only one-or-two  of them on occational basis AND have a fast
machine with plenty of RAM, you can use linux+VMware. It saves the
administrator a lot of work.

cu
Denis 
-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



RE: [expert] disk quotas to limit mailboxes?

1999-11-15 Thread Denis Havlik

:>> - Linux introductery stuff on "users", "groups" and "quotas"
:>
:>Did that. But if you read my last post, you'll find I'm a little confused
:>about whether disk quota is really what I want to use -- it doesn't seem to
:>alert anyone to anything unless I run quotacheck once in a while. I want
:>something that's automated.

Yes, you definitely want quotas. 

:>
:>> - sendmail related stuff
:>
:>Didn't see anything on sendmail.org regarding limiting mailbox size.

Nay. That is because sendmail has nothing to do with it .-)
However, it could interest you how to limit a size of allowed e-mails
or so... 

:>> - procmail documentation
:>
:>We don't use procmail -- how would their documentation help?

Start using it. I am sure you will love it. .-)
Procmail can do just about anything with e-mail.

:>> - something on security of linux-system in a network
:>
:>Can you recommend anything?

You could start with "Essencial system administration" for instance. I am
sure there are newer books written specifically for linux out there, too.

:>> Or just pay for a professional support.
:>
:>Kinda defeats the purpose of this mailing list then, don'tcha think?

No. Purpose of this mailing list is certainly not giving free support to
commercial ISP-s.
 
:>
:>> It seams to me that you are planning a big-time mail server
:>
:>Nope. Right now there are about 15 users who are quite happy with the way
:>things are running. However, the church is setting up a distance education
:>center which is going to share the server to give the students their own
:>Email accounts. We just want to limit how much Email the students can get.

Well, If you are into education, then - just do it. If anything goes wrong
you will probably fix it before beeing lynched. Besides, lynching
sys-admins is ilegal anyway.

Quotas will do the trick for you, and you can set the quota for each user
to whatever you want. The quotas are per partition, so make sure you set
some sane limits for every (relevant) partition. Basically, your users
should not keep their stuff outside their home-dirs, but their files will
end-up in /tmp, and in /var/spool/* too, so make sure you give them
enough space there, too. 

cu
Denis
---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] KDE with 8 bits display

1999-11-15 Thread Denis Havlik

No idea if KDE or gnome can/will do rendering. 
I do know that WindowMaker can do it - therefore, I would sugest using the
WM, withouth gnome/KDE.  

Denis
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



RE: [expert] disk quotas to limit mailboxes?

1999-11-15 Thread Denis Havlik

:~>We don't want to restrict everybody's Email, just a certain group.
:~>
:~>But how will setting up disk quota alert someone sending a huge Email to
:~>bounce back saying their mailbox is full, stop sending messages?

How about reading some documentation? Sugested reading:

- Linux introductery stuff on "users", "groups" and "quotas"
- sendmail related stuff 
- procmail documentation
- something on security of linux-system in a network 

Or just pay for a professional support.  

It seams to me that you are planning a big-time mail server - if
you do not know and have never done it before, please PAY someone to do it
for you, or you may end up with a system which will not work the way you
want it with hundredhts of angry customers wanting to lynch you.

yours
Denis
---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] funny

1999-11-15 Thread Denis Havlik

:~>For business use, you bet I'd do it.  In a heartbeat.  The only thing
:~>holding me back right now is the non-availability of industry-specific
:~>applications.  

I have been doing it in our institute for the last two years. Last month I
have also installed two Mandrake boxes for our secretaries.
Mandrakes Printing-bugs have costed me a lot of work, but other than that
everyone is happy.

Another problem is apparent lack of interest in security-related issues
here... If i start putting RedHat-s security updates on Mandrake machines,
sooner or later I will switch bach to RedHat. "Bind" beeing the latest,
and I do hope the LAST of those issues.  

cu
Denis
---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] lp0 - no such device

1999-11-15 Thread Denis Havlik

:~>Hi guys,
:~>
:~>As suggested I included modprobe to my rc.local and it worked. I am now
:~>wondering how it worked without these lines, before.

It should work withouth those lines. It just doesn't in M6.1.

D.



[expert] developers?

1999-11-14 Thread Denis Havlik

Hi

I have subscribed the "developers" mailing list on friday. To my surprise,
I have seen no e-mails from that list so far. Is the list dead, or has my
subscription gone wild?

Denis   
-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-




RE: [expert] funny - www.redhat.org - Why Resolve to Localhost?

1999-11-13 Thread Denis Havlik

:>Because that is how someone has set it up on their dns server.  I did check
:>and it is not owned by RedHat at all.
:>Most likely just someone that was wanting the domain for email only and
:>wanted to play a joke on everyone else.

This is the best practical joke I have seen in the long time...

I was not avare that one can put "private" IP - addresses in "public" DNS.
Actually the fact that 127.0.0.1 address gets resolved over "public" DNS
at all sounds completely weird to me. I have always thought
all the internet infrastructure ignores non-routable IP-addreses.

Denis



Re: [expert] funny

1999-11-13 Thread Denis Havlik

:>> Take a look at this:
:>> 
:>> http://www.redhat.org
:>
:>  ...hehehe, it took me a while to figure out what was going on.
:>www.redhat.org resolves to 127.0.0.1.  CLASSIC!
:>
Hey, you are right on that one! Where does that come from? Certainly not
from my "hosts" file... A RH easter egg in a Mandrake. ccc...

D.
-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] funny

1999-11-13 Thread Denis Havlik

:>Try 
:>http://www.redhat.com
:>
:>Many organizations when they get their domain names get com,
:>org and net, to prevent others from using too similiar a
:>name.  Check out whitehouse or nasa if you don't believe the
:>problems not doing so can cause. 
...

i know that, but redhat.org is running a mandrake .-)

cu
Denis
-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] performance - emacs?

1999-11-13 Thread Denis Havlik

:>I played a bit with hdparm utility to tune my HD, and found that
:>enabling DMA allowed me to boost HD read performance from 4Mb/s to
:>11.2 Mb/s (as reported by hdparm -t). Now my emacs loads in about 2
:>secs, but xemacs still takes forever - looks like I'll have to play
:>with hdparm some more...

Looks more like xemacs would be either asking for too much memory (i.e.
your system has to use swap) or starting a lot of lisp code on start to
me...

D. 
-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



[expert] funny

1999-11-12 Thread Denis Havlik

Take a look at this:

http://www.redhat.org

?:-O

Denis
---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] netstat

1999-11-12 Thread Denis Havlik

:~>What is sunrpc and what would they be doing?
:~>

Someone is scanning your system for open ports, i suppose.

Denis
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] lp0 - no such device

1999-11-12 Thread Denis Havlik

:~>Printer on my LM 6.0 stopped working couple o day's ago. 
:~>I deleted the lp0 device and created a new lp0.
:~>
:~>When i do lptest >/dev/lp0, I get the error 'no such device'.
:~>
:~>So what is the problem?

How did you create the device file? And why did you erase it in the first
place?

D.



Re: [expert] lp0 - no such device

1999-11-12 Thread Denis Havlik

:~>Well, I now found that my lp.o module is not being loaded at boot time.
:~>
:~>How do I make lp to load at boot time?

In short: Do not bother with anything "elegant". The printing support is
rather broken in M6.1 . Choose one of the following and be happy:

Either:
Compile the kernel with lp included
or:
put "/sbin/modprobe lp" in your /etc/rc.d/rc.local

Actually, I have these in my "rc.local": 

/sbin/modprobe parport
/sbin/modprobe parport_pc 
/sbin/modprobe parport_probe 
/sbin/modprobe lp
/sbin/modprobe ppa 

"ppa" is for my zip, "lp" for printer, other "parport*" are probably not
needed.

hope this may help you

    Denis

-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Switch Hub

1999-11-12 Thread Denis Havlik

:~>I have a 10BaseT Dumb Hub
:~>
:~>what's a swtich?and what does it have that's better then an 8 hub?

I am not an expert, but ... AFAIK:

Switch is more inteligent than the HUB. When a hub receives a packet, it
broadcasts it to all its outputs, while the switch sends the data only to
the port which is supposed to get it. Therefore, a switch produces less
traffic.  I was not avare that this is so important with only two hosts.

D. 



Re: [expert] performance - emacs?

1999-11-12 Thread Denis Havlik

:~>It doesn't seem to be related to X or window managers -even after
:~>telinit 3; emacs takes about the same time. Memory/CPU indicators
:~>(under Gnome) show memory 95% full, no swapping; CPU usage jumps
:~>to 20% first second after issuing 'emacs' command, then drops down to
:~>zero for the next 3-4 secs, then jumps to 100% and after this emacs
:~>finally emerges.
:~>
:~>For comparison: on my office machine (Pentium 450Mhz, 128 meg RAM,
:~>RH6.0) emacs starts in under one second.

It could be your HD. If you start xemacs, stop it and start again, does it
start much faster? If yes - it is certainly your HD. First time it has to
read the stuff from the HD, but the second time it has it buffered...
(Listen to your HD - on first start it schould be working hard to load
emacs, but not on the second)

cu
Denis
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



RE: [expert] restricting connections to installed software

1999-11-10 Thread Denis Havlik

:~>>Essentially, what we want to perform is a network installation of large
:~>>commercial software products and restrict their use on the server by setting
:~>>a maximum number of connections. Currently, installing a copy of WordPerfect
:~>>on our server theoretically allows access to the program by multiple
:~>>workstations despite the actual ownership of less than half a dozen
:~>>licenses.

If I got it right, the "max-connection" works for shares. 
In that case, make a "WP" share with Word perfect on it, and be happy.  
If i mis-understood something, just ignore my post.

cu
Denis



Re: [expert] Oh, Bugger...

1999-11-10 Thread Denis Havlik

:~>One of the updates was the 2.2.13-22mdk kernel. Now my machine won't 
:~>boot properly. I've amended /etc/lilo.conf to point at the new kernel 
:~>image, and run /sbin/lilo to update everything. When I re-boot, the 
:~>machine gets as far as the "finding module dependencies" bit, then 

Have you installed the new "kernel-modules" package? 
 
:~>hangs. I can CTRL-C to continue booting up, but then I have no 
:~>network card, no sound and no access to any of my non-Linux 
:~>filesystems.
:~>
:~>I promise that if someone can help me get this fixed, I won't 
:~>recklessly apply OS updates ever again without checking the 
:~>documentation and/or making backups first!!!

Updating the kernel is a bit different from updating most of the
other other packages. 
Basically, if you screw things with "normal" programs, you can usually 
stil boot (at least in single user mode) and repair it. On the other hand,
screwed kernel instalation often leaves you with a system which cannot
boot at all which is rather annoying (where have i put the "rescue disk?")
. 

Next time you decide to make the kernel update, try something like this 
(*):

1) Install the new kernel, but leave your old kernel where it is. 
Same with kernel modules. I THINK you can do this by applying "rpm -i"
instead of "rpm -U". It certainly works if you compile the kernel yourself
2) Make a new initrd. Something like:

mkinitrd /boot/initrd-2.2.13-22mdk.img 2.2.13-22mdk 

3) add a new entry to "/etc/lilo.conf". Something like:

image=/boot/vmlinuz-2.2.13-22mdk
label=new
root=/dev/hda5
initrd=/boot/initrd-2.2.13-22mdk.img
read-only

4) run lilo.

On reboot, choose "new" - if it works properly, you can rename the "new"
to "linux" and the old "linux" entry to "new", run "lilo" and reboot
again. In case anything goes wrong, you can still use the old one... 

Hope this helps

Denis

(*) THERE IS MORE THAN ONE WAY TO DO IT



Re: [expert] samba setup

1999-11-10 Thread Denis Havlik

:~>AFAIK all windows networking uses netbios.  Netbios either runs over IPX  or
:~>TCP/IP. I don't know if it runs over netbeui (moot point anyway).   Samba thus
:~>does use netbios, BUT only over tcp/ip.
:~>

Ups. Schit, i should sllep more, I think... Of coarse it does...

cu
Denis 
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] mandrake install probs

1999-11-10 Thread Denis Havlik

:~>is not configured.. Running Xconfigurator aborts giving me an error of
:~>"cannot find/load card database
:~>Question!!: How/where can I get this card database and install it manually???
:~>
:~>I've tried installing this almost 8 times now and everytime it gives me the 
:~>same error.
:~>I downloaded the ISO image and verified the md5..it passed.

This is VERY strange. I have had some problems with Mandrake, but
instalation goes really smoothly. What kind of machine is it? 
Are you sure the hardware is OK? 

cu
Denis

-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



[expert] strange remote printing problem, part 2

1999-11-08 Thread Denis Havlik

My printing problem has become even wierder...

If I submit a print-job to a remote machine, "cf*" and "df*" files 
appear in the spool directory with: 

-rw-rw 1 root root  rw-rw   

On the other hand, if I submitt a job to a local machine, it is submitted
as :

-rw-rw 1 bin  lp  149 Nov  9 02:50 cf*
-rw-rw 1 denislp   31 Nov  9 02:50 df*

Is this a feature or a bug? The script which I use as a "printer input
filter" for sending faxes does not work remotely, and I think that it has
something to do with this difference. 

Or, to put it the other way around: 
i could read all the data i need to send a fax from a "cf" file, but I
cannot read it because the "if" gets called as denis.lp, and it cannot
read the "cf" file. :-(( 

This is driving me completely nuts


help?

cu
Denis



[expert] strange remote printing problem

1999-11-08 Thread Denis Havlik

Hi

I admit that I do not understand much about the lpd. I hope someone
does... 

If i submitt a job to a printer localy with "lpr -Pfax -C123456, a file
with:

Hlucy.exp.univie.ac.at 
Proot Jfax.txt 
C123456 
Lroot
fdfA035lucy.exp.univie.ac.at 
UdfA035lucy.exp.univie.ac.at
Nfax.txt  

appears in the "spool" directory.

However, if i do the same over the network, "C" field is absent. I can
send the telephone number using the "J" field:

"lpr -Pfax -C123456 -J98765" produces a:

Pdenis 
J98765 
fdfA006marvin.exp.univie.ac.at
UdfA006marvin.exp.univie.ac.at
N/tmp/fax.txt

does anybody know what is going on here? Both computers have a "Mandrake
6.1" with lpr-0.43-1mdk installed. There is no input filter on remote
computer. 

HELP!

cu
Denis



Re: [expert] [i have no name!@deadpixel.com]$

1999-11-08 Thread Denis Havlik

:~>Hello
:~>
:~>I have a little bit of a problem.  
:~>I added 2 users, and i put their name and all that jazz in,
:~>and yet i cant get their usernames.  It wont accept them. 
:~>Any ideas?

I dont want to be rude, but what was the question?

cu
Denis
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Is kfm broken?

1999-11-08 Thread Denis Havlik

:~>Just tried it here on 6.1  Works
:~>
:~>Now that is a conundrum.  Perhaps only some files are thus affected.  If so, what
:~>is the difference?
:~>
:~>Civileme

Just tried it out myself (i normaly use "mc") - it does not work with any  
of my tar-files. 

It opens a "directory" full of the "subdirectories". These "subdirs" all
have names of the form "NUMBER package_name". 

cu
    Denis

-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Re-installing Linux -- Easy way to save accounts??

1999-11-08 Thread Denis Havlik

These programs do not like changes of the home-directories:

netscape
gimp
star office

I am sure there are other similar programs, but i run into problems with
these. The problem is: instead of putting "$HOME" of "~/" in their *rc
files, these programs use the full path. In case the  path to your
home-dir changes, you are out of luck... In my opinion this is a bug. 

By the way, with "gimp" the bug is somewhat subtle - path to the directory
where gimp will hold its buffers is something like "your

homedir"/.gimp/tmp

If this dir does not exist, nothing happens, UNTIL you try loading some
really big picture. Then the gimp realises there is no such directory and
starts spawning the error-message windows which soon fill-in the while
window and block the window-manager. 
In case you have another machine, you can log-in from outside and
kill the window-manager, otherwise you can just wait until the whole
memory gets exhousted and it crashes on its own.

Easiest way to avoid this is simply removing the .gimp dirs, so that it
gets re-made on next gimp start.  

cu
Denis

---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] compiling and extracting src.rpm's

1999-11-08 Thread Denis Havlik

:~>Dear all,
:~>
:~>Someone posted a solution to samba not remounting drives when they get lost
:~>before, and that was to get the source and install and compile that. So...
:~>I went and downloaded the src file samba-2.0.5a-3mdk.src.rpm and ran 
:~>rpm --recompile samba-2.0.5a-3mdk.src.rpm
:~>
:~>It put the files in /var/tmp/samba-root/
:~>
:~>Where do I go from here? or have I gone about it all wrong?(which is more
:~>likely)

--rebuild, if you just want to rebuild the rpm package.

D.



Re: [expert] samba setup

1999-11-08 Thread Denis Havlik

:~>I believe my local network is NetBIOS running on TCP/IP and doesn't use
:~>WINS resolution. It's behind a socks5 firewall (not that that has anything
:~>to do with it). As you may see from my smb.conf file below, I've created
:~>an account called 'winloser' which is a member of the group users. The
:~>directory /export/cifs below is owned by root and the group users. If
:~>there's any other info I can provide, let me know...

1) please do not cross-post.
2) AFAIK samba does not support netbios. samba does smb/TCP. Either your
local network runs under smb/TCP, and you should proceed with samba, or it
runs under netbios (i.e. servers run "Novel-netware", in which case samba
is a wrong tool for you.
3) try  configuring the samba with "swat". It is much easier for a newbie  

cu
    Denis
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Problem with Pine (Pseudo-message problem)

1999-11-07 Thread Denis Havlik

:>The problem is that I don't have mail, new or otherwise. The message is
:>not useful if it is always present.

Well, you will have to speak with pine-developers, I am afraid. Maybe
there is something about it in the pine-documentation, it has never
bothered me becouse I always have some e-mails in the INBOX.

Sorry...

cu
Denis
---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] Printer problem on upgrade to 6.1 from 6.0

1999-11-07 Thread Denis Havlik

:>Any suggestions?

1) re-install the printer (remove old /var/spool/lpd/* dirs).
2) compile the "lp" in kernel, or load the module from /etc/rc.d/rc.local

hope this helps

Denis
-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] Problem with Pine (Pseudo-message problem)

1999-11-07 Thread Denis Havlik

:>  Pine leaves a "pseudo-message" in the mail spool which causes bash to
:>always state "You have mail." when logging on. Apparently this is to
:>support something called marking messages as Answeared when a reply is
:>postponed and to support pop and imap servers. I can suppress Pine's
:>leaving a message in the folder is I do not mind loosing this support. I
:>don't use these features so I am tempted to just suppress the function,
:>but if there is a way to get bash to ignore this pseudo-message then I
:>would prefer to do this since who knows, I may decide to use the other
:>features (especially the pop server) at a later time. Can anyone tell me
:>how to get bash to ignore the pseudo-message when deciding if you have
:>new mail.

"YOU HAVE MAIL" != "YOU HAVE NEW MAIL"

I do not see the problem.

cu
    Denis


---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] Re-installing Linux -- Easy way to save accounts??

1999-11-07 Thread Denis Havlik

:>Is there an easy way?

save your /etc directory. Saving some of the "/var/" stuff is good too
(like /var/spool/* for instance), . I do not have
to tell yo to save the /home/*, I suppose. 

Re-install. User-data are kept in /etc/  passwd,shadow, group -> take an
editor and add merge "old" nad "new" files. You could also simply copy
"old" over "new" files, but it is better to actually SEE what you do.



cu
Denis

-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] Sendmail configuration and PPP

1999-11-03 Thread Denis Havlik

:>This describes setting your sendmail daemon to relay all mail thru the
:>specified host (your isp), not the same thing..
:>
:>> Hope this helps (a bit)
:>> Herman
:>> 
:>
:>If your going to use your isp's mailserver why run one on the local
:>machine.. But yes if you set a smtp in your mail client it will bypass the
:>local server and if it doesn't get there you don't have to worry about
:>what went wrong you just call the isp and tell them "fix your s**t, it's
:>broke). If you set relay-host you have to maintain sendmail..

I suppose there is one good reason to do so - if there is no sendmail on
the system, how do you get the outgoing mail processed in case you do not
have a permanent connection? With sendmail, I just run the "sendmail -q"
from "/etc/ppp/ip-up.local", and all the e-mails get forwarded to a "smart
host". How would you do this withouth sendmail? 

Another question is - even if you have a permanent connection, what would
one do in case the e-mail cannot be forwarded to a mail-hub imediately
and you do not have sendmail configured? At work i have several "client"
machines which have "sendmail -q" started from cron every hour...  

Getting rid of the sendmail altogether may be a noble target, but how do I
handle the mail waiting in the mailq then?

Below is a part of my sendmail configuration at home: 

# Alias for this host
Cw localhost fudo
Fw/etc/mail/sendmail.cw
# Virtual email domain
# who I masquerade as (null for no masquerading)
DMhavlik.org
# Smart host
DSunet.univie.ac.at
# Use this mailer to reach the Smart host
DNsmtp
# Central host for local mail
DHlocalhost
# class L: names that should be delivered locally, even if we have a relay
CLroot denis fuada
# class E: names that should be exposed as from this host, even if we
masquerade
CEroot  

cu
Denis

---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-




[expert] PPP+sendmail

1999-11-03 Thread Denis Havlik

Hi

Just my 2c about sendmail configuration for dial-in machines: 

In my opinion, the best way to deal with the sendmail+PPP is to find a
"smart host" which will get all the e-mails originating from the local
machine and let it think for us. Picking-up the mail is done with 
"fetchmail" or something similar.
Normally, ISP-s should allow relying from their own PPP-clients... 

Also, there is absolutely no need for a sendmail-demon on such a machine.
Turn it off, and run the "sendmail -q" and "fetchmail" every time the
PPP-connection is established (from /etc/ppp/ip-up.local) in order to
empty the (outgoing) mail queue and fetch the new mail. 

cu
Denis
--------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-
"If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system."
(By Linus Torvalds)



[expert] star office balad (part X)

1999-11-03 Thread Denis Havlik

Hi

This star-office balad is really amusing. I have found out something new,
i wonder if someone knows what to make out of it.

As i said before, i have installed the SO 5.1a with the /net option as a
root, but "user" setup did not work properly - it just freezes after
presing the last OK. "root" can do the "user setup" and use SO normaly
though...

- At first I thought there are some conflicts with "rests" of the old
RedHat packages. I have been fighting the RH packages for some time, and
re-installed one of the machines from scratch yesterday - to no avail. 

- Then I thought there is a problem with permissions, but this turned
out to be false assumption.  

- After checking out permissions of all the libraries on the system, i
recognised that the problem must be somewhere else - one of the wild
guesses was that the problem lies in my home-directory: i am using
automounted (with autofs) home-directories. Therefore i made a "dummy"
user with a directory on the local host - for this user, SO-instalation
went OK!

-However, this was too simple to be true - therefore i made another dummy
user with home-directory on another "client" machine (with Mandrake 6.1).
Surprise-surprise! The instalation for this user went flawlessly too,
althoug his home directory was on NFS, too.

The "server" machine still runns with a  2.0.x kernel, because of our
ADSM-backup server - so my latest guess is that SO 5.1a does not like
NFS-mounted home-directories which are exported from older linux machines.
I know this sounds very weird, but I have been fighting with this problem
for a long time now, and this is the only plausible explanation that comes
to my mind. Any better ideas?

To make the things more interesting, i did not have this kind of problems
with clients running RH 6.0 - maybe the problem is with SO5.1-a and
2.2.13 kernel? I tried installing the kernel update, but packages
seam to be broken somehow- vmware does not like them at all...

ideas anyone?

    Denis
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



[expert] kernel-update+ vmware = YAP

1999-11-02 Thread Denis Havlik

(yet another problem)

I have just updated the kernel, kernel-headers and kernel-sources.  

Guess what - vmware (1.1) does not work anymore. It refuses to make the
new vmware-modules with words: probably there is a small difference
between your kernel-sources and the running kernel. Try recompiling the
kernel.

Ha. you try it. I think there is something broken in the kernel-sources
package - make zImage dies with:

init/main.o: In function `check_fpu': init/main.o(.text.init+0x25):
undefined reference to `__buggy_fxsr_alignment'
make: *** [vmlinux] Error 1


sugesstions anyone?

cu
Denis



Re: [expert] Printer Woes-bug and lsmod

1999-11-02 Thread Denis Havlik

I can sing a ballade about current lpr-bugs... This is becomming utterly
annoying - i have been using linux for 5 years and NEVER BEFORE have i 
seen such a grave bug (or is it better to say "such a beautifull bug-zoo"?)  
persisting for such a long time in any linux distribution. 
  
One of the possible rasons for the weird behaviour of hte lpr-package 
could be the change in the demon-ownership: 
The lpr-demon used to be started as "root.lpr" or something like that, (i
think). However, this changed and now it gets started as user which send
the print-job. 

Great for the security, but jobs which are sent from a remote
machine end up beeing owned by a root and block the printer. 

Look at this: 
[root@marvin local]#ls -l /var/spool/lpd/local/ 
total 38 
-rw-rw 1 bin lp 136 Nov 2 12:46 cfA026marvin.exp.univie.ac.at
-rw-rw 1 root root 75 Nov 2 12:45 cfA073lena.exp.univie.ac.at
-rw-rw 1 denis lp 1993 Nov 2 12:46 dfA026marvin.exp.univie.ac.at
-rw-rw 1 root  root  16711 Nov  2 12:45 dfA073lena.exp.univie.ac.at

Both of these jobs have been submited as user denis - one localy, another
from a remote machine. This blocks the printer completely.

[denis@marvin havlik]$ lpq 
HP-LJ4L is ready and printing Rank Owner Job Files Total Size 
1st denis 73 (standard input)  16711 bytes 
1st denis 26 (standard input)  1993 bytes
[denis@marvin havlik]$ 

Ha, great - here we have two "first" jobs. Well done!

[root@marvin local]# tail /var/log/messages 
Nov 2 12:54:45 marvin lpd[1138]: HP-LJ4L: cfA026marvin.exp.univie.ac.at:
Permission denied 
Nov 2 12:54:45 marvin lpd[1138]: HP-LJ4L: cfA073lena.exp.univie.ac.at:
Permission denied
Nov  2 12:54:45 marvin lpd[1138]: HP-LJ4L: cfA026marvin.exp.univie.ac.at:
Permission denied   

I simply LOVE this. 

So, if I restart the lp-demon as a root, the queued jobs get printed - i
assume on restart, lpd gets started as root, so it is allowed to do what
has to be done. Now what? Am i supposed to make the "lpd" suid root or
restart the lpd-demon from cron every hour, or what?



cu
Denis





Re: [expert] Russian fonts in KMail (fwd)

1999-11-02 Thread Denis Havlik

Below is the summary from an expert .-)
It is in croatian - i have translated the most important part.

Basically, it boils to "wait for KDE-2". 

-- Forwarded message --
On Tue, 02 Nov 1999, Denis Havlik wrote:
Znas stogod o ovome?
>Da. KMail ne moze slati pisma s razlicitim fontovima, iako se to moze
>ukljuciti pri kompajliranju. Iskljuceno je po defaultu jer ne radi dobro.

Kmail could be compiled to work with different fontsets, but the
support is buggy- therefore it is disabled per default 

>Sto se tice primanja pisama, jedini nacin da vidis razlicite fontove je
>ako ti netko posalje HTML mail (isti tekst kao text i kao html - to se
>zove multipart/alternative i kmail onda pokaze samo HTML verziju; to radi
>kada primas pisma od Netscepa ili Outlooka). U tom slucaju HTML widget
>sam prepozna encoding i ako imas te fontove trebao bi ih pokazati. Kod
>mene to radi za iso-8859-2 i windows-1250, jer imam te fontove. Za koi8-r
>i slicne kompliciranije fontove ne znam.

recieving the differently-encoded letters works OK only with html.  

>Nismo se puno bavili oko toga jer je Qt-1.4x bilo prilicno tesko
>natjerati da radi kako treba s tim.Qt-2.x podrzava unicode, a i podrska
>za razlicite fontove je puno jaca, tako da ce KDE-2 tu biti dosta bolji.

KDE-2 should solve the problem, because it supports unicode, and general
support for "various" encodings is much better.   




Re: [expert] fax

1999-11-02 Thread Denis Havlik

:~>I am sorry for not replying to your problems:
:~>I just wanted to point you to:
:~>www.hylafax.org - a complete fax solution

I have heard of the hylafax before, but i do not know anybody who is
using it. As hylafax is not a part of the distribution, i decided to give
the mgetty+sendfax a try (besides, "linuxconf" offers
sendmail+mgetty/sendfax integration, which is something i would like to
have. 

Is hylafax "better" than mgetty+sendfax and in which respect?

cu
Denis
---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] memory problem

1999-11-01 Thread Denis Havlik

:~>I installed Mdk 6.0 on a Compaq Consignia 300 with 82mo ram and Linux see
:~>only 16mo should i pass the mem parameter with lilo( LILO: linux mem=82M).
:~>Thanks

Strange. Linux does not need it anymore - and even in the old times when
it did, it would heve recognised 64 MB. I have a bunch of computers here,
all with >=128MB and i do not have to tell it to lilo.

You can try it though - nothing bad will happen (just to be sure, leave
the old entry as "failfree" or something...

cu
Denis

----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



[expert] fax

1999-11-01 Thread Denis Havlik

Hi, everybody

I would like to set-up a fax server. I was playing with a
"mgety+sendfax" today, and I got so far as to get it sending faxes. I
would like to have a print-to-fax gateway, and/or email-to-fax gateway, or
at least to get it receive the faxes :-). Somehow I find a documentation a
bit unclear - is there a better HOWTO about setting-up fax server with
mgetty+sendfax somewhere? In particular, I need help with following three
1/2 problems:


1) On receiving, I found
following in /var/log/mgetty.log.modem:

11/01 15:01:19 dem  send: ATA[0d]
11/01 15:01:19 dem  waiting for ``CONNECT''
11/01 15:01:30 dem  found action string: ``FAX''
11/01 15:01:30 dem  start fax receiver...
11/01 15:01:30 dem  fax_wait_for(OK)
11/01 15:02:14 dem  connection hangup: '+FHNG: 1'** found **
11/01 15:02:15 dem  fax_get_pages: no pages to receive
11/01 15:02:15 # fax dev=modem, pid=1525, caller='none', name='',
id='', +FH
NG=001, pages=0, time=00:00:56


11/01 15:02:15 dem  system() failed: No such file or directory
11/01 15:02:16 dem  mdm_send: 'ATH0' -> OK

Any ideas what is this supposed to mean?

1.5) Another question (maybe it is the same one...) is how am i supposed
to call the "new_fax" script on received message? The "new_fax" is in
/usr/doc - i do not think mgetty will expect it there.

2) Has anybody set-up "email2fax" and/or "printer2fax" gateway with
mgetty+sendfax? How difficult is it, how good does it work?

3) Troubles with ksendfax, libstdc++:

[root@fudo log]# ksendfax
ksendfax: error in loading shared libraries: libstdc++-libc6.1-1.so.2:
cannot open shared object file: No such file or directory 

This library is supposed to be a part of the libstdc++ package - well, it
is not there in my libstdc++2.9.0 package (standard Mandrake 6.1)

Is this library just a symlink to something or is it really missing?

cu
Denis
---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] Cron

1999-10-31 Thread Denis Havlik

:~>Crontab goes in /etc. Then there's a "cron.daily," "cron.hourly,"
:~>etc :-)

This is only for root. If you need a cron as a user,
/etc/crontab & co are a no-no

try reading the "man crontab"

cu
Denis


---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Netscape 4.7 Java freezes!

1999-10-31 Thread Denis Havlik

:~>Dear friends:
:~>
:~>I am using Mandrake 6.1 and the brand-new Oct. 29, 1999 Netscape 4.7
:~>(all
:~>three files) from ftp.rpmfind.net (linux/Mandrake/update/6.1).
:~>Everything is fine, but I am having problem with the Java. On certain
:~>sites, it starts (Java starting), then the progress bar on the left
:~>freezes. Otherwise, Netscape works fine.
:~>

Does not surprise me at all. Netscape + java combination has been instable
for a long time now. Unfortunately nothing new.

Denis 



Re: [expert] perl modules as RPMs

1999-10-30 Thread Denis Havlik

:~>Is there a place one can get perl modules as RPMs for Mandrake?  A buddy
:~>of mine sent me some for RedHat but they're a little dated...  I just
:~>successfully made a new RPM for one of the newer modules I need to install
:~>a forum thingy on my website, but I was wondering if there was a place for
:~>Mandrake RPMs for perl modules?  Does anyone know?  If not, I may make a
:~>bit of a project for myself...

I am using those from the rh - powertools/CPAN (second section).
Everything seems to work OK. If you really need the newest and greatest, I
am afraid you will have to go to cpan and do it yourself for most of the
things.

cu
Denis
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Star Office 5.1 weirdness

1999-10-30 Thread Denis Havlik

:~>1. When you installed it as root, did you use the 
:~>   setup /net 
:~>   command?
:~>
:~>2. After it was installed, as a normal user, did you once again run
:~>   setup?  This puts the right stuff in the user's home directory. 
:~>
Sure. I keep installing the SO all the time... Not like i did it first
time. I will find the problem eventually, just wanted to know if it is a
"known" one... If not, it must be something with my instalation...

cu
Denis

---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] HP LaserJet 4/5/6 driver?

1999-10-29 Thread Denis Havlik

:~> Hi,
:~>anyone has any experience with this? I upgraded from Mandrake 5.3 to
:~>6.1, and now my LaserJet 6L (you know, the small personal HP printer)
:~>uses different paper path: instead of the output bin, all the printed
:~>pages come out thru the small slit at bottom (never before even knew

Isn`t a life interesting? Every day a new surprise! Sounds impossible
until it happens.

:~>of such a possibility). I am using the lp and printfilters  packages
:~>which came with Mdk 6.1 - no 
:~>upgrades, and using HP LaserJet 4/5/6 printer filter. Apparently,
:~>something was changed in the driver - any ideas? Or did I hit some
:~>button on the printer? 

0) Make sure you did not press any buttons on the printer during the
upgrade (does it have any)?.-)

1) Upgrade the lpr package. The "standard 6.1" one sometimes behaves very
strangely. I had a lot of troubles with it, though none was so cute as
yours. 
2) If this does not help, try re-installing the printer. 

I know that this sounds very much like windows-troubleshooting, but
lpr-package from 6.1 is really something peculiar - i have experienced
all kinds of problems with it, but "lpr-0.43-1mdk" works OK. 

:~>PS. For some strange reason, during the upgrade the default printer
:~>port was changed to /dev/lp1 - had to change it back to /dev/lp0 to
:~>get anything printing at all. I wonder why... But of course, this
:~>doesn't really matter. 

Maybe 2.2 kernel has its fingers in the game - the paralell-port
handling has changed a lot from the 2.0.x to 2.2.x kernels...
I had some problems with printer-ports too. 

cu
    Denis
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



[expert] Star Office 5.1 weirdness

1999-10-29 Thread Denis Havlik

Hi

I have just installed the SO 5.1 on my machine (Mandrake 6.1 + updates)
That is i tried it and got stuck. Below is complete report:

as root i installed with a "/net" option, then tried installing as a user.
However, the install-procedure freezes after pressing "OK" on the last
question (no java libraries installed).

To make a thing more interesting, I can install and use the SO as a root!
Actually, one should be able to run the SO by starting the
"/opt/Office50/bin/soffice", even if he did not "install" the SO for
himself - well, that does not work either, except for the root. 

To make the things even more interesting, I cannot find any
executeables/libraries in the SO package with "prohibitive" settings (i.e.
no execution for "others" or so.)

Furthermore i know that SO works on RH 6.0, because I have installed it
from the same tgz package.

It is possible that my M. are not installed properly (i made update from
RH xy versions, followed with "rpm -Fh --oldpackage *" to get rid of the
RH packages), but everything else works OK. Any sugestions?

cu
    Denis 

-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-




Re: [expert] Slackware Vs Mandrake - Who is better?

1999-10-29 Thread Denis Havlik

:~>What is the "single-floppy Linux Router project"? Is there an active 
:~>support group for this and do they have a URL?

Take a look at the long list of different linux distributions (with
links to home-pages) here:

http://lwn.net/1999/1028/dists.phtml

I hope you will find what you need...

cu
Denis
--
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



[expert] redhat convert...

1999-10-28 Thread Denis Havlik

Hi

I have just converted several RH X.Y machines to Mandrake 6.1. It was/is
an interesting expirience... 

First the "good news": i like the Mandrake, will probably stay with it for
a while. It is very similar to redhat, and i have not expirienced any
compatibility problems yet. Actually findina all the installed packages 
in the menue is a completely new expirience for me, and it saves me a
lot of unnececarry work. ,-)

And now to the "bad stuff": Below is a summary of the problems I have
encountered on "upgrade". I hope it may be of some use for other would-be
RH->Mandrake converts. 

- "Upgrading" from RH X.Y to Mandrake could have been easier. I would
suggest using the rpm -U --oldpackage for the packages which are nessesary
for a system. As it is, I have ended up with semi-unusable system, because
some of the redhat-packages werent updated. It took me some time before I
realised that "rpm -Fh --oldpackages *" solves the problem. ( by the way,
rpm has something against the "vim" package)

- lpr-package was completely useless. The update seams to work, though.

  (I still have problems with one machine. This is a particular case, and
  i suppose that the problem i have is caused by the differences in
  printer-port handling between the 2.2 and 2.0 kernels: I have 3
  paralell-ports on this machine, two printers and a paralell-port zip.
  With "old" kernels, I used to put a line in lilo-config, indicating
  which ports should be used by ppa, and which by lp. It does not work
  properly anymore - i cannot access one of the printers. Any sugestions
  here? )

- nfs-export did not work, because of the "nsswitch.conf": Per default,
"netgroup" is only searched-for in "nisplus". Is there any particular
reason against using the "nis"-based netgroups (or even "files")?

  By the way, can I use netgroups in tcp-wrappers now? Last time I tried,
  it did not work... And, does anyone know if "kdm" is wrappers-aware? xdm
  isn't, gdm is, but gdm does not work correctly with XDCPM yet...

- samba & vmware = trouble. I have absolutely no idea what is wrong: samba
gets started on "boot", and one can access it with "smbclient". However,
vmware machine cannot "see" the samba-machine on the virtual net. If I
restart samba and run the vmware-machine again, everything is OK. Any
sugestions?

- one of the reasons I have switched to Mandrake was that i have hoped for
a better PGP and ssh integration. I have seen that some things have been
done on this field, but I have expected more. 

For instance, One thing I would welcome would be a slight change in a
Xsession- check if the "ssh-agent" exists on the system - if it exists,
one should use it:

##
...
case $1 in
kde)
exec ssh-agent startkde
;;
gnome) 
exec ssh-agent gnome-session
;;
etc.
###

- As a last remark: what is the Mandrake updates-policy? I do hope, you
intend to keep the security updates on-pair with the Redhat (or better).
What surprises me is that Redhat-updates allready contains:

lpr-0.46
pam-0.68

while Mandrake-versions are:

lpr-0.43
pam-0.66 (no upgrades)

As far as I know, RedHat only posts security-related updates (although...
6.0-updates dir is full of kde and gnome stuff), so this
worries me a bit. I do hope there is a good explanation though.

Hapy Mandraking!

Denis

UNIX is friendly! It's only picky about who it's friends are...



Re: [expert] Corel Linux

1999-01-17 Thread Denis Havlik

:~>I just checked out the 'Linux by Corel' site. Tech support is $50 US per
:~>hour per incident. Maybe I am naive but it sounds pricey to me. 

You are naive. They have to actually pay someone to do a tech support, 
he is not answering questions all the time, and they want to earn
something too... 

Denis 
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



[expert] two bugs in M6.1 and a whish

1999-01-17 Thread Denis Havlik

Hi

I have found two X- (kde-) related bugs in mandrake:

1) in kde, screen locking does not work properly with NIS accounts.

current solution is setting the kcheckpass "suid root".

2) Users are not warned that they have to change passwords,
because the passwd is going to expire soon. I have heard that this
condition even crashes xdm, but have not verified it since I use kdm.   

My current attempt at a solution is checking for this condition in 
"Give console". However it seams as if the kdm would ignore the
"GiveConsole". Any ideas?

+
My whish would be to check for the existence of "./ssh/identity" and
"ssh-agent" in (standard) Xsession. If both are found, one should exec

"ssh-agent startkde" 

instead of just "startkde" in the "Xsession". Same with the gnome/Wm & co.

I can post my altered "Xsession" which does exactly this if you are
willing to give it a try.  

Yours
Denis

P.S. Sorry for cross-posting. I think this is interesting for both mailing
lists, and I am not sure how many people actually subscribe both of them,
or where to post in order to reach both developers and "experts".
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Re:

1999-01-17 Thread Denis Havlik

:~>Yup, pretty pictures will save the world...
:~>
:~>What I'm missing is why the packaging system isn't working as it's
:~>supposed to.  You upgrade a package and it removes the old package and
:~>installs the new.  At least that's the way it works for me...  Why not
:~>during installation???

Because "install" means "wipe my HD and install the new system", while
"upgrade" means "please give my old system a face lift, but do not ruin
it". In my opinion "Upgrade" should be made much better - in the future
there will be much more need for upgrades than for the clean installs,
especially if they start selling pre-installed linux PC-s everywhere. 

See below for my sugestions:



I did "upgrade" instalation from several RH x.y machines, and the problem
is following: If you try installing a package and you bump into some
allready installed package, "rpm -i" or "rpm -U" do not install it.
Therefore you end-up with unusable (or semi-usable) system.

I think this is a bug in install procedure. Right way to do an "upgrade"
from any existing system to Mandrake X.Y would be:

1) check if there is anything installed allready. If not say 

"I cannot find installed system, should i continue with full install?" 

2) check if the installed system is rpm-based. If not, ask 

"Your previous system is not rpm-based. If I continue with instalation
some of the files belonging to your instalation will be overwritten, other
will not. Should i continue with full install and erase all the currently 
instaslled packages (except maybe /opt and /usr/local)"

3) If the old system is RPM-based, then check if you can install all the
packages with: "Upgrade" or not. If yes, all is OK - if not, ask:

"Following packages from your current system collide with packages from
Mandrake X.Y. To continue with upgrade, either these packages have to be
deinstalled first, or some of the "new" packages have to be discarded." 

A table of packages with "old" packages on left side and "new"
packages which cannot be installed on the right side, with a possibility
to choose either the packages on the left or on the right side would be
good. Some of the packages should be denoted as "essencial" - these must
be installed in order to get the working Mandrake system, so "discarding" 
such packages should be made as complicated as possible.   

followed by:

"Please choose which packages you want to have installed, then continue
with the upgrade.   

In this way, one would be sure to get a fully functional system in the
end, even if he tries to upgrade from Suse 5.2 to Mandrake 7.5.

As it is, "Upgrade" does more-or-less an "rpm -U " and one has to hope
everything goes well - which it does not, as I have painfully found out.
The worse of all is that some of the bugs which appear after an "Upgrade"
from RH X.Y to Mandrake 6.1 are very subtle, and not easy to find and
eliminate later.   
   
cheers
Denis
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Re: [expert] Problème de configuration ALIAS IP

1999-01-16 Thread Denis Havlik

:~>Ah, two IP addresses can be used to support a virtual host under Apache. Suppose
:~>you have mydomain.com setup to listen to ip address x.x.x.x and you want to setup
:~>mycompany.com on the same machine, that can be accomplished with ip aliasing.
:~>First it has to be selected when compiling the kernel, then you can use
:~>linuxconf(or the tool of your choice) to setup two ip addresses on the same nic.
:~>Then you configure apache with a Virtual Host and voila.

I still do not get it. I have an alias to my mail server
(lisa.exp.univie.ac.at == havlik.org). However they both share the same
IP address. What would I gain by actually hawing TWO ip-addresses at the
same interface?

Denis  

-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Logitech Scanman Color

1999-01-16 Thread Denis Havlik

:~>Hi,
:~>
:~>Has anyone used a hand scanner - Logitech Scanman Color with any Linux. It
:~>is a handheld scanner which connects to a ISA board. Is there a standard for
:~>scanners in Linux like TWAIN in Windows?
:~>
:~>Thanks for your info

Take a look at the mail-archive - I have posted the SANE -web page few
days ago.

Denis
---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] lp doesn't delete jobs

1999-01-16 Thread Denis Havlik

:~>I am encountering an odd problem with printing in Mandrake
:~>6.1: after a job is printed, it is not deleted from the
:~>spool so that it is printed again when the printer is next
:~>used. The new print job then is *not* printed.
:~>
:~>If it matters, the printer is a network printer (using lpd)
:~>rather than one attached directly to the computer.

Yes, this matters a lot. The jobs submitted over network end-up in the
queue as root.root, which causes all kinds of problems with lpd-children
which get invoked as user. ( I am not an expert on this, so maybe I have
a completely wrong diagnosis. )
Anyway: Printing is completely screwed in M 6.1... In order to solve the
problems with network-printing, I:

1) re-installing the printers (I wanted to be sure I use the newest
printing filters and that all the permissions are OK.) No idea what it was
before, but now it is:

dirs:

drwxr-xr-x 2 root lp 1024 Nov 18 03:32 HP-LJ4L 
drwxr-xr-x 2 root lp 1024 Nov 17 15:32 HP550C 
drwxr-xr-x 2 root lp 1024 Nov 4 16:58 lp
drwxr-xr-x 2 root lp 1024 Nov  6 22:46 lp0 

files:

[denis@marvin HP550C]$ ls -l total 16 
-rwxr-xr-x 1 root root 10532 Nov 9 04:24 filter 
-rw-r--r-- 1 root root 35 Nov 17 15:31 lock 
-rwxr-xr-x 1 root root 356 Nov 9 04:24 postscript.cfg
-rwxr-xr-x 1 root root 186 Nov 9 04:24 general.cfg 
-rw-rw-r-- 1 root root  31 Nov 17 15:31 status
-rwxr-xr-x 1 root root 148 Nov  9 04:24 textonly.cfg


2) loading lp - modules explicitely
with "modprobe" in "rc.local" 
3) installing the newest lpr package from the RedHat 6.1 -updates

Maybe One of these 3 steps is enough - I do not know which, though... 

Unfortunately, this did not solve my problems with lp->fax gateway. I have
set-up a fax-server with mgetty+sendfax (works great), and wanted to have
a lp->fax gateway. Localy, I am able to faxs with:

lpr -P fax -C  file

But it does not work over network, because the filter does not get "-C"
field. The "C" field does not appear in the "cf*" file either, but the "J"
field does, so I have tried to re-write the filter in order to use the
"-J" instead if "-C", only to realise that the filter does not get this
information on its STDIN, and cannot read the "cf*" files because they are
owned by root and have 660 permissions. Does anybody know what can be done
here?   

cheers
Denis
- 
Mag. Denis Havlik <http://www.ap.univie.ac.at/users/havlik> 
University of Vienna|||  e-mail: [EMAIL PROTECTED] 
Austria(@ @)  tel: (++431) 4277/51179
---oOO--(_)--OOo- 




Re: [expert] how do I allow users to ftp in

1999-01-16 Thread Denis Havlik

:~>> It should be fixed of course but why would anyone want to not use MD5
:~>> and shadow passwords?
:~>
:~> If you have a passwd file maintenance system with dozens (or
:~>hundreds) of users, you may not want to force everybody to re-create their
:~>passwords when you can just copy the old passwd file.

What is a problem with copying the passwd+shadow? By the way, could
someone explain me what are the MD5 passwords?  

D.

---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



[expert] Re: [expert] Problčme de configuration ALIAS IP

1999-01-16 Thread Denis Havlik

:>Je souhaiterais comprendre le fonctionnement des ALIAS IP
:>Ma machine ŕ une carte ethernet eth0 avec 2 adresses IP
:>
:>J'étais sous Mandrake 5.2 et avec le LinuxConf cela fonctionnait parfaitement
:>Je suis passé sous Mandrake 6.0 (MAJ) et bien que LinuxConf m'annonce que
:>mon ALIAS était valide, cela ne fonctionnait pas.
:>J'ai résolu le problčme en créant ŕ la main un fichier 
:>ifcfg-eth0:0 dans le chemin etc/sysconfig/network-scripts
:>
...

Hm. I do not understand French, but I get the feeling this guy wants to
have 2 IP-adresses on a single ethernet card. It beets me. I understand
the need for two names on a same IP, I also understand the idea of a
machine with two network interfaces (i.e. bridge), but two IP-s on a
single interface - what would that be good for?

I suppose it cannot be done. But then again, I may have completely
misunderstood the question. Anybody cares to pay french lessons for me? 


cu
Denis 
-------
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] Copying user accounts

1999-01-04 Thread Denis Havlik

:~>Sure does! Thx! Wasn't sure, if there is something else to worry about.

Sure. End of the world is nearing .-)

cu
Denis
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Configuring PINE -- Last step

1999-01-04 Thread Denis Havlik

:~>I copied your entries into my .pinerc file. I am rather embarrassed
:~>because I have a very strong feeling that this was just a guideline.
:~>Unfortunately, I am not quite sure what should be deleted, what modified
:~>in accordance with my system. No wonder the printer says: "local:
:~>unknown printer". Here are my entries:


:~>## Set within or by Pine: No need to edit below this line
:~>##
:~>
:~># Your default printer selection
:~>printer=local [] enscript -Plocal
:~>
:~># List of special print commands
:~>personal-print-command=color marvin [] lpr -Pmarvin-c,
:~>marvin [] enscript -Pmarvin,
:~>lisa [] enscript -Plisa,
:~>bootko [] enscript -Pbootko,
:~>local [] enscript -Plocal
:~>
:~># Which category default print command is in
:~>personal-print-category=3
:~>
:~>
:~>Obviously (am I right?) marvin, lisa and bootko are proper names. In
:~>addition, I don't use color. And my printer is /dev/lp0.
:~>

My "printer policy" is : every machine has a printer named after it.
"marvin" "lisa" "bootko" are machines. In addition, every machine has a
default printer - called local (well, it is also called "lp", "local" is
just for me...

So you have to put the name of your printer instead. What I do not
understand is why don't you let pine do the configuration for you? 

Configure/Printer - fill in hte blanks. 

cu
Denis 

-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Remove "core" magically -- Opinion

1999-01-04 Thread Denis Havlik

A single: 

ulimit -c 0  

in /etc/baschrc would be enough for you, I think. It simply sets the
maximum size of corefiles to 0 for everyone - i.e., no core files will be
produced anymore. Personally, I prefere seeing the core-files -
one can always get rid of them later with a cron-job. 

cu  
Denis   
-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Copying user accounts

1999-01-04 Thread Denis Havlik

:~>What is the handiest way to copy user accounts (including homes) to 
:~>another machine?

In case you are transfering from one linux machine to another similar
machine:

PART 1: login to machine 1 (as root)

cd /home
tar -cvzf /tmp/homes.tar.gz *

cd /etc
tar -cvzf /tmp/userdata.tar.gz passwd group shadow 

scp /tmp/homes.tar.gz othermachine:/tmp
scp /tmp/userdata.tar.gz othermachine:/tmp

PART 2: login to machine 2

-unpack the userdata.tgz 
-compare the existing /etc/passwd with the one from the "first" machine
-if you find different users with same UID or GID on both machine, you
will have to change the UID/GID-s. In case you have two users with the
same username, you will obviously have to change this too (and probably
the home directory, too).
Write down what you did. The same with "group" and "shadow". In case you
are ising "NIS" or something similar, you can forget fooling around with
passwd, group & shadow - there are no user data there.

unpack the "homes" tarball in the /home directory of the second machine.
BE CAREFULL: In case you have two users with a same username on both
machines, this might overwrite someones home directory.

if you had to change someones username/UID/GID/homedir, you have to fix
his home-directory:

chown -R user.group /home/user  
chown user.group /home/user/.* 

should do the trick. 

LAST STEP: 

You may have to fix some config-data for your users. For instance,
netscape does not like it if you change the users home directory. Same
with StarOffice. Many more programs will complain if the users login-name
has changed.

hope this helps you

Denis
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-
Stand up - be counted: http://counter.li.org



Re: [expert] Internet Mail?

1999-01-04 Thread Denis Havlik

:~>I don't know very much about _web_ based mail programs but I believe IMP
:~>will run on Linux (horde.org/imp)

Imap works. I use it all the time. There are some web based solutions 2,
but I personaly hate them -> never tried to install any.

cu
Denis

-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Configuring PINE -- Last step

1999-01-04 Thread Denis Havlik

:~>I have not yet figured out how to configure the printer for Pine, which
:~>must be done from within Pine (Setup, Configure Printer), but you can
:~>always export any message to your home directory and then print it from
:~>there.

I like using  "enscript"  for that. Your mileage may vary. Below is a
part of my .pinerc:


## Set within or by Pine: No need to edit below this line ##

# Your default printer selection
printer=local [] enscript -Plocal

# List of special print commands
personal-print-command=color marvin [] lpr -Pmarvin-c,
marvin [] enscript -Pmarvin,
lisa [] enscript -Plisa,
bootko [] enscript -Pbootko,
local [] enscript -Plocal

# Which category default print command is in
personal-print-category=3


#

cu
Denis



Re: [expert] Where are the h files for gcc?

1999-01-03 Thread Denis Havlik

:>Most of the .h files should be in /usr/include. Not sure why the compiler
:>wouldn't find them (assuming they're there), it may need an environment
:>variable or text file containing the path for the include directory but
:>that's just my educated guess.

If you really want to know in which package they are:

mount /mnt/cdrom
cd /mnt/cdrom/Mandrake/RPMS
rpm -qilp *.rpm >/tmp/list
less /tmp/list

in less , press "/" then write "KEYWORD", press enter, "n" brings you
to the next "KEYWORD".

cu
    Denis

---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] fax

1999-01-03 Thread Denis Havlik

:>I have a request, since we are talking about fax solutions for Linux. I
:>would like to see a fax client for Linux capable of working with a
:>Winfax Pro 9 fax server. Since this works as the typical "print driver"
:>format of fax client/server, I'm sure it wouldn't be too be of a chore
:>for a skilled developer to come up with a gui and get the print stream
:>correct.

Sure. Just how much are you going to pay for it :-) 

Talking about the fax:

In the meantime, I have set-up my fax-server with mgetty+sendfax. I like
it very much as it is:

1) SENDING FAXES:

  faxspool  file(s)

or

  lpr -P fax -C  file(s)

To make life even easier for my wife, I have also defined a "faxscan"
function:

function faxscan () {
echo "scaning the image and sending it to $1"
scanimage --resolution 204 |lpr -P fax -C $1
}

:-)

As an extra, all the faxes withh numbers beginning with "0" get an
additional "1007" in front which lowers my telephone bill :-))

2) RECEIVING FAXES

All the received faxes are e-mailed to me and to my wife as mime-encoded
e-mail attachements.



However, I had to invest quite some time to get it working, and had to
change some scripts...

As soon as I have finished the setup at work, I will post it here and
send e-mails to authors of the addons i used and changes I had to make. I
hope someone will put a new RPM together with all the stuff on its place. 

(I still do not understand some implications of the lpr->fax gateway. In
particular, i have not yet tried it at work, so i can just hope network
printing will work properly). 

cu
Denis

PS. Has anybody got the "KSendfax" working? 
---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] Academia

1999-01-03 Thread Denis Havlik

:>I've been corresponding with an Assisant Dean at a large teaching
:>university who is pulling hair out over NT and the fact that the latest
:>required M$ patch  fouled 600 machines. 
:>
:>I suggested that since Linux is stable enough to run Hotmail and the UK
:>perhaps thinking about Linux in terms of the future might be something
:>to consider. I offered a few Linux sites as points of reference. 
:>
:>I found the following comments particularly revealing..but then I am new
:>to land of the penguin.  

I am at the university, and I can assure you that you will find a lot of
Linux machines on the campus - especially in the physics department.
However, outsice of the technical-oriented faculties, Linux machines are
still very rare. 

:>if i were to recommend linux on the desktop tomorrow, i would be looking
:>for a new job the next day... that has nothing to do with my sense of
:>where linux is going and how fed up i am with microsoft."

Well... I am looking for a new job today. And I did recomend Linux on
desktop few years ago... However, we do run Linux on desktop today, so
there is no obvious connection between these two. .-)

My advice:

If you want to make Linux-on-desktop possible, start replacing the Word &
co. with Star-Office or WordPerfect on Windoze machines. Another approach
would be to get a campus licence for vmware, or INSIST on RTF beeing
the "standard" formate for documents exchange. (LaTeX would be even better .-)


As long as the newest M$ word format is a "standard", you are DOA with
anything but M$ stuff.

cu
    Denis
---
Denis Havlik  |||   http://www.ap.univie.ac.at/users/havlik
 (@ @)  [EMAIL PROTECTED]   
-oOO--(_)--OOo-



Re: [expert] Restore formatted partitions (ext2)

1999-01-02 Thread Denis Havlik

:~>The problem.
:~>My problem is that my /home partition has been formatted
:~>and fscheck-ed.
:~>Can I try to restore something? 

AFAIK: NO



Re: [expert] Sendmail configuration and PPP

1999-01-02 Thread Denis Havlik

:~>Ok, I get my temporary IP-address there. I get it in the dotted-decimal
:~>notation. What to do with the *names* ( like 'havlik.org' )
:~>(i.e. my second and third question) ?

If you want you can do "nslookup" and get your "current" name, but this is
not required for normal use. Actually, the only "good use" of your
temporary ip-address I can think of is using it to contact your machine
from the outside.

Your provider is supposed to provide you with a mail-server. mail servers
are (well, some of them...) configured in such a way as to diminish
chances of spamming as much as possible. Therefore they do not allow
relying for "most of the wold", but providers machine should allow relying
for you. 

However, they (obviously) do not accept e-mails from "non-existing"
machines. "Non-existing" is a machine which does not exist in "DNS"
database, like "fudo.havlik.org", which is my home-machine. 
Therefore your machine must pretend it is something else when sending
e-mails. My suggestion is to pretend you are the "mail server". "fudo"
pretends it is "havlik.org" if I recall it right. Since "havlik.org" 
really exists, the problem is solved (i hope)...  I think you could
pretend you are the ISP-s mailserver.

Last remark: do not try dispatching your e-mails directly. Let your ISP
mail-server do it for you, otherwise you will end up with higher telephone
bills and problems with anti-spam checks all over the place.

cu
Denis

-
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Sendmail configuration and PPP

1999-01-02 Thread Denis Havlik

:~>With your email client?

:~>without sendmail it's the client responsibility to manage it's own queue
:~>that needs sent to the server (pop-3/imap/?)

:~>You wouldn't have a system wide queue then.. actualy you could, come up
:~>with your own format and processing system, or use the same format and
:~>custom proccessor. (man ya gotta love linux) 

Sure. Then I have to set it up for every user separately, i suppose.
And for every e-mail program someone wants to use. And some of the
programs may end-up blocking because they cannot send the mail
immediately. I dont see what is the point. As long as the sendmail does
not run as demon, you do not get any sendmail-related security problems,
either. Of coarse, you could use just about anything instead of sendmail,
since it really does not do much in this configuration - just processes
the mailq from time to time... 

cu
Denis
---------
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Sendmail configuration and PPP

1999-01-02 Thread Denis Havlik

:~>>> do I (or should I) have a new hostname when ppp connection established?
:~>>> What is this name?
:~>>> What part of software and when sets it?
:~>
:~>Could you shed some light into my poor head?

PPP-connected machines receive a IP-address from the server. Usually this
IP-address is given dynamically - every time you log-in you get a new
address. These addresses are usually (but not nessesarely) have
DNS-entries of the form:

NUMBER.provider.address

The reason for "dynamic addresses" is IP-address shortage == IPO-addresses
are expensive. You can pick-up the new address in the ip-up script, 
Unfortunately i have forgotten which variable holds the new ip-address. I
am afraid you will have to find it out yourself - simply add something
like:
 
echo $1 $2 $3 >/tmp/test 

to ip-up script to find it out. Maybe the documentation of ppp has
something about it...

cu
Denis 
-----
Mag. Denis Havlik  <http://www.ap.univie.ac.at/users/havlik>
University of Vienna||| e-mail: [EMAIL PROTECTED]
Austria(@ @)   tel: (++431) 4277/51179 
---oOO--(_)--OOo-



Re: [expert] Please Help I can't install Linux Mandrake 6.0

1999-01-02 Thread Denis Havlik

All the Mandrake packages have been compiled for pentium-class machines.
Try RedHat, they still compile for general (i386) intel class machines,
withouth pentium optimisations.

cu
Denis



<    1   2   3