Known working hardware peripherals

usb otg ethernet dongle


adds ethernet + usb ports
make internet work: change usb0-cfg to

 allow-hotplug usb0
iface usb0 inet static
  address 10.0.0.2
  netmask 255.255.255.0
  network 10.0.0.0
  broadcast 10.0.0.255
  gateway 10.0.0.1
  metric 40

metric 40 is important here
why are we changing the usb settings when this is going to be eth0? well the eth0 is going to be fully dhcp and automatic, however we need to add a “metric” so that the OS prioritizes eth0 higher than usb0, and therefore will allow internet traffic through.

usb gps


baudrate: 9600

4 Likes

I picked up a MicroUSB to 10/100 RJ-45 networking adaptor off Banggood for ~$7AUD.

https://www.banggood.com/Micro-USB-2_0-to-Ethernet-10-or-100-RJ45-Network-Lan-Adapter-Card-p-921585.html

Output from lsusb.

Bus 001 Device 002: ID 0fe6:9700 ICS Advent DM9601 Fast Ethernet Adapter

and my eth0-cfg

allow-hotplug eth0
iface eth0 inet static
address 192.168.1.23
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 192.168.1.1

And if you want to reach the internet and/or PwnGrid you need to add a default route.

sudo route add default gw 192.168.1.1

1 Like

Got a couple of the following in the UK that work nicely.

This is a clone of the GPS device mentioned above, that’s available in the UK and works nicely.

1 Like

GlobalSat BU-353-S4 USB GPS Receiver

1 Like

NEO-6M UART GPS Module

Demo: https://twitter.com/ben_leb/status/1194311274466873345

Panda N600 Dual Band for 2.4GHz & 5GHz

@neurovish nice! how does it perform?

Holy crap I wonder if that would solve some networking issues I’ve noticed…thanks for the info!

While the Vk-172 technically “works”. Based on my experience I’d not recommend this one. Have had it for a few days now, and it takes foreeeeeever to get a fix. On my 10 minute morning bicycle commute, I still won’t have a fix by the time I arrive to work, which means no gps tagging of any handshakes I may have nabbed on my commute. Have not been able to get a fix at all indoors at work, but will eventually get one sitting on my desk at home.

At first I thought it was broken, or I had messed up the config somehow. Nope, it’s connected and spewing data (confirmed via screen on the pwnagotchi), just takes forever to start spewing actual coords.

If you don’t mind having to leave your pwnagotchi someplace where it can get a good signal for 10 or 20 minutes prior to taking it out I guess it’s ok. I find that kind of annoying though when it means that most short trips of 10 - 30 minutes I’ll only be getting GPS data for maybe half of the time I’m out and about with my pwnagotchi.

1 Like

Qi Standard Wireless Charging Coil Receiver Module
It almost perfectly fit in the case and combined with Pisugar 1200mah works like a charm.

giphy4400920657122989941

https://www.aliexpress.com/item/32994388970.html?spm=a2g0s.9042311.0.0.604a4c4dATskGJ

3 Likes

hi, is this config general?
I mean my network is 192.168.1.X and gateway s 192.168.1.1…shouldn’t i put something different then?

Sorry mspinolo, you seem to have combined my eth0 config with the original usb0 config posted by the OP. And no, the config isn’t general as it’s dependent on the network interface you’re attempting to configure as well as the specifics of the network you’re wanting to join. What I would recommend is that you run

ifconfig -a

when you plug in an external network adaptor to find the interface you’d want to configure. In my case my wired network interface came up as eth0.

I should also mention that Trevor’s post regarding the Vk-172 GPS chipset is right on the money. While the unit does work it takes ~15 minutes being stationary outside to get GPS lock. Furthermore it doesn’t seem to be able to quickly reacquire a fix when it falls out of lock.

Speaking of GPS, does anyone have any info on where GPS data is stored when you successfully pull a handshake while also having GPS lock?