NetStumbler.org Forums

Go Back   NetStumbler.org Forums > Software > Unix/Linux
Register Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old 03-31-2005   #1 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
Aireplay: open(/dev/rtc): No such device

I'm having a problem with aireplay on one of my Gentoo boxes. I've compiled and used it successfully it on another computer before, but on this one I get this error

Code:
open(/dev/rtc): No such device
when I try to run it, even when I run it as root with no command line switches.

I am running:
- custom kernel, version 2.6.10-gentoo-r6 (from uname -r output)
- a Hawking Technologies H-WU 300 prism2 usb wireless card
- linux-wlan-ng-0.2.1-pre26 drivers patched from the aireplay-2.2 tarball

I've tried rebuilding the drivers and aireplay after a make clean using a normal user and root. I know the drivers work because kismet and airodump work fine, and the output dumps look normal in ethereal.

I believe /dev/rtc is the real time clock in linux, and it does exist in my /dev directory.

Does anyone know why I'm getting this error?
whoisvince is offline   Reply With Quote
Old 03-31-2005   #2 (permalink)
wrzwaldo
I amuse you?
 
Join Date: Dec 2003
Posts: 9,127
Quote:
Originally Posted by whoisvince
I'm having a problem with aireplay on one of my Gentoo boxes. I've compiled and used it successfully it on another computer before, but on this one I get this error

Code:
open(/dev/rtc): No such device
when I try to run it, even when I run it as root with no command line switches.

I am running:
- custom kernel, version 2.6.10-gentoo-r6 (from uname -r output)
- a Hawking Technologies H-WU 300 prism2 usb wireless card
- linux-wlan-ng-0.2.1-pre26 drivers patched from the aireplay-2.2 tarball

I've tried rebuilding the drivers and aireplay after a make clean using a normal user and root. I know the drivers work because kismet and airodump work fine, and the output dumps look normal in ethereal.

I believe /dev/rtc is the real time clock in linux, and it does exist in my /dev directory.

Does anyone know why I'm getting this error?

See dark bold text.


And google says...

http://lists.us.dell.com/pipermail/l...er/035407.html "/dev/rtc"


I know it's probably not the same computer but you get the picture.

Last edited by wrzwaldo : 03-31-2005 at 09:37 PM.
wrzwaldo is offline   Reply With Quote
Old 04-01-2005   #3 (permalink)
whoisvince
Registered Member
 
Join Date: Mar 2005
Posts: 21
Problem resolved.

Ugh. If I get any dumber, I'm going to need to wear a helmet...

I had actually found some info like that right after I posted. I went through my kernel config and *thought* I had checked enhanced RTC support, but apparently I didn't save it correctly before I recompiled. I went back after getting your link, wrzwaldo, to compile it as a module, and lo and behold, it wasn't compiled into the kernel at all. I assumed it was a compiling problem, not a kernel module problem because I've never had an RTC problem before.

I enabled RTC support and aireplay works like a charm. I apologize for the superfluous post.
whoisvince is offline   Reply With Quote
Old 04-01-2005   #4 (permalink)
Dutch
Humourless EuroMod.
 
Dutch's Avatar
 
Join Date: Mar 2004
Location: City of Mermaids, Denmark
Posts: 6,813
Quote:
Originally Posted by whoisvince
Ugh. If I get any dumber, I'm going to need to wear a helmet...
Drop the helmet. Do a search for the Pcap. Weighs less, dumbness impression factor is high when worn, and is available for purchase over the internet.

Dutch
__________________
All your answers are belong to Google. SEARCH DAMMIT!
Warning. Warning.
Low C8H10N4O2 level detected. Operator halted....
Dutch is offline   Reply With Quote
Old 04-01-2005   #5 (permalink)
Kronk
Registered Member
 
Join Date: Jul 2004
Posts: 13
Or you could just comment out the offending /dev/rtc checks in the aireplay.c file as I did. Aircrack seems to work fine on my DELL hardware running RedHat ES. Your times will be off, but I am not really interested in setting any speed records, I just want to test AP security.

This is also required if you are using RISC based hardware, like an Apple Powerbook, as enhanced RTC is not a kernel option.
Kronk is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Google
 
Web NetStumbler.org

All times are GMT -7. The time now is 01:07 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 ©2007, Crawlability, Inc.


All messages express the views of the author and are for entertainment purposes only. Netstumbler.org cannot be held responsible for the authenticity of the content or the actions of its members. By using this site and its services, you warrant that you will not post any messages that are discriminating, obscene, hateful, threatening, or otherwise violates any laws and you release Netstumbler.org from any future claims of any kind whatsoever including, but not limited to, addiction and loss of productivity. All forum messages, private messages and any other content are properties of Netstumbler.org. Even if publicly available, personal or copyrighted information are not to be posted without the consent of the owner. Distribution of licensed and copyrighted materials in any way not endorsed by the copyright owner is strictly prohibited. You may not use this site and its resources to spam other sites or individuals or perform any action that violates any law. Items sold or bought in the For Sale forum are sold as is and no warranty or insurance of any kind is provided. Netstumbler.org cannot be held responsible for the outcome of any transactions and no warranty of any kind is provided, either express or implied. Vulgar words are not allowed in the subject lines ; they may be used in the message body in any forum. The Administrator, Super Moderators and Moderators of Netstumbler.org have the right to remove, edit, move or close any thread for any reason and to reveal your identity and other known information in the event of a complaint or legal action arising from any message posted by you.