thaihugo

Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: i cant connect with USB tethering… #12343
    thaihugo
    Participant

    I think there is a tab on your usb network adapter in windows to share the internet connection

    As for wifi, this is normal linux configuration. Check your /boot/wpa_supplicant.conf configuration to make sure you have a proper ssid and password
    Ie replace homenet with your ssid and psk=’yoursuperpassword’
    You might need to restart twice.

    in reply to: i cant connect with USB tethering… #12341
    thaihugo
    Participant

    did you try a ‘setgw’ command once connected?

    in reply to: i cant connect with USB tethering… #12339
    thaihugo
    Participant

    You seem to not get an ip adress.

    Your usb adapter should have 192.168.44.1

    You can try to set it manually. In your network parameters, find the usb adapter and try to set a fixed ip with 192.168.44.1 mask 255.255.255.0 , gateway and dns not important.

    in reply to: i cant connect with USB tethering… #12337
    thaihugo
    Participant

    Does your config.txt exist with dtoverlay=dwc2 in it?
    Also try an “ipconfig /all” on pc to see if your usb network is up. Do you have an usb interface in config panel-network interface?

    in reply to: New ap mode: Failed to create interface mon.wlan0: -95 #12327
    thaihugo
    Participant

    Hello Re4son,

    I got it.
    ignore_broadcast_ssid=1 does not broadcast a “blank” ssid as =2 does, so none of my phone can see the hidden access point. i have to create the connection manually and trust it does exist.

    Maybe a one line in the Howto to say the ap must be setup manually on the phone would be helpful?

    Thanks for your time

    Hugo

    in reply to: New ap mode: Failed to create interface mon.wlan0: -95 #12321
    thaihugo
    Participant

    Do you need more extensive logs?

    in reply to: New ap mode: Failed to create interface mon.wlan0: -95 #12320
    thaihugo
    Participant

    Hello Re4son,

    I redid it justto be sure, however Ihave the same result.

    The system log has some kernel errors too. I installed the image form your download and did simply an apt update && apt upgrade, so hostapd might be updated.

    Here is part of the (cropped, sorry about that) log:

    ce enter: mon0 type 6                                                                     NUM_NL80211_IFTYPES: (13)                                                                 pos->wdev.iftype: (2)                                                                     cfg80211_check_combinations for iftype_num: (0)        val:(0)                            cfg80211_check_combinations for iftype_num: (1)        val:(0)                            Dec 11 18:52:02 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:02 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:02 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:02 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:02 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:02 pi-tail systemd-networkd[151]: mon0: Gained carrier
    Dec 11 18:52:02 pi-tail systemd-timesyncd[150]: Network configuration changed, trying to eDec 11 18:52:02 pi-tail systemd-timesyncd[150]: Network configuration changed, trying to eDec 11 18:52:07 pi-tail systemd-networkd[151]: wlan0: Gained carrier
    Dec 11 18:52:07 pi-tail systemd-timesyncd[150]: Network configuration changed, trying to eDec 11 18:52:07 pi-tail kernel: brcmfmac: power management disabled
    Dec 11 18:52:07 pi-tail kernel: net_ratelimit: 13 callbacks suppressed
    Dec 11 18:52:07 pi-tail kernel: brcmfmac: brcmf_cfg80211_change_iface: brcmf_cfg80211_chanDec 11 18:52:07 pi-tail kernel: brcmfmac: brcmf_cfg80211_update_proto_addr_mode: brcmf_cfgDec 11 18:52:07 pi-tail kernel: brcmfmac: brcmf_cfg80211_add_iface: brcmf_cfg80211_add_ifaDec 11 18:52:07 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:07 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:07 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:07 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:07 pi-tail kernel: brcmfmac: brcmf_vif_add_validate: brcmf_vif_add_validate, Dec 11 18:52:07 pi-tail kernel: brcmfmac: 
    root@pi-tail:~# /opt/Kali-Pi/Menus/RAS-AP/ras-ap.sh status
    RAS-AP is running.
    /opt/Kali-Pi/Menus/RAS-AP/ras-ap.sh: line 90: return: can only 

    return’ from a function or sourced script
    root@pi-tail:~# /opt/Kali-Pi/Menus/RAS-AP/ras-ap.sh
    Usage: /opt/Kali-Pi/Menus/RAS-AP/ras-ap.sh {start|stop|status|restart}
    root@pi-tail:~# /opt/Kali-Pi/Menus/RAS-AP/ras-ap.sh stop
    —————————————
    STOP Remote Access Wifi-AP SERVICES
    —————————————
    wlan0: interface state ENABLED->DISABLED
    wlan0: AP-DISABLED
    nl80211: deinit ifname=wlan0 disabled_11b_rates=0
    Device “mon0” does not exist.
    root@pi-tail:~# /opt/Kali-Pi/Menus/RAS-AP/ras-ap.sh start
    ——————————–
    START Remote Access WiFi AP
    ——————————–
    6: mon0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
    link/ieee802.11/radiotap b8:27:eb:xx:xx:xx brd ff:ff:ff:ff:ff:ff
    Configuration file: /opt/Kali-Pi/Menus/RAS-AP/ras-ap.conf
    Failed to create interface mon.wlan0: -95 (Operation not supported)
    wlan0: Could not connect to kernel driver

    Using interface wlan0 with hwaddr b8:27:eb:xx:xx:xx and ssid “AxxxxxT”
    wlan0: interface state UNINITIALIZED->ENABLED
    wlan0: AP-ENABLED
    root@pi-tail:~#
    `

    in reply to: TL-722N v1 not working with Pi-tail pre made image #12304
    thaihugo
    Participant

    That was it.

    Thanks a lot!

    Hugo

Viewing 8 posts - 1 through 8 (of 8 total)