Add Debian Multimedia Repositories to you BOSS 4.0 Installation

March 13, 2011

BOSS is derived from Debian, BOSS 4.0 Savir is derived from Debian 6.0(Squeeze). With the previous versions of BOSS installing packages from Debian repositories almost always led to a broken apt due various incompatibilities. However, BOSS 4.0 seems to have overcome this, I’ve been able to install Avidemux on BOSS 4.0 after having added the Debian Multimedia Repositories to BOSS 4.0. The Debian Multimedia Repositories contain multimedia packages that are not included in the Debian’s main/contrib/non-free repositories due to patents and other problems. Avidemux is a cross platform video editing tool, it currently is not present in the BOSS 4.0 Savir repositories. Heres how I installed Avidemux on BOSS 4.0 from the Debian Multimedia Repositories:

Open root terminal(Applications>Accessories>Root Terminal), then type

#gedit /etc/apt/sources.list

sources.list contains the software repositories you BOSS GNU Linux installation is set to look up for packages, we’ll add the Debian Multimedia repository here by typing in the following line at the end of the file:

deb http://www.debian-multimedia.org squeeze main non-free

Save the file and then close gedit.

Then back on the root terminal type the following command to download the Debian Multimedia keyring:
#wget http://debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2010.12.26_all.deb

Then type the following command to install the keyring on your machine:

#dpkg -i debian-multimedia-keyring_2010.12.26_all.deb

You are now all set to update your apt-cache(this is a list of available software) so as to include the Debian Multimedia Packages, type the following command to update apt.
#apt-get update.

Thats it, you now have access to Debian’s Multimedia Repositories on you BOSS 4.0 installation. You can now open up Synaptic and install packages from the Debian Multimedia Repositories or use aptitude or apt-get to do so.

Avidemux on BOSS4 Screenshot

Avidemux on BOSS4 Screenshot

Heres a link on converting videos for playing them on Nokia phones using Avidemux: http://forum.dailymobile.se/index.php?topic=20227.0. The how to describes the conversion process using Avidemux on Windows, but the steps are valid for the the Linux too.

Note: This is still a little risky, as there may be applications on the Debian Multimedia repositories which maybe incompatible with BOSS 4.0, so use it at your own risk and only if you really need it. I would suggest trying out package installation on a Virtual Machine before doing it on your main machine.

Advertisements

Using SCP to securely copy files over a network on BOSS GNU/Linux

August 18, 2010

SCP is used to Securely CoPy files over the network.

The syntax for copying a file from a remote computer onto your machine is:
scp -r <username@ipaddress:/path_to_file_at_source_computer> <destination>
the -r can be omitted if you are not copying directories.
Here username is the name of a user a/c on the computers between which the data is being transferred

To copy a file or directory from your machine to another machine on a network is:
scp -r <destination> <username@ipaddress:/path_to_file_at_source_computer>
Note that the -r option is only needed if its a directory thats being copied.

An example, I want to copy /home/boss/docs from a computer on the network with IP address 192.168.1.101 onto my local machine(i.e., the machine iam using). I would use the following command:
scp -r boss@192.168.1.101:/home/boss/docs .
Here boss is a user account on the computer I want to copy files from. On typing this command you’ll be prompted for the password to the account boss. Once thats done, you’ll see the files being copied from the source computer onto your current directory. The ‘.’ here us used to indicate the present working directory (pwd).You can replace it with any directory on your local computer that you can write into.


Accessing files on another BOSS Linux system on a network via GUI (sftp)

June 5, 2010

Windows user are familiar with clicking Start then Run followed by an IP address to access shared folders on a computer on the network. For those looking for something similar on BOSS Linux(or any other Linux distribution) sftp is the solution. The following works on GNOME.

Press ALT+F2. This brings up the Run Application dialog. In here type
nautilus sftp://username@IPaddress
Where username is the user name you are going to use for logging into the remote system and IPaddress is the remote system’s IP Address.

For example: Typing nautilus sftp://boss@10.0.1.11 would allow me to login to a computer on my LAN with the IP Address 10.0.1.11 as user : boss

This will bring up another dialog which will prompt you for the user name’s password.Once you are done typing in the password Nautilus will bring up the files on the remote system.

Note if you simply type nautilus sftp://IPAddress into the Run Application dialog. GNOME assumes that you are trying to login to the remote machine with same username as the one you currently logged in using.


Fix: Network not working on Debian / BOSS Linux / Ubuntu Virtual Machines after being imported into VirtualBox

June 3, 2010

Before exporting Debian / BOSS Linux / Ubuntu Appliances in VirtualBox remember to delete the following file:
/etc/udev/rules.d/70-persistent-net.rules
i.e. run
rm /etc/udev/rules.d/70-persistent-net.rules
as root user on Debian / BOSS Linux
and
sudo rm /etc/udev/rules.d/70-persistent-net.rules
On Ubuntu

If you have already imported the Virtual Machine (a.k.a. appliance) then edit/etc/network/interfaces
change eth0 to eth1, i.e., eth to eth


How to start VirtualBox VMs via command line

May 22, 2010

To start a VM via command line type the following:
VBoxManage startvm “VM_NAME”

For example: VBoxManage statvm “Solaris”


Internet access via proxy server on BOSS Linux

May 15, 2010

Most people have internet connections via a proxy server, for instance in schools and colleges or even offices. Configuring BOSS Linux to connect to the internet over a proxy server is simple.

Click on System>Preferences>Network Proxy

Enter you proxy server settings there(in the HTTP Proxy field), you’ll need the proxy server’s IP address, the port number (usually port 80 is used). If you proxy server has been setup to ask users for a user name and a password you’ll have to click the Details button and enter you user name and password. This information should be available with your Network Administrator.

Heres a video of the setting up Network Proxy Details in BOSS Linux (with the GNOME desktop environment). Note that these settings are not BOSS specific and should work on any Linux Distribution that has GNOME as the desktop Environment.

This video illustrates the procedure for setting up System wide network proxy settings on BOSS Linux. To access the internet through your network proxy using Iceweasel Web broswer all you have to do is click(in Iceweasel) Edit>Preferences>Advanced>Network>Settings… and select the Use System Proxy Settings button.


Sun VirtualBox on BOSS Linux

May 14, 2010

Heres a brief how to on installing Sun VirtualBox on EduBOSS,

1.Open a Root Terminal(Applications>Accessories>Root Terminal)
2.Add VirtualBox to apt sources.
#gedit /etc/apt/sources.list
add the line: deb http://download.virtualbox.org/virtualbox/debian lenny non-free
3.After saving the file and closing Gedit, Update apt.
#apt-get update
4.Download Sun’s public key for apt-secure from
here:http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc
5. Add it using the following command.
#apt-key add sun_vbox.asc
6.Now download and install VirtualBox 3.1 via apt-get(or via Synaptic Package Manager)
#apt-get install virtualbox-3.1
7.We’re done, exit out of the root terminal and open VirtualBox via
Applications>System Tools> Sun VirtualBox (if you don’t see the menu
option type VirtualBox on terminal, you’ll see the menu the next time
you login).

Here are two terms you’ll hear a lot related to Virtualization tools:

Host OS: This is the OS on which VirtualBox (or any other Virtualization Suite) is installed.

Guest OS: This refers to the OSes running within VirtualBox(or any other Virtualization Suite) on the Host OS.

Using a Virtualization tool has several advantages, lots of people use windows within VirtualBox while running Linux as the host operating system.  This allows them to access all their favorite windows applications from within Linux without having to reboot into windows each time. Virtualization technology has progressed to point where the speed differences between running an OS on actual hardware and in a Virtualized environment are more or less insignificant for most everyday applications(Office suites etc).

It can also let you try out different distributions without having to partition your hard disks.  Besides, it saves you from the hassle of having to burn DVDs each time you decide to try out a new OS.

You’ll need plenty of RAM though, have a look at the system requirements specifications of the distributions you are installing so that sufficient RAM can be assigned.

Heres a screenshot of a VirtualBox running on EduBOSS.

Screenshot displaying Sun VirtualBox running in EduBOSS

Sun VirtualBox on EduBOSS