PDA

View Full Version : Build Dialin Server


fareen
2005-07-19, 11:45 AM CDT
Hi,

I need some ones help in doing this?
I'm a newbie....so pls excuse my ignorance.

I'm planning of putting up a dial-in server at our main office. Our purpose for this is to make available downloading of data and uploading files to main office. Branches will connect from windows machine to our main office fc3 test3 with Apache/2.0.52 (Unix) mod_ssl/2.0.52 OpenSSL/0.9.6b PHP/5.0.3 mod_perl/1.99_19 Perl/v5.8.0 and DFM-560E External Fax Voice Modem.

I had spent a lot of time looking online manuals, googling and finally configured dialin server in this manner.

opened /etc/mgetty/login.config and changed to /AutoPPP/ - - /usr/sbin/pppd file /etc/ppp/options.server.

Added this in inittab S1:2345:respawn:/sbin/mgetty ttyS1 /dev/ttyS1

Configured etc/ppp/options.server
asyncmap 0
modem
crtscts
lock
require-pap
refuse-chap
proxyarp
192.168.1.40:192.168.1.41

Added username & password in /etc/ppp/pap-secrets
ppp * ppp *

Then I tried from windows it was able to get connected to server(main office) But unlucky to open web-site.

I have tested the website internally on the machine with 192.168.1.40 and it is successful. Added 192.168.1.40 www.mysite.com in /etc/hosts file.

I need to know what more must be configured and have to be done so once I am connected to server I am able to open the site 192.168.1.40 www.mysite.com from windows 98 machine situated at other location.

I'm at wits end and sure appreciate some helps from gurus out there.
Thanks

Jeff Sadowski
2005-07-19, 03:06 PM CDT
Have windows connect leaving the login screen open. there are options to use something like an interatice script use it. Find out when the windows machine fails. Or connect with a linux machine using minicom
and see if you can't debug what is going wrong. It's been a while since I last used mgetty. I remmember not getting the autoPPP to work right and using some other method with scripts to start pppd.

fareen
2005-07-20, 08:25 AM CDT
Thanks Jeff,

Well i think you are right the first time when i tried for dialin the autoPPP was not responding.
I think you can guide me more on this? As a newbie Please tell me how to debug with windows and linux minicom.
Please do me a favour.
Expecting a favourable reply.
Thanks

jcmanuel
2006-08-09, 11:26 PM CDT
Hi!

I'm a newbie and I have the same problem.

Our office has two buildings and a fedora 3/shorewall/squid is connected to a dsl for net connection. I slapped in a modem in the proxy server with aim to connect the other building via a local number from our pabx. This was how it was setup before using Mandrake 9.1 done a 3rd party. I successfully installed the proxy I mentioned but can't get a howto/step by step instruction on how to make it a dialin server so that users in the other building can connect via a dialup. BTW, I tried some howtos even the 1st post on this thread and I can't seem to make it owrk. Help please!