Notices


Reply
Thread Tools
HtheB's Avatar
Moderator | Posts: 3,715 | Thanked: 7,419 times | Joined on Dec 2009 @ Bize Her Yer Trabzon
#21
First post updated

(I think I just have to make a how to video with my N900 to show how it works....)
__________________
www.HtheB.com
Please donate if you think I'm doing a good job.
 

The Following User Says Thank You to HtheB For This Useful Post:
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#22
Originally Posted by augustthe View Post
i realize that when i using aircrack my root is getting full there no way to delete them
try specifying a path for the output file i guess, like /home/something

do these tools really need root? that probably makes sense because its a security problem if apps can write raw packets. well, in some environments anyways. i'd rather not think about it!

Last edited by Creamy Goodness; 2011-01-08 at 07:19.
 
Posts: 1,463 | Thanked: 1,916 times | Joined on Feb 2008 @ Edmonton, AB
#23
yeah i have old aircrack stuff installed and its asking for "iw" , never heard of that... also what other tools can we use? i'm pretty lazy at typing on the n900 so i'm hoping for wesside-ng or something easy
 
Posts: 2,225 | Thanked: 3,822 times | Joined on Jun 2010 @ Florida
#24
Originally Posted by Creamy Goodness View Post
do these tools really need root? that probably makes sense because its a security problem if apps can write raw packets. well, in some environments anyways. i'd rather not think about it!
Yes. Not just a security thing per se (though that might be the deep down OS-level reason for what I'm about to say), but the OS often won't allow software to craft packets unless it has root level permissions. That's why NMap can only run most of its port scans as root.

Also, if you pay attention, half the binaries for aircrack-ng suite are in /usr/bin (the ones that don't need root, like, I think, aircrack-ng itself, which does the cracking), and a bunch are in /usr/sbin - the ones that, like aireplay-ng and airbase-ng (speaking of which, someone could probably make the N900 work like an infrastructure wifi access point [instead of showing up as ad-hoc network] using airbase-ng as a backend... Unconventional, but should work).

At any rate, even if you make the argument that such tools don't need root, the Linux kernel writers would disagree - so even if the tools aren't in the root path, the OS wouldn't let them craft packets anyway.

I suppose you could screw around with sudoers and give it root-level permissions even when ran by user, but eh. I think it's also good practice - when you need to run something where serious damage or moral considerations come into play, making yourself root should be there as something of an awareness-raising check.

yeah i have old aircrack stuff installed and its asking for "iw" , never heard of that... also what other tools can we use? i'm pretty lazy at typing on the n900 so i'm hoping for wesside-ng or something easy
When I compiled the latest Aircrack-NG code with unstable=true and sqlite=true, wessid-ng (or wesside-ng ... I'm too lazy to look up how it's spelled), and quite a few things, were compiled with it.

Anyway, yeah, with the in-repo aircrack-ng, I had to bring wlan0 down, set it into monitor mode, bring it back up. I just ran airmon-ng on wlan0 with iw installed (just use "apt-get install iw" - it's definitely in devel, not sure if it's in the lower ones), and it did everything for me, and not only that, but it also spawned the mon0 interface - no need to take wlan0 down, monitor mode it, then bring it up again.

It's pretty cool. wlan0 is still in managed mode, so I think you can both connect normally and inject. IDK, I'm a newb to this too. I suspect you can also drop wlan0 into monitor mode, and thus do fancy things. *Shrug*
 
Posts: 89 | Thanked: 10 times | Joined on Mar 2010
#25
Code:
wl1251-maemo/source/
wl1251-maemo/patches/
tar: wl1251-maemo/source: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/
tar: wl1251-maemo/patches: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/osso-wlan/
tar: wl1251-maemo/binary: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/
tar: wl1251-maemo/patches/osso-wlan: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/compat-wireless/
tar: wl1251-maemo/patches/wireless-testing: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/compat/
tar: wl1251-maemo/patches/compat-wireless: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/kernel-power/
tar: wl1251-maemo/patches/compat: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/osso-wlan/
tar: wl1251-maemo/patches/kernel-power: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/
tar: wl1251-maemo/binary/osso-wlan: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/kernel-power/
tar: wl1251-maemo/binary/compat-wireless: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/README
tar: wl1251-maemo/binary/kernel-power: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
tar: wl1251-maemo/README: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/source/kernel-power_2.6.28-maemo46-wl1.tar.bz2
tar: wl1251-maemo/source/kernel-power_2.6.28-maemo46-wl1.tar.bz2: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/source/osso-wlan-3.0.20+0m5.tar.gz
tar: wl1251-maemo/source/osso-wlan-3.0.20+0m5.tar.gz: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/source/compat.tar.gz
tar: wl1251-maemo/source/compat.tar.gz: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/source/compat-wireless-2.6.tar.gz
tar: wl1251-maemo/source/compat-wireless-2.6.tar.gz: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/source/wireless-testing.tar.bz2
tar: wl1251-maemo/source/wireless-testing.tar.bz2: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/osso-wlan/osso-wlan_scan-retry.patch
tar: wl1251-maemo/patches/osso-wlan/osso-wlan_scan-retry.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0020-cfg80211-fix-WEXT-ioctl-GIWFREQ-for-monitor-interfac.patch
tar: wl1251-maemo/patches/wireless-testing/0020-cfg80211-fix-WEXT-ioctl-GIWFREQ-for-monitor-interfac.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0019-wl1251-enforce-changed-hw-encryption-support-on-moni.patch
tar: wl1251-maemo/patches/wireless-testing/0019-wl1251-enforce-changed-hw-encryption-support-on-moni.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0018-wl1251-disable-retry-and-ACK-policy-for-injected-pac.patch
tar: wl1251-maemo/patches/wireless-testing/0018-wl1251-disable-retry-and-ACK-policy-for-injected-pac.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0017-wl1251-enable-tx-path-in-monitor-mode-if-necessary-f.patch
tar: wl1251-maemo/patches/wireless-testing/0017-wl1251-enable-tx-path-in-monitor-mode-if-necessary-f.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0016-wl1251-fix-channel-switching-in-monitor-mode.patch
tar: wl1251-maemo/patches/wireless-testing/0016-wl1251-fix-channel-switching-in-monitor-mode.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0015-wl1251-disable-power-saving-in-monitor-mode.patch
tar: wl1251-maemo/patches/wireless-testing/0015-wl1251-disable-power-saving-in-monitor-mode.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0014-wl1251-implement-multicast-address-filtering.patch
tar: wl1251-maemo/patches/wireless-testing/0014-wl1251-implement-multicast-address-filtering.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0013-wl1251-rework-configure_filter-callback.patch
tar: wl1251-maemo/patches/wireless-testing/0013-wl1251-rework-configure_filter-callback.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0012-wl1251-set-rate-index-and-preamble-flag-on-received-.patch
tar: wl1251-maemo/patches/wireless-testing/0012-wl1251-set-rate-index-and-preamble-flag-on-received-.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0011-wl1251-configure-hardware-en-decryption-for-monitor-.patch
tar: wl1251-maemo/patches/wireless-testing/0011-wl1251-configure-hardware-en-decryption-for-monitor-.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0010-wl1251-split-RX-and-TX-data-path-initialisation.patch
tar: wl1251-maemo/patches/wireless-testing/0010-wl1251-split-RX-and-TX-data-path-initialisation.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0009-wl1251-enable-adhoc-mode.patch
tar: wl1251-maemo/patches/wireless-testing/0009-wl1251-enable-adhoc-mode.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0008-wl1251-implement-hardware-ARP-filtering.patch
tar: wl1251-maemo/patches/wireless-testing/0008-wl1251-implement-hardware-ARP-filtering.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0007-wl1251-implement-connection-quality-monitoring.patch
tar: wl1251-maemo/patches/wireless-testing/0007-wl1251-implement-connection-quality-monitoring.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0006-wl1251-enable-beacon-early-termination-while-in-powe.patch
tar: wl1251-maemo/patches/wireless-testing/0006-wl1251-enable-beacon-early-termination-while-in-powe.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0005-wl1251-retry-power-save-entry.patch
tar: wl1251-maemo/patches/wireless-testing/0005-wl1251-retry-power-save-entry.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0004-wl1251-add-sysfs-interface-for-bluetooth-coexistence.patch
tar: wl1251-maemo/patches/wireless-testing/0004-wl1251-add-sysfs-interface-for-bluetooth-coexistence.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0003-wl1251-fix-scan-behaviour-while-not-associated.patch
tar: wl1251-maemo/patches/wireless-testing/0003-wl1251-fix-scan-behaviour-while-not-associated.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0002-wl1251-fix-4-byte-TX-buffer-alignment.patch
tar: wl1251-maemo/patches/wireless-testing/0002-wl1251-fix-4-byte-TX-buffer-alignment.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/wireless-testing/0001-wl1251-fix-queue-stopping-waking-for-TX-path.patch
tar: wl1251-maemo/patches/wireless-testing/0001-wl1251-fix-queue-stopping-waking-for-TX-path.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/compat-wireless/28-fremantle-compat.patch
tar: wl1251-maemo/patches/compat-wireless/28-fremantle-compat.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/compat-wireless/25-multicast-list_head_wl1251.patch
tar: wl1251-maemo/patches/compat-wireless/25-multicast-list_head_wl1251.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/compat-wireless/compat-wireless_quick-cleanup-for-wireless-testing-wl1251.patch
tar: wl1251-maemo/patches/compat-wireless/compat-wireless_quick-cleanup-for-wireless-testing-wl1251.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/compat/compat_skip-compat-firmware-class.patch
tar: wl1251-maemo/patches/compat/compat_skip-compat-firmware-class.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/patches/kernel-power/kernel-power-2.6.28-power46_cfg80211-module.patch
tar: wl1251-maemo/patches/kernel-power/kernel-power-2.6.28-power46_cfg80211-module.patch: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/osso-wlan/osso-wlan-doc_3.0.20+0m5-1_armel.deb
tar: wl1251-maemo/binary/osso-wlan/osso-wlan-doc_3.0.20+0m5-1_armel.deb: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/osso-wlan/osso-wlan-dbg_3.0.20+0m5-1_armel.deb
tar: wl1251-maemo/binary/osso-wlan/osso-wlan-dbg_3.0.20+0m5-1_armel.deb: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/osso-wlan/osso-wlan_3.0.20+0m5-1_armel.deb
tar: wl1251-maemo/binary/osso-wlan/osso-wlan_3.0.20+0m5-1_armel.deb: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/load.sh
tar: wl1251-maemo/binary/compat-wireless/load.sh: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/unload.sh
tar: wl1251-maemo/binary/compat-wireless/unload.sh: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/compat.ko
tar: wl1251-maemo/binary/compat-wireless/compat.ko: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/mac80211.ko
tar: wl1251-maemo/binary/compat-wireless/mac80211.ko: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/rfkill_backport.ko
tar: wl1251-maemo/binary/compat-wireless/rfkill_backport.ko: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/wl1251_spi.ko
tar: wl1251-maemo/binary/compat-wireless/wl1251_spi.ko: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/wl1251.ko
tar: wl1251-maemo/binary/compat-wireless/wl1251.ko: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/compat-wireless/cfg80211.ko
tar: wl1251-maemo/binary/compat-wireless/cfg80211.ko: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/kernel-power/kernel-power-modules_2.6.28-maemo46-wl1_armel.deb
tar: wl1251-maemo/binary/kernel-power/kernel-power-modules_2.6.28-maemo46-wl1_armel.deb: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/kernel-power/kernel-power-headers_2.6.28-maemo46-wl1_armel.deb
tar: wl1251-maemo/binary/kernel-power/kernel-power-headers_2.6.28-maemo46-wl1_armel.deb: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/kernel-power/kernel-power-flasher_2.6.28-maemo46-wl1_armel.deb
tar: wl1251-maemo/binary/kernel-power/kernel-power-flasher_2.6.28-maemo46-wl1_armel.deb: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/kernel-power/kernel-power-bootimg_2.6.28-maemo46-wl1_armel.deb
tar: wl1251-maemo/binary/kernel-power/kernel-power-bootimg_2.6.28-maemo46-wl1_armel.deb: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
wl1251-maemo/binary/kernel-power/kernel-power_2.6.28-maemo46-wl1_armel.deb
tar: wl1251-maemo/binary/kernel-power/kernel-power_2.6.28-maemo46-wl1_armel.deb: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
tar: wl1251-maemo: Cannot change ownership to uid 1000, gid 1000: Operation not permitted
tar: Exiting with failure status due to previous errors
Nokia-N900:/home/user/MyDocs#
 
Posts: 89 | Thanked: 10 times | Joined on Mar 2010
#26
worked coool
i will show photos
 
Posts: 89 | Thanked: 10 times | Joined on Mar 2010
#27
first ( problem can't see all data (can't see wifi name - screen is small ))

injection test




wait for video
 
Posts: 89 | Thanked: 10 times | Joined on Mar 2010
#28
when i restart and start normal maemo after used the driver they show me :
can't flash karnel, required files not found guru meditation #0000025 , 62017712
 
Posts: 435 | Thanked: 197 times | Joined on Feb 2010
#29
Is the Power Kernel really necessary to have the bleeding-edge drivers working? If not, which step should be modified/deleted in order to make the driver work under stock kernel?
 
Posts: 89 | Thanked: 10 times | Joined on Mar 2010
#30
Code:
login as: root
root@192.168.2.15's password:


BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

Nokia-N900:~# cd /home/user/MyDocs/
Nokia-N900:/home/user/MyDocs# cd wl1251-maemo/binary/kernel-power
Nokia-N900:/home/user/MyDocs/wl1251-maemo/binary/kernel-power#
Nokia-N900:/home/user/MyDocs/wl1251-maemo/binary/kernel-power# dpkg -i kernel-power_2.6.28-maemo46-wl1_armel.deb
(Reading database ... 48498 files and directories currently installed.)
Preparing to replace kernel-power 2.6.28-maemo46-wl1 (using kernel-power_2.6.28-maemo46-wl1_armel.deb) ...
Unpacking replacement kernel-power ...
Setting up kernel-power (2.6.28-maemo46-wl1) ...
Nokia-N900:/home/user/MyDocs/wl1251-maemo/binary/kernel-power# dpkg -i kernel-power-modules_2.6.28-maemo46-wl1_armel.deb
(Reading database ... 48498 files and directories currently installed.)
Preparing to replace kernel-power-modules 2.6.28-maemo46-wl1 (using kernel-power-modules_2.6.28-maemo46-wl1_armel.deb) ...
Unpacking replacement kernel-power-modules ...
Setting up kernel-power-modules (2.6.28-maemo46-wl1) ...
Nokia-N900:/home/user/MyDocs/wl1251-maemo/binary/kernel-power# dpkg -i kernel-power-flasher_2.6.28-maemo46-wl1_armel.deb
(Reading database ... 48498 files and directories currently installed.)
Preparing to replace kernel-power-flasher 2.6.28-maemo46-wl1 (using kernel-power-flasher_2.6.28-maemo46-wl1_armel.deb) ...
Unpacking replacement kernel-power-flasher ...
Setting up kernel-power-flasher (2.6.28-maemo46-wl1) ...
initctl: Job not changed: softupd
Version 0.4.4 started
Waiting for messages
flasher v2.8.2 (Jan  8 2010)

Image 'kernel', size 1740 kB
        Version 2.6.28-maemo46-wl1
Using flashing protocol Mk II.
ISI message from new source (10, 00)
Found device RX-51, hardware revision 2101
Entering update mode
Beginning image update
nand: Finishing %    1024 /    1740 kB  1693 kB/s]
nand: Flashing kernel image
Image flashed successfully in 1.806 s (963 kB/s)!
Total flashing time 1.808 s
Leaving update mode
SIGTERM received
Nokia-N900:/home/user/MyDocs/wl1251-maemo/binary/kernel-power# dpkg -i kernel-power-bootimg_2.6.28-maemo46-wl1_armel.deb
(Reading database ... 48498 files and directories currently installed.)
Preparing to replace kernel-power-bootimg 2.6.28-maemo46-wl1 (using kernel-power-bootimg_2.6.28-maemo46-wl1_armel.deb) ...
Unpacking replacement kernel-power-bootimg ...
Setting up kernel-power-bootimg (2.6.28-maemo46-wl1) ...
Nokia-N900:/home/user/MyDocs/wl1251-maemo/binary/kernel-power# cd /boot
Nokia-N900:/boot# mv zImage-2.6.28-maemo46-wl1 multiboot/vmlinuz-2.6.28.10power46-wl1
Nokia-N900:/boot# leafpad /etc/multiboot.d/01-Maemo-2.6.28.10power46-wl1.item
Nokia-N900:/boot# leafpad /etc/multiboot.d/01-Maemo-2.6.28.10power46-wl1.item
Nokia-N900:/boot# been wrote it's in phone
did i forget thing ?
i have nitdroid , maemo , 46power , backupmenu , this driver

i have to retype the cmd in evrytime to it's works
 
Reply

Tags
aircrack, aircrack-ng, tutorial

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:40.