Archive

Archive for the ‘fedora’ Category

Fedora 18 on MacBook Pro

March 16, 2013 13 comments

OSX crashed on me while i was trying to update firmware. Instead of recovering it, i decided to install Fedora 18 on my MacBook.

System Info

lspci

lsusb

cpuinfo

Installation

I had made couple of Fedora 18 x86_64 DVD’s for the Fedora freemedia program. I grabbed one of them and started the installation to find myself dropping into a prompt. Apparently it is one of known issues with the Fedora 18 CD/DVD. After typing in ‘(cd0,apple3)/EFI/BOOT/grub.cfg’ the installation started. There was no problem with the installation.

Tweaks

I am used to natural scrolling, enabled it using the following setting

$ cat /etc/X11/xorg.conf.d/99-wt-natural-scroll.conf
Section “InputClass”
Identifier “Natural Scrolling”
Option “ZAxisMapping” “5 4″
EndSection

I like my function keys, following sets the fn keys as primary in the apple keyboard

$ cat /etc/modprobe.d/hid_apple.conf
options hid_apple fnmode=2

Above option also can be passed using kernel command line. You will have to edit the grub.cfg for that /boot/efi/EFI/fedora/grub.cfg

Wireless

By default Fedora 18 didn’t detect my broadcom wireless network card (Broadcom Corporation BCM4331 802.11a/b/g/n (rev 02) to be exact) It needed a proprietary firmware. I downloaded b43-firware module from “russian fedora” http://pkgs.org/fedora-18/russian-fedora-nonfree-i386/b43-firmware-5.100.138-1.fc17.noarch.rpm.html and installed it. After the reboot things started working.

The proprietary driver doesn’t seem to support power management, it may cause problems during suspend/resume operation. So i instructed the power manager to unload the module while suspending the machine

$ cat /etc/pm/config.d/defaults
SUSPEND_MODULES=”b43″

Other bugs

GNOME 3 Desktop often doesn’t get show up after unlocking the screen https://bugzilla.redhat.com/show_bug.cgi?id=878736 If it happens press CTRL+ALT+F2 , login via tty and run ‘DISPLAY=:0 gnome-shell –replace’

The new kernel kernel-3.8.2-206.fc18.x86_64 panics while booting on MacBook Pro https://bugzilla.redhat.com/show_bug.cgi?id=922175

Categories: fedora Tags:

python-requests package update

April 1, 2012 1 comment

The newest version of python-requests now supports python 3. The python 3 version of requests is available as python3-requests package. Thanks Rex Dieter for the patch https://bugzilla.redhat.com/show_bug.cgi?id=807525 . I have also decided to maintain python-requests for EL6, i have pushed the latest version 0.11.1 to EL6.

Though it violates the updates policy https://fedoraproject.org/wiki/Updates_Policy, i have updated python-requests from 0.6.6 to 0.10.8 in Fedora 16 as python-requests is a fast moving young project.

All the packages should land in updates-testing in a few days. Please visit https://admin.fedoraproject.org/updates/python-requests to learn more about the updates.

Trip to Sastra University – Trichy

February 6, 2012 1 comment

I was invited to visit Sastra universityTrichy for a workshop on Free Software. I joined with Aditya and Srishti at KPN office bangalore. We boarded an air-conditioned  sleeper coach by 11.30 P.M and reached Trichy by 6 AM. The road was bit bumpy, i couldn’t sleep much.  As expected Trichy was much warmer than Bangalore in the morning. Trichy main bus stand has couple of Kamaraj statues. Sristi was surprised to see the ‘Golden’ statues of kamaraj.

While we were discussing about kamaraj, our cab arrived. The Sastra university is 45 minutes drive from Trichy. It is located between Trichy and Tanjore. We were asked to stay at the Guest house.

By 10 A.M i started my session on Free Software at one of their ‘smart classrooms’. I explained students about free software and its importance. My second talk was on GNU/Linux Commands, the talk was based on Stanford universities open classroom session on PracticalUnix. Students tried various commands on their laptops as i explained them. Aditya introduced python and  Srishti introduced QT to students on the first day.

We  had a good dinner at ‘Canopy’ Sastra’s canteen which is being managed by students. We finished the dinner with a tasty creamy cold coffee sponsored by Srishti. I was very tired after travel; so i went to bed early.

After a good sleep, I started the second day by introducing Django to students. I explained Django by creating a small blogging application. Many students tried to follow my instructions and came up with the small blogging website (Yay!). Next I joined with Sristi and introduced git revision control system to students using Shakthi‘s ‘di-git-ally-managing-love-letters‘ presentation. The students loved it! Aditya did a workshop on puppet on the second day. We also met the I.T department professor and had a little talk. She presented us with a memento .

By 6.30 P.M we left the college by saying good bye. We had to board the bus at Tanjore. Tanjore is famous for its Brihadeeswarar Temple. It was built on 11th century. We visited the temple and spent some time there. After dinner , we boarded the bus back to Bangalore. Srishti took lot of pictures during the visit (will be uploaded soon)

FUDCon Pune 2011

November 13, 2011 Leave a comment

 

My flight reached at Pune 15 minutes before the schedule.  Vaidik and I planned over IRC to share the cab from airport to the hotel.  His flight was 30 mins late. I was not able to reach his mobile phone even after his flight landed. We never seen each other before. Finally i noticed a guy with a ‘Drupal’ T-shirt, i decided to bite the bullet and asked him “Are you vaidik?” Fortunately the answer was a ‘Yes’. By the way vaidik helped us with the  fudcon.in website.

While i  was waiting for Vaidik to book a cab,  I heard some one asking me “Are you going to FUDCon?”  that was .Srishti Sethi Gcompris contributor and GSOC student . Apparently she too identified us using our “Geeky” T-Shirts. We three ended up sharing the cab.

Moral : Wear a geeky T-shirt when you are going to a Technical conference.

Back in hotel i met Kushal, Praveen, Soumya aditya (my room mate)  and Jared.

Day 1:

We all had breakfast at the hotel and  hopped into a van to reach the FUDCon venue. We were welcomed by Amit, Shakthi, Rahul and others  Day 1 of FUDCon started with jared’s talk. He only used pictures in his presentation and did all the talking. His talk was thought provoking. After the keynote address  i went to speaker’s lounge to prepare for my afternoon workshop. I met Joerg  there. I introduced myself as  maintainer of sqlninja.  Joerg gave me commit access to security spin’s repository. I promised to help him with the future security spin releases..

In the afternoon, I did a workshop on “Practical GNU/Linux” for the students of college of engineering Pune. The workshop was inspired by Stanford’s open classroom session named “practical unix” I managed to pull most of crowd from auditorium’s to my workshop (evil grin). The slides are available here

Day 2:

After attending Harish’s talk on community,  I started my talk on Django. I explained folks on how to create web apps using Django using a simple blog application. The slides are available here. My talk was followed by rtnpro‘s “Testing Django apps” talk. He extended by blog application and added test cases to it. The code is available here . After the talk to our pleasant surprise some one from COEP approached us with half written Django app. We happily helped her fix the issue. In the afternoon i attened  jsmith’s “publican” talk and Srishti’s “cute hacks using pygoocanvas”.

In the evening we left for FUDPub. FUDPub was awesome , everything happened on  a roof top with DJ and dance.

Day 3: – Hackfest’s

Rahul  was late to the venue on Day 3 (FUDPub?). I introduced askbot on behalf of Rahul to the people and invited them to join our hackfest. Most of them joined us  were new to Django so we had to help them a bit. Then i started working on “Export questions and answers as pdf” feature of askbot. I ended up using “Reportlab” python library for pdf generation. A lot need to be done to complete this feature. I hope i can make most out of my upcoming weekends.

FUDcon was awesome, It was nice to see lot of people face to face.

I had lot of memorable moments at FUDCon, Rahul played a prank on how i stole  pair of  baby pink coloured slippers from srishti  :-) (the baby pink slippers are now talk of  the town, read other’s blog posts ) The mini push up’s competition at FUDPub. Taste of my first  beer/cocktail  ( i have no plans to drink again ). I am sure events like FUDCon will  help bring people together and instrumental in creating a strong community. Thanks Red Hat for sponsoring my travel and accommodation .

Categories: fedora, foss, Linux, workshop Tags: , , , ,

I am going to FUDCon Pune 2011

October 11, 2011 Leave a comment
Categories: conference, fedora, foss, fun, Linux Tags: , ,

New package: Sqlninja

September 4, 2011 Leave a comment

sqlninja – http://sqlninja.sourceforge.net/download.html a candidate for Fedora security spin is now available in updates-testing repository

yum install –enablerepo=updates-testing sqlninja

The package currently does not include any payload binaries, they can be downloaded from http://sqlninja.svn.sourceforge.net/viewvc/sqlninja/scripts/

Categories: fedora, foss, fun, Linux, Packaging Tags: , , , ,

New Package: Python-requests – HTTP for Humans

August 17, 2011 Leave a comment

According to http://docs.python-requests.org/en/latest/index.html

Most existing Python modules for sending HTTP requests are extremely verbose and cumbersome. Python’s builtin urllib2 module provides most of the HTTP capabilities you should need, but the api is thoroughly broken. It requires an enormous amount of work (even method overrides) to perform the simplest of tasks.

Things shouldn’t be this way. Not in Python

Sample code

>>> r = requests.get(‘https://api.github.com’, auth=(‘user’, ‘pass’))
>>> r.status_code
204
>>> r.headers['content-type']
‘application/json’
>>> r.content

The same sample , without using requests would look like https://gist.github.com/973705. Requests library indeed reduces the lines of code we have to write to set up HTTP requests.

The new library is available as python-requests in  Fedora. You can test the packaging using the following command

yum –enablerepo=updates-testing install python-requests

Have fun!

Categories: fedora, foss, fun, Packaging, python Tags: , ,

ArpON 2.6 and emacs-goodies 35.0 lands in rawhide

July 17, 2011 Leave a comment

ArpON is a tool that makes Arp Protocol secure by preventing MITM caused by Arp Cache poisoning. There is a new version of ArpON available at http://arpon.sourceforge.net/download.html. ArpON 2.6 has now landed in Fedora rawhide repository.

emacs-goodies  package consists of lot of useful Emacs addons . A new version of this package is available at http://packages.debian.org/sid/lisp/emacs-goodies-el. The same will available in rawhide  shortly. I also updated emacs-goodies in F15 and F14 branches, that will be a bugfix update for existing  version 34.1.

Categories: fedora, foss, Linux, Packaging Tags: , , ,

Fedora 15 release event – Chennai

June 13, 2011 7 comments

I gave a presentation about Fedora 15 and its features at the monthly meet of Indian Linux Users GroupChennai. I started my presentation by answering the question “Why Fedora and Fedora project?”. Explained them about core foundations of Fedora project and other things at http://fedoraproject.org/wiki/Overview.

Then i moved on to the new features in Lovelock. I picked up features Systemd and Gnome 3 and explained them elaborately.  I showed them the brand new gnome 3 desktop and informed them about what to expect and what not to expect from it. People were puzzled about the removal of poweroff/reboot/minimize button from the system menu and title bar. I showed them how they can bring back the poweroff/reboot/minimize buttons by installing gnome-shell extensions.

Finally i asked the audience to watch out for Fudcon:APAC, India as the Fedora Indian community is looking forward to conduct the conference later this year. Fedora 15 ISO’s, snacks and beverages were served in the end :-)

Presentation: http://zer0c00l.in/downloads/Fedora15_Overview.pdf

Latex beamer source: https://gitorious.org/saga-presentations/presentations/trees/master/Fedora_15_overview

Categories: fedora, foss, Linux, talk Tags: , , ,

Presentation on basics of Django

May 1, 2011 Leave a comment

I did a presentation on basics of Django in chennai python user group (chennaipy) meeting last week. This post contains the presentation and code samples i used in the talk.

The presentation and code samples were designed to help Django newbies.  There are some differences in  the code i used in the presentation and the actual code samples , also i was not able to get the alignment of python code correct in the presentation.

The presentation can be downloaded from here

The code samples and source of the presentation (latex-beamer) are available under GNU Free documentation license  https://gitorious.org/saga-presentations . Feel free to modify them for your own needs :-)

Follow

Get every new post delivered to your Inbox.

Join 837 other followers