Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

Jun 25, 2008

0

Jokes On Linux

Well, i'm in a mood to laugh tonight and I searching google for all kind of funny stuff. Suddenly I came upon one jokes about talking programmer, here is the jokes:

Three male programmers were in the bathroom standing at the urinals.
The first programmer finishes, walks over to the sink to wash his hands.
He then proceeds to dry his hands very carefully. He uses paper towel after paper towel and ensures that every single spot of water on his hands is dried.
Turning to the other two, he says, "At Microsoft, we are trained to be extremely thorough."
The second programmer finishes his task at the urinal and he proceeds to wash his hands. He uses a single paper towel and makes sure that he dries his hands using every available portion of the paper towel.
He turns and says, "At Intel not only are we trained to be extremely thorough but we are also trained to be extremely efficient."
The third programmer finished and walks straight for the door, shouting over his shoulder, "At Sun, we don`t piss on our hands.
Courtesy of Syid Arif
Yeah, It was funny. But the most important thing is, this jokes just made my day! Nice one.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

Jun 18, 2008

3

Ubuntu Repo Using Windows IIS?

Well, I am a bit surprise when one of my friend gave me a link and ask me to take a look. As soon as I open the URL given, I can see clearly that the server stated that they are using Windows IIS. Moreover it's a repositories server for Ubuntu Linux.



Why in the world they would like to use Windows as Server while they keep on improving their Operating System to beat Bill Gates product. Heh, you do the calculation and make your own judgment. Surprise huh. LOL~

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

Jun 4, 2008

0

Format Existing Partition On Ubuntu

Well, I encounter a problem where I would like to gain back my 80GB hardisk space which I allocate for my Windows and I dont have a direct access to the machine. So all I got is a SSH access to the machine. And I desperately need the space back. So here is some tips on how to format, and allocate back your partition to ext3 FS on Ubuntu Machine.

  • Login to your box using SSH(remember to login to user account which have sudoers privileges).
  • Then the first thing is to do a 'fdisk' to delete and recreate a partition.
sudo fdisk for example:
sudo fdisk /dev/sda
  • Then a wizard will appear, and you just need to follow the instruction. For help on command to use, please use 'm' .
  • After finished configuring and recreating the partition, then you need to make the partition. Quit the fdisk by using 'q', and do this command:
sudo mkfs -t [filesystem type] [location]
  • For this example, my filesystem i need to create is 'ext3' and the location is '/dev/sda1' , so here is my command:
sudo mkfs -t ext3 /dev/sda1
  • And this will create my partition based on 'ext3' filesystem. To make effect, you need to reboot.
This simple tutorial will be useful to use with symlink and other command if you really want to resize some folder. Well mostly I used this for my webserver.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 27, 2008

1

Fluxbox: Setting Sound Keyboard Control

Well one of my friend, piju - asking me about how do I control my sound volume on my fluxbox. As he has more experience than me, so maybe he have his own way on controlling sound volume on his Fluxbox. But for me, it's quite simple.

At First I wanted to set the FN key to control sound, but as I search on the google, no other tutorial successfully set the FN+VolDown/VolUp yet. The FN key isnt being map. So I replace FN laptop's Keyboard key with "Windows Key". Here is how to set it up:

  • Open up your shortcut key's file: (On terminal type)
nano ~/.fluxbox/keys
  • then add the following line at the end of file:
mod4 Up: ExecCommand amixer set Master 1%+
mod4 Down: ExecCommand amixer set Master 1%-
  • I hope from here you can get an idea on how to mute and do any other things with sound with the shortcut utility.
I hope this will help Fluxbox user to control sound much better than before. Some other method, you could just install other application GTK based to control your sound.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 25, 2008

3

Edit Sudoers for No Pass Prompt

If you have some script need to run on daily basis such as 'apt-get' maybe you will be thinking on getting rid of password prompt every time you run an 'apt-get' command. And sometime, we wanted to have a script which will autorun on startup and you keep being prompt to enter password. Would you like it to be run fully background? If yes, then you need to edit the 'sudoers' file located in '/etc/' folder.

Before we begin, we may need to really know the power of 'sudo'. If you didnt know what 'sudo' command could be, then do a google search on 'sudo' as a keyword. This could effect your system if you allow users to run such a risky command without password prompt. So, here is steps on how to edit sudoers:

  • Open up terminal (Applications > Accessories > Terminal)
  • Open up the text editor(i'll be using nano for this tutorial) and edit the /etc/sudoers file.
sudo nano /etc/sudoers
  • You will be prompt for password for this one. Enter your user password and the editor will appear. Find line with:
# User privilege specification
root ALL=(ALL) ALL
  • And add to the next line your user and what command you would like to allow. For example, my user is "gunblade" and I would like to allow 'apt-get' to run without any password prompt. Then I need to add this line:
# User privilege specification
root ALL=(ALL) ALL
gunblade ALL=NOPASSWD:/usr/bin/apt-get
  • But first you need to make sure where is the binary file located. To locate it, use 'which' command. For instance, if you would like to know the exact location of 'apt-get' then you need to run 'which apt-get' and it will return the exact location.
$which apt-get
/usr/bin/apt-get
So here is the tips and trick to do a simple thing on sudoers file. But you need to carefully allow some commands because it could bring damage to your system if you wrongly allow it to users. Some command might be best to have password prompt. Edit it on your own risk~!

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

0

Make a startup script on Fluxbox

Well, Fluxbox a light weight window manager. Wondering on how to make a startup script for Fluxbox WM on Ubuntu? Well there is a script/file called Xsession for GNOME WM as a startup script. So with Fluxbox, the file is called xinitrc.

How can you do this? It's simple to start an application on Ubuntu Fluxbox start up. Here is some steps using terminal as a start:

  • Open up terminal and touch a file name ".xinitrc"
touch ~/.xinitrc
  • Then make some script to run the application you like such as nm-applet, pidgin, xchat and etc.
nano ~/.xinitrc
  • When the editor open up, just type the command you would like to run. Here is my xinitrc:
#!/bin/sh
session.screen0.rootCommand: fbsetbg -l
export SHELL=/bin/zsh
export LC=C
export LC_ALL=C
fluxbox &
WMPID=$!
sleep 4 &&
wait $WMPID
xset +fp /home/gunblade/.fonts
nm-applet
So you can add what ever application that you would like to run on startup, but if there is any root privileges type of application, then you need to do some tricks to make it work.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 15, 2008

5

Ubuntu : How to upgrade to 2.6.25 kernel

Well, on the previous post I do give tutorial on how to compile custom kernel on your Ubuntu box debian way. But it seem like it's hard for beginner to start compiling, and stripping the kernel and choose a appropriate driver to be compiled along.

So here is the easy way for Ubuntu users to upgrade to latest kernel 2.6.25 which has been release on the launchpad by the development team.

sudo vi /etc/apt/source.list
Edit the source.list file and add the following line at the end of the files:
deb http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main
Save and exit the text editor, and run:
sudo apt-get update
After finish updating your apt list, you need to install the new kernel by running this command:
sudo apt-get install linux-image-2.6.25-1-generic linux-headers-2.6.25-1
This command will install the 2.6.25 kernel with the Ubuntu Patches already been implement. So no need to wirries about your drivers and etc. But this isnt a stable release yet. I've been reading about kernel 2.6.25 to be included officially on the hardy repo as this 8.04 is a LTS.

Enjoy

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 12, 2008

3

Wireless go into Monitor with Injection Support

I've been experimenting to use aircrack to test out Access Point(AP) security for about a month and a half now, and i used to do it with 3 wireless card that I own which is Broadcom(Built-in on my laptop), rt73usb(which is a USB wireless Device) and ZD1211rw(also a USB device).

Formerly, I have to patch my modules in order to make the cards to go into monitor mode so that it could be used with aircrack suite. All the hard work will paid out if you successfully patch your cards. But to find the right patch is the most hard part as not every patch is suitable with your chipset.

But, i notice somthing different on the latest linux kernel(maybe it might be working too on BSD's kernel), you dont have to patch your card to change your wireless mode into monitor-mode. But this is only tested on Mac80211 cards only. As far as I'm concern, b43(latest driver for broadcom), rt73usb and zd1211rw - all of this card happened to be mac80211 cards on kernel 2.6.24 and higher.

So al you need to do is install the iw application. So how to install 'iw'? It took a few steps to install 'iw'. But even a new linux user could install this without any problems. First all you have to do is install all the requirements needed by 'iw' in order to function.

sudo apt-get update && sudp apt-get install libnl-dev libnl1 libnl1-pre6
Then when all the requirements has been installed, we may proceed to gathering the 'iw' source:
mkdir iw && cd iw
wget http://gunblade.fakap.net/tool/wireless/iw.tar.bz2 && tar xvjf iw.tar.bz2
And now proceed to the final step:
make && sudo ln -s iw /usr/sbin/iw
And we are done. So now you may try to install the aircrack from SVN by using subversion. There is a simpe tutorial on how to install this latest version of aircrack from by using subversion. But first you need to install subversion first by apt. More tutorial on how to install aircrack is on my previous post.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 11, 2008

0

Ubuntu: Play Your Favourites Movie Using SopCast

SopCast is a streaming player for all ubuntu user who is interested to watch a show online/streaming. It contain a lot of channel such as HBO, EuroSports and many more. Plus this SopCast also have online movie to entertain the viewer.

For thos interested to have this application running on your Ubuntu Box, please follow this site on how to install QSopCast on Ubuntu. I follow this tutorial and it's working out of the box. No need to have TV Card to watch TV. All I need is a SopCast and I can get a lot of channels.

Did I mention it's a streaming media? Yes, you need to have internet access in order to play the TV online. Surely you will need at least a broadband connection to play a streaming television to have a good quality of video. For me, 1MB of streamyx line is good enough to watch HBO and Sports Channels.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 7, 2008

0

Compile X-chat 2.8.4 on Hardy

This tutorial is for those who would like to compile X-Chat 2.8.4 on their Hardy Heron. And learn to apply patch on the files manually. What is good about compiling application manually from source?

Binary Compatibility means that when something is updated, you continue to work without needing to even recompile.

Source Compatibility means that you need to recompile to keep things working, but you don't have to actually change the sources.

One is not a superset of the other. Here are some examples in each combo.

Compatibility generally doesn't just mean that the change is discoverable, but that the change has some significant breaking implication that would cause a reasonably client to need to adjust their behavior. (Of course, you always find afterwards that's some important client did something unexpected and you need to compensate. Hence the heroics of the AppCompat folks). For example, with C# + reflection, any change is discoverable, so any change could technically break a client; but if a client breaks because they're relying on the names of private methods that you changed, they're hard-pressed to complain.

Yes Binary + Yes Source:

Renaming private methods. Changing a method body in a way that continues to behave the same.

Yes Binary, Not Source:

Adding new method overloads. Since overload resolution is determined at compile time, adding new methods won't affect already-compiled binaries. But if you recompile, it's possible that you may bind to the new overloads. (For example, see float.Equals)

Not Binary, Yes Source:

In this case, you just need to recompile your sources to keep working. The compiler will respond to the change in a corrective way. For example, consider removing a method overload. At a binary level, the method you're bound to is removed and so things fail. But if you recompile, the compiler may bind to another overload that's semantically equivalent, and so things keep working without you having to change any source.

Not Binary, Not Source:

A real breaking change. This requires clients to update their sources and recompile. For example, removing a method.

Taken from Mike Stall's .NET

So, now you know the pro and cons of compiling an application from source. But if you are lazy to recompile on every version updates, then i'll recommend you to use binary installation, cause this will automatically do the updates for you.

Here is the way to compile X-Chat 2.8.4 in your kernel. First you need to get the source from the official x-chat website. Then, just extract the source tarball and run '.configure' , 'make' and 'sudo make install' . This steps will be enough to install the x-chat on your current ubuntu.
wget
tar xjf
cd
./configure
make
sudo make install
And you can see the differences at your ctcp version when you ctcp yourself on the irc server. Normal Ubuntu X-Chat(installed using apt-get) will only reply "VERSION xchat 2.8.4 Ubuntu" but in a manual compiled version of X-Chat, the ctcp reply will give also your current kernel version and machine type like this "VERSION xchat 2.8.4 Linux 2.6.25-gunblade [i686/1.46GHz]" .

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 5, 2008

0

Ubuntu: Hardy and Active Directory easy step


On previous ubuntu release, to get connected to Active Directory need a lot of work to do. But in Hardy release, all this step has been simple as a new package name "likewise-open" is being uploaded into Hardy's repository. Likewine Open is an application to make Linux to Active Directory easier to setup. Only a few clicks needed in order to make your linux ubuntu to get connected to Active Directory.

Likewise Open enables Linux, Unix and Mac authentication on a Microsoft network using Active Directory. A user can now interactively log in to the Linux, Unix or Mac machine using Active Directory credentials, and can access any kerberized services that the non-Windows machine hosts.

taken from likewise-open website
I was really pleased with the action taken by ubuntu to include this package into official repository as this is an important application being used by a lot of ubuntu user in order to access Active Directory which previously need to be setup my intermediate linux user.

You can download the package name 'likewise-open' by using your apt-get service by using this command:
sudo apt-get install likewise-open
As now, everyone could do the setup easily. And no more worries to get the files needed from your Office Active Directory server. But if you have encounter some problem using the new package of 'likewise-open' feel free to launch a bug report in launchpad.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 4, 2008

0

Ubuntu: Firefox-2 on hardy

I notice that the firefox 3 is still have some bugs. So here is the simple to this solution right now, "WAIT UNTIL THE FIREFOX HES BEEN OFFICIALLY RELEASE" . Why do you have to use the beta version? So mean while, please use the old Firefox 2.0. This step below will install you the previous version of firefox:

sudo apt-get install firefox-2
If somehow you still wanted to be a tester user to help firefox to improve and report the bugs in firefox 3, you can always use it by selecting at the "Application > Internet > Firefox 3" menu. So it's your choice.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 3, 2008

10

Ubuntu: Kernel 2.6.25 on Hardy

Well, I've been playing and trying a new kernel stable release of 2.6.25 which is known to be compatible and will work on Ubuntu Hardy or any release. But as i'm using Hardy right now, so this tutorial will be on Hardy Heron environment. Well I strictly not recommend a beginner user to try this because this is not an official kernel for Hardy, so if anything goes wrong, you are the one who cause this(and me cuz writing this tutorial).

So I look on the www.kernel.org for a new stable release of 2.6.25 kernel and wonder if it can work with my new hardy heron. Here is the changes made in the new 2.6.25 kernel:

1. There are deeply invasive performance/scalability/latency fixes for CFS regressions (vs. 2.6.24) in the 2.6.25 tree. These fixes are too invasive to be ported to the 2.6.24 kernel without significant risk.

2. Many of the driver updates/new drivers in the kernel-ubuntu package are merged into upstream as of 2.6.25. (This is always true, but the smaller the delta against upstream the better on release day).

3. Fedora 9 is based on 2.6.25 which means that key RH kernel developers are aggressively working to get the feature and performance/scalability regressions vs. 2.6.18 & 22 fixed.

4. The kgdb patch will probably be merged at the start of the 2.6.26 cycle which means the delta vs. 2.6.25 kernel should be pretty manageable. This would be really valuable from an LTS ongoing perspective.

5. The RT patch will be better maintained (and smaller) against 2.6.25. (see #3)

6. Better virtualization and SELinux support (see #3).

Given the life-cycle of an LTS release (especially this one which will finally have a meaningful chance to enter the data center) these considerations are especially important.

Obviously 2.6.25 would have to be in addition to 2.6.24 for the Hardy 8.04 LTS release time-frame, but it does allow the aforementioned benefits to be propagated forward.

Taken from Ubuntu Brainstorm
So, if you are interested to try this new kernel on your ubuntu, please take note that if anything goes wrong, dont blame me or anyone as this is your decision to try this. By the way, take precautious step by not removing the standard hardy kernel which is 2.6.24 version to turn back if anything goes wrong.

Here we go~

  • First of all, make sure your system has everything that a system need in order to compile a kernel. Please sudo apt-get the dependencies:
sudo apt-get install build-essential bin86 kernel-package libqt3-headers libqt3-mt-dev wget libncurses5 libncurses5-dev
  • Then go into /usr/src directory
cd /usr/src
  • Make yourself a root:
sudo -s
  • Download the kernel from kernel.org and extract:
wget -c http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.25.tar.bz2 && tar -xvjf linux-2.6.25.tar.bz2
  • Remove the link to linux directory, and make a new link to the new kernel:
rm -rf linux && ln -s /usr/src/linux-2.6.25 linux && cd /usr/src/linux
  • NOTE: If you need to patch your kernel, please patch it now before we proceed to the next step.
  • Now import the current kernel config:
cp /boot/config-`uname -r` .config && make oldconfig
  • Configure the kernel (I will only cover my way of compiling, there is several ways to do this, but this is how i do it)
make menuconfig
  • Now it's time for us to build our kernel.
make-kpkg clean
  • And continue with:
make-kpkg --initrd --revision=386 kernel_image kernel_headers modules_image
  • Note that you can chage *386 with any name you like such as "k7" or "686"... Now It will take about 2-3 hours to compile the kernel, and maybe longer time for a slow cpu. Meanwhile waiting for the kernel to compile, you can enjoy watching movie or anything else.
-------------------------------------------------------------------------------------------------------
  • Now we need to install the .deb package to our Ubuntu:
cd .. && dpkg -i linux*2.6.25*.deb
  • And after installed, you need to reboot (if you are using nvidia, you will probably need to reinstall the driver again in order to make it work)
You can always revert back to the old kernel if you think the 2.6.25 is buggy by selecting your old kernel from the GRUB after POST. Now we will have a faster system after reboot. Hopefully you wont get any trouble when compiling the kernel. So enjoy using a new 2.6.25 kernel on Ubuntu Hardy Heron.

PS:- Some people will have trouble with no soud when first booting the kernel. You have to enable alsa on the 'make menuconfig' step and also enable Intel HDA Sound even if your card isnt Intel. This will make your sound work.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

May 1, 2008

0

Change Vmware Bridge Network Interface

I'm using vmware mostly to do my work with other operating system such as Windows and BSD(learning on how to use it). But I figure out I'm having some troubles on getting the network to work as I cant stick to one method to connect to the Internet. Which is sometime I used a wired connection(eth0) while mostly I'll use wireless(wlan0) to get into the internet.

I will have trouble to set my vmware to bridge to the network if i'm changing interface. As usual, vmware will make eth0 as a default interface to bridge with. And you will encounter trouble to do the bridge if you are connected through wireless. So to change this according to your current internet interface, here is the tips:

  • Edit the /etc/vmware/locations
sudo nano /etc/vmware/locations
  • Change the interface from eth0 to wlan0 / wlan0 to eth0 (depends on your configuration.
locate the line with "answer VNET_0_INTERFACE eth0"
and change it to "answer VNET_o_INTERFACE wlan0"
  • Then run the vmware. Your guest operating system will bridge using the new configuration. And the bridge will took the new interface wet by you to gain connection.
There is another way to solve this problem which is running "vmware-config.pl", and reconfigure your vmware. But this method will not work on certain machine. So my tutorial is the other way to solve the problem.

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

Apr 30, 2008

1

Ubuntu: Vmware Server On Hardy Heron

I've been looking for vmware on the repository for the whole day but could find it. There are still no vmware on hardy repo for sure. It's still not supported on Hardy. So here is a few tips on how to setup VMWARE:

tar xvf VMware-server-1.0.4-56528.tar.gz
cd [Directory created when extract]
  • 2nd Step: Run the installation.
sudo ./vmware-install.pl
  • You will recieve an error like this. But that's normal.
include/asm/bitops_32.h:9:2: error: #error only can be included directly
make[2]: *** [/tmp/vmware-config2/vmmon-only/common/cpuid.o]
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory \`/usr/src/linux-headers-2.6.24-4-generic\’
make: *** [vmmon.ko] Error 2
make: Leaving directory \`/tmp/vmware-config2/vmmon-only\’
Unable to build the vmmon module.
  • Then here come the patch to save your day.
  • 3rd Step: Extract the patch and go to the directory.
tar xvf vmware-any-any-update115.tar
cd [directory created when extracting the patch]
  • 4th Step: Run the runme.pl script and this will continue the installation and fix the previous problem.
sudo ./runme.pl
  • Final Step: Now, we need to copy some files so that the vmware will run smooth without any problem.
sudo cp /usr/lib/libpng12.so.0 /usr/lib/vmware/lib/libpng12.so.0/
sudo cp /lib/libgcc_s.so.1 /usr/lib/vmware/lib/libgcc_s.so.1/
And now we have just finish installing our VMware Server edition on our brand new Ubuntu Hardy Heron. I hope this tutorial can help you to solve the problem.

Link to refer: aldeby | vmware | ubuntuforums.org

Bookmark This Article:

Feed Me Digg this Stumble Upon this Send this Reddit this Add to Technorati Favorites Directory of Computers/Tech Blogs Programming Blogs - BlogCatalog Blog Directory

Your Ad Here

Apr 29, 2008

0

Ubuntu: Hardy Problem with Wireless (b43,iwl3945, madwifi etc)

I have been helping one of my fellow Ubuntu user from my neighbours country - Indonesia regarding his problem with Intel 3945 wireless chipset on Hardy Heron. Well, to be honest Intel chipset doesnt have any problem on the previous version of Ubuntu 7.10(Gutsy Gibbon). But the problem arise as in Hardy, the driver have change from ipw3945 to iwl3945.

Some people will have/encounter problems to setting up the intel chipset in order to make it work properly. Well, from my experience dealing with the problem(on helping my friend), there is a simple solution to this problem. There are several ways to solve this problem. And it will work on other chipset too including b43, madwifi and etc.

So here is the step to configure Intel 3945 Chipset on Ubuntu 8.04 Hardy Heron:
  1. Open up terminal
  2. Code : sudo gedit /etc/modprobe.d/blacklist
  3. Edit : Add at the end of the file "blacklist ipw3945" then save and exit. (You could use any text editor you like. I'm using gedit so that it could be more newbie friendly)
  4. Then you need to edit the rules. Type : sudo gedit /etc/udev/rules.d/70-persistent-net.rules
  5. Then delete all lines related to wifi interface. Leave only line which define eth0 which refering to your wired interface(ethernet). Then save and exit.
  6. Now we need to remove the modules: sudo rmmode iwl3945
  7. And add the modules back: sudo modprobe iwl3945
  8. Now to check either the wifi is working do: ifconfig
  9. If you see a device called 'wlan0' and 'wmaster0' then it means your wireless is working. Please check your network manager applet for access point signal. But please make sure you do have access point nearby if not you wont see any signal in network manager.

So that's it. If you are using bcm43xx formerly on Gutsy, then change the iwl3945 to b43. And you'll see what i mean. I hope this will be helpful. If any problem occur, please leave me a message either by comments or emails. Thanks

Bookmark This Article:

Feed Me Digg this Stumble Upon this