Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 175932 - airmon-ng fails to set up options for new network interface because of udev
Summary: airmon-ng fails to set up options for new network interface because of udev
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: udev maintainers
URL: http://trac.aircrack-ng.org/ticket/182
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-25 06:09 UTC by Andrey Melentyev
Modified: 2007-04-26 04:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Melentyev 2007-04-25 06:09:18 UTC
URL points to trac ticket at the aircrack-ng site. It seems that bug won't be fixed upstream, they said that its a udev problem. Please take a look there for better explanation.

Reproducible: Always

Steps to Reproduce:
1. emerge aircrack-ng, madwifi-ng
2. try to add a new Virtual Access Point using airmon-ng (especially when there is no other VAPs exist)

Actual Results:  
laptop rikz # airmon-ng start wifi0 9


Interface       Chipset         Driver

wifi0           Atheros         madwifi-ngError for wireless request "Set Frequency" (8B04) :
    SET failed on device ath0 ; No such device.

eth1            Centrino b/g    ipw2200
ath4            Atheros         madwifi-ng VAP (parent: wifi0)

Expected Results:  
Something like that:
laptop rikz # airmon-ng start wifi0 9


Interface       Chipset         Driver

wifi0           Atheros         madwifi-ng
eth1            Centrino b/g    ipw2200
ath4            Atheros         madwifi-ng VAP (parent: wifi0)
ath5            Atheros         madwifi-ng VAP (parent: wifi0) (monitor mode enabled)

# emerge --info
Portage 2.1.2.4 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-ck1 i686)
=================================================================
System uname: 2.6.20-ck1 i686 VIA Esther processor 1500MHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 24 Apr 2007 23:00:09 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.15
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=c3-2 -Os -pipe -fomit-frame-pointer -msse2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=c3-2 -Os -pipe -fomit-frame-pointer -msse2"
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs ccache confcache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://router/gentoo ftp://longobard.local/gentoo ftp://ignatich.local/gentoo ftp://kos.local/gentoo ftp://80.70.228.204/gentoo ftp://swdevel.local/gentoo ftp://kest.local/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/"
LANG="ru_RU.KOI8-R"
LDFLAGS="-Wl,--hash-style=both"
LINGUAS="ru en"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/xeffects /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://192.168.0.5/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo cdr cli cracklib crypt cscope cups dbus dga dri dts dvd dvdr emboss encode exif fam fbcon ffmpeg firefox flac ftp gdbm gif glut gphoto2 gpm hal hashstyle icc iconv imagemagick ipod isdnlog javascript jpeg kde lcms libg++ mad midi mikmod mmap mmx mp3 mpeg nls nptl nptlonly nsplugin ogg openexr opengl pam pcmcia pcre pdf perl png ppds pppd qt3 qt4 quicktime readline reflection samba sasl scanner sdl session spell spl sse sse2 ssl svg tetex tiff truetype truetype-fonts type1-fonts usb videos vorbis wifi win32codecs x86 xcomposite xml xorg xosd xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="fbdev via"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrey Melentyev 2007-04-26 04:39:47 UTC
Sorry, I've found a workaround here:

http://www.aircrack-ng.org/doku.php?id=airmon-ng