![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Networking & Wireless Having problems getting connected to the internet or getting your wireless card to work? Ask here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
First Cup of Ubuntu
![]() Join Date: Jul 2009
Beans: 1
|
Checkpoint VPN with Ubuntu 9.04
Anyone have any advice on trying to connect to a Checkpoint VPN with Ubuntu 9.04
I've used the following steps so far with no help. I've also tried running firefox from Root after these steps as some others have suggested again with no fix. Any advice on this is greatly appreciated. 1- get the SNX archive on checkpoint, go checkpoint website download section and get “SNX R66 HFA 01 For Linux 800004013 “ 2- install the package (#./snx_install.sh) you will probably get an error message : snx: symbol lookup error: snx: undefined symbol: cerr 3- you need a special library to get the snx client working : libstdc++2.10-glibc2.2. download 4- install it with dpkg (#dpkg -i libstdc++2.10-glibc2.2) 5- update your env variable : #LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3 snx |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2006
Beans: 8
|
Re: Checkpoint VPN with Ubuntu 9.04
Need to get this working for work..
When I searched I got this file from checkpoint. Check_Point_SNX_R66_HFA_01_For_Linux_800004013.sh Different? Or did I look in the wrong place? regards Arif |
|
|
|
|
|
#3 | ||||
|
5 Cups of Ubuntu
![]() Join Date: Jul 2006
Beans: 22
Ubuntu 6.06
|
Quote:
Quote:
Quote:
Download all 3 debs in the same directory and, open a console in this directory and run Code:
$sudo dpkg -i *.deb Quote:
Code:
$sudo -s #export LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3 #./Check_Point_SNX_R66_HFA_01_For_Linux_800004013.sh The message of install should be successful: congratulations! exit sudo session and run snx to test: Code:
#exit $snx -s HOSTNAME -u VPN_LOGIN Code:
$snx -d Code:
server HOSTNAME username VPN_LOGIN reauth yes debug 1 Code:
$snx I attach the 3 mentionned debs for later references, but preferably get them from the above links as they are mirrored! Berteh. |
||||
|
|
|
|
|
#4 |
|
First Cup of Ubuntu
![]() Join Date: Oct 2008
Beans: 1
|
Re: Checkpoint VPN with Ubuntu 9.04
Thank you sir. Worked like a charm on 9.10 as well.
|
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Dec 2009
Location: Bogotá, Colombia
Beans: 1
Ubuntu 9.04 Jaunty Jackalope
|
Re: Checkpoint VPN with Ubuntu 9.04
Berteh,
My Ubuntu is 64 bits. The libstdc++2.10-glibc2.2 package is available only for 32bit so I got all the old packages for i386 arch, installed them forcing the architecture: dpkg -i --force-architecture gcc-3.3-base_3.3.6-15ubuntu4_i386.deb libstdc++2.10-glibc2.2_2.95.4-24_i386.deb libstdc++5_3.3.6-15ubuntu4_i386.deb After that, I exported the LD_PRELOAD: export LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3 When intalling Check_Point_SNX_R66_HFA_01_For_Linux_800004013.sh I got the following error: ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. Installation successfull ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. ERROR: ld.so: object '/usr/lib/libstdc++-libc6.2-2.so.3' from LD_PRELOAD cannot be preloaded: ignored. So, while the message "Installation successfull" is present I tried to run snx command and this is the output: -su: /usr/bin/snx: No such file or directory Finally, the uname -a command if this helps: Linux decebal 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux Could you please help me with some advice? Thanks however. Regards, Arturo |
|
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2010
Location: Czech republic
Beans: 8
Ubuntu 9.10 Karmic Koala
|
Re: Checkpoint VPN with Ubuntu 9.04
I am also struggling to get this working on 64bit Karmic Koala.
This forum helped me a lot: http://ubuntuforums.org/showthread.php?t=340307&page=6 Especially posts #21 and #57 were helpful for me. Finally, i think it should work correctly. When i type "snx", I get: Code:
a username or a certificate were not supplied
Check Point's Linux SNX
build 700001030
usage: snx -s <server> {-u <user>|-c <certfile>} [-l <ca dir>] [-p <port>] [-r] [-g] [-e <cipher>]
run SNX using given arguments
snx -f <cf> run the snx using configuration file
snx run the snx using the ~/.snxrc
snx -d disconnect a running SNX daemon
-s <server> connect to server <server>
-u <user> use the username <user>
-c <certfile> use the certificate file <certfile>
-l <ca dir> get trusted ca's from <ca dir>
-p <port> connect using port <port>
-g enable debugging
-e <cipher> SSL cipher to use: RC4 or 3DES
Code:
sudo snx -s Gateway -u My_username
__________________
liedan Last edited by liedan; January 2nd, 2010 at 03:22 PM.. |
|
|
|
|
|
#7 |
|
First Cup of Ubuntu
![]() Join Date: Jan 2010
Location: Czech republic
Beans: 8
Ubuntu 9.10 Karmic Koala
|
Re: Checkpoint VPN with Ubuntu 9.04
Ok, now it´s worknig fine for me. All I needed was reinstallation.
However, I was messing up with so many thing that i am not sure, what was the key for my success. I installed all libraries mentioned by berteh. And I commented 4 lines with the trap cleanup in snx_install.sh according to this forum: http://ubuntuforums.org/showthread.php?t=340307&page=3 ,post #21. And that was it I think. Hope it helps.
__________________
liedan |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|