Thursday, 26 April 2012
Changing Default Browser in Linux
Whenever I have an application spawning a web page, it always either opened in winebrowser (which doesn't work, and just causes the machine to spike on cpu) or Firefiox (which I don't regularly use unless something doesn't work in chrome).
For some reason clicking Make Google Chrome Default Browser in Chrome has no effect.
So I ran
sudo update-alternatives --config x-www-browser
Which presented me some choices
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/google-chrome 200 auto mode
1 /opt/firefox/firefox 70 manual mode
2 /usr/bin/google-chrome 200 manual mode
3 /usr/bin/iceweasel 70 manual mode
Chrome was already set but wasn't working. Perhaps the "auto mode" had something to do with it. I entered the choice 2 at the prompt and now chrome opens as the default browser.
Tuesday, 24 April 2012
Changing splash / lock screen
I'm not a big fan of the very white Linux Mint login / lock screen. So I decided to change it to match my desktop background, which is a typical dark thinkpad theme that I've been using on all my machines for years.
Here's how to make the change:
cd /usr/share/backgrounds/linuxmint
sudo ln -sf .jpg default_background.jpg
sudo ln -sf .jpg Talento-1.jpg
sudo rm /var/lib/gdm3/.cache/wallpaper/*
Not sure if you can use BMPs or other images. Since my background image is a BMP, I decided to play it safe and convert it to a JPG rather then find out the hard way.
Sunday, 22 April 2012
Current Status of Linux Installs (all systems)
. | X20 / X21 | X22 / X23 / X24 | X60 | X61 | X61T Touch | X61T SXGA | T420 | HP dv6900 | ||
. | architecture | 32bit | 32bit | 32bit | 64bit w/ VT | 64bit w/ VT | 64bit w/ VT | 64bit w/ VT | 64bit | |
. | memory | 320-384MB | 640MB | 3GB | 8GB | 8GB | 8GB | 8GB | 4GB | |
. | distributions | Ubuntu Server 10.10 | - | Ubuntu Server 11.10 | - | LMDE x64 | - | LMDE x64 | LMDE x64 | |
. | tested kernels | 2.6.x | - | 2.6.x | - | 3.2.x / 3.3.x | - | 3.2.x / 3.3.x | 3.2.x / 3.3.x | |
. | fingerprint reader | |||||||||
. | pen digitizer | ubuntu - work debian - doesn't work ABI mismatch | ubuntu - work debian - doesn't work ABI mismatch | |||||||
. | touchscreen / finger | ubuntu - works but not calibrated debian - doesn't work ABI mismatch | ||||||||
. | rotate button | needs script | needs script | |||||||
. | wlan | required 3rd party kernel modules | ||||||||
. | wlan power management (PM) support | broken after 2.6.30 | ||||||||
. | wlan model | 3900 | 4965 | ? | Centrino | RealTek | ||||
. | ethernet | disable PM or won't survive toggle | ||||||||
. | ultrabay | need scripts | ||||||||
. | hdpas | must manually patch | ||||||||
. | EC advanced battery function (stop / start charge) | API broken, must use acpi_call | ||||||||
. | tp_smapi | must patch | ||||||||
. | thinkfan (fan control) | |||||||||
. | Undervolting support - PHC kernel | tested through liqorix | tested through liqorix | tested through liqorix | tested through liqorix | |||||
. | stable PHC VIDs | 23 21 4 0 | 0 0 0 0 | |||||||
. | integrated graphics | |||||||||
. | stable integrated parameters | i915 | i915 | i915 | i915 | |||||
. | discrete graphics | requires 3rd party kernel module | ||||||||
. | ||||||||||
. | virtualbox | |||||||||
. | vmware | |||||||||
. | ||||||||||
. | TP hotkeys | n/a | ||||||||
. | wireless hotkey | need script for bluetooth toggle | need script for bluetooth toggle | need script for bluetooth toggle | need script for bluetooth toggle | |||||
. | ||||||||||
. | hibernate | ? | battery charge deterioration unless method = shutdown | ? | battery charge deterioration unless method = shutdown | |||||
. | suspend | |||||||||
. | ||||||||||
. | firewire | |||||||||
. | cardbus eSATA | random kernel panics on SATA I/O | random kernel panics on SATA I/O | |||||||
. | expresscard eSATA | |||||||||
. | SD reader | |||||||||
. | CF reader | |||||||||
. | modem | ? | ? | ? | ? | ? | ? | ? | ? |
Freezing Linux Mint Debian Edition (LMDE) to Gnome2 (avoiding Update Pack 4)
To pevent accidental upgrade to Gnome 3.2, I've locked my repositories to Gnome 2. Planning on testing Gnome 3.2 at a later time. When I briefly used Linux Mint 12 (which uses Gnome 3.2), I was suffering the random X Server crashes and freezes that appears countless others (including official Ubuntu users) were as well: https://bugs.launchpad.net/linuxmint/+bug/889706
Gnome 3.4 apparently fixes the stability issue experienced in Gnome 3.2. I have not tested LMDE Gnome 3.2 (that is with Update Pack 4), but I am initially assuming the same problem exists with this distribution as with Linux Mint 12 that uses Gnome 3.2. I will eventually test Gnome 3.2 unless Gnome 3.4 is released for testing or experimental use in the Debian repositories relatively soon.
Update /etc/sources.list to (obviously replacing the existing lines, where appropriate, not adding to):
deb http://packages.linuxmint.com/ debian main upstream import
deb-src http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/gnome2-frozen testing main contrib non-free
deb http://debian.linuxmint.com/gnome2-frozen/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/gnome2-frozen/multimedia testing main non-free
deb-src http://packages.linuxmint.com/ debian main upstream import
deb http://debian.linuxmint.com/gnome2-frozen testing main contrib non-free
deb http://debian.linuxmint.com/gnome2-frozen/security testing/updates main contrib non-free
deb http://debian.linuxmint.com/gnome2-frozen/multimedia testing main non-free
Installing CheckPoint / SNX on Linux
CheckPoint / SNX
Instructions for 32bit and 64bit Debian and Ubuntu based distributions: Last updated 2012-04
64bit:
Info:
installed to -
/usr/bin/snx
/etc/snx
library info:
linux-gate.so.1 => (0xf7737000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75fd000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf75e4000)
libresolv.so.2 => /lib32/libresolv.so.2 (0xf75d0000)
libdl.so.2 => /lib32/libdl.so.2 (0xf75cc000)
libpam.so.0 => /lib32/libpam.so.0 (0xf75c0000)
libnsl.so.1 => /lib32/libnsl.so.1 (0xf75a9000)
libstdc++.so.5 => /usr/lib32/libstdc++.so.5 (0xf74ee000)
libc.so.6 => /lib32/libc.so.6 (0xf7392000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7379000)
/lib/ld-linux.so.2 (0xf7738000)
libcrypt.so.1 => /lib32/libcrypt.so.1 (0xf7347000)
libm.so.6 => /lib32/libm.so.6 (0xf7321000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7303000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7300000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf72fb000)
/etc/snx
library info:
linux-gate.so.1 => (0xf7737000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf75fd000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf75e4000)
libresolv.so.2 => /lib32/libresolv.so.2 (0xf75d0000)
libdl.so.2 => /lib32/libdl.so.2 (0xf75cc000)
libpam.so.0 => /lib32/libpam.so.0 (0xf75c0000)
libnsl.so.1 => /lib32/libnsl.so.1 (0xf75a9000)
libstdc++.so.5 => /usr/lib32/libstdc++.so.5 (0xf74ee000)
libc.so.6 => /lib32/libc.so.6 (0xf7392000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf7379000)
/lib/ld-linux.so.2 (0xf7738000)
libcrypt.so.1 => /lib32/libcrypt.so.1 (0xf7347000)
libm.so.6 => /lib32/libm.so.6 (0xf7321000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf7303000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf7300000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf72fb000)
install CheckPoint SNX:
sudo ./Check_Point_SNX_R66_HFA_01_For_Linux_800004013.sh
Create the following ~/.snxrc:
server <IP>
username <email>
username <email>
TIP - If you get the following error on starting:
/usr/bin/snx: symbol lookup error: /usr/bin/snx: undefined symbol: cerr
if required (should not be necessary on modern Debian / Ubuntu)
install libstdc++5_3.3.6
sudo dpkg -i libstdc++5_3.3.6-17ubuntu1_i386.deb
Starting:
(LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3 not necessary on modern Debian / Ubuntu)
LD_PRELOAD=/usr/lib/libstdc++-libc6.2-2.so.3 snx -H
Check Point'S Linux SNX
build 600000013
use: 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 slips by
snx run the snx using the ~/.snxrc
snx -D disconnect has running SNX daemon
-S <server> connect to server <server>
-U <user> uses the username <user>
-C <certfile> uses 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 uses: RC4 gold 3DES
Check Point'S Linux SNX
build 600000013
use: 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 slips by
snx run the snx using the ~/.snxrc
snx -D disconnect has running SNX daemon
-S <server> connect to server <server>
-U <user> uses the username <user>
-C <certfile> uses 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 uses: RC4 gold 3DES
Installing Lotus Notes 8.5.3 on 64-bit Linux
Instructions for 64bit Debian and Ubuntu based distributions: Last updated 2013-01-28
If you need install instructions for a 32-bit Linux, refer to http://ddurdle.blogspot.ca/2013/01/installing-lotus-notes-853-on-32-bit.html
Although the IBM Lotus Notes 8.5.3 was designed for GNOME 2 and has dependencies for GNOME 2 libraries, this install with the instructions provided below will result in IBM Lotus Notes install that will work with almost any window-manager. I confirmed it works with Cinnamon, MATE, and GNOME 3.
Info:
startup -
env LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/emul/ia32-linux/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ /opt/ibm/lotus/notes/framework/../notes-wrapper %Finstalled to -
/opt/ibm/lotus/notes/
/etc/lotus
library info:
linux-gate.so.1 => (0xf7752000)
libnotes.so => /opt/ibm/lotus/notes/libnotes.so (0xf526f000)
libXt.so.6 => /usr/lib32/libXt.so.6 (0xf521d000)
libX11.so.6 => /usr/lib32/libX11.so.6 (0xf5100000)
libdl.so.2 => /lib32/libdl.so.2 (0xf50e1000)
libemulator.so => /opt/ibm/lotus/notes/libemulator.so (0xf4f22000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf4f08000)
libresolv.so.2 => /lib32/libresolv.so.2 (0xf4ef4000)
libdxlo.so => /opt/ibm/lotus/notes/libdxlo.so (0xf4e5b000)
libxpm.so => /opt/ibm/lotus/notes/libxpm.so (0xf4e55000)
libxmlproc.so => /opt/ibm/lotus/notes/libxmlproc.so (0xf4a55000)
libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf4969000)
libm.so.6 => /lib32/libm.so.6 (0xf4942000)
libc.so.6 => /lib32/libc.so.6 (0xf47e6000)
libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf47c9000)
libndgts.so => /opt/ibm/lotus/notes/libndgts.so (0xf47c7000)
libglib-2.0.so.0 => /lib32/libglib-2.0.so.0 (0xf46fe000)
libxmlcommon.so => /opt/ibm/lotus/notes/libxmlcommon.so (0xf46de000)
librt.so.1 => /lib32/librt.so.1 (0xf46d5000)
libSM.so.6 => /usr/lib32/libSM.so.6 (0xf46cd000)
libICE.so.6 => /usr/lib32/libICE.so.6 (0xf46b6000)
libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf469d000)
/lib/ld-linux.so.2 (0xf7753000)
libgtk-x11-2.0.so.0 => /usr/lib32/libgtk-x11-2.0.so.0 (0xf42c6000)
libgdk-x11-2.0.so.0 => /usr/lib32/libgdk-x11-2.0.so.0 (0xf4230000)
libgdk_pixbuf-2.0.so.0 => /usr/lib32/libgdk_pixbuf-2.0.so.0 (0xf4217000)
libpango-1.0.so.0 => /usr/lib32/libpango-1.0.so.0 (0xf41d3000)
libpangoxft-1.0.so.0 => /usr/lib32/libpangoxft-1.0.so.0 (0xf41cc000)
libpangoft2-1.0.so.0 => /usr/lib32/libpangoft2-1.0.so.0 (0xf41a5000)
libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf4167000)
libgnomeprint-2-2.so.0 => /usr/lib32/libgnomeprint-2-2.so.0 (0xf40f3000)
libgnomeprintui-2-2.so.0 => /usr/lib32/libgnomeprintui-2-2.so.0 (0xf40ae000)
libgthread-2.0.so.0 => /usr/lib32/libgthread-2.0.so.0 (0xf40a9000)
libgnomevfs-2.so.0 => /usr/lib32/libgnomevfs-2.so.0 (0xf403f000)
libgnome-2.so.0 => /usr/lib32/libgnome-2.so.0 (0xf402b000)
libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf3fb3000)
libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf3f84000)
libgconf-2.so.4 => /usr/lib32/libgconf-2.so.4 (0xf3f51000)
libcups.so.2 => /usr/lib32/libcups.so.2 (0xf3f05000)
libXcursor.so.1 => /usr/lib32/libXcursor.so.1 (0xf3efc000)
libgnomeui-2.so.0 => /usr/lib32/libgnomeui-2.so.0 (0xf3e64000)
libxml2.so.2 => /usr/lib32/libxml2.so.2 (0xf3d3a000)
libpcre.so.3 => /lib32/libpcre.so.3 (0xf3d06000)
libuuid.so.1 => /lib32/libuuid.so.1 (0xf3d02000)
libXau.so.6 => /usr/lib32/libXau.so.6 (0xf3cff000)
libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf3cfa000)
libpangocairo-1.0.so.0 => /usr/lib32/libpangocairo-1.0.so.0 (0xf3cef000)
libXcomposite.so.1 => /usr/lib32/libXcomposite.so.1 (0xf3ceb000)
libXdamage.so.1 => /usr/lib32/libXdamage.so.1 (0xf3ce8000)
libXfixes.so.3 => /usr/lib32/libXfixes.so.3 (0xf3ce3000)
libatk-1.0.so.0 => /usr/lib32/libatk-1.0.so.0 (0xf3cc7000)
libcairo.so.2 => /usr/lib32/libcairo.so.2 (0xf3c52000)
libgio-2.0.so.0 => /usr/lib32/libgio-2.0.so.0 (0xf3bb5000)
libgmodule-2.0.so.0 => /usr/lib32/libgmodule-2.0.so.0 (0xf3bb1000)
libXext.so.6 => /usr/lib32/libXext.so.6 (0xf3ba2000)
libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf3b99000)
libXinerama.so.1 => /usr/lib32/libXinerama.so.1 (0xf3b96000)
libXi.so.6 => /usr/lib32/libXi.so.6 (0xf3b88000)
libXrandr.so.2 => /usr/lib32/libXrandr.so.2 (0xf3b81000)
libXft.so.2 => /usr/lib32/libXft.so.2 (0xf3b6e000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf3b5a000)
libart_lgpl_2.so.2 => /usr/lib32/libart_lgpl_2.so.2 (0xf3b42000)
libgnomecanvas-2.so.0 => /usr/lib32/libgnomecanvas-2.so.0 (0xf3b0c000)
libdbus-glib-1.so.2 => /usr/lib32/libdbus-glib-1.so.2 (0xf3aed000)
libdbus-1.so.3 => /lib32/libdbus-1.so.3 (0xf3ab3000)
libgnutls.so.26 => /usr/lib32/libgnutls.so.26 (0xf3a1b000)
libavahi-glib.so.1 => /usr/lib32/i386-linux-gnu/libavahi-glib.so.1 (0xf3a16000)
libavahi-common.so.3 => /usr/lib32/libavahi-common.so.3 (0xf3a09000)
libavahi-client.so.3 => /usr/lib32/libavahi-client.so.3 (0xf39f9000)
libutil.so.1 => /lib32/libutil.so.1 (0xf39f5000)
libbonobo-2.so.0 => /usr/lib32/libbonobo-2.so.0 (0xf3995000)
libbonobo-activation.so.4 => /usr/lib32/libbonobo-activation.so.4 (0xf3980000)
libORBit-2.so.0 => /usr/lib32/libORBit-2.so.0 (0xf392b000)
libcanberra.so.0 => /usr/lib32/libcanberra.so.0 (0xf391c000)
libpopt.so.0 => /lib32/libpopt.so.0 (0xf3911000)
libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf38eb000)
libgssapi_krb5.so.2 => /usr/lib32/libgssapi_krb5.so.2 (0xf38bc000)
libkrb5.so.3 => /usr/lib32/libkrb5.so.3 (0xf3809000)
libk5crypto.so.3 => /usr/lib32/libk5crypto.so.3 (0xf37e6000)
libcom_err.so.2 => /lib32/libcom_err.so.2 (0xf37e3000)
libgcrypt.so.11 => /usr/lib32/libgcrypt.so.11 (0xf376f000)
libbonoboui-2.so.0 => /usr/lib32/libbonoboui-2.so.0 (0xf3714000)
libgnome-keyring.so.0 => /usr/lib32/libgnome-keyring.so.0 (0xf36f1000)
libpixman-1.so.0 => /usr/lib32/libpixman-1.so.0 (0xf3698000)
libpng12.so.0 => /lib32/libpng12.so.0 (0xf3674000)
libxcb-render-util.so.0 => /usr/lib32/libxcb-render-util.so.0 (0xf3670000)
libxcb-render.so.0 => /usr/lib32/libxcb-render.so.0 (0xf3668000)
libselinux.so.1 => /lib32/libselinux.so.1 (0xf364d000)
libgailutil.so.18 => /usr/lib32/libgailutil.so.18 (0xf3646000)
libtasn1.so.3 => /usr/lib32/libtasn1.so.3 (0xf3636000)
libORBitCosNaming-2.so.0 => /usr/lib32/libORBitCosNaming-2.so.0 (0xf3631000)
libvorbisfile.so.3 => /usr/lib32/libvorbisfile.so.3 (0xf3628000)
libvorbis.so.0 => /usr/lib32/libvorbis.so.0 (0xf3600000)
libogg.so.0 => /usr/lib32/libogg.so.0 (0xf35fa000)
libtdb.so.1 => /usr/lib32/libtdb.so.1 (0xf35ec000)
libltdl.so.7 => /usr/lib32/libltdl.so.7 (0xf35e4000)
libkrb5support.so.0 => /usr/lib32/libkrb5support.so.0 (0xf35dc000)
libkeyutils.so.1 => /lib32/libkeyutils.so.1 (0xf35d9000)
libgpg-error.so.0 => /usr/lib32/libgpg-error.so.0 (0xf35d5000)
64bit:
install 32bit libraries with getlib (https://launchpad.net/~jcollins/+arc...7Eppa2_all.deb)sudo apt-get install libgnomeprintui2.2-0 ia32-libs ttf-xfree86-nonfree t1-xfree86-nonfreesudo getlibs -p libgnomeprintui2.2-0 libgnomeprint2.2-0 libgnomevfs2-0 libgnomeui-0 libxkbfile1 libstartup-notification0 libsepol1 libselinux1 libgsf-1-114 libgsf-1-dev librsvg2-2 librsvg2-common libavahi-client3 libavahi-common3 libavahi-glib1 libbonoboui2-0 libcroco3 libdbus-1-3 libdbus-glib-1-2 libgnome2-0 libgnomecanvas2-0 libgnome-keyring0 libgnome-menu2 libesd0 gtk2-engines libgnome-desktop-2-17 libmotif4 libmotif3 libgnome-desktop-3-0 libavahi-glib1 gtk2-engines-oxygen gtk2-engines-aurora gtk2-engines-qtcurve gtk2-engines-murrine gtk2-engines-equinox alsa-base alsa-utils iproute gnome-desktop-3-2 liborbit2 libbonobo2-0 libgconf2-4- extract deb (ibm-lotus-notes-8.5.3.i586.deb) and remove the dependence in file UNPACK/DEBIAN/control (make it blank)
dpkg-deb -x ibm-lotus-notes-8.5.3.i586.deb <folder>
- create deb,
dpkg-deb -e ibm-lotus-notes-8.5.3.i586.deb <folder>/DEBIAN
- install the deb of lotus notes,sudo dpkg -i –force-all ibm-lotus-notes-8.5.3.i586.deb
- install gtk hack (from https://github.com/sgh/lotus-notes_gtk2.23.3/)
(validate permissions of libnotesgtkfix.so - make chmod +x notes-wrapper sudo cp notes-wrapper libnotesgtkfix.so /opt/ibm/lotus/notes/
- fix LotusNotes8.5.desktop file in /usr/share/applications
- [Desktop Entry] Encoding=UTF-8 Name=Lotus Notes 8.5 Type=Application Exec=env LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ /opt/ibm/lotus/notes/framework/../notes-wrapper %F Icon=/opt/ibm/lotus/notes/framework/shared/eclipse/features/com.ibm.notes.links.feature_8.5.3.20110916-0921/icons/notes.ico Terminal=false Categories=Application;Office;
- check for missing libraries:
- LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ LANGUAGE=zh_TW.UTF-8 ldd /opt/ibm/lotus/notes/framework/../lnotes
- LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ LANGUAGE=zh_TW.UTF-8 ldd /opt/ibm/lotus/notes/framework/../notes
- LD_LIBRARY_PATH=/opt/ibm/lotus/notes/:/usr/lib32/:/usr/lib32/i386-linux-gnu/ LANGUAGE=zh_TW.UTF-8 ldd /opt/ibm/lotus/notes/framework/../notes2
- Xterm required for initial setup
- When starting the application for the first time, you'll need to agree to a licensing agreement. It appears not everyone has xterm installed as default, or perhaps had become removed. Therefore, install xterm if not already installed
- sudo apt-get install xterm
OPTIONAL: If you are missing the Microsoft fonts, install the following package:
ttf-xfree86-nonfree
Installing AT&T VPN Client on Linux
Instructions for 32bit and 64bit Debian and Ubuntu based distributions: Last updated 2012-04
Info:
installed to - /opt/agns/bin
library info:
NetVPN.sh
linux-gate.so.1 => (0xf77d7000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf77a1000)
libssl.so.6 => not found
libcrypto.so.6 => not found
libdl.so.2 => /lib32/libdl.so.2 (0xf779d000)
libc.so.6 => /lib32/libc.so.6 (0xf7641000)
/lib/ld-linux.so.2 (0xf77d8000)
agnclientd
linux-gate.so.1 => (0xf776d000)
libagnLogc.so.1 => /opt/agns/lib/libagnLogc.so.1 (0xf774d000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf7734000)
libagnc.so.1 => /opt/agns/lib/libagnc.so.1 (0xf772b000)
libc.so.6 => /lib32/libc.so.6 (0xf75cf000)
/lib/ld-linux.so.2 (0xf776e000)
libxml2.so.2 => /usr/lib32/libxml2.so.2 (0xf74a5000)
libdl.so.2 => /lib32/libdl.so.2 (0xf74a0000)
libz.so.1 => /usr/lib32/libz.so.1 (0xf748c000)
libm.so.6 => /lib32/libm.so.6 (0xf7466000)
agnLogd
linux-gate.so.1 => (0xf773e000)
libc.so.6 => /lib32/libc.so.6 (0xf75c5000)
/lib/ld-linux.so.2 (0xf773f000)
Starting the daemons (normally starts on boot up, but you can startup on demand instead):
(as root)
#!/bin/sh
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/agns/lib
export PATH=$PATH:.:/opt/agns/bin:/opt/agns/lib:/opt/agns/bin/skin
agnclientd
agnLogd
If you run into issues while connecting (you accidentally terminate a connection etc), restart the above services.
Connecting:
NetVPN.sh for command line
agnclient gui
agnclientd daemon
I recommend using command line to connect. Edit NetVPN.sh, in particular these three lines:
NETVPN_ACCOUNT="***"
NETVPN_USERNAME="***"
NETVPN_PASSWORD="***"
Make sure the AT&T IP is correct:
SERVICE_MANAGER_ADDRESS="204.146.172.230" # AT&T Production RIG
Ensuring the agnclientd and agnLogd are running;
( ps -ef | grep agn
root 4287 1 0 Apr16 ? 00:01:02 agnclientd
root 4289 1 0 Apr16 ? 00:00:00 agnLogd
)
run (as user);
NetVPN.sh
Installing AT&T VPN client on Linux Mint Debian Edition (or other Debian or Ubuntu based distributions)64bit:
1) installing 32bit compatibility package
sudo apt-get install ia32-libs
sudo apt-get install iceweasel ia32-libs ia32-libs-gtk
- Install getlibs from http://frozenfox.freehostia.com/cappy/getlibs-all.deb
2) download the client from agnclient-2.0.1-ubuntu
3) sudo dpkg –force-all -i <package.deb>
- install agnclient
- install gtk package
- install dev package
3) install necessary libraries
sudo getlibs -p libssl0.9.8
TIP - If get stuck authenticating:
sudo ln -s /lib32/libssl.so.0.9.8 /lib32/libssl.so.4
sudo ln -s /lib32/libssl.so.0.9.8 /lib32/libssl.so.6
sudo ln -s /lib32/libcrypto.so.0.9.8 /lib32/libcrypto.so.4
sudo ln -s /lib32/libcrypto.so.0.9.8 /lib32/libcrypto.so.6
sudo ln -s /usr/lib32/libcurl.so.4.2.0 /usr/lib32/libcurl.so.3
sudo ln -s /lib32/libssl.so.0.9.8 /lib32/libssl.so.6
sudo ln -s /lib32/libcrypto.so.0.9.8 /lib32/libcrypto.so.4
sudo ln -s /lib32/libcrypto.so.0.9.8 /lib32/libcrypto.so.6
sudo ln -s /usr/lib32/libcurl.so.4.2.0 /usr/lib32/libcurl.so.3
TIP - If get stuck authenticating:
Run ldd on NetVPN and check if all library files are setup.
TIP - When running agnclient, if you run into a GTK error:
export GTK_PATH=/usr/lib32/gtk-2.0
32bit:
sudo apt-get install tcl8.4
sudo dpkg -i --force-architecture agnclient_1.0~2.0.1.3003-3_i386.deb
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/agns/lib
export PATH=$PATH:.:/opt/agns/bin:/opt/agns/lib:/opt/agns/bin/skin
/opt/agns/bin
NetVPN.sh for command line
agnclient gui
agnclientd daemon
Wednesday, 18 April 2012
Meanwhile/Sametime in Pidgin Linux Fixed
I've been suffering through this bug for a while:
http://developer.pidgin.im/ticket/58
The issue is that when I initially log into Meanwhile/Sametime, I only see some online users, and not all online users. If I know a certain user is online, I can ping them even though they show offline. And likewise, they see me as online, and can ping me. Eventually, after a prolonged period of logon activity, users who initially appeared offline begin to appear online. However, if I restart Pidgin, the users will appear offline again.
I'm on the latest version of Pidgin (2.10.x). This only occurs in the Linux version as I've been using Pidgin for Windows for years without encountering this issue.
The issue is really with the Meanwhile libraries. On Windows, Pidgin comes with their own compiled DLL. In Linux, Pidgin relies on the libraries installed by your Linux distribution, which means you are at the mercy of your distribution keeping up-to-date on the patches.
Since the issue was known since 2007, I would expect most distributions to have included the patches. However, Debian testing and unstable repositories still don't have the patches (at least the Meanwhile 1.0.2-4 libraries don't have them).
I eventually found someone posted the source and patches here:
http://www.lilotux.net/~mikael/pub/meanwhile/debian/
I downloaded http://www.lilotux.net/~mikael/pub/meanwhile/debian/meanwhile_1.0.2.orig.tar.gz
and the patches (ft_fix.diff, presence_fix_v2.diff, status_timestamp_workaround.diff).
Steps:
1) Unzip/extract the source downloaded (meanwhile_1.0.2.orig.tar.gz)
2) Copy the .diff files into the extracted directory
3) patch -p1 < ft_fix.diff
4) patch -p1 < presence_fix_v2.diff
5) patch -p1 < status_timestamp_workaround.diff
6) ./configure
7) make
Then copy the src/.libs/libmeanwhile.so.1.0.2 to /usr/lib/
Then start Pidgin. It Meanwhile should be fully working (all online users should appear as online).
Subscribe to:
Posts (Atom)