My linux system as a PPP server?

My linux system as a PPP server?

Post by Mark R. Holbroo » Sun, 31 Dec 1899 09:00:00



Hi,

Well this may sound kinda dumb but...

My linux box has a full time internet connection.  Recently I lost my
Mindspring account that I used to use for dial up connections while on
the road.

Having never done it, can I setup my Linux box to all my Windoze
Laptop to dial in and connect (as it did with Mindspring) and once
connected have access to the internet?

Seems that this should work but I don't have a clue how to set it all
up.

Can anyone tell me a) will this work?  b) where do I find the details
on getting this going?

Thanks - Mark

 
 
 

My linux system as a PPP server?

Post by cfis » Sun, 31 Dec 1899 09:00:00


I first saw this on Kannel.org, describing how you can set up your
cellphone to dial your own WAP gateway.

here's an idea: go to google.com and search for "linux dial-up server"
in short... RTFM

On Sat, 04 Nov 2000 22:05:30 -0800, Mark R. Holbrook


>Hi,

>Well this may sound kinda dumb but...

>My linux box has a full time internet connection.  Recently I lost my
>Mindspring account that I used to use for dial up connections while on
>the road.

>Having never done it, can I setup my Linux box to all my Windoze
>Laptop to dial in and connect (as it did with Mindspring) and once
>connected have access to the internet?

>Seems that this should work but I don't have a clue how to set it all
>up.

>Can anyone tell me a) will this work?  b) where do I find the details
>on getting this going?

>Thanks - Mark


 
 
 

My linux system as a PPP server?

Post by Mark R. Holbroo » Sun, 31 Dec 1899 09:00:00


I appreciate the pointer to "linux dial-up server" and I will give it
a try.  I don't appreciate the RTFM.

I had tried searching for Linux PPP server and got THOUSANDS
of documents on how to get your Linux box to connect to a PPP server.

My post simply asked for pointers not flames.  

On Sun, 05 Nov 2000 15:02:13 GMT, cfish


>I first saw this on Kannel.org, describing how you can set up your
>cellphone to dial your own WAP gateway.

>here's an idea: go to google.com and search for "linux dial-up server"
>in short... RTFM

>On Sat, 04 Nov 2000 22:05:30 -0800, Mark R. Holbrook

>>Hi,

>>Well this may sound kinda dumb but...

>>My linux box has a full time internet connection.  Recently I lost my
>>Mindspring account that I used to use for dial up connections while on
>>the road.

>>Having never done it, can I setup my Linux box to all my Windoze
>>Laptop to dial in and connect (as it did with Mindspring) and once
>>connected have access to the internet?

>>Seems that this should work but I don't have a clue how to set it all
>>up.

>>Can anyone tell me a) will this work?  b) where do I find the details
>>on getting this going?

>>Thanks - Mark

 
 
 

My linux system as a PPP server?

Post by Mark R. Holbroo » Sun, 31 Dec 1899 09:00:00


After spending about 2 hours searching I found a couple of documents
under the search "linux dial-in server".   NOT dial-up server.

It is NOT a trivial task to enable this.  Looking at some of your
other posts to people I think you have some problems.  I suggest that
if you cannot offer something "helpful" then don't offer anything at
all.  Best example of a totally USELESS waste of your time, his time,
and bandwidth:

replay from cfish:

a server is something that sits there and wait for a request to serve.

On Sun, 05 Nov 2000 08:36:44 +0100, Frre_Orphe


>Someone told me a server was not related to internet under linux
>what is a server under linux then?

 
 
 

My linux system as a PPP server?

Post by Les Mikesel » Tue, 07 Nov 2000 10:59:44




Quote:> After spending about 2 hours searching I found a couple of documents
> under the search "linux dial-in server".   NOT dial-up server.

> It is NOT a trivial task to enable this.  Looking at some of your
> other posts to people I think you have some problems.  I suggest that
> if you cannot offer something "helpful" then don't offer anything at
> all.  Best example of a totally USELESS waste of your time, his time,
> and bandwidth:

If you want trivial, look for something called 'slirp'.  You just execute
this from a shell prompt and it gives you a ppp connection on the
line with no setup.   You do need to run a normal getty on your
modem port, and since you aren't doing a PPP login you have to
set up the modem chat to log you in, or if you  are using windows
dial-up-networking, set it to give you a terminal screen first so
you can log in and start slirp manually.

  Les Mikesell

 
 
 

My linux system as a PPP server?

Post by Mark R. Holbroo » Sun, 31 Dec 1899 09:00:00


Update on my progress:

After various searches all turned up results on "dial-out" PPP, I
finally searched for "Linux ISP" and in the bulk returned found this
document:

http://www.europe.redhat.com/documentation/HOWTO/ISP-Setup-RedHat.php3

It covered MOST of the issues and was very clear and to the point.  I
was also tipped off to this document by a gentleman named Bill
Staehle.  Thanks Bill!

Anyway, I went through the process of setting this up and very
carefully checked each step.

Finally the moment came.  I set my laptop to dial in....  And....
after a few moments.  I was connected!!!   Well sort of...

I can connect in just fine.  The PAP is recognized and windows thinks
it "logs into the network" but in this state it seemed like I could do
nothing.  

I could not ping other machines on the lan.
I could not ping anything on the internet (in fact DNS lookup didn't
seem to work)

I ran IPCONFIG on my laptop and found that I had set the IP address to
match the IP address of my actual ethernet adapter in the laptop.
Arrgh... Perhaps the lap top was confused at where to send data.  (I
wasn't seening the modem lights flash either).

So I reconfigured the linux box to give my laptop the IP address of
192.168.168.51 which I KNOW was clear.

I reconnected and...  Same result.  I examined IPCONFIG again and
found that there was no gateway installed.  Good ol win98 does not
give you the ability to setup a gateway in your dialup connections.
You can set it in the network control panel but it seems to get
overwritten by something in the connection document.

Anyway, if I check the box "use default gateway on remote network"
linux does assign a gateway to my laptop.  Unfortunately it is the
wrong one.  It assigned the IP address as the gateway. 192.168.168.51
Why?  

On my lan the gateway is 192.168.168.250.  My linux box is configured
to use that gateway and it works great.  So are my Win98 machines on
the lan.  

The benefit of checking the use default gateway box is that now the
laptop is "sending" stuff out.  IE if I ping or do a web browser I see
the modem flashing.  Data is going out of the laptop but NOTHING comes
back in.

I can ping 192.168.168.51 from any machine on the network and it
works.  (funny thing is that the modem lights don't flash when I do
this.  It is like the 192.168.168.51 is setup INSIDE the linux box
somehow).

Anybody have any ideas on what to try next?

Mark

On Sat, 04 Nov 2000 22:05:30 -0800, Mark R. Holbrook


>Hi,

>Well this may sound kinda dumb but...

>My linux box has a full time internet connection.  Recently I lost my
>Mindspring account that I used to use for dial up connections while on
>the road.

>Having never done it, can I setup my Linux box to all my Windoze
>Laptop to dial in and connect (as it did with Mindspring) and once
>connected have access to the internet?

>Seems that this should work but I don't have a clue how to set it all
>up.

>Can anyone tell me a) will this work?  b) where do I find the details
>on getting this going?

>Thanks - Mark

 
 
 

1. LINUX<(nullmodem)>Mac PPP connection; LINUX as PPP-server

Hi!

We are trying to run PPP thru a NULL-MODEM connection between
  -PC running LINUX (running kernel ver. 2.0.0, PPP ver. 2.2.0)
    and a
  -Macintosh running FreePPP ver. 2.5 and apple TCP/IP 1.1

Of course, we want LINUX to be the PPP-server and the Mac to be
the client.

This is how far we get:

LINUX:
   as root, we run:

   /usr/sbin/pppd -detach modem crtscts lock :192.1.2.23 /dev/ttyS1
57600

MAC:
   In the terminal window FreePPP recognises the ppp-startup string
   sent by linux. The local IP is also set.
   Anyway, all seems to go well. FreePPP says:
      -establishing communicatiom
      -succesful
      -established communication
      -(short time passes)
      -link dead
      -connection was established but it is not a reliable connection
and
       was terminated.

meanwhile at LINUX:
/var/adm/messages reads:
Sep 29 17:18:34 zorn pppd[147]: pppd 2.2.0 started by root, uid 0
Sep 29 17:18:58 zorn pppd[147]: Serial connection established.
Sep 29 17:18:59 zorn pppd[147]: Using interface ppp0
Sep 29 17:18:59 zorn pppd[147]: Connect: ppp0 <--> /dev/ttyS1
Sep 29 17:19:01 zorn pppd[147]: local  IP address 194.109.45.55
Sep 29 17:19:01 zorn pppd[147]: remote IP address 194.109.6.110

We have the feeling we are quite close to succes... :-}
Can anybody help us out?

Thanks in advance!

Maarten and David

2. Second Source Sought for Lint

3. Windows NT 3.51 as PPP server and Linux PPP client

4. Trying to install Linux on an external SCSI SyQuest SyJet

5. Win95's PPP <-> Linux PPP server?

6. Alternate shell for root on boot/su?

7. Linux PPP connection with WinNT PPP server?

8. Mac-Linux networking questions

9. PPP help needed to linux ppp server

10. Win95 PPP and Linux PPP Server

11. PPP connection via mac or win modem dialup to dedicated Linux ppp server

12. PPP: WIN95 to Linux PPP Server

13. CISCO PPP server + Linux PPP Client + CHAP