LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-20-2002, 09:10 PM   #1
<Rockman>
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Rep: Reputation: 15
Dial in web server using mgetty


hi

Total newbie here.
Trying to set up a web server using mgetty dial in. I have apache set up and tested it out with eth0, but it seem that dial in cannot work at all, not even ping.

what else do I need to set up and how?
 
Old 12-21-2002, 11:01 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
So you have apache running, and if you use a browser on the machine it's running on you can see the website at http://localhost


And you want someone to be able to dialup to your webserver and login, and then be able to see your website at http://192.168.0.1

is that what we are doing?

We need to know what is going on with the dialup. Does to user connect ok.?

does the dialup server give the dialup user an ip address?

did you try connecting to the webserver with it's ip address http://192.168.0.1 or whatever the servers ip address is

you can see the webservers ip address by running this on the webserver and looking at ppp0


Code:
ifconfig
 
Old 12-22-2002, 11:25 PM   #3
<Rockman>
LQ Newbie
 
Registered: Dec 2002
Posts: 24

Original Poster
Rep: Reputation: 15
Yes, I can see the test page on the server using http://localhost.

My modem dials up properly and my user can log on properly and see all the directory. But when I use the broswer to view http://192.168.0.1 , I cannot see the apache test page.

I tried pinging 192.168.0.1 from the client machine, it says unreachable.

where and how can I see my own ip? the server ip? and how to set it?
 
Old 12-23-2002, 04:38 AM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Here is how I set mine up, there is about a million other ways to do it.

/etc/inittab
Code:
S0:2345:respawn:/sbin/mgetty -s 115200 -x 3 ttyS0
reset init
Code:
init q
/etc/ppp/options

You can see I have dns and wins, if you don't then you would not use those settings, you could leave out wins, and use your correct dns numbers. It will still do what you want.

Code:
asyncmap 0
netmask 255.255.255.0
ms-dns 192.168.0.1
ms-wins 192.168.0.1
proxyarp
lock
crtscts
modem
/etc/mgetty+sendfax/login.config

The ip addresses can be here, or in /etc/ppp/options.ttyS?
The ips are serverip:clientip

Code:
/AutoPPP/ -     a_ppp   /usr/sbin/pppd auth -chap +pap login asyncmap 0 192.168.0.1:192.168.0.201
/etc/ppp/pap-secrets
Code:
*               *       ""              192.168.0.201

Last edited by DavidPhillips; 12-28-2002 at 07:46 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mgetty to pppd to ???? for dial-up webcam server dazz Linux - Networking 0 09-04-2005 05:42 AM
mgetty and dial-in Third Angel Linux - Software 2 10-16-2004 10:18 PM
Dial-In Server not working! Mgetty - DSR is Off! diogo_cc Linux - Networking 0 03-24-2004 02:02 PM
Dial in web server <Rockman> Linux - Networking 1 01-09-2003 09:40 AM
compile error (dial in using mgetty) <Rockman> Linux - Networking 3 12-22-2002 11:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration