[Aircrack-ng] Fixed channel mon0: -1, Why and How to Change it?

I have ever had this condition when upgrading Ubuntu Lucid to Ubuntu Maverick. (never happen when I use Backtrack). This condition happen because, there are still some bugs in Maverick. So we have to patch it first.

Using this command:

sudo airmon-ng start wlan0 [channel]

changing the channel from 1 to 10. Always ends up on fixed channel mon0: -1. So, i can’t do the injection. Being frustrated, I asked from forum to forum to find the solution. But still, no one knows how to solve the problem. Until I joined French Forum (with my limited capability of speaking French :lol). I found this solution below.

Here are the commands:

wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2010-10-16.tar.bz2
tar -jxf compat-wireless-2010-10-16.tar.bz2
cd compat-wireless-2010-10-16
wget http://patches.aircrack-ng.org/mac80211.compat08082009.wl_frag+ack_v1.patch
patch -p1 < mac80211.compat08082009.wl_frag+ack_v1.patch
wget http://patches.aircrack-ng.org/channel-negative-one-maxim.patch
patch ./net/wireless/chan.c channel-negative-one-maxim.patch
gedit scripts/update-initramfs
#*** FIND LINE 13: KLIB=/lib/modules/2.6.31-wl/build
#*** REPLACE WITH: KLIB=/lib/modules/$(uname -r)/build
make
sudo make install
sudo make unload
sudo modprobe iwl3945

Because my wlan card interface is Intel Wireless Pro A/B/G 3945, so that what i typed after modprobe. If you are not sure and don’t know the interface you have, alternatively, you can change

sudo modprobe [interface] ---> sudo reboot

good luck guys… :)

How to connect Linux Ubuntu & Nokia Modem to the internet

Some people think it’s very difficult to use Linux or Unix-like Variant Operating System because of compatibility of the hardware and the software. While some people are affraid and reluctant to leave their comfort area.

But, to make you sure, it’s not that hard, if i may say it’s rather simple. No need of software. Faster cause you don’t need to wait such PC tools loading. To connect to the internet, I use Huawei Vodafone E220 modem and Nokia modem. When I run Windows Vista and 7, to connect my nokia 5800 XM to the internet, I need Nokia PC Suite. Then here comes the problem when using Linux Ubuntu 10.04. How to make the smartphone detected as a modem?

Many people asking on the internet why Nokia ain’t make Nokia PC Suite for Linux since long time ago. And up to now, still, no response. That makes many people think that Nokia don’t care with the satisfaction of end-user especially those who need freedom and liberty to develop IT. Just making advantage how they can benefit the product as much as possible. Aside from that point of view, here some little tips to connect to the net with nokia modem:

1. Open terminal (command line), type lsusb to make sure that there is nokia smart phone in the list. Remember that you must choose connect via pc suite, not mass storage on the phone

2. Then type sudo wvdialconf to configure the modem.

3. Then type sudo wvdial And that’s it. You can make connection.

4. From the panel applet above (default on top), find connection applet. Right click. Make new mobile broadband connection. Next step, i’m sure you all already know. Like always, username, password, apn, etc…

5. Then after finishing the configuration. Just click on the connection applet, you will see your access point. Good luck!!! ^^ These steps also work if you connect any type of modem which are not detected at first.

When using linux, if you want to just transfer file from the phone to the computer or vice versa, you don’t need any software. Plug and play. Just choose mass storage on the phone at first. That’s all I can share to you as a newbie linux user. ^_^v

p.s. It works well in jaunty, karmic, and lucid. I’m sure it works in maverick also.