This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Toshiba Magnia SG20 LCD Display HOWTO for Astaro Security Gateway V6.x

Well...here we are again. I had a closer look at the systems and this should be the first approach to get this old thing solved. Feedback is welcome! [[:)]]
 
Prerequisites:
- Astaro Security Linux V4 ISO distribution from ftp.astaro.com
- Astaro Security Gateway V6.x already up and running on your SG20
- Read/Write-Access to an FTP-server in your private tcp/ip subnet (e.g. Serv-U)
- A SSH-client (e.g. PuTTY)
- Maybe some Linux knowledge... [;)]
 
 
Abstract:
We try to use the "older" toshiba_translate elf-binary file from Astaro Security Linux V4.x in the newer Astaro Security Gatway Version 6.x.
The toshiba_translate binary is used to convert the output of the ticker.pl perl-script running on the ASG to collect all necessary information so that it fits for the SG20 display.
 
WARNING!
The SG20 is NOT OFFICIALLY SUPPORTED by Astaro for the newer ASG software so all modifications are at your own risk! Modifying the ASG software itself is NOT SUPPORTED either! You could also crash your system or maybe compromise system security.
WARNING!
 
O.K.
Let's start right now. I tried to explain as much as possible to understand what I am doing.
 
Steps to go:
 
1. Download the old Astaro Security Linux V4 ISO distribution from ftp.astaro.com.
Link: ftp://ftp.astaro.com/pub/ASL/v4.0/iso_i386/asl-4.017.iso.gz
 
2. Extract the .iso file from the .gz-archive. (e.G. with TUGZip)
 
3. Get file access to the .iso file by burning the image as a cd or by using a tool for accessing .iso files. (e.g. TUGZip, WinRAR or whatever)
You may also extract the whole .iso file to a directory.
 
3. Copy the astaro_inst.dat file from the install subfolder of the cdrom to some place on your computer.
 
4. Rename astaro_inst.dat to astaro_inst.dat.gz and get access to the .gz file or extract it to a temporary folder by using any archiving tool like TUGZip or WinRAR or whatever
 
5. Take the toshiba_translate file from the user/local/lcd folder contained in the .gz archive
 
6. Put the toshiba_translate file in the outbound directory of your ftp-server.
 
7. Modify the firewall rules on your SG20 to allow FTP connections from the local machine to your personal ftp-server. (e.g. Source:Internal(Address) / Service:Any / Action:Allow / Destination:Internal(Network) )
 
8. Connect via SSH to your SG20 as loginuser by using your favourite SSH client software. (e.g. PuTTY) You current directory should now be /home/login!
 
9. Start the NCFTP ftp-client with the "ncftp" command on your SG20.
 
10. Connect to your own ftp-server with the "open " command.
 
11. Change to the directory where the toshiba_translate file is located by using the "cd" command.
 
12. Activate binary transfer mode by typing "bin".
 
13. Transfer the toshiba_translate file to your SG20 by typing "get toshiba_translate"
 
14. Exit the ftp-client by typing "close" and "quit". You may save a bookmark in ncftp for your ftp-server when you exit the sofware. You should now find the toshiba_translate file by using "ls" in the /home/login directory.
 
15. Change to the root-user by typing "su" and entering your root-password.
 
16. Move the toshiba-translate file to /user/local/lcd by typing "mv /home/login/toshiba_translate /usr/local/lcd".
 
17. Change file ownership for the toshiba_translate file by typing "chown root.root /usr/local/lcd/toshiba_translate".
 
18. Change file execution permissions for the toshiba_translate file by typing "chmod a+x /usr/local/lcd/toshiba_translate".
 
19. Create a file called toshiba.conf by using the vi tool containing the following content:
 
 ------------------------------------------ 
#!/bin/bash
 
if [ $# -eq 1 ]; then
case "$1" in
(start)
/usr/bin/mkfifo /opt/tmpfs/lcd &>/dev/null
killall toshiba_translate &>/dev/null
/usr/local/lcd/toshiba_translate >/dev/ttyS0 /dev/null
;;
(stop)
kill -9 $(ps axf | grep ticker.pl | grep -v grep | awk '{ print $1 }') &>/dev/null
killall toshiba_translate &>/dev/null
rm -f /opt/tmpfs/lcd
;;
(*)
echo "toshiba.conf"
;;
esac
fi
 ------------------------------------------ 
 
- Type "vi"
- Type "i"
- Copy and paste the file content to your ssh terminal software
- Be careful that long line breaks are correct! ("&>/dev/null" and kill command!)
- Hit the  key
- Type ":x!"
 
20. Change file ownership for the toshiba.conf file by typing "chown root.root /usr/local/lcd/toshiba.conf".
 
21. Change file execution permissions for the toshiba.conf file by typing "chmod a+x /usr/local/lcd/toshiba.conf".
 
22. Create a symbolic link in the /etc folder called hw.conf by using the ln-command "ln -s /usr/local/lcd/toshiba.conf /etc/hw.conf".
 
23. Start the LCD-Service on your SG20 by using the following commandline: "/etc/init.d/lcd start"
 
You should see the following message on your terminal:
":: Starting LCD Support done"
 
24. Your finished! The Display shold now show up some runtime information about your SG20! [[:)]]
 
25. Do not forget to remove the FTP Packet Filtering rule from your ASG!
 
If you find something wrong or some typos just tell me...


This thread was automatically locked due to age.