Skip to content

Ethernet over USB and Static IP in STA mode

Compare
Choose a tag to compare
@psolyca psolyca released this 15 Jul 09:48

New features of this releas :

  • Thanks to @luckylz2git you can setup a static IP for the station mode as some people do not use a DHCP server. The new option is called STA_IP in wifi.conf.
  • More over, @luckylz2git add the ability to have a default wifi.conf configuration file outside of the firmware but not on the SDCard. This way if you have trouble with your SDCard or did not put it in, you can always have a connection.
    The wifi.conf has to be copied on /tmp/FL0 partition thus this could be done ONLY with a telnet access (yet, I will later add the ability to create it automatically).
  • A new driver has been added which permit to have access to the cam through USB, ethernet over USB. Yes, now you can have access to your cam without Wifi thus certainly reducing battery usage (did not bench the battery). Streaming to a computer through USB works (on my computer), you need the windows USB gadget driver (attached - try all).
    Streaming to a phone in host mode should work but it is not tested yet (I need to buy the cable or need a tester) and sould NOTwork with the official app.
    The wifi.conf file is the main configuration file for this driver. You have 3 options :
    • ETHER_MODE=yes|no
      To enable or disable the driver
    • KEEP_WIFI=yes|no
      To keep the wifi active with ethernet over USB or not
    • ETHER_IP=192.168.40.1
      The IP address

ATTENTION : There is a bug in Windows10 for RNDIS driver, one have to use the driver from Pwnagotchi here to be able to use the ethernet over USB feature (thanks to jorge borja on Discord)