Installing the AT&T Global Network Client on Ubuntu 10.04 Lucid Lynx 64 bit

The AT&T global network client is a 32 bit application, that with a bit of messing with it will run perfectly fine on Ubuntu 10.04 64 bit.

Here are the steps that I came up with that worked for me:

  • make sure you have the 32 bit compatibility package installed, `sudo apt-get install ia32-libs` will do the trick
  • Install getlibs from http://frozenfox.freehostia.com/cappy/getlibs-all.deb
  • Download the client from agnclient-2.0.1-ubuntu
  • Unzip the file
  • from the command line, install all three packages using `sudo dpkg –force-all -i <package.deb>` – I installed agnclient_1.0.1-1_i386.deb first, then the gtk package, then the dev package
  • Use getlibs to install the necessary libraries. I only needed libssl, so I did `sudo getlibs -p libssl0.9.8`
  • I then had to create some symbolic links so that the client would work properly, so in /lib32, i ran `sudo ln -s libssl.so.0.9.8 libssl.so.4` and `sudo ln -s libcrypto.so.0.9.8 libcrypto.so.4`
  • To verify that everything works properly, I checked the linking of the various programs to ensure that they were linking against the proper libraries, here is what I got
  • chuck@silverstone:/opt/agns/bin$ ldd NetVPN
    linux-gate.so.1 =>  (0xf7727000)
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf76e5000)
    libssl.so.4 => /lib32/libssl.so.4 (0xf769f000)
    libcrypto.so.4 => /lib32/libcrypto.so.4 (0xf754b000)
    libdl.so.2 => /lib32/libdl.so.2 (0xf7547000)
    libc.so.6 => /lib32/libc.so.6 (0xf73ed000)
    /lib/ld-linux.so.2 (0xf7728000)
    libz.so.1 => /usr/lib32/libz.so.1 (0xf73d8000)
  • chuck@silverstone:/opt/agns/bin$ ldd agnclient
    linux-gate.so.1 =>  (0xf773b000)
    libagnLogc.so.1 => /opt/agns/lib/libagnLogc.so.1 (0xf7736000)
    libagnc.so.1 => /opt/agns/lib/libagnc.so.1 (0xf772c000)
    libpthread.so.0 => /lib32/libpthread.so.0 (0xf76ec000)
    libm.so.6 => /lib32/libm.so.6 (0xf76c6000)
    libdl.so.2 => /lib32/libdl.so.2 (0xf76c2000)
    libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf72ed000)
    libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf7257000)
    libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf723a000)
    libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf7220000)
    libpangoxft-1.0.so.0 => /usr/lib32/libpangoxft-1.0.so.0 (0xf7218000)
    libpangox-1.0.so.0 => /usr/lib32/libpangox-1.0.so.0 (0xf720b000)
    libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf71c8000)
    libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf7188000)
    libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf7183000)
    libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf717d000)
    libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf70b3000)
    libxml2.so.2 => /usr/lib32/libxml2.so.2 (0xf6f89000)
    libc.so.6 => /lib32/libc.so.6 (0xf6e2e000)
    /lib/ld-linux.so.2 (0xf773c000)
    libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf6e22000)
    libX11.so.6 => /usr/lib32/libX11.so.6 (0xf6d05000)
    libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf6d01000)
    libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf6cfd000)
    libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf6cf6000)
    libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf6c7c000)
    libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf6bde000)
    libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf6bb7000)
    libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf6b41000)
    libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf6b10000)
    librt.so.1 => /lib32/librt.so.1 (0xf6b07000)
    libXext.so.6 => /usr/lib32/libXext.so.6 (0xf6af7000)
    libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf6aed000)
    libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf6ae9000)
    libXi.so.6 => /usr/lib32/libXi.so.6 (0xf6ada000)
    libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf6ad2000)
    libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf6ac8000)
    libXft.so.2 => /usr/lib32/libXft.so.2 (0xf6ab4000)
    libz.so.1 => /usr/lib32/libz.so.1 (0xf6a9f000)
    libpcre.so.3 => /lib32/libpcre.so.3 (0xf6a6d000)
    libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf6a53000)
    libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf69f9000)
    libdirectfb-1.2.so.0 => /usr/lib32/libdirectfb-1.2.so.0 (0xf6982000)
    libfusion-1.2.so.0 => /usr/lib32/libfusion-1.2.so.0 (0xf6978000)
    libdirect-1.2.so.0 => /usr/lib32/libdirect-1.2.so.0 (0xf6961000)
    libpng12.so.0 => /lib32/libpng12.so.0 (0xf693c000)
    libxcb-render-util.so.0 => /usr/lib32/libxcb-render-util.so.0 (0xf6937000)
    libxcb-render.so.0 => /usr/lib32/libxcb-render.so.0 (0xf692f000)
    libresolv.so.2 => /lib32/libresolv.so.2 (0xf691b000)
    libselinux.so.1 => /lib32/libselinux.so.1 (0xf68ff000)
    libexpat.so.1 => /lib32/libexpat.so.1 (0xf68d8000)
    libXau.so.6 => /usr/lib32/libXau.so.6 (0xf68d4000)
    libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf68ce000)
  • you might need to install additional libraries, use getlibs to do it as shown above (my system had some libraries on it before I started the install that yours might not have)
  • restart the daemon with `sudo /etc/init.d/agnclientd restart`
  • try opening the client from the applications menu under the internet category and connecting
  • If something goes wrong, check the logs in /var/log/agns

Good Luck!

    • Jeremy
    • October 26th, 2010

    Why did my connection fail after authentication?

    10/26 13:43:03.558 [140F] CSC vpn connection completed, vpn_rc = -1
    10/26 13:43:03.558 [140F] CSC vpnProcessingThread() end.
    10/26 13:43:04.105 [1527] GUI agnState changed from 200 to 300.
    10/26 13:43:04.106 [140F] CSC STATE received.
    10/26 13:43:04.106 [140F] CSC FSM: VPN connect attempt complete.
    10/26 13:43:04.107 [140F] CSC FSM: VPN conn. attempt failed
    10/26 13:43:04.108 [1527] GUI agnState changed from 300 to 600.
    10/26 13:43:04.109 [140F] CSC FSM: status code=0, SLR result code=0.
    10/26 13:43:04.109 [140F] CSC SLR1000 – SLRVPNAttemptComplete() was called.
    10/26 13:43:04.109 [140F] CSC SLR1002 – Logging ‘”VPNCON”,”2156468614337855211″,”00:00:00:00:00:00″,”2010-10-26″,”13.43.04″,”LENU”,”LU04780″,”0.0.0.0″,”_2.00.01.3000″,”0″,”B”,3,1,0,”6″,”0.0.0.0″,”0.0.0.0″,,,0,0,48983670,2584018,,”default”,”English”,”N”,”Linux 2.6.32-25-generic i686″,”0.0.0.0″,,”vs”,”0″,,”cscotun0″,,,”0″,0,0,”0″,”0″,0,0,1,6,”0″,,1’
    10/26 13:43:04.110 [140F] CSC SLR3007 – VPN connection (2156468614337855211) was logged.
    10/26 13:43:04.110 [1527] GUI agnState changed from 600 to 10.
    10/26 13:43:04.131 [1527] GUI Connecting status ‘Authentication succeeded.’
    10/26 13:43:04.132 [1527] GUI Connecting status ‘Connecting to VPN server…’
    10/26 13:43:04.135 [140F] CSC STATE received.
    10/26 13:43:04.160 [140F] CSC CONNECTATTEMPTINFO received.
    10/26 13:43:04.187 [1527] GUI Window state changed to ‘Not connected.’.
    10/26 13:43:04.187 [140F] CSC STATE received.

      • Ray
      • May 30th, 2011

      Hi Jeremy,

      I get exact same problem. Were you able to resolve it ?

      Please let me know.

      Thanks,
      Ray.

  1. I’m not quite sure, I only tested this configuration on the IBM VPN and it worked fine there. It might be a server side setting that needs to be adjusted to allow the linux clients to connect.

  2. Thanks for writing these instructions. I’ve been trying to install on Ubuntu 12.04.1 , and am getting the following message:

    — begin paste —

    sudo dpkg –force-all -i agnclient_1.0.1-1_i386.deb
    dpkg: error: need an action option

    Type dpkg –help for help about installing and deinstalling packages [*];
    Use `dselect’ or `aptitude’ for user-friendly package management;
    Type dpkg -Dhelp for a list of dpkg debug flag values;
    Type dpkg –force-help for a list of forcing options;
    Type dpkg-deb –help for help about manipulating *.deb files;

    Options marked [*] produce a lot of output – pipe it through `less’ or `more’

    — end paste —

    Can you help? Thanks.

  3. sorry for the delay, are you on 32bit or 64 bit? i recently spun up a deb package for 64bit ubuntu that i use daily

  4. I’m trying to install on Ubuntu 12.04.1 64-bit.

    Removing the -force-all seemed to work, but I’m getting broken pipe messages.

    — being paste —

    $ sudo dpkg -i agnclient-gtk_1.0.1-1_i386.deb
    Selecting previously unselected package agnclient-gtk:i386.
    (Reading database … 189621 files and directories currently installed.)
    Unpacking agnclient-gtk:i386 (from agnclient-gtk_1.0.1-1_i386.deb) …
    dpkg: error processing agnclient-gtk_1.0.1-1_i386.deb (–install):
    trying to overwrite ‘/etc/ld.so.conf.d/agns.conf’, which is also in package agnclient:i386 1.0.1-1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Processing triggers for desktop-file-utils …
    Processing triggers for bamfdaemon …
    Rebuilding /usr/share/applications/bamf.index…
    Processing triggers for gnome-menus …
    Errors were encountered while processing:
    agnclient-gtk_1.0.1-1_i386.deb

    $ sudo dpkg -i agnclient-dev_1.0.1-1_i386.deb
    Selecting previously unselected package agnclient-dev:i386.
    (Reading database … 189621 files and directories currently installed.)
    Unpacking agnclient-dev:i386 (from agnclient-dev_1.0.1-1_i386.deb) …
    Setting up agnclient-dev:i386 (1.0.1-1) …

    $ getlibs
    Reading package lists… Done

    — end paste —

    I continued with the instructions … /lib32, i ran `sudo ln -s libssl.so.0.9.8 libssl.so.4` and `sudo ln -s libcrypto.so.0.9.8 libcrypto.so.4`

    How what?

    — begin paste —

    $ sudo /etc/init.d/agnclientd restart
    sudo: /etc/init.d/agnclientd: command not found
    $

    — end paste —

  5. try:

    sudo dpkg -r agnclient agnclient-gtk

    that might fail if one of the 2 is not installed, so you might have to run the command twice with each package individually listed

    then download:

    http://www.charliemeyer.net/blog/wp-content/uploads/2010/06/agnclient_1.0~2.0.1.3003-1.1_amd64.deb

    Install that using:

    sudo dpkg -i agnclient_1.0~2.0.1.3003-1.1_amd64.deb

    After that, cd to /opt/agns/bin

    run:

    ldd NetVPN

    example:

    chuck@sepang:/opt/agns/bin$ ldd NetVPN
    linux-gate.so.1 => (0xf77b5000)
    libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7772000)
    libssl.so.4 => /usr/lib/i386-linux-gnu/libssl.so.4 (0xf7723000)
    libcrypto.so.4 => /usr/lib/i386-linux-gnu/libcrypto.so.4 (0xf75aa000)
    libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf75a5000)
    libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf7400000)
    /lib/ld-linux.so.2 (0xf77b6000)
    libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf73ea000)

    if it shows any of the libraries are not available, you will need to install them using apt-get. For example:

    sudo apt-get install libssl0.9.8:i386

    after installing all the libraries, run the ldd command again. it might still report missing libraries. In that case, you will need to make symlinks. The version of this deb file was compiled against a system image that has the libraries in different locations. For example, on my system I have:

    chuck@sepang:/opt/agns/bin$ ls -al /usr/lib/i386-linux-gnu/libcrypto.so.4
    lrwxrwxrwx 1 root root 42 Aug 27 17:27 /usr/lib/i386-linux-gnu/libcrypto.so.4 -> /usr/lib/i386-linux-gnu/libcrypto.so.0.9.8
    chuck@sepang:/opt/agns/bin$ ls -al /usr/lib/i386-linux-gnu/libssl.so.4
    lrwxrwxrwx 1 root root 39 Aug 27 17:26 /usr/lib/i386-linux-gnu/libssl.so.4 -> /usr/lib/i386-linux-gnu/libssl.so.0.9.8

    hope that helps!

  6. by the way, that process worked for me on Ubuntu 12.04.1 64 bit

  1. No trackbacks yet.