Re: 2nd try - Faxgetty, MGetty and data calls

2001-02-26 Thread Frank Trenkamp
Hi,

> If I dial in from another machine the call is answered as a data call and
> mgetty started but on the machine that I dialled in from I see a line of
> about two dozen characters, most of which appear to be '?', then the cursor
> returns to the beginning of the line, overwrites part of the existing line
> before dropping down one line, printing a few more characters then dropping
> down another line and displays 'NO CARRIER'.  I never get to see a login
> prompt and these tests are costing me a fortune in telephone calls!  It
> doesn't seem to make any difference whatever options I try the result is
> always as described above.

I have never worked with HylaFax, sorry. But the "two dozen characters" you 
observed are probably output from pppd, more precisely: LCP requests from 
your dialup machine's pppd started by mgetty. Does it contain curly braces 
and looks just garbled like "{?[?{{" ?

After 10 or so unsuccessful LCP requests pppd dies and the line is hung up. 
Check if mgetty is configured for AutoPPP, see /etc/mgetty/login.config. That 
would explain why you never get to the login prompt, I think.

Note:

> 02/23 09:52:33 yS1  mgetty: experimental test release 1.1.21-Jul24
ii  mgetty 1.1.21-3   Smart Modem getty replacement
ii  mgetty-fax 1.1.21-3   Faxing tools for mgetty.
ii  mgetty-viewfax 1.1.21-3   Program for displaying Group-3 Fax files und

That's on my machine, it works for me.

Best wishes,
Frank

-- 
ICDM   _   
Schloßwall 2  |_|_  Frank Trenkamp   
49080 Osnabrück   |   |   |  mail:[EMAIL PROTECTED]
http://www.icdm.de/   I   C   D   M phone:+49-541-60025-62



Re: autofs example

2001-02-14 Thread Frank Trenkamp
Hi,

> > In my opinion it's a question of comfort. It saves typing, as you can
> > omit su, sudo etc. and the actual mount command. Ok ok, it's for the real
> > lazy kind like me .. ;)
> >
> > On the other hand, if you wanted to remove, say, a floppy before autofs's
> > timeout, you do need to unmount it explicitly to ensure it syncs back.
> > But that's what mtools are good for. ;)
>
> I guess one day the penny will drop, but it hasn't yet.
> (There's no typing involved with an entry in /etc/fstab.)

I hope so.
(Some people DO NOT want particular filesystems mounted ad startup, be it 
NFS, Windows partitions etc. They want it to be mounted ONLY when needed, in 
which case autofs *does* save typing, thus time and it's faster.)

Sincerely,
    Frank
-- 
-
 Frank Trenkamp   [EMAIL PROTECTED]
 PGP fprt: 5A0C 4AE9 74A5 51F0 2D34  E7DC 67FF 32C4 0357 5653
-



Re: autofs example

2001-02-14 Thread Frank Trenkamp
Hello again,

> Well, I too assumed they wanted it at startup. After all, it said:
>
> I assumed they asked about autofs because they had assumed that's how
> it *had* to be done.

Uhm, I assumed that since he knew how to mount it explicitly he also knew how 
to enter it in /etc/fstab *if* he wanted it at startup. And as he noted 
autofs I thought it was just a question regarding its configuration.That may 
have been incorrect. :)

> Now I've never used automounting at all. What benefit does it confer
> when used with a fixed partition? (I can see the virtues with
> removable disks and remote machines like your NFS mount below.)

In my opinion it's a question of comfort. It saves typing, as you can omit 
su, sudo etc. and the actual mount command. Ok ok, it's for the real lazy 
kind like me .. ;)

On the other hand, if you wanted to remove, say, a floppy before autofs's 
timeout, you do need to unmount it explicitly to ensure it syncs back. But 
that's what mtools are good for. ;)

Yours,
Frank
-- 
-----
 Frank Trenkamp   [EMAIL PROTECTED]
 Home   0541 / 99049230 Mobile 0172 / 6065092
 Fax0541 / 99049237...Make  it so!...
 PGP fprt: 5A0C 4AE9 74A5 51F0 2D34  E7DC 67FF 32C4 0357 5653
-



Re: autofs example

2001-02-14 Thread Frank Trenkamp
Hello,

On Monday 12 February 2001 11:21, Hanno Böttcher wrote:
> I think you mean to mount it on startup, right? So you have to edit
> /etc/fstab.

uhm, I think, actually he meant what he said. ;) I think Robin wants to 
access his Windows partition by not mounting it at startup, but rather only 
when needed, right?

An example from my system:

[EMAIL PROTECTED]:~# cat /etc/auto.master
/amnt   /etc/auto.mnt

This file describes conf files for mountpoints under certain paths to autofs, 
in this case /etc/auto.mnt contains the configuration to apply when mounting 
under /amnt.

[EMAIL PROTECTED]:~# cat /etc/auto.mnt
gamont  -rw,no_root_squash,rsize=4096,wsize=4096gamont:/home
win -fstype=vfat,uid=0,gid=100,umask=002:/dev/hda2
cdrom   -fstype=iso9660,ro,uid=0,gid=100,umask=002  :/dev/scd0
floppy  -fstype=auto,nosuid,nodev,umask=002,uid=0,gid=100   :/dev/fd0

The second line describes mount options for mounting a Windows partition. As 
you can see, the first line is an NFS mount (VERY convenient ;), the third 
goes to the CD-ROM drive and the last one is for the floppy.

You should adapt "uid" and "gid" to your needs. Point to the correct device 
file, IIRC you said "/dev/hdb1".

Don't forget to restart autofs by issuing /etc/init.d/autofs restart, so your 
new config files are read. You should be able to access your Windows 
filesystem by cd'ing to /amnt/win.

Good luck,
Frank
-- 
-----
 Frank Trenkamp   [EMAIL PROTECTED]
 PGP fprt: 5A0C 4AE9 74A5 51F0 2D34  E7DC 67FF 32C4 0357 5653
-