OpenWrt Forum Archive

Topic: [newbie question?] Installing Kamikaze/White Russian with PPTP

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi there!

I have been trying to install openwrt on my asus wl-500gp for 3 and a half hours and on different internet pages (e.g. http://forum.openwrt.org/viewtopic.php?id=14186) i came accross the type-"ipkg update"-thingy.
My big problem is that my Router doesn't have any connection to the internet, how should he? there has to be some way to tell him the ip of the nic of my modem, the username and password and the protocol to be pptp.

didn't get satisfied with the search-feature!



(dd-wrt still lacks in pptp implementation and the web interface was slow as hell, so this is not an opportunity ;-] )

anyone got an idea how to set this up with pptp?

Are you saying that in order to access the Internet you need to use PPTP?  (As opposed to PPPoE?)

What is the WAN port plugged into?  An ADSL modem?  Or just some ethernet switch that you don't have access to?

I assume you've installed Kamikaze?  Was it version 7.09 or did you compile it yourself?

If you compiled it yourself, you could just recompile and include the packages necessary for PPTP in the image.

Otherwise if you installed Kamikaze 7.09, you could download the packages from a PC.  Then get them onto the router (e.g. by using scp or pscp to push them onto the router, or log into the router and use wget to pull them from a web/ftp server on your PC).  Then use "ipkg install filename.ipk" to install them.

you got the point! yes i am using an adsl modem and my isp only supports pptp instead of pppoe. didn't compile kamikaze, used the compiled one from the download directory.

i'm not sure if i'll follow your advice cause it will cover many hours as i'm delicately to mistakes/failures...

can't i configure pptp after setting openwrt up? this has to work somehow... i guess wink
if not, i will follow your advice somewhen in the next few days.

(Last edited by mr.ioes on 14 Feb 2008, 11:07)

mr.ioes wrote:

can't i configure pptp after setting openwrt up?

I am not sure what you mean by this.

What do you mean by "after setting openwrt up"?  What setup do you want to do besides connecting to the Internet?  I thought that was your main problem and that you could not do that until you had configured PPTP smile  Please enlighten me.

How do you currently connect?  Do you run a PPTP client on your PC?

mr.ioes wrote:

yes i am using an adsl modem and my isp only supports pptp instead of pppoe.

Did you try to configure your modem, so it handles the pptp connection itself?
I do have a router running openwrt r7213, and I had to create my own init scripts to handle pptp connection, and it's still not working as it should. Reconnect takes ~15mins with several attempts! This weekend I will replace the speedtouch home (already patched to pro version) with a speedtouch 510i (=ISDN Version), it should be able to connect (and reconnect after 8h disconnects) itself.
Drawback: you have double NAT and dyndns is a little bit more difficult.

(Last edited by MMCM on 14 Feb 2008, 16:08)

@Wodin:
----------
with setting up i meant installing the firmware wink sorry for that.

i haven't used any pptp clients on my pc yet, the only thing i usually did was to select the connection type (this is pptp), type the username, password and corresponding ip of my isp into the configuration panel of the webinterface and from that point on i always had connection. and this stuff, i'd need to do right after installing the firmware by console.

or... can i install x-wrt and all that stuff locally?
or how can this be done?

just catching ideas x)

@MMCM:
----------
yeah, configuring the modem to do all that stuff is one possibility. great idea, but i don't come along with the webinterface of my speedtouch 510 at all ;[
looks to complicated to me, i'd prefer to use the standard firmware on my router (which works but... ähm doesn't support vpn, etc.) instead of managing my modem the connection. never touch a running system i'd say smile

(Last edited by mr.ioes on 14 Feb 2008, 17:06)

Ah, I see.  So you are currently using PPTP on your wl-500gp, but not with OpenWrt?

mr.ioes wrote:

configuration panel of the webinterface

I assume you mean the web interface on the wl-500gp.

mr.ioes wrote:

or... can i install x-wrt and all that stuff locally?

Again I am not sure what you mean by this smile  You can download the packages to your PC before flashing and then install them on the router after flashing without needing Internet access from the router.

If you compile Kamikaze yourself, you can include X-Wrt and the stuff needed for PPTP into the image, so that when you flash it, all the necessary software is already installed.

If you install one of the X-Wrt images, you should have X-Wrt when you flash the router, but I don't know if the packages required for PPTP are included.  If they are, then maybe that's the way to go.  If they are not, you would have to download the packages before flashing.  Then after you have flashed the router, you would have to upload the packages to the router from your PC and install them.

Note: I have never used PPTP (in OpenWrt or anywhere else) so I don't know how well/badly it works.  I find it strange that it would take 15 minutes to connect, as MMCM says, though.

MMCM: Do you have any idea why you have so much trouble connecting?

The discussion might have continued from here.