Archives for posts with tag: debian

 

Excellent laptop for having a wireless chip which is compatible with stock Debian and FreeBSD installation! This is one of the first hardware I have come across where the OS detected the wireless chip during installation.

Next, I used UEFI based dual boot installation and had to manually add the Debian entry in the BIOS setup. FreeBSD EFI partition got detected out of the box, sweet!

The hardware list from lspci on Debian:

00:00.0 Host bridge: Intel Corporation Broadwell-U Host Bridge -OPI (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Broadwell-U Integrated Graphics (rev 09)
00:03.0 Audio device: Intel Corporation Broadwell-U Audio Controller (rev 09)
00:04.0 Signal processing controller: Intel Corporation Broadwell-U Camarillo Device (rev 09)
00:14.0 USB controller: Intel Corporation Wildcat Point-LP USB xHCI Controller (rev 03)
00:16.0 Communication controller: Intel Corporation Wildcat Point-LP MEI Controller #1 (rev 03)
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection (3) I218-LM (rev 03)
00:1b.0 Audio device: Intel Corporation Wildcat Point-LP High Definition Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #1 (rev e3)
00:1c.3 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #4 (rev e3)
00:1c.4 PCI bridge: Intel Corporation Wildcat Point-LP PCI Express Root Port #5 (rev e3)
00:1d.0 USB controller: Intel Corporation Wildcat Point-LP USB EHCI Controller (rev 03)
00:1f.0 ISA bridge: Intel Corporation Wildcat Point-LP LPC Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation Wildcat Point-LP SATA Controller [AHCI Mode] (rev 03)
00:1f.3 SMBus: Intel Corporation Wildcat Point-LP SMBus Controller (rev 03)
01:00.0 SD Host controller: O2 Micro, Inc. SD/MMC Card Reader Controller (rev 01)
02:00.0 Network controller: Qualcomm Atheros QCA9565 / AR9565 Wireless Network Adapter (rev 01)

 

On Debian everything works fine, but you might want to remove the intel xorg driver(xserver-xorg-video-intel), as that is for hardware older than 2007, with the old driver installed the graphics were not that smooth and the CPU utilization increased.

Other than this I was unable to suspend to RAM when HT was disabled. Enabling HT in BIOS would solve this.

On FreeBSD, the integrated GPU is not yet supported :(, so just command line for now).

Will consider Dell again for my computing.

I prefer using the binary packages included in the repository. The task was to install Redmine and migrate data from an old Redmine(1.4.0) installation running on Debian 6. In this post I will detail the hurdles I faced and solutions.

Installation is easy using Debian’s apt. Follow the official documentation:
https://wiki.debian.org/redmine

After installing Redmine, get configuration files(configuration.yaml, database.yaml) and DB dump from the the older installation.

In my case we were not using plugins and so the configuration summary was:

Copy old database.yaml file and change adapter type to ‘mysql2’ from ‘mysql’, under config directory.
Copy the old configuration.yaml file under config directory.
Copy the attachments directory(named files) under installation directory.
Follow this Redmine guide to upgrade:
https://www.redmine.org/projects/redmine/wiki/RedmineUpgrade

After following above instructions, that is, after loading the DB with data from the dump, run the mysql_secure_installation command on the host. This is necessary as we may not want to set root password and allow remote root login.

Start Apache process and Redmine should work with the passenger module. If it fails for any reason, first check for any visible error messages in Apache’s error log, then check the Redmine configuration files, the .yaml ones that you copied. I spent a whole day believing they were right and the issue lay there.  🙂

Note: kbps = kilo bits per second
kBps = kilo bytes per second

Therefore 1 Mbps= 128 kBps, and 256 kbps=32kBps

Now coming to the topic…

What does offline friendly mean? it means one which is friendly for the users who are not connected to the internet or who have weak/slow internet connection… Like me, Though I have an “Unlimited” broadband(1 Mbps) connection at home, it is capped one which has a fair usage policy. After downloading 5 GB, it is reduced to 256 kbps, which is snail speed compared to what I get initially. So I can’t wait for “ages” to download a piece of software from repositories, this is one of the reason I switched over to Debian from Ubuntu. I once tried to use net install when my speed was 1 Mbps, even then it took around 6hrs!

Debian has all* the software I need in CDs or DVDs or Blu-Ray Disc!, this is very helpful as I can download the images and use them for offline use, thereby reducing the time required to fetch software. And I can save my precious bandwidth for other uses.

You don’t even need to burn these images, you can just mount them and use them directly(and do the same thing for your friend too!)

all* = all free software packages in Main repo, excluding non-free and contrib.

How to do it?

use the following command(as root/ sudo)-

# mount -t iso9660 -o loop   /path/to/the/image/file      /media/cdrom0

check whether the disc is mounted by using the file browser and next

# apt-cdrom add

use this and your sources list is updated to use the disc.

after this unmount the disc by using

# umount /media/cdrom0          **Be Careful its   u-mount  not   un-mount!!

and repeat the above steps for other discs…

example:  mount -t iso9660 -o loop /home/gibran/debian-6.0.2.1-i386-DVD-1.iso  /media/cdrom0

here the image file “debian-6.0.2.1-i386-DVD-1.iso” is in the home folder of the user, the user name here is “gibran”.

Hint: to become root- use “su” command.

You cannot do the same thing with Ubuntu(or any other distro) easily, though it can be done, but I saw the amount of steps and effort required, and that sacred me, Here in India you don’t have continuous power supply or the bandwidth to wait till the whole repo is downloaded, Debian simplifies this.. to a very LARGE extent. My sincere thanks to all the Debian Devs and Free software Devs. Thank you!

Oh well, people may recommend me to use  Pingy/Linux Mint/Ubuntu Ultimate/etc.. I could have used these but the problem is I have got only 512 MB of RAM out of which 32 MB is shared, so effectively I get 480 MB of RAM, and they require a minimum of 512 MB, so these are heavy weights and some include both KDE and GNOME applications!  compare this  to what I get from Debian- XFCE+all extra software I need without GNOME/KDE libs/dependencies… this config consumes around 110 MB of RAM, xorg being the culprit which consumes 42-45 MB, typically on Open Source drivers I have seen it consuming only 20 MB, but I use the closed source Nvidia Drivers, so have to adjust. Even I can run Debian with the full blown GNOME desktop(uses 130 MB of RAM), but XFCE is noticeably faster.

and some others may recommend Slackware, but that will be too advanced for me and I can’t spend my time compiling and resolving dependencies, again Debian has made this easier with is aptitude 🙂 Debian has best of both worlds(and even more),

1) has lots of software (2) which is thoroughly tested and has fairly new version of software(Compared to Cent OS), and (3) is similar to Ubuntu, so as a Ubuntu user for 3+ years I am at home!, (4) is definitely easier than Slackware… I can go on and on.. 🙂

Further Links–>

http://blog.ordinarylad.com/2011/02/how-to-use-debian-iso-for-repository/

PS- I like the KDE, I feel its complete and when I have enough RAM I plan to move to KDE.

Update[10 March 2016]:

Debian is still among one of the offline friendly distributions, but it is not the only one.

I have covered more here => https://kgibran.wordpress.com/2014/01/01/other-floss-operting-systems-which-are-offline-friendly/

My First Post!, four years in GNU/Linux world and I never had to post anything, why?,  all the issues were posted online by one or the other user and a probable solution was already there, it was a matter of using google and some patience.. 🙂

“The best help is to help yourself and the next best is Community Support.”

After Installing Debian 6, I was  unable to hibernate, all I could get was a blank screen which takes me back to my desktop. Hibernation used to work correctly in Lenny, but after much googling I couldn’t get proper solution, what I could get was–

http://debian.stevenrosenberg.net/index.php/2011/02/08/suspendresume-in-debian-squeeze-with-the-stock-2632-and-2637-liquorix-kernels-on-the-lenovo-g555/

Steve Solves his problem by using a newer kernel.

and came across many other Debian Forum posts of similar issue, and somewhere I read that one of the user solved this by installing/removing firmware-linux-nonfree. Installing a new kernel is headache for me, it’s not supported officially and I can’t go through it once again just to get my Nvidia card working, so I tried installing the firmware-linux-nonfree package, rebooted and now my 6 year old Laptop Hibernates!

(Remember to have the necessary packages installed– hibernate and pm-utils and you should have a swap partition which is greater than the amount of RAM, ~1.5 times the size of your RAM)

The issue here could be that Debian 5.0 (Lenny) had the binary blobs /closed source drivers, which were required to get my hardware to hibernate and in Debian 6.0 these were stripped out of kernel and place in a separate package-> firmware-linux-nonfree. This method may work for others, hence the post.Hope this helps someone

PS: Before using any advice from ANY post please check the post date and the version of the software being used.