Closed triple-threat-dan closed 5 months ago
Any help is much appreciated! I can paste my config.toml if needed.
@triple-threat-dan check bettercap logs with sudo journalctl --unit=bettercap.service
, it seems that problems with it (maybe it could not initialize monitor mode or something).
@lucidyan Thanks for the response, here's what I get in the bettercap logs:
Jan 12 14:14:00 triplethreatpwny rfkill[30067]: unblock set for all
Jan 12 14:14:01 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:01 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:02 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:03 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:04 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:04 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:05 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:06 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:07 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:07 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:08 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:08 triplethreatpwny rfkill[30210]: unblock set for all
Jan 12 14:14:09 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:10 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:10 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:10 triplethreatpwny rfkill[30253]: unblock set for all
Jan 12 14:14:11 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:11 triplethreatpwny rfkill[30266]: unblock set for all
Jan 12 14:14:12 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:12 triplethreatpwny rfkill[30279]: unblock set for all
Jan 12 14:14:12 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:13 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Jan 12 14:14:13 triplethreatpwny rfkill[30309]: unblock set for all
Jan 12 14:14:14 triplethreatpwny bettercap-launcher[460]: command failed: Operation not supported (-95)
Adding content from /var/log/syslog too in case it helps:
Jan 12 19:58:08 triplethreatpwny rfkill: unblock set for all
Jan 12 19:58:08 triplethreatpwny kernel: [19956.059693] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
Jan 12 19:58:08 triplethreatpwny kernel: [19956.059708] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
Jan 12 19:58:08 triplethreatpwny kernel: [19956.096662] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
Jan 12 19:58:08 triplethreatpwny kernel: [19956.096679] brcmfmac: brcmf_vif_add_validate: ... there is already a monitor interface, returning EOPNOTSUPP
Jan 12 19:58:08 triplethreatpwny kernel: [19956.096693] ieee80211 phy0: brcmf_cfg80211_add_iface: iface validation failed: err=-95
Jan 12 19:58:09 triplethreatpwny bettercap-launcher[818]: command failed: Operation not supported (-95)
Jan 12 19:58:09 triplethreatpwny rfkill: unblock set for all
Jan 12 19:58:09 triplethreatpwny kernel: [19956.819832] brcmfmac: brcmf_cfg80211_set_power_mgmt: Forcing power management
Jan 12 19:58:09 triplethreatpwny kernel: [19956.819851] brcmfmac: brcmf_cfg80211_set_power_mgmt: power save disabled
Jan 12 19:58:09 triplethreatpwny kernel: [19956.862791] brcmfmac: brcmf_vif_add_validate: Attempt to add a MONITOR interface...
Jan 12 19:58:09 triplethreatpwny kernel: [19956.862810] brcmfmac: brcmf_vif_add_validate: ... there is already a monitor interface, returning EOPNOTSUPP
Jan 12 19:58:09 triplethreatpwny kernel: [19956.862827] ieee80211 phy0: brcmf_cfg80211_add_iface: iface validation failed: err=-95
Jan 12 19:58:09 triplethreatpwny bettercap-launcher[818]: command failed: Operation not supported (-95)
@lucidyan I ended up just reflashing it with a fresh config and it all works now. Bettercap got borked somehow, that's all I could tell.
Thank you for your help though!
Closing bug.
@triple-threat-dan Sorry for the late response, but I want to say that I see this error from time to time, rebooting helps. It seems that this is due to some kind of implicit case when creating/recreating the monitor interface. Glad to see that I helped you a bit!
Describe the bug Pwnagotchi won't start in Auto mode. I can ssh and connect in Manual mode. I cannot reach the web portal through
http://10.0.0.2:8080
, but again doing ssh into 10.0.0.2 works just fine while connected via usb (both in Manu & Auto mode).Checking the logs by running
tail -f /var/log/pwnagotchi.log
I get this:And it goes on forever stuck at that step.
Have tried restarting the pwnagotchi service by running
sudo touch /root/.pwnagotchi-auto && systemctl restart pwnagotchi
and have tried rebooting, both through commandline and unplugging.systemctl status pwnagotchi
isn't very helpful:Environment (please complete the following information):