AT&T Global Network Client on Ubuntu Intrepid

AT&T Global Network Client is a VPN client used worldwide by several corporations to provide remote access to their intranet.

AT&T kindly provides a linux package, but in .rpm format (which as fine for me until now, as I was an openSuse user) and not in .deb format for Debian based distros like Ubuntu. You can get the latest .rpm package from here.

I tried converting the package using alien, but the installer didn’t work correctly. After some googling, I found the article “AT&T NetClient Debianizer” from Andre Macedo. Andre provides a utility, ubuntu_rpm2deb.sh, that will calculate dependencies needed and correctly create a .deb package that can be installed in your Ubuntu system. Here are all the steps I used to install AT&T Global Network Client:

# wget ftp://ftp.attglobal.net/pub/client/linux/agnclient-1.0-2.0.1.3000.i386.rpm
# wget http://blog.afmacedo.com/linux/ubuntu_rpm2deb.sh
# chmod a+x ubuntu_rpm2deb.sh
# ./ubuntu_rpm2deb.sh agnclient-1.0-2.0.1.3000.i386.rpm
# sudo dpkg -i agnclient-1.0-2.0.1.3000.i386.rpm

After the installation is complete, we need to start the client’s daemons:

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

And start the client by issuing:

# /opt/agns/bin/agnclient

I occasionally received the following error message when trying to check the status of the daemon:

# /etc/init.d/agnclientd status
/etc/init.d/agnclientd: line 54: [: 13336: binary operator expected
agnLogd is not running.

The error message was caused by having multiple agnclientd processes running. Just stop all of them and start the daemon again:

# sudo killall agnclientd
# sudo /etc/init.d/agnclientd start

Hope this helps!

7 Comments

  1. EMCP_ September 28, 2010

    Dude, you saved my night with this post. got this working on OpenSuse 11.3 !! Mad props.

  2. Ricardo Mendes March 24, 2011

    Hi Vitor,

    Can you help me ?

    root@ubuntu:/usr/local/tst# dpkg -i agnclient_1.0~2.0.1.3003-1.1_amd64.deb
    (Lendo banco de dados … 125304 arquivos e diretórios atualmente instalados).
    Preparando para substituir agnclient 1.0~2.0.1.3003-1.1 (usando agnclient_1.0~2.0.1.3003-1.1_amd64.deb) …
    Desempacotando substituto agnclient …
    Configurando agnclient (1.0~2.0.1.3003-1.1) …
    update-rc.d: warning: /etc/init.d/agnLogd missing LSB information
    update-rc.d: see
    System start/stop links for /etc/init.d/agnLogd already exist.
    update-rc.d: warning: /etc/init.d/agnclientd missing LSB information
    update-rc.d: see
    System start/stop links for /etc/init.d/agnclientd already exist.
    /usr/sbin/invoke-rc.d: 446: /etc/init.d/agnLogd: not found
    invoke-rc.d: initscript agnLogd, action “status” failed.
    /usr/sbin/invoke-rc.d: 446: /etc/init.d/agnclientd: not found
    invoke-rc.d: initscript agnclientd, action “status” failed.

    Processando gatilhos para desktop-file-utils …
    Processando gatilhos para python-gmenu …
    Rebuilding /usr/share/applications/desktop.pt_BR.utf8.cache…
    Processando gatilhos para ureadahead …
    Processando gatilhos para libc-bin …
    ldconfig deferred processing now taking place
    Processando gatilhos para python-support …
    root@ubuntu:/usr/local/tst# ls -las /etc/init.d/agnclientd
    68 -rwxr-xr-x 1 root root 69576 2009-08-10 02:55 /etc/init.d/agnclientd
    root@ubuntu:/usr/local/tst# ls -las /etc/init.d/agnLogd
    16 -rwxr-xr-x 1 root root 15012 2009-08-10 02:55 /etc/init.d/agnLogd
    root@ubuntu:/usr/local/tst# uname -a
    Linux ubuntu 2.6.32-28-generic #55-Ubuntu SMP Mon Jan 10 23:42:43 UTC 2011 x86_64 GNU/Linux
    root@ubuntu:/usr/local/tst#

  3. Are Aliens Real? March 28, 2011

    Nice site…

    you have a nice website Hi your website and fabulous…

  4. gadżety Białystok October 30, 2011

    Interesting stuff, I read about it a lot recently and I’m happy that I found also your article.

Comments are Disabled