I’m running Arch Linux on my beagle bone and trying to use a ralink based wifi/usb adapter to do some packet sniffing.
When I try to bring the wireless interface up:
iwconfig wlan0 mode monitor ifconfig wlan0 up
The Rx packets freeze. There are no errors in /var/log/kernel.log or /var/log/errors.log and no error messages print to the terminal.
I can usually get the interface to get up and monitoring if I try 5-10 times to just send it down and bring it back up again. But sometimes it will run for a while and then just stop receiving packets again.
if it's the v3.2.x kernel, i'd try swapping DMA for PIO mode (or vice
versa) in your config:
CONFIG_USB_TI_CPPI41_DMA_HW=y
# CONFIG_MUSB_PIO_ONLY is not set
# CONFIG_USB_INVENTRA_DMA is not set
# CONFIG_USB_TI_CPPI_DMA is not set
CONFIG_USB_TI_CPPI41_DMA=y
That’s a really interesting suggestion. Have you seen issues like this using DMA?
I don’t have a build environment set up. I’ve been using the kernel image and root filesystem that I downloaded from Arch Linux ARM. Is it possible to change these options without recompiling the kernel?