Subscribe in a reader
chiky

So yet again I had to struggle with the broadcom propriety driver (hybrid-portsrc) for my Dell 1345 wireless card (Broadcom BCM4312). Earlier, there were issues with the legacy broadcom drivers which just won’t work and won’t let the new ones work. This time, the issue was different, it just won’t work on the 2.6.34 kernel. It used to say “linux/autoconf.h” is missing. After reinstalling autoconf, make utilities, still no solution.

Finally I searched a lot, then found out that the new 2.6.34 kernel has changed the location of some of the header files. So what I had to do was to change #include to #include inside the “src/include/linuxver.h” file of the module source. And tada, it compiled perfectly. Just copied wl.ko to /lib/modules//kernel/net/wireless directory and then depmod -A . Next thing to do was to remove the older drivers from the memory: modprobe -r b43 && modprobe -r ssb and blacklist them (or better, just delete them :p ) by editing “/etc/modprobe.d/50-blacklist.conf” and adding these two lines there: blacklist ssb and blacklist b43 . Did a modprobe wl and saw the wifi LED turned on. :)

Update: Broadcom has released the patch for kernels above 2.6.33 at http://www.broadcom.com/support/802.11/linux_sta.php.

Comments No Comments »

chiky

I don’t know why Ubuntu is so careless with the admin stuff. First of all, you can’t login as root by default. You have to set up root password by doing ‘passwd root’ (this is what I love about OpenSUSE, you have a root user and a normal user, you can login to the root user GUI also and do stuff). And by any chance, if you forget to do that and you’re locked out of the system or your default user’s admin previliges have been taken away (exactly what happened with me), you’re kinda doomed.

Well, not exactly. Ubuntu is kinda carefully-careless with this stuff. It punishes you when you are being careless, but provides you with some open doors to pass-through. So, as they say, you should not edit a /etc/sudoers file by hand and save it and do it with the ‘visudo’ command so that it checks the syntax, creates a backup file and then replaces it. Even if you have done all these steps by hand, and you just replace the file yourself, and make a small mistake, your default user will get deprived of the sudo permissions and you’ll be left without anything in the state of misery.

What do you do now? Search up the Internet, people will tell you to boot the failsafe option, open the recovery mode and change the sudoers file. As what happened with me, I could not boot into the failsafe kernel as GRUB menu didn’t show up. Then I realised, theres more to Linux than the “terminal”.
I just looked at the GUI, opened the “Users & Groups” application and made myself the “Administrator” and entered my password (which worked). It allowed me to do this. Probably because this application doesn’t use sudo as back-end. On the other hand, if you try to open “Software Management”, you won’t be able to. The strange thing is that still this thing did not work. Then I opened the advanced preferences of my user and saw there is another group “sudo” in the group list. I checked that too. And wholaa, everything started working.

Analysis: When you first install Ubuntu, the default user is given the sudo permissions. But if you happen to edit the sudoers file and make a mistake (such as removing the % sign in front of ‘admin’ ), sudo automatically expects you to be a part of the “sudo” group (which is the last group inside the sudoers file ) which you are not a part of by default, so you get locked out.

The thing to do is to, add yourself (the default user) specifically to the sudoers file and not reply on the groups, so whatever may happen, the default user will get admin privileges.

Comments No Comments »

Shanky

Statement :let me make it clear , as if now ,on March 5 2010 ..lampp and Status.net wont work ..you would get error of Deprecation and no functionality ..

Reason:Status.net [From Git ]right works till php 5.2 and lampp comes with Php-5.3 ;  it will work with ubuntu 9.10 karmic cause it comes prepackaged with PHP 5.2.10

Ref:

i will write more of my experience of status.net ,later on :)

P.S: use Status.net 0.9 because 0.8 complains a lot about extension tidy and that extension is one major in ass but if you still want it ,,use pecl /pear like

pecl install tidy

to get it

Comments 1 Comment »

Shanky

oh well rediit was down yesterday and this is screenshoot of the “Down-Page

Start Slide Show with PicLens Lite PicLens

Comments No Comments »

Shanky

well here is result of my attempt at making my own facebook app , mind it i am more of c++/c programmer :P

i followed these link

  1. http://www.deitel.com/ResourceCenters/Programming/FacebookDeveloperPlatform/FacebookDeveloperPlatformTutorials/tabid/2736/Default.aspx
  2. http://www.labnol.org/internet/tutorial-write-a-facebook-application/10116/
  3. official dev wiki of FB at http://developers.facebook.com/

Comments No Comments »