Who needs Windows if you have Linux!

I haven’t written any windows troubleshooting steps for awhile coz I’ve been very busy using my Linux Box. I have completely removed windows on my laptop and now i have a complete Linux on my Dell Inspiron 6400 running Ubuntu Linux 7.04. I’ve started using Ubuntu since 2004 but not until now that I realize how powerful Linux Desktop is when Ubuntu released their 6.06 that is when I started to dual boot my Laptop. My Desktop is running on Windows XP Dual Boot with Bayanihan Linux 4. But when Ubuntu Released 7.04 that’s when I completely removed Windows XP on my laptop.
So Why did I chose Linux, simply because I haven’t seen any pop-ups when I browse, No virus for almost 6 months, No Blue Screen Of Death, No more restarting, No Hang Time and Best of All it’s free. When I say free it’s not as free as a beer it’s free as in speech.(Free Software Foundation). Why would you use pirated software when you can use free legal software. Here some of the counterparts of Windows Software to Linux.
Microsoft Office………………Open Office
Photoshop……………………….Gimp
Internet Explorer…………….Mozilla Firefox
Microsoft Outlook…………..Mozilla Thunderbird
Here are my Screenshots.




So why would you choose Linux over Windows, it is up to you.
Next time i’ll post how i customize my Linux Desktop. Till then, Act now before it’s too late. :>
How to enable Dell 6400 dvd/cdrom combo drive in BL4 (Debian)
Edit Grub menu list file
localhost:~# mcedit /boot/grub/menu.lst
edit or the line
# kopt=root=/dev/sda7 ro libata.atapi_enabled=1 hdb=ide-scsi vga=0×317 splash quiet resume=/dev/sda8
update the grub menu.lst
localhost:~# update-grub
then restart your computer
Hope this helps
How to Install Firefox 2 in Bayanihan Linux 4 Beta 2
What is new in Firefox 2 ?If you want to know what is new in Firefox 2 click here
Installing Firefox2 in Bayanihan Linux 4 Beta 2
Prepare your system
sudo apt-get install libstdc++5
Now you need to backup your old firefox prferences
sudo cp -R ~/.mozilla ~/.mozillabackup
Now you need to download Firefox 2 from Mozilla site
wget -c ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/2.0/linux-i686/en-GB/firefox-2.0.tar.gz
Unzip the .tar.gz file in /opt directory using the following command
sudo tar -C /opt -xzvf firefox-2.0.tar.gz
Now you need to link the plugins using the following command
cd /opt/firefox/plugins/
sudo ln -s /usr/lib/mozilla-firefox/plugins/* .
Now you need to create a link to your new firefox launcher using the following command
sudo dpkg-divert –divert /usr/bin/firefox.bayanihan –rename /usr/bin/firefox
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
sudo dpkg-divert –divert /usr/bin/mozilla-firefox.bayanihan –rename /usr/bin/mozilla-firefox
sudo ln -s /opt/firefox/firefox /usr/bin/mozilla-firefox
This will complete the installation of firefox 2
Happy Installing ……
How to automatically Mount NTFS and Fat32 Partition in Bayanihan Linux 4
First Lets look for our NTFS and Fat32 Partition
localhost:~# sudo fdisk -l
you’re looking for NTFS and Fat32, the output should look like this
Disk /dev/hda: 41.1 GB, 41110142976 bytes
255 heads, 63 sectors/track, 4998 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 4909 39327120 83 Linux
/dev/hda3 4910 4998 714892+ 82 Linux swap / Solaris
Disk /dev/hdb: 81.9 GB, 81964302336 bytes
16 heads, 63 sectors/track, 158816 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 60945 30716248+ 7 HPFS/NTFS
/dev/hdb2 60946 158786 49311517+ f W95 Ext’d (LBA)
/dev/hdb5 60946 101586 20482843+ b W95 FAT32
/dev/hdb6 101586 102479 449788+ 82 Linux swap / Solaris
/dev/hdb7 102479 158786 28378791 83 Linux
localhost:~#
in this case hdb1 is the NTFS Partition and hdb5 is the FAT32 partition, now lets create a mount point for our partition. This is a folder into which this disk will be mounted.We will put it in the /media directory so it’ll show up on the desktop.
localhost:~# sudo mkdir /media/ntfs
localhost:~# sudo mkdir /media/fat32
Now let’s make a backup of our fstab
localhost:~# sudo cp /etc/fstab /etc/fstab.bak
lets edit the fstab
localhost:~# mcedit /etc/fstab
append the following line just below the /dev/cdrom
/dev/hdb1 /media/ntfs ntfs nls=utf8,umask=0222 0 0
/dev/hdb5 /media/fat32 vfat iocharset=utf8,umask=000 0 0
now press F2 to save and F10 to exit. now to remount fstab without rebooting
localhost:~# sudo mount -a
or just reboot to make changes take effect……. ![]()
Bayanihan Linux 4 Repositories
Since BL4 is now debian-based, you can use the official debian sarge repositories. Add the following lines to your /etc/apt/sources.list file:
| Code: |
| deb http://ftp.debian.org/debian sarge main contrib non-free deb http://security.debian.org/ sarge/updates main contrib non-free |
If you need to compile programs that use KDE widgets (UI), add the lines below to get the development headers for Xorg6.8.2 and KDE3.5:
| Code: |
| deb http://www.backports.org/debian/ sarge-backports main |
Run apt-get update and use either aptitude (recommended) or synaptic (GUI) to select the packages you would like installed/upgraded.
Thanks to RAGE Callao for this info.
How to setup BL4 as a gateway server
Before you begin configuring your gateway server you need to have 2 NIC installed on your PC. Also you need to edit first your BL4 to allow root login. see tutorial on how to enable root login. after you configure your server i suggest to disable root login once you are done.
1. Software that must be installed on your BL4 computer.
firestarter , dhcp3-server, iptables, webmin, webmin-dhcpd
2. Software that must be uninstalled.
guarddog
3. configure your synaptic
k-menu / system / synaptic package manager
add the following in the repositories
settings / repositories then add the following repositories
url : distribution: sections:
http://ftp.debian.org/debian/ sarge main contrib non-free
http://security.debian.org/ sarge/updates main contrib non-free
http://www.backports.org/debian/ sarge-backports main
after adding the repositories click reload, it will reload the software available for the distro.
4 . mark all softwares that needs to be installed. it will automatically configured and it will ask you for the option.
5. This is the tricky part configuring your dhcp server.
edit dhcpd.conf — kmenu / system / root terminal
mcedit /etc/dhcp3/dhcpd.conf
ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.0 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option domain-name-servers 203.84.191.216, 203.87.128.3, 203.87.128.4;
option ip-forwarding off;
range dynamic-bootp 192.168.0.100 192.168.0.254;
default-lease-time 21600;
max-lease-time 43200;
}
press F2 to save and F10 to exit
mcedit /etc/network/interfaces
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth1
iface eth1 inet dhcp
auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
press F2 to save and F10 to exit
start your dhcp server
/etc/init.d/dhcp3-server restart
6. open firefox browser and type https://localhost:10000/ then login as root
click server tab and edit the dhcp module
DHCP server config file: /etc/dhcp3/dhcpd.conf
DHCP server executable: /usr/sbin/dhcpd3
Command to start DHCP server: /etc/init.d/dhcp3-server start
Command to apply configuration: /etc/init.d/dhcp3-server restart
| Path to DHCP server PID file | |
| DHCP server lease file | |
| Interfaces file type : webmin |
|
7. run firestarter
firestarter and it will open a wizard, just follow the wizard instruction and your ready to go with your gateway server.
How to Login as root in Bayanihan Linux 4 Beta 2
1. Open root terminal and enter administrator password.
2. In the terminal window type mcedit /etc/kde3/kdm/kdmrc
3. Press F7 and look for AllowRootLogin
4. Edit AllowRootLogin=False to AllowRootLogin=true
5. Press F2 to save.
6. Reboot your PC and you may now Login as root.
Thanks to RAGE for this HACK. ![]()
How to setup Bayanihan Linux 3.1 for broadband connection (DHCP Mode)
To start the broadband modem configuration and setup your DSL modem in Bayanihan Linux 3.1, go to your Bayanihan Linux main menu, choose System Settings > Connectivity then Network Configuration.This will start the Network Configuration tool.Here you will ensure that your ethernet device is properly configured to allow automatically receiving an IP address and your service provider’s information including your account id and password is setup — if needed.On the Network Configuration screen, select your ethernet device (eth0) and press the Edit button.

You should now see the Ethernet Device screen.

Make sure that you have cleared out all information under the Statically set IP addresses field, and then selected the radio (round) button labeled Automatically obtain IP address settings with dhcp and the check box to also automatically obtain DNS.
Now click OK to return to the Network Configuration window.
Now its time to activate your ethernet device. Select the device from the list and then click the Activate button.
By doing so, you will enable the device to retrieve the DSL or Cable service provider IP address for your connection automatically.
You should then see an information window appear similar to this:

Once the system-config-network window disappears, you should be connected to the internet and enjoy surfing websites.
However, I always recommend at this point to reboot your Linux PC. This will ensure that all configuration changes are enabled. Once your Linux system is back up and you are able to use your desktop, you’re ready to enjoy broadband internet connectivity.
Open your Mozilla web browser and enjoy!!!
What if you don’t have an ethernet device listed?
This could be a serious problem with your ethernet card installation. Or, much more likely, it may simply mean that you need to manually install either an ethernet device or a DSL connection device.
Sometimes Fedora does not automatically recognize your ethernet card for internet use. In the rare event that your ethernet card was not available from the list, even after you have doubled checked that it is properly installed, try the following steps to get your Cable modem or DSL modem connection working.
There are two options to follow, and for this web excerpt I’ve included the more typical option.
Add a new broadband modem device to the list by following these steps:
From the Network Configuration window, press the New button. Usually, either your Cable or DSL modem configuration can be activated by simply creating an ethernet device configuration.

Choose Ethernet connection as the device type to create. Click Forward to continue.
Do not select the xDSL or other options.
You will be given the chance to double check which physically present ethernet card you want to configure. Make sure the correct item is highlighted and press Forward again.

On the Configure Network Settings window be sure that the Automatically obtain IP address… button is selected. Also select the check box option to Automatically obtain DNS . . . as shown below.

You can now click Forward, check the summary of changes, and click the Apply button. You should see the Network Configuration window.
From here, select the new ethernet device and press the Activate button. A small window will appear and then disappear. Once the window is gone, you should be connected to your internet service provider and may begin using a web browser.
How to Mount NTFS Partition in Linux
Mount NTFS partition in Bayanihan Linux -
1. Open Terminal Window
2. su root
3. enter root password
4. Create folder
mkdir /media/windows
5. Mount NTFS partition to the created folder
mount /dev/hdd1 /media/windows/ -t ntfs -o nls=utf8,umask=0222
6. Open the folder using konqueror and your done.
/media/windows
Mount NTFS partition in Ubuntu Linux -
sudo mkdir /media/windows
sudo mount /dev/hda1 /media/windows/ -t ntfs -o nls=utf8,umask=0222
Unmount NTFS partition in Ubuntu Linux –
sudo umount /media/windows/
Mount FAT partition in Ubuntu Linux -
sudo mkdir /media/windows
sudo mount /dev/hda1 /media/windows/ -t vfat -o iocharset=utf8,umask=000
Unmount FAT partition in Ubuntu Linux –
sudo umount /media/windows/
