Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 03 Sep 2015, 13:06
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Is there any way to use VPN with Puppy?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 4 [49 Posts]   Goto page: 1, 2, 3, 4 Next
Author Message
vaso

Joined: 16 Aug 2005
Posts: 1

PostPosted: Tue 16 Aug 2005, 02:00    Post subject:  Is there any way to use VPN with Puppy?  

Is there any way to use VPN with Puppy?
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Tue 16 Aug 2005, 03:35    Post subject:  

What do you mean with vpn? adsl?
Adsl works - get the files from a working mandrake.
Back to top
Guest
Guest


PostPosted: Tue 16 Aug 2005, 04:21    Post subject:  

I mean how can I make Virtual Private Network (VPN) ?
Back to top
moritzes

Joined: 11 Aug 2005
Posts: 20
Location: Akron, OH

PostPosted: Fri 19 Aug 2005, 21:25    Post subject:  

Depends on what kind of VPN.

It's probably all doable, but will require some compiling.

Someone on the forum has compiled the Cisco IPSEC VPN client for linux and says it works fine. Search for his post.
The PPTP w/ MPPE support (needed for connecting to Microsoft VPN's) looks a bit more difficult.
Back to top
View user's profile Send private message 
Guest
Guest


PostPosted: Sat 20 Aug 2005, 00:08    Post subject:  

http://www.google.com/search?&q=vpn+howto+linux
Back to top
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Sun 04 Sep 2005, 01:53    Post subject:  

I have in my to-do list to prepare the dotpup for the IPsec VPN.

Meanwhile, just do the following

1. Make sure that you have the development environment (usr_devx)
2. Download the attched files to /tmp
3. Execute the following commands:
Code:
cd /usr/src/linux
uname -r >.kernelrelease
make kernelrelease
cd /tmp
tar -xvzf vpn-client1.tar.gz
tar -xvzf vpn-client2.tar.gz
./vpn_install

4. Accept all the defaults.

To start the module just execute
Code:
 /etc/rc.d/vpnclient_init start


To open a connection just execute
Code:
 
cd /etc/CiscoSystemsVPNClient/Profiles
vpnclient connect <yourprofile>


Dont put the extension for the profile. So if your profile is Myoffice.pcf just enter
vpnclient connect Myoffice

This will connect to your vpn network until you press ctr-C, so you will have to open another terminal to work on the vpn.

For example, in my case I use rdesktop to manage some windows2000 servers, so I open another terminal and write
Code:
rdesktop -g 1024x768 <myserver> -K

Of course <myserver> should be the name of your server. e.g.
[code]rdesktop -g 1024x768 prodserver -K

Last edited by rarsa on Sun 10 Sep 2006, 23:24; edited 3 times in total
Back to top
View user's profile Send private message Visit poster's website 
John Doe

Joined: 01 Aug 2005
Posts: 1689
Location: Michigan, US

PostPosted: Sun 04 Sep 2005, 04:15    Post subject:  

moritzes wrote:
The PPTP w/ MPPE support (needed for connecting to Microsoft VPN's) looks a bit more difficult.


I'm hoping we can get this in the next release. My first post in the suggestion group sums up my thoughts:

http://www.murga.org/%7Epuppy/viewtopic.php?t=1936

I made an appeal to Barry tonight with some links (not the best links, but I'm hoping they help) to source and I'm hoping he hears out plea.

(5th message in the thread)

http://www.murga.org/%7Epuppy/viewtopic.php?t=1997

I like to envision a Forbes 500 company's network admin at a corporate board meeting being asked a question and whiping out a usb pen to vpn into the corporate Windows AD network and fix some problem on the spot with a random terminal. As he/she triumphantly proclaims, "we can do that right now, I've got puppy linux here".
Back to top
View user's profile Send private message 
dvw86


Joined: 04 May 2005
Posts: 636
Location: Washington State

PostPosted: Mon 05 Sep 2005, 18:20    Post subject:  

rarsa,
I get an error while running the install script

Code:

chkconfig: No such file or directory
./vpn_install: 47: Syntax error: "(" unexpected
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Mon 05 Sep 2005, 20:24    Post subject:  

dvw86 wrote:
./vpn_install: 47: Syntax error: "(" unexpected


Oops, that was an oversigtht on my part. You need the bash shell. I think I got it when installing the mrxvt DotPup. mrxvt is a more functional terminal console than rxvt. It's small, it can be transparent, it can have tabbed terminal windows, etc.

You can find it on the DotPups wikki http://www.goosee.com/puppy/wikka/DotPupsContributions
Back to top
View user's profile Send private message Visit poster's website 
dvw86


Joined: 04 May 2005
Posts: 636
Location: Washington State

PostPosted: Mon 05 Sep 2005, 22:29    Post subject:  

rarsa wrote:

Oops, that was an oversigtht on my part. You need the bash shell. I think I got it when installing the mrxvt DotPup. mrxvt is a more functional terminal console than rxvt. It's small, it can be transparent, it can have tabbed terminal windows, etc.


I have mrxvt and Bash as well, but I still get the error.
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Mon 05 Sep 2005, 23:35    Post subject:  

I'm flabbergasted,

I have no clue why.

Do you have bash linked to sh maybe?
Are you executing it from within mrxvt?

The offending line is the following
function getvalue() {

The way you call functions is different between bash and sh.

the first line on the script is:
#!/usr/bin/env bash

If I I change it to use sh, then I get exactly the same error as you.

make sure that your bash is the real bash and not a link to sh.
Back to top
View user's profile Send private message Visit poster's website 
dvw86


Joined: 04 May 2005
Posts: 636
Location: Washington State

PostPosted: Tue 06 Sep 2005, 00:28    Post subject:  

rarsa wrote:

make sure that your bash is the real bash and not a link to sh.

Yes I am executing it from mrxvt.
/usr/bin/env is a symlink to BusyBox, but Bash is the acctual Bash and not a link to sh.
Back to top
View user's profile Send private message 
BenyBen

Joined: 29 Nov 2005
Posts: 11

PostPosted: Tue 29 Nov 2005, 22:58    Post subject:  

Same issue here. Followed your instructions rarsa, and get the same error message.
Back to top
View user's profile Send private message 
rarsa


Joined: 29 May 2005
Posts: 3053
Location: Kitchener, Ontario, Canada

PostPosted: Tue 29 Nov 2005, 23:29    Post subject:  

what puppy are you using?
Back to top
View user's profile Send private message Visit poster's website 
BenyBen

Joined: 29 Nov 2005
Posts: 11

PostPosted: Wed 30 Nov 2005, 12:07    Post subject:  

Hi there. It's puppy 1.01 (I just got it 2 days ago) and I am running it off a flash key if that makes a difference.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 4 [49 Posts]   Goto page: 1, 2, 3, 4 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0579s ][ Queries: 13 (0.0119s) ][ GZIP on ]