Koozali.org: home of the SME Server

PPPoE and MXstream in holland

Gerard Mokkenstorm

PPPoE and MXstream in holland
« on: March 16, 2001, 01:19:49 AM »
Hi all,

I just installed a fresh copy of e-smith 4.1.1
So in 20 minutes i had almost everything working, almost.... the pppoe link wont come up...

In previous set-ups on my W98 machine i followed the manual and that noted that i had to configure my nic with ip adress 10.0.0.150 and make a vpn connection to
"10.0.0.135 pc1" enter a username/password and the link comes up...

So i installed e-smith and chose for the pppoe option, but now i dont see anywhere an option to geive my second (external) nic this ip adress...

Is this default ? or do i need another configuration ?
The setup is as follows

workstation W98:
192.168.1.65 (DHCP)

e-smith box:
nic 1: 192.168.1.1
nic 2: ???

adsl modem (alcatel) 10.0.0.134
and as a second number 192.168.0.100
this because i expected to gice my second nic a number like 192.168.0.1

i think i am missing something here, can anybody help ?

tnx.

Gerard

Charlie Brady

PPTP over ADSL (was Re: PPPoE and MXstream ...)
« Reply #1 on: March 16, 2001, 01:42:35 AM »
Gerard Mokkenstorm wrote:

> I just installed a fresh copy of e-smith 4.1.1
> So in 20 minutes i had almost everything working, almost....
> the pppoe link wont come up...

You don't have a PPPoE link, you have a PPTP link. There is currently no support for PPTP, although a few users have put together something which works.

Here are some links which might help you:

http://www.hanscees.com/indexlinsmith.html

and

http://www.grand-pa.dyndns.org/

Regards

Charlie

Gerard Mokkenstorm

Re: PPTP over ADSL (was Re: PPPoE and MXstream ...)
« Reply #2 on: March 17, 2001, 03:42:40 AM »
I think the one "http://www.grand-pa.dyndns.org/" is the one i need,

except its in french.....

the one hanscees describes, covers e-smith 4.0 with a single nic
and i want to use 2 nics....

I got the pptp link running bit i think i screwed up the firewalll.....
so back to the drawing board for me....
( or someone wants to translate the french page of grandpa? :)

-= thanks anyway....

-=Gerard

Jochen Hoegerl

Re: PPPoE and MXstream in holland
« Reply #3 on: March 17, 2001, 02:42:21 PM »
Hi Gerard,

as I'll be posted to NL somewhen this year I started investigating about
ADSL in the Netherlands. The first thing ...it's much more expensive than
here in Germany. :-((   But to to your point....

I hope this will help you

jochen

i found this at:  http://dl.xs4all.nl/adsl/ADSL-HOWTO-Linux.html


Getest op: RedHat-6.0

1) Download PPTP voor Linux

2) Installeer de patch linux-pptp-1.0.2.patch met "patch < linux-pptp-1.0.2.patch".

3) make

4) zet je KPN username en password in /etc/ppp/chap-secrets, bv:

# Secrets for authentication using CHAP
# client        server  secret                  IP addresses
   *         *

5) zet het volgende in /etc/ppp/options.adsl

idle 0
debug
noauth
user
usepeerdns
defaultroute

6) verander het ipadres van de ethernet kaart waar het ADSL modem aan
verbonden is in 10.0.0.100, netmask 255.255.255.0. (Elk ipadres is in
principe goed mits je 10.0.0.138 maar kan bereiken) (bij RedHat kan dit
met /usr/sbin/netconfig)

7) test als je het ADSL modem kan bereiken met "ping 10.0.0.138".

8) Verbinding maken met KPN ADSL net kan nu met "./pptp 10.0.0.138 file /etc/ppp/options.adsl",

(Eventueele debug output bij het maken van de PPP verbinding)

Sep 17 13:39:34 bla (unknown)[1128]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:536]: Client connection established.
Sep 17 13:39:35 bla (unknown)[1128]: log[pptp_dispatch_ctrl_packet:pptp_ctrl.c:642]: Outgoing call established.
Sep 17 13:39:35 bla pppd[1130]: pppd 2.3.7 started by root, uid 0
Sep 17 13:39:35 bla pppd[1130]: Using interface ppp0
Sep 17 13:39:35 bla pppd[1130]: Connect: ppp0 <--> /dev/ttya0
Sep 17 13:39:35 bla pppd[1130]: sent [LCP ConfReq id=0x1    ]
Sep 17 13:39:38 bla pppd[1130]: sent [LCP ConfReq id=0x1    ]
Sep 17 13:39:38 bla pppd[1130]: rcvd [LCP ConfAck id=0x1    ]
Sep 17 13:39:38 bla pppd[1130]: rcvd [LCP ConfReq id=0xc4  ]
Sep 17 13:39:38 bla pppd[1130]: sent [LCP ConfAck id=0xc4  ]
Sep 17 13:39:39 bla pppd[1130]: rcvd [CHAP Challenge id=0x21 , name = "NL-ASD-DC2-FSIP-GR21"]
Sep 17 13:39:39 bla pppd[1130]: sent [CHAP Response id=0x21 <9206862602cc356479ad856224691ddc>, name = "tr4"]
Sep 17 13:39:39 bla pppd[1130]: rcvd [CHAP Success id=0x21 ""]
Sep 17 13:39:39 bla pppd[1130]: sent [IPCP ConfReq id=0x1  ]
Sep 17 13:39:39 bla pppd[1130]: rcvd [IPCP ConfReq id=0x3f  < 90 06 00 00 00 00>]
Sep 17 13:39:39 bla pppd[1130]: sent [IPCP ConfRej id=0x3f < 90 06 00 00 00 00>]
Sep 17 13:39:39 bla pppd[1130]: rcvd [IPCP ConfRej id=0x1 ]
Sep 17 13:39:39 bla pppd[1130]: sent [IPCP ConfReq id=0x2 ]
Sep 17 13:39:39 bla pppd[1130]: rcvd [IPCP ConfReq id=0x40 ]
Sep 17 13:39:39 bla pppd[1130]: sent [IPCP ConfAck id=0x40 ]
Sep 17 13:39:39 bla pppd[1130]: rcvd [IPCP ConfNak id=0x2 ]
Sep 17 13:39:39 bla pppd[1130]: sent [IPCP ConfReq id=0x3 ]
Sep 17 13:39:39 bla pppd[1130]: rcvd [IPCP ConfAck id=0x3 ]
Sep 17 13:39:39 bla pppd[1130]: local  IP address 10.64.5.4
Sep 17 13:39:39 bla pppd[1130]: remote IP address 194.109.0.109
Sep 17 13:39:39 bla pppd[1130]: Script /etc/ppp/ip-up started; pid = 1134
Sep 17 13:39:40 bla pppd[1130]: Script /etc/ppp/ip-up finished (pid 1134), status = 0x0
Sep 17 13:39:42 bla pppd[1130]: rcvd [LCP EchoReq id=0x1 magic=0xe5c86cdd 00 00 00 00]
Sep 17 13:39:42 bla pppd[1130]: sent [LCP EchoRep id=0x1 magic=0x25391f31 00 2d 0f 01]
Sep 17 13:39:52 bla pppd[1130]: rcvd [LCP EchoReq id=0x2 magic=0xe5c86cdd 00 00 00 00]
Sep 17 13:39:52 bla pppd[1130]: sent [LCP EchoRep id=0x2 magic=0x25391f31 00 2d 0f 01]

[ .. ]

9a) Je kan nu via http://10.128.1.6/ inloggen op het ADSL netwerk.

of

9b) Volautomagisch inloggen bij XS4ALL :)
   - Save adsl-login als /etc/ppp/adsl-login
   - Vul je gegevens in het script
   - Start het

    Met dit script wordt je volautomagisch een verbinding met XS4ALL gemaakt.

10) klaar !.

Thor Anthrax

Re: PPPoE and MXstream in holland
« Reply #4 on: March 21, 2001, 05:24:51 AM »
Please go to http://www.adsl4linux.nl/ and download that program. I installed it here and it works just fine...

Set up in 5 minutes...when you're slow

Mark Hazeleger

Re: PPPoE and MXstream in holland
« Reply #5 on: March 21, 2001, 02:14:01 PM »
A question in response to Thor's suggestion:

Which serverconfiguration hav you used: (server, gateway or both) and what IP configuration for the nic('s) and ADSL modem.

Also I would like to know if ADSL4Linux has to be installed after a configuration change for the e-smith server. I'm afraid that the configuration templates will undo the changes made by ADSL4LINUX.

Can anyone shed a light on this matter?

Thanks!

Mark

Thor Anthrax

Re: PPPoE and MXstream in holland
« Reply #6 on: March 21, 2001, 04:51:00 PM »
First of all, I installed 2 network adapters. It can be done with only one, but with upcoming changes in April I guess I'm going to need two :-)

The first has IP 10.0.0.1, but can be any within this range.
The second I gave IP 10.166.193.217, according to the internal IP from my ISP using VPN. DO NOT USE YOUR REAL EXTERNAL IP!!!

Set E-smith up without dial-up. Otherwise your ADSL settings will not be saved.

Download ADSL4Linux from http://www.adsl4linux.nl/ and save it to your server. Install and set up the program. This is very easy with user interface. The installation save all settings.

Type adsllogin to make connection and adsllogout to break the connection.



WHY did I gave the second network adapter the internal IP from my ISP? When you use your real external IP, e-smith cannot detect any incoming connection. Ok, that is very safe, but you cannot run it as a server :-)

See http://broe1452.speed.planet.nl/ and http://broe1452.speed.planet.nl/sysinfo/ to review my configuration. Only the following information cannot be viewed from there, so I post it right down here...

eth0      Link encap:Ethernet  HWaddr 00:00:B4:A0:63:D5  
          inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
          EtherTalk Phase 2 addr:65280/1
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6914633 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6255495 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

eth1      Link encap:Ethernet  HWaddr 00:01:02:AB:BF:87  
          inet addr:10.166.193.217  Bcast:10.166.193.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          EtherTalk Phase 2 addr:0/0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:2458 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2458 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

ppp0      Link encap:Point-to-Point Protocol  
          inet addr:10.166.193.217  P-t-P:195.190.240.212  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:1995434 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1531139 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0

Thor Anthrax

Re: PPPoE and MXstream in holland
« Reply #7 on: March 21, 2001, 04:56:06 PM »
I forgot to tell I set up e-smith as server & gateway.

Client configuration:

IP: 10.0.0.2 to 10.0.0.255
Subnetmask: 255.255.255.0
Gateway 10.0.0.1 (the IP of the first network adapter in your e-smith configuration)
DNS1: your ISP's first DNS
DNS1: your ISP's second DNS

(somehow I failed to get e-smith work well as internal DNS-server, but it works just fine like this)

Thor Anthrax

Re: PPPoE and MXstream in holland
« Reply #8 on: March 21, 2001, 04:56:56 PM »
I forgot to tell I set up e-smith as server & gateway.

Client configuration:

IP: 10.0.0.2 to 10.0.0.255
Subnetmask: 255.255.255.0
Gateway 10.0.0.1 (the IP of the first network adapter in your e-smith configuration)
DNS1: your ISP's first DNS
DNS1: your ISP's second DNS

(somehow I failed to get e-smith work well as internal DNS-server, but it works just fine like this)

Ron

Re: PPPoE and MXstream in holland
« Reply #9 on: March 22, 2001, 01:57:22 AM »
Thor Antrax,

Would you like to take the time to take me/us throug the installation
of E-smith 4.1.1 with ADSL4Lunix.

For the sake of al Dutch newby's :-)

Lead us the way !!!

Thanks in advance,

Ron
(een Nederlandse XS4ALL ADSL gebruiker)

Thor Anthrax

Re: PPPoE and MXstream in holland
« Reply #10 on: March 22, 2001, 11:46:37 AM »
Well, it is an idea...

Half of April the login procedure will be changed. So I'm not gonna make a setup manual for for few days. When I found out how the new procedure will work, I will. Any questions on how to do it now are available on this forum (you can mail me too) and at http://www.adsl4linux.nl/

btw, You don't have any trouble installing e-smith I hope? That is the easiest part :-)

Ron

Re: PPPoE and MXstream in holland
« Reply #11 on: March 22, 2001, 05:58:46 PM »
Thanks for the fast reply Thor :-)

I understand that you wait for changes.
I have no trouble with E-smith installation, if you would know what to choose.
For example:

Do I choose for Server and Gateway or only Server as explaned by others?
It is a little bit confusing this way, I'm not a Linux guru so I have to follow
what I read.


Ron

Thor Anthrax

Re: PPPoE and MXstream in holland
« Reply #12 on: March 22, 2001, 07:12:23 PM »
If you like all your other computers behind the server to get onto the internet I would install it as a server/gateway :-)

I did it like that too

Ron

Re: PPPoE and MXstream in holland
« Reply #13 on: March 22, 2001, 10:00:17 PM »
I thought so but Hancees for example had another approach.

http://www.hanscees.com/indexlinsmith.html

Only thing that I want to know for now is how to figger out the internal IP of
my ISP (XS4ALL / Netherlands) .........
Where can I find that IP ?

Other quastion, is it right that I need to install a Patch om E-smith (a pptp patch)
before I install ADSL4LINUX ?

Thanks again,

Ron

Thor Anthrax

Re: PPPoE and MXstream in holland
« Reply #14 on: March 23, 2001, 01:41:18 AM »
Ok ok, you all got me. I am making a page :-)

http://e-adsl.dyndns.org/
It's far from finished, but I hope it can help you all. The site is in Dutch, but that should be no problem since MxStream is only available in Holland :)