pwnagotchi
pwnagotchi copied to clipboard
Cant connect to web-ui using USB (driver installed)
Greetings! Have problem: cant connect to web interface of pwnagotchi using the USB connection. Driver for windows has been installed. But I cant ping 10.0.0.2. Host is unreachable. Looking for network interfaces there are "Ethernet connection 3" and IP is random everytime when I pluggin up USB. Pinging ok. But web-interface wont open with this IP. Also not working ssh. Can someone help me with setup? Thanks!
config.toml is below:
main.lang = "en"
main.whitelist = [
"Home 5G",
"Homieque"
]
main.plugins.grid.enabled = true
main.plugins.grid.report = true
main.plugins.grid.exclude = [
"Home 5G",
"Homieque"
]
ui.display.enabled = true
ui.display.type = "waveshare_2"
ui.display.color = "black"
You will have to manually configure the IP each time ,same happens to me
I'm lazy and instead of manually configure it, i have this on a powershell script
netsh interface ipv4 set address name="Ethernet 4" static 10.0.0.1 255.255.255.0 10.0.0.1
This will configure Interface Ethernet 4 with the needed IP
I am having a similar issue on linux despite seemingly everything connected correctly
link shows up and is configured as directed:
104: enxae304d280563: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether ae:30:4d:28:05:63 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.1/24 brd 10.0.0.255 scope global noprefixroute enxae304d280563
valid_lft forever preferred_lft forever
inet6 fe80::4d48:275e:c41d:293/64 scope link noprefixroute
valid_lft forever preferred_lft forever
address is set correctly:
104: enxae304d280563: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether ae:30:4d:28:05:63 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.1/24 brd 10.0.0.255 scope global noprefixroute enxae304d280563
valid_lft forever preferred_lft forever
inet6 fe80::4d48:275e:c41d:293/64 scope link noprefixroute
valid_lft forever preferred_lft forever
route looks correct:
$ ip route get 10.0.0.2
10.0.0.2 dev enxae304d280563 src 10.0.0.1 uid 1000
but host is unreachable:
$ ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
From 10.0.0.1 icmp_seq=1 Destination Host Unreachable
any clues?
Same problem with parkan. I scanned 10.0.0.2 with nmap with parameter '-Pn' and it showed that all ports were ignored. Need help please, thanks.