Brian,
First of all let me suggest you look into the wvdial package. It's a great dial-up
tool and
really makes doing dial up much easier. If your able to get mgetty to work, great,
but before I
switched over to cable I ran wvdial all the time and feel that it really made things
much easier
for me.
Having said that, most dial up connections give you a dynamic IP. I take it that that
is the
value that you are looking for and there is a quick and easy way to get it. Put this
line in a
script that then emails it out or whatever you want to do with it.
currentip=`ifconfig ppp0 | grep inet | awk '{ print $2 }' | awk -F : '{ print $2 }'`
--Marcus
--- "Henning, Brian" <[EMAIL PROTECTED]> wrote:
> Hello-
> I am trying to set up a dial up server with mgetty so friends can log in to
> my computer over ppp.
> I want them to be able to log in and to be able to ftp files from my machine
> to theirs.
> I think i am close to getting my machine configured. I think i am having
> problems giving
> them an ip address. I don't know what config file i need to edit. Below I
> have a list
> of the files i have edited for my current configuration.
> My local network is 192.168.1.0
>
> Thanks for any help.
>
> Brian
>
>
> /etc/mgetty+sendfax/login.config
> --------------------------------
> /AutoPPP/ - a_ppp /usr/sbin/pppd auth -chap +pap login debug
>
> /etc/ppp/options
> ----------------
> lock
> -detach
> modem
> crtscts
> proxyarp
> asyncmap 0
>
> /etc/ppp/pap-secrets
> --------------------
> # client server secret IP addresses
> * * "" *
>
>
>
> _______________________________________________
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list