muskovitz 0 Newbie Poster

hey guys... i'd just want to test my router security for other weird reasons, so my airmon-ng acting weird whenever i type.

airmon-ng start eth1

Interface    Chipset        Driver

eth1        Broadcom    wl - [phy0]mon0: ERROR while getting interface flags: No such device

                (monitor mode enabled on mon0)

this problem start after sudo apt-get install bcmwl-kernerl-source

heres the other stuff you may want to know

ifconfig -a
eth0      Link encap:Ethernet  HWaddr e8:11:32:2e:a6:fd  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:18 

eth1      Link encap:Ethernet  HWaddr 00:1b:b1:a9:ac:e0  
          inet addr:192.168.1.124  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21b:b1ff:fea9:ace0/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:25357 errors:8 dropped:0 overruns:0 frame:34474
          TX packets:29140 errors:34 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:17317109 (17.3 MB)  TX bytes:4038775 (4.0 MB)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:7460 (7.4 KB)  TX bytes:7460 (7.4 KB)


lo        no wireless extensions.

eth0      no wireless extensions.

eth1      IEEE 802.11abg  ESSID:"KISSHEART"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: C0:C1:C0:2B:E4:89   
          Bit Rate=5.5 Mb/s   Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:on
          Link Quality=26/70  Signal level=-84 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

AGAIN THIS IS ONLY FOR MY SECURITY PURPOSES NOT FOR HACKING OTHER WIFI NETWORK
my other doubt is to remove the bcmwl-kernel-source and then modprobe brcmsmac module

Dani AI

Generated

For — short diagnosis and a safe recovery path.

Broadcom's proprietary STA/"wl" module is notorious for not providing real monitor/injection functionality; airmon-ng can appear to create a monitor interface while the driver still cannot do useful sniffing. The usual cure is to remove the proprietary package and use the appropriate in-kernel Broadcom driver (b43, brcmsmac or brcmfmac) plus the correct firmware for your chipset. (aircrack-ng.org)

Quick, non-destructive checklist (identify → remove wl → load correct driver → verify):

sudo lspci -nnk | grep -iA3 net
sudo apt purge --auto-remove bcmwl-kernel-source
sudo apt update && sudo apt install linux-headers-$(uname -r) build-essential
# if your chip needs b43 firmware (see lspci): 
sudo apt install b43-fwcutter firmware-b43-installer
# unload the proprietary module and try an open driver:
sudo modprobe -r wl
sudo modprobe brcmsmac   # or b43 or brcmfmac depending on the PCI ID you saw

See the Ubuntu Broadcom driver wiki for driver/firmware mapping and exact switching steps. (help.ubuntu.com)

After switching drivers, use airmon-ng correctly (kill interfering processes, start monitor mode and confirm with iw/iwconfig). If the open drivers still do not expose monitor/injection for your specific Broadcom chip, either use a known-compatible USB adapter (Atheros and certain chipsets are recommended) or consider advanced firmware projects (e.g., Nexmon) for a few supported Broadcom chips — Nexmon is powerful but platform- and chipset-specific. (manpages.debian.org)

Legal note: only test networks you own or have explicit permission to test.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.