Sean's Musings as a Service

Sean's Musings as a Service

AT&T VPN client on RHEL5

  • Published:
  • categories: linux
  • tags: att-vpn, ibm, linux, redhat-2, server, vpn

Get the latest agnclient rpm from AT&T: ftp://ftp.attglobal.net/pub/custom/ibm_linux/

 wget ftp://ftp.attglobal.net/pub/custom/ibm_linux/agnclient-1.0-2.0.1.3003.i386.rpm

Then install agnclient rpm with no dependencies:

rpm -ivh --nodeps agnclient-1.0-2.0.1.3003.i386.rpm

created symlinks, here is my 5.0 install

[root@ratlsvr ~]# cd /opt/agns/lib
[root@ratlsvr lib]# ls -als
total 60
4 drwxr-xr-x 2 root root 4096 Feb 4 14:35 .
4 drwxr-xr-x 7 root root 4096 Feb 4 14:32 ..
0 lrwxrwxrwx 1 root root 30 Feb 4 14:32 libagnc.so.1 -> /opt/agns/lib/libagnc.so.1.0.0
40 -rwxr-xr-x 1 root root 40909 Feb 18 2008 libagnc.so.1.0.0
0 lrwxrwxrwx 1 root root 33 Feb 4 14:32 libagnLogc.so.1 -> /opt/agns/lib/libagnLogc.so.1.0.0
12 -rwxr-xr-x 1 root root 9671 Feb 18 2008 libagnLogc.so.1.0.0
0 lrwxrwxrwx 1 root root 20 Feb 4 14:35 libcrypt.so.4 -> /usr/lib/libcrypt.so
0 lrwxrwxrwx 1 root root 19 Feb 4 14:35 libcurl.so.3 -> /usr/lib/libcurl.so
0 lrwxrwxrwx 1 root root 18 Feb 4 14:35 libssl.so.4 -> /usr/lib/libssl.so

From my 5.5 machine:

[root@ratlsvr ~]# cd /opt/agns/lib
[root@ratlsvr lib]# ls -als
total 60
4 drwxr-xr-x 2 root root 4096 Feb 4 14:35 .
4 drwxr-xr-x 7 root root 4096 Feb 4 14:32 ..
0 lrwxrwxrwx 1 root root 30 Feb 4 14:32 libagnc.so.1 -> /opt/agns/lib/libagnc.so.1.0.0
40 -rwxr-xr-x 1 root root 40909 Feb 18 2008 libagnc.so.1.0.0
0 lrwxrwxrwx 1 root root 33 Feb 4 14:32 libagnLogc.so.1 -> /opt/agns/lib/libagnLogc.so.1.0.0
12 -rwxr-xr-x 1 root root 9671 Feb 18 2008 libagnLogc.so.1.0.0
0 lrwxrwxrwx 1 root root 20 Feb 4 14:35 libcrypt.so.4 -> /usr/lib/libcrypt.so
0 lrwxrwxrwx 1 root root 19 Feb 4 14:35 libcurl.so.3 -> /usr/lib/libcurl.so.3
0 lrwxrwxrwx 1 root root 18 Feb 4 14:35 libssl.so.4 -> /lib/libssl.so.4

updated /opt/agns/bin/NetVPN.sh

started services

/etc/init.d/agnclientd start
/etc/init.d/agnLogd start

If you intend to run this headless, you will need to have a look at the NetVPN.sh script below to update the account/user/pass information or set that via the environment and you should be ready to go.

/opt/agns/bin/NetVPN.sh

Now to connect run the CLI client or if you have X running the GUI should be working as well, enjoy!

Reference: