LinuxQuestions.org
Visit Jeremy's Blog.
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, 10: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, 12:01 PM   #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-23-2002, 12:25 AM   #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, 05: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 08:46 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 06:42 AM
mgetty and dial-in Third Angel Linux - Software 2 10-16-2004 11:18 PM
Dial-In Server not working! Mgetty - DSR is Off! diogo_cc Linux - Networking 0 03-24-2004 03:02 PM
Dial in web server <Rockman> Linux - Networking 1 01-09-2003 10:40 AM
compile error (dial in using mgetty) <Rockman> Linux - Networking 3 12-23-2002 12:33 AM

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

All times are GMT -5. The time now is 01:42 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration