« Archives in June, 2010

Debian GNU/Linux as Enterprise Desktop #2 – iSeries Access

iSeries access is needed if you have an AS400 or Iseries, so we can start installing...

You need the following packages:

iseriesaccess_6.1.0-2_i386.deb
libmotif3
libstdc++5

install with apt-get or what way you want, then you need to create a file like

/etc/ld.so.conf.d/iseriesaccess.conf

that must contain this line:

/opt/ibm/iSeriesAccess/lib

Now run

user@linux$ sudo ldconfig

Edit file /etc/locale.gen and uncomment line for your lang (for me is “it_IT ISO-8859-1” )
And generate languages with :

root@linux#  locale-gen 

Now setup general emulator options

user@linux$ /opt/ibm/iSeriesAccess/bin/setup5250 

(especialy to column separator)

You are finished... now you can run session with:

user@linux$ /opt/ibm/iSeriesAccess/bin/ibm5250 -LANGID "your_lang" "as400_system"

where "your_lang" is language you specified before in /etc/locale.gen, for me is IT_it
and "as400_system" is ip address or hostname of yout iSeries.