• Category Archives Uncategorized
  • Symantec Backup Exec Remote Agent 11d on Ubuntu Feisty

    By crmanski

    I found a very helpful article on installing the Remote Agent for Linux on Ubuntu here: http://www.ubuntux.org/ubuntu-veritas-backup-exec-and-you

    Below are the steps I used on Feisty Server. Note: Change to root first: sudo su (as the admin account)

    1. I registered my serial numbers and downloaded the latest .tar.gz for all agents. (called BEWS_11D.7170_LINUX-UNIX-MAC-NT4_AGENTS.2.tar.gz at this time.)

    2. Changed the port that webmin was running on (if you have it installed)

    3. Inside this file I found this folder: “cdimgpkgsLinux”. I zipped that up and uploaded it to a directory in the admin accounts home folder and then extracted VRTSralus.tar.gz and VRTSvxmsa.tar.gz to that folder (~/packages/backupexec/Linux on mine)

    4. Install required packages: apt-get install libstdc++2.10-glibc2.2 libstdc++5 alien

    (Note: I tried this on two servers. One failed and the /var/VRTSralus/beremote.service.log said that it could not find libstdc.so something or other. When comparing the two servers packages libstdc++5 was the only one missing.)

    5. Add users and groups…

    groupadd beoper

    adduser root beoper

    6. cd ~/packages/backupexec/Linux

    7. alien -d *.rpm

    8. dpkg -i *.deb

    9. cp /opt/VRTSralus/bin/VRTSralus.init /etc/init.d/VRTSralus.init

    10. chmod a+x /etc/init.d/VRTSralus.init

    11. /etc/init.d/VRTSralus.init start

    Note: After having trouble on another server (The agent would crash everytime I connected to it with the server to do a backup) I added this to the /etc/services file…

    grfs 6101/tcp # Backup Exec Agent
    ndmp 10000/tcp # Network Data management Protocol (Veritas Backup Exec)
    webmin 10101/tcp

    Thanks to this page on this suggestion…
    http://newvibes.net/index.php/veritas-backup-exec-agent-for-unix-linux-on-debian

    Technology:


  • Testing the Linksys WAP200-2

    By crmanski

    AUC.BERLINWALL.ORG-DOS

    Today I tried out a couple of the newer Linksys WAP200 wireless access points. These are a little more pricey than the older WAP54G that I’ve used. They include a lot more features such as: VLANs, Multiple SSIDs, expanded logging features, etc. The configuration is pretty much straight forward. The IP configure options have two more boxes for DNS servers configuration. These were not present in the older models. So thinking nothing too much it I filled those in, setup the security and some of the other options, made a backup and put them into the field. As the day was going on I noticed connections dropping to my DNS servers from my Big Brother system monitor. I received a huge logcheck email that was filled with tons of entries that looked like this…

    System Events
    =-=-=-=-=-=-=
    May 22 14:02:03 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=61209 SEQ=16911
    May 22 14:02:04 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64780 SEQ=15654
    May 22 14:02:05 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64780 SEQ=15910
    May 22 14:02:06 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=2324 SEQ=51481
    May 22 14:02:07 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=2324 SEQ=51737
    May 22 14:02:08 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64780 SEQ=16678
    May 22 14:02:09 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64780 SEQ=16934
    May 22 14:02:10 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=2324 SEQ=52505
    May 22 14:02:11 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=21264 SEQ=26400
    May 22 14:02:12 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=21264 SEQ=26656
    May 22 14:02:13 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64769 SEQ=38457
    May 22 14:02:14 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64769 SEQ=38713

    After a few hours Big Brother looked like this for one of my DNS servers…

    So to stop this insanity from happening to the network I removed the DNS entries from the network settings and the Default Gateway. The devices seem much quieter now.

    Edit: Acutally this remedy did not work and the next morning I had the same problems. I sent these things back and got the older model (WAP54G) that is about 1/2 the price…

    Technology:


  • Testing the Linksys WAP200

    By crmanski

    Today I tried out a couple of the newer Linksys WAP200 wireless access points. These are a little more pricey than the older WAP54G that I’ve used. They include a lot more features such as: VLANs, Multiple SSIDs, expanded logging features, etc. The configuration is pretty much straight forward. The IP configure options have two more boxes for DNS servers configuration. These were not present in the older models. So thinking nothing too much it I filled those in, setup the security and some of the other options, made a backup and put them into the field. As the day was going on I noticed connections dropping to my DNS servers from my Big Brother system monitor. I received a huge logcheck email that was filled with tons of entries that looked like this…

    System Events
    =-=-=-=-=-=-=
    May 22 14:02:03 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=61209 SEQ=16911
    May 22 14:02:04 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64780 SEQ=15654
    May 22 14:02:05 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64780 SEQ=15910
    May 22 14:02:06 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=2324 SEQ=51481
    May 22 14:02:07 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=2324 SEQ=51737
    May 22 14:02:08 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64780 SEQ=16678
    May 22 14:02:09 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64780 SEQ=16934
    May 22 14:02:10 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=2324 SEQ=52505
    May 22 14:02:11 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=21264 SEQ=26400
    May 22 14:02:12 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=21264 SEQ=26656
    May 22 14:02:13 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64769 SEQ=38457
    May 22 14:02:14 legolas kernel: Inbound IN=eth0 OUT= MAC=ff:ff:ff:ff:ff:ff:00:1a:70:30:46:54:08:00 src= DST= LEN=84 TOS=0x00 PREC=0x00 TTL=64 ID=0 DF PROTO=ICMP TYPE=8 CODE=0 ID=64769 SEQ=38713

    After a few hours Big Brother looked like this for one of my DNS servers…

    So to stop this insanity from happening to the network I removed the DNS entries from the network settings and the Default Gateway. The devices seem much quieter now.

    Edit: Actually this remedy did not work and the next morning I had the same problems. I sent these things back and got the older model (WAP54G) that is about 1/2 the price…

    Technology:

  • Nice Japanese Translator Extension for Firefox-2

    By crmanski

    I was happy to recieve one of my latest podcasts from japanesepod101.com. It mentioned a firefox extension called “Rikaichan” that would translate the translation of a Japanese word in a webpage and translate it to either English, German, French or Russian. This software is free and licensed under GNU General Public License v2. Homepage: http://www.polarcloud.com/rikaichan/


  • Nice Japanese Translator Extension for Firefox

    By crmanski

    I was happy to recieve one of my latest podcasts from japanesepod101.com. It mentioned a firefox extension called “Rikaichan” that would translate the translation of a Japanese word in a webpage and translate it to either English, German, French or Russian. This software is free and licensed under GNU General Public License v2. Homepage: http://www.polarcloud.com/rikaichan/


  • Setting Global Defaults in Firefox on LSTP-2

    By crmanski

    First to set the Proxy settings we need to edit the file called all.js in the greprefs folder and find the line that starts with proxy.type. Here is how to do this…

    1. When logged onto the machine as an admin user open the Terminal and type..
    sudo gedit /usr/share/firefox/greprefs/all.js

    This will open the all.js in gedit text editor, search for the string “proxy.type” (Press CTRL+F) and change it to look something like this. Just replace your relevant information…

    pref(“network.proxy.type”, 1);
    pref(“network.proxy.ftp”, “YourIPAddressToProxy”);
    pref(“network.proxy.ftp_port”, 8080);
    pref(“network.proxy.gopher”, “YourIPAddressToProxy”);
    pref(“network.proxy.gopher_port”, 8080);
    pref(“network.proxy.http”, “YourIPAddressToProxy”);
    pref(“network.proxy.http_port”, 0);
    pref(“network.proxy.ssl”, “YourIPAddressToProxy”);
    pref(“network.proxy.ssl_port”, 0);
    pref(“network.proxy.socks”, “YourIPAddressToSocks”);
    pref(“network.proxy.socks_port”, 0);
    pref(“network.proxy.socks_version”, 5);
    pref(“network.proxy.socks_remote_dns”, false);
    pref(“network.proxy.no_proxies_on”, “localhost, 127.0.0.1, .yourlocal.domains”);

    Now to set the Home Page and other preferences.

    To do this we need to edit this file like above in the terminal….

    sudo gedit /etc/firefox/pref/firefox.js

    // disable search suggestions by default. This prevents queries going to the
    // internet for every letter that is typed into the search box.
    pref(“browser.search.suggest.enabled”, false);
    //Setup Home…
    pref(“browser.startup.homepage”, “http://szone.berlinwall.org”);
    pref(“browser.startup.homepage_reset”, “http://szone.berlinwall.org/welcome”);

    Just change the URLs in there to reflect your desired default homepage for any account on the machine.

    Another thing that I like to disable by default is the search suggestion feature. Open up this file and search for “suggest” and change the true to false…

    // Disable search suggestions by default
    pref(“browser.search.suggest.enabled”, false);

    Technology:


  • Setting Global Defaults in Firefox on LSTP

    By crmanski

    First to set the Proxy settings we need to edit the file called all.js in the greprefs folder and find the line that starts with proxy.type. Here is how to do this…

    1. When logged onto the machine as an admin user open the Terminal and type..
    sudo gedit /usr/share/firefox/greprefs/all.js

    This will open the all.js in gedit text editor, search for the string “proxy.type” (Press CTRL+F) and change it to look something like this. Just replace your relevant information…

    pref(“network.proxy.type”, 1);
    pref(“network.proxy.ftp”, “YourIPAddressToProxy”);
    pref(“network.proxy.ftp_port”, 8080);
    pref(“network.proxy.gopher”, “YourIPAddressToProxy”);
    pref(“network.proxy.gopher_port”, 8080);
    pref(“network.proxy.http”, “YourIPAddressToProxy”);
    pref(“network.proxy.http_port”, 0);
    pref(“network.proxy.ssl”, “YourIPAddressToProxy”);
    pref(“network.proxy.ssl_port”, 0);
    pref(“network.proxy.socks”, “YourIPAddressToSocks”);
    pref(“network.proxy.socks_port”, 0);
    pref(“network.proxy.socks_version”, 5);
    pref(“network.proxy.socks_remote_dns”, false);
    pref(“network.proxy.no_proxies_on”, “localhost, 127.0.0.1, .yourlocal.domains”);

    Now to set the Home Page and other preferences.

    To do this we need to edit this file like above in the terminal….

    sudo gedit /etc/firefox/pref/firefox.js

    // disable search suggestions by default. This prevents queries going to the
    // internet for every letter that is typed into the search box.
    pref(“browser.search.suggest.enabled”, false);
    //Setup Home…
    pref(“browser.startup.homepage”, “http://szone.berlinwall.org”);
    pref(“browser.startup.homepage_reset”, “http://szone.berlinwall.org/welcome”);

    Just change the URLs in there to reflect your desired default homepage for any account on the machine.

    Another thing that I like to disable by default is the search suggestion feature. Open up this file and search for “suggest” and change the true to false…

    // Disable search suggestions by default
    pref(“browser.search.suggest.enabled”, false);

    Technology:


  • Application Choices on the LTSP Server-2

    By crmanski

    ~Application Choices~

    Application choices for LTSP have been a trial and error process. If you do not want your client machines using a certain program the rule of thumb is do not install it on the server. The base install of ubuntu/edubutu comes with Gaim (Instant messanging), Kino (DV video editing) and others applications that would either put a heavy load on the LTSP server of violate your acceptable use policies(AUP).

    Notes on Removing Default Packages:

    When you remove default applications it also removes a meta-package called either “ubuntu-desktop” or “edubuntu-desktop”. this sounds alarming at first but it does not break the system. Later on, If you are going to upgrade to a new release (dist-upgrade) then you will want to re-add this package because the new release will most likely have other needed packages included under this meta-package.

    Removing an Installation Package:

    To remove the applications use Synaptic Package Manager. Right-click on the package and choose “Mark for Complete Removal” and then Apply.

    Technology:


  • Application Choices on the LTSP Server

    By crmanski

    ~Application Choices~

    Application choices for LTSP have been a trial and error process. If you do not want your client machines using a certain program the rule of thumb is do not install it on the server. The base install of ubuntu/edubutu comes with Gaim (Instant messanging), Kino (DV video editing) and others applications that would either put a heavy load on the LTSP server of violate your acceptable use policies(AUP).

    Notes on Removing Default Packages:

    When you remove default applications it also removes a meta-package called either “ubuntu-desktop” or “edubuntu-desktop”. this sounds alarming at first but it does not break the system. Later on, If you are going to upgrade to a new release (dist-upgrade) then you will want to re-add this package because the new release will most likely have other needed packages included under this meta-package.

    Removing an Installation Package:

    To remove the applications use Synaptic Package Manager. Right-click on the package and choose “Mark for Complete Removal” and then Apply.

    Technology:


  • Silent Remote Installation of Mozilla Firefox 2.x-2

    By crmanski

    This is an example of how to deploy firefox remotely to your windows based domain client machines using psexec with proxy settings. First you need to download the latest 7-zip from here: www.7-zip.org after you have that installed find your firefox installer package. As of this articles writing the name of this file was “Firefox Setup 2.0.0.3.exe”. Right-click on it and choose the following…

    Once the package unzips go into the directory called Firefox Setup 2.0.0.3 and have a look around.

    Home Page Setup:
    The first folder is called “localized” open the file called “browserconfig.properties” with wordpad and edit the urls to reflect the homepage that you want your clients to have. In my case the file looked like this when I was done…
    browser.startup.homepage=http://www.berlinwall.org
    browser.startup.homepage_reset=http://www.berlinwall.org
    There is also a prefs.js file in the localizeddefaultsprofile directory. You can add entries here is you like and they will be the default preferences. Having a look at about:config will give an idea of options that you can set: http://www.mozilla.org/support/firefox/edit#aboutconfig

    Proxy Settings:
    The proxy settings can be set in all.js file found in the nonlocalizedgreprefs folder. Search for the phrase proxy.type to jump to the part we are looking for. By default the value is 0 (no proxy). Setting the value to 1 will enable the proxy. If you have auto detection setup on your network you can use 4. If your proxy was 192.168.1.1:8080 then you would make the file look like this…

    pref(“network.proxy.type”, 1);
    pref(“network.proxy.ftp”, “192.168.1.1”);
    pref(“network.proxy.ftp_port”, 8080);
    pref(“network.proxy.gopher”, “192.168.1.1”);
    pref(“network.proxy.gopher_port”, 8080);
    pref(“network.proxy.http”, “192.168.1.1”);
    pref(“network.proxy.http_port”, 8080);
    pref(“network.proxy.ssl”, “192.168.1.1”);
    pref(“network.proxy.ssl_port”, 8080);
    pref(“network.proxy.socks”, “192.168.1.1”);
    pref(“network.proxy.socks_port”, 1080);
    pref(“network.proxy.socks_version”, 5);
    pref(“network.proxy.socks_remote_dns”, false);
    pref(“network.proxy.no_proxies_on”, “localhost, 127.0.0.1,.192.168.1.1 , yourlocalserver.com”);

    There are a lot other settings in this file. Take a long look at it and make any changes you would like.

    Disabling Talkback.
    If you do not want your users being bothered to file crash reports then delete this directory: optionalextensionstalkback@mozilla.org

    Disabling Suggested Searches
    If you do not want hundreds of queries for search suggestions every time a single letter is typed in the search bar then open this file: nonlocalizeddefaultspreffirefox.js and search for “suggest”. You should find: pref(“browser.search.suggest.enabled”, true);
    Change it to: pref(“browser.search.suggest.enabled”, false);

    Disabling Application Updates
    In the firefox.js there is a line that looks like this: pref(“app.update.enabled”, true); Change that to: pref(“app.update.enabled”, false); and then your clients will not check for updates automatically.
    There are many other preferences in this file. Take a look at it and make any other changes you like.

    Remote Deployment
    Use the method that I share on this page: http://szone.berlinwall.org/win32/DeployinganInstallationPackagetoMultipleClients

    The batch file for firefox would be a little different than the example in that article. Something like this should work…

    echo “checking for Installers directory on the target…”
    if not exist %1C$installers mkdir %1C$installers
    if not exist %1C$installersfirefox2.0.0.3 mkdir %1C$installersfirefox2.0.0.3
    echo “copying Firefox install to install directory…”
    xcopy “MyServerUpdatesfirefox2.0.0.3*” “%1C$installersfirefox2.0.0.3” /e /y
    echo “Installing Firefox…”
    psexec.exe %1 “c:installersfirefox2.0.0.3setup.exe” -ms
    echo “All Done.”
    Credits: http://www.appdeploy.com/packages/detail.asp?id=357 (For the silent install switch)

    Update here: http://cswtech.wordpress.com/2010/03/23/silent-remote-installation-of-mozilla-firefox-3-x/