Subject: modemd and pppd dialup server
To: None <netbsd-help@netbsd.org>
From: None <Bbmillerr@aol.com>
List: netbsd-help
Date: 10/10/2001 13:05:00
I am using modemd as a dialup server into my NetBSD box. The machine I am
dialing has an IP address of 203.60.55.195 on my local LAN. I have been able
to get modemd to answer the phone without any problems. However, I am trying
to access my httpd server over the phone line just as if it was attached to
my LAN using a browser. This I have not been able to do. My settings are as
follows:
* My hosts file is:
127.0.0.1 localhost
203.60.55.195 bsdtest
* In my ttys file I have added the line:
tty00 "/usr/pkg/sbin/modemd cashsafe " unknown on rtscts
* My modemcap file is:
cashsafe:br#57600:bt#8:hf:is=AT:pp=/usr/sbin/pppd auth -chap +pap
* My pppd options file is:
passive
silent
lock
proxyarp
crtscts
modem
-detach
netmask 255.255.255.0
* My options.tty00 file is:
203.60.55.195:203.60.56.150
I am very confused on these settings in my files listed above. If I point my
browser to http://203.60.55.195 then I get access to my httpd server without
any problems over my LAN. However, when I dialup my NetBSD box and modemd
answers I cannot seem to have access to anything with my browser. What will
the IP address be when I dial-in to my box. It can't be 203.60.55.195
because that is the address of the box over my LAN. I know I need a new IP
address but I don't know how to get to that point. It seems my IP settings
are wrong or I don't understand what I need to do. Can anyone help with this
and these settings?