You are not logged in.

#1 2014-05-03 17:13:05

ErSoul
Member
Registered: 2012-01-26
Posts: 54

Can't change my wireless interface channel via iwconfig

Hello community, I'm trying to change my wireless channel 'cause aireplay-ng commands me to do it manually.

What I do:

sudo ifconfig mon0 down

sudo iwconfig mon0 channel 5

Error for wireless request "Set Frequency" (8B04) :
SET failed on device mon0 ; Device or resource busy.

No matter what I do, I get this error message...

Offline

#2 2014-05-03 22:17:39

cacplate
Member
Registered: 2013-08-30
Posts: 14

Re: Can't change my wireless interface channel via iwconfig

Clearly, you try to modify a busy ressource which means that your mon0 is not really down. Try using:

sudo ip link set mon0 down

This is the same thing but using iproute2 since ifconfig is deprecated and that it may be the problem.

Offline

#3 2014-05-04 19:45:03

ErSoul
Member
Registered: 2012-01-26
Posts: 54

Re: Can't change my wireless interface channel via iwconfig

Nope, I've just try it, and I get exactly the same error message.

By the way, thanks for the tip, I didn't know that ifconfig is deprecated...

Offline

#4 2014-05-04 20:01:47

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,354

Re: Can't change my wireless interface channel via iwconfig

Anything interesting in the journal or the output of dmesg after you try that command?  There may be pearls of wisdom in there.

Also, please look at the output of systemctl --type=service --no-pager
or post it here.  I am looking to see if there is some unseen hand in the background that is also controlling that interface.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2014-05-07 03:30:38

ErSoul
Member
Registered: 2012-01-26
Posts: 54

Re: Can't change my wireless interface channel via iwconfig

The journal shows nothing related to the interface. Not even when I execute the airmon command nor when I try to change the interface channel...

systemctl output:

UNIT                                            LOAD   ACTIVE SUB     DESCRIPTION
  colord.service                              loaded active running Manage, Install and Generate Color Profiles
  cups.service                                loaded active running CUPS Printing Service
  dbus.service                                loaded active running D-Bus System Message Bus
  getty@tty1.service                        loaded active running Getty on tty1
  kdm.service                                 loaded active running K Display Manager
  kmod-static-nodes.service             loaded active exited  Create list of required static device nodes for the cu
  mysqld.service                             loaded active running MariaDB database server
  netctl.service                                loaded active exited  (Re)store the netctl profile state
  NetworkManager.service                loaded active running Network Manager
  ntpd.service                                 loaded active running Network Time Service
  polkit.service                                loaded active running Authorization Manager
  rtkit-daemon.service                      loaded active running RealtimeKit Scheduling Policy Service
  systemd-backlight@backlight:acpi_video0.service loaded active exited  Load/Save Screen Backlight Brightness of backlight:acp
  systemd-backlight@backlight:radeon_bl0.service  loaded active exited  Load/Save Screen Backlight Brightness of backlight:rad
  systemd-fsck-root.service              loaded active exited  File System Check on Root Device
  systemd-journald.service               loaded active running Journal Service
  systemd-logind.service                  loaded active running Login Service
  systemd-modules-load.service       loaded active exited  Load Kernel Modules
  systemd-random-seed.service        loaded active exited  Load/Save Random Seed
  systemd-readahead-collect.service  loaded active exited  Collect Read-Ahead Data
  systemd-remount-fs.service           loaded active exited  Remount Root and Kernel File Systems
  systemd-rfkill@rfkill0.service          loaded active exited  Load/Save RF Kill Switch Status of rfkill0
  systemd-rfkill@rfkill1.service          loaded active exited  Load/Save RF Kill Switch Status of rfkill1
  systemd-rfkill@rfkill2.service          loaded active exited  Load/Save RF Kill Switch Status of rfkill2
  systemd-rfkill@rfkill3.service          loaded active exited  Load/Save RF Kill Switch Status of rfkill3
  systemd-rfkill@rfkill4.service          loaded active exited  Load/Save RF Kill Switch Status of rfkill4
  systemd-sysctl.service                  loaded active exited  Apply Kernel Variables
  systemd-tmpfiles-setup-dev.service      loaded active exited  Create Static Device Nodes in /dev
  systemd-tmpfiles-setup.service            loaded active exited  Create Volatile Files and Directories
  systemd-udev-trigger.service               loaded active exited  udev Coldplug all Devices
  systemd-udevd.service                        loaded active running udev Kernel Device Manager
  systemd-update-utmp.service              loaded active exited  Update UTMP about System Boot/Shutdown
  systemd-user-sessions.service            loaded active exited  Permit User Sessions
  systemd-vconsole-setup.service           loaded active exited  Setup Virtual Console
  udisks2.service                                   loaded active running Disk Manager
  upower.service                                  loaded active running Daemon for power management
  user@1000.service                               loaded active running User Manager for UID 1000
  wpa_supplicant.service                          loaded active running WPA supplicant

Offline

Board footer

Powered by FluxBB