Hello

(before going further, yes..I ve read the mgetty docs but as you'll see
later..there are things that the docs
were not clear about, to me..). I use redhat 5.0 (kernel 2.0.32 and have a
33.6 kbps Cirrus Logic modem on /dev/ttyS3)

I did an rpm -ivh of mgetty-1.1.9.i386.rpm and ended with following
directories for mgetty:
/etc/mgetty+sendfax/dialin.config,login.config,mgetty.config
/sbin/mgetty
/usr/doc/mgetty-1.1.9/readMe,FAQ

BTW, I 'd like one of my friends, let's call him "arobas" to use Dial up
netwoking on his win 95 box and dial into my Linux box. With that in mind,
(please correct any error or modification that should be done)Here's what I
did :

->In /etc/inittab:
m1:3:respawn:/sbin/mgetty -D -x2 /dev/ttyS3 (my Modem line attached to my
phone amd that outside
users can use to dial in my Linux box)
->In /etc/mgetty+sendfax/dialin.config:
->In /etc/mgetty+sendfax/mgetty.congfig:
#Set global debug level to "4" (policy.h defaults)
debug 4
# access the modems with 38400 bps
speed 38400
#port ttyS0
#debug 3
#data-only y
#port ttyS1
#speed 38400
#port ttyS1
#debug 8
#init-chat "" \d\d\d +++\d\d..etc..(never mind,
my modem is on ttyS3..so I just ignore this)

port ttyS3 (here I took out the "#" symbol cause 
            my modem is on ttyS3..please, I guess that instead of following
            activated options , there are other things to add in my case..)

direct y (should I put "data-only y" ..instead??)
speed 19200 ( my modem is a 33.6kbpsCommunicator modem with a Cirrus Logic
             chip, so I should change speed for 38400).
#toggle -dtr n (do I need it?? If there's additional thing to add, feel
free to help)

->In /etc/mgetty+sendfax/login.config:
#I ve created already the account "arobas"(adduser arobas) on my syst.
#I know that the format here, is :
# Username userid utmp_entry login_program [arguments]
# So, based on what I could understand, here's what should be the entry
#for arobas (correct me pls..):

U* arobas @ /sbin/login -l -u @
# (I really need help for the precedent line , cause I used following exple 
#from login.config: U* uucp @ /usr/lib/uucp/uucico -l -u @ ..which is specific
#to UUCP! I do not use any complex programs on my syst..and  /bin/login is
appearently my login program..
#So, I guess arobas would have a simpler entry for him..but hard to set
from me..).

#Automatically telnetting to my machine (my machine's name is "Skip")
#So to allow arobas to telnet easily to my machine, are the following  ok??
telnet-Skip  arobas  telnet /usr/bin/telnet(what about /sbin/in.telnetd??)
-8 Skip
#
/ -  -  /bin/login  @

->->In /etc/mgetty+sendfax/dialin.config:
# List of my friends data lines:
555-5555(phone line of user arobas)
#Dont allow calls
#!none
#disallow all other calls
#!all

Question: With all these files setted the way the're actually, is every thing
ok to have arobas dial in?? Cause he tried once by windows NT and seems that 
the problem he has is from his Nt box..so hard to know if my system is now
ready to receive calls..

Now, what is left is compiling mgetty ( I guess for..additional features
like AUTO_PPP, etc)

I ve read /usr/doc/mgetty-1.1.9/readMe and FAQ, and it mainly asks to " copy
`policy.h-dist' to `policy.h' and edit it to set some local policy options
. Then, edit the `Makefile', to specify installation paths, some system
defines and some system dependent libraries .
After that, a `make' should build the programs, and `make install' should
install them. "...

But as you 've seen, it doesnt say in what directory to go and run make,
make install.
I ve tried running them from all the possible mgetty's directories I found,
and of course
I had error :No target for Make" because make is only present in my
/usr/src/linux directory..
Well, I guess that it's not from that directory that I should run make for
mgetty. mgetty has 
no implementations in that directory (usr/src/linux) on my system.
So help me to go through the steps of compiling mgetty. 


Thanks for help

Reply via email to