Comments (24)
modprobe usbnet
and then doas ip address add 10.0.0.1/255.255.255.0 dev enp0s29u1u1
managed to make it work! thank you and sorry for the loss of time lmao
i'm super pumped to have my pwnagotchi working now :D
from pwnagotchi.
forgot to mention: I tried to chroot into the rootfs, but then I remembered that i was trying to chroot into an arm system on and amd64 system.. lol
from pwnagotchi.
another thing: maybe it's because I haven't logged in yet, but the waveshare e-ink display displays (pun not intented) nothing, no face, no status; is it normal?
from pwnagotchi.
I assume you have connected pwnagotcha to a windows machine, because 169.254.117.14 indicates an invalid IP adress. This vieo might help you; I already timestamped the important bit https://youtu.be/HWfO2Xh5Wbc&t=414
from pwnagotchi.
I actually have plugged my pwnagotchi to my linux host; I skipped the whole create the 10.0.0.1 ip part though
from pwnagotchi.
also, as I said; my eink display is not showing anything; so idk if i'm in manual mode or not (as the video says); I just soldered some gpio headers and slapped the screen on them; did I miss a step?
from pwnagotchi.
I skipped the whole create the 10.0.0.1 ip part though
It will not work when you skip steps, they are vital.
did I miss a step?
yes. Try the video or the manual. I link it here:
Wait before removing the SD card as you will need to create one last file on it with the initial configuration.
from pwnagotchi.
i created the inital configuration, but i skipped the whole IP part because it talked of networkmanager and I don't use it; do i just ip addr add 10.0.0.1/255.255.255.0 dev usb0
? or do I have to take other steps?
in the config.toml
in /boot
I did put ui.display = "waveshare_2"
from pwnagotchi.
Your network device name should start with "en". Post your dmesg output to debug your problem.
A photo from your e-Ink screen might help to identify it. My model does have a silver sticker labeled with G stuck on the board and I adressed it in issue #105 and added it here #107
from pwnagotchi.
attached: photos of my e-ink display
from pwnagotchi.
Your network device name should start with "en". Post your dmesg output to debug your problem.
doas dmesg -W
[ 89.299006] logitech-hidpp-device 0003:046D:4096.0009: HID++ 4.5 device connected.
[ 114.430881] usb 2-1.1: new high-speed USB device number 4 using ehci-pci
[ 114.518149] usb 2-1.1: New USB device found, idVendor=0525, idProduct=a4a2, bcdDevice= 5.10
[ 114.518159] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 114.518163] usb 2-1.1: Product: RNDIS/Ethernet Gadget
[ 114.518166] usb 2-1.1: Manufacturer: Linux 5.10.103-v7+ with 3f980000.usb
[ 114.566557] cdc_subset: probe of 2-1.1:1.0 failed with error -22
[ 114.567635] cdc_subset 2-1.1:1.1 usb0: register 'cdc_subset' at usb-0000:00:1d.0-1.1, Linux Device, 42:86:c5:36:15:52
[ 114.567689] usbcore: registered new interface driver cdc_subset
[ 114.569613] cdc_ether: probe of 2-1.1:1.0 failed with error -16
[ 114.569650] usbcore: registered new interface driver cdc_ether
should note: my host is gentoo linux, kernel 6.5.9, llvm libc
from pwnagotchi.
Your network device name should start with "en". Post your dmesg output to debug your problem.
doas dmesg -W [ 89.299006] logitech-hidpp-device 0003:046D:4096.0009: HID++ 4.5 device connected. [ 114.430881] usb 2-1.1: new high-speed USB device number 4 using ehci-pci [ 114.518149] usb 2-1.1: New USB device found, idVendor=0525, idProduct=a4a2, bcdDevice= 5.10 [ 114.518159] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 114.518163] usb 2-1.1: Product: RNDIS/Ethernet Gadget [ 114.518166] usb 2-1.1: Manufacturer: Linux 5.10.103-v7+ with 3f980000.usb [ 114.566557] cdc_subset: probe of 2-1.1:1.0 failed with error -22 [ 114.567635] cdc_subset 2-1.1:1.1 usb0: register 'cdc_subset' at usb-0000:00:1d.0-1.1, Linux Device, 42:86:c5:36:15:52 [ 114.567689] usbcore: registered new interface driver cdc_subset [ 114.569613] cdc_ether: probe of 2-1.1:1.0 failed with error -16 [ 114.569650] usbcore: registered new interface driver cdc_ether
should note: my host is gentoo linux, kernel 6.5.9, llvm libc
Can you try different usb ports and cables? It should not be failing with errors.
Also too bad we can't see the type of display on the third picture: In the lower left corner there are glue residues but no sticker Oh you can actually make out the type, it says V4. please share the complete config.toml here
from pwnagotchi.
main.whitelist = [
"redacted"
]
main.plugins.grid.enabled = true
main.plugins.grid.report = true
main.plugins.grid.exclude = [
"redacted"
]
ui.display.type = "waveshare_2"
I did not know I had V4; I ordered v2... is v4 supported? also yes, I will try with other cables
from pwnagotchi.
main.whitelist = [ "redacted" ] main.plugins.grid.enabled = true main.plugins.grid.report = true main.plugins.grid.exclude = [ "redacted" ] ui.display.type = "waveshare_2"
I did not know I had V4; I ordered v2... is v4 supported? also yes, I will try with other cables
Maybe try with a known good micro usb cable and a micro usb device first. Ensure it is recognized properly by lsusb
It is clearly labeled as V4 of the rev2.1
You are also missing the enable value 🥲
from pwnagotchi.
Maybe try with a known good micro usb cable and a micro usb device first. Ensure it is recognized properly by lsusb
the current cable i'm using works fine; I plug my kobo ereader and it functions fine, I can see it in lsusb
It is clearly labeled as V4 of the rev2.1
yeah but the store page said it was v2 lol, do I put ui.display.type = "waveshare_4"
?
You are also missing the enable value 🥲
I did put it in /etc/pwnagotchi/config.toml:
# Add your configuration overrides on this file any configuration changes done to default.toml will be lost!
# Example:
ui.display.enabled = true
ui.display.type = "waveshare_2"
main.custom_plugins = "/usr/local/share/pwnagotchi/custom-plugins/"
(I mounted the sd card)
from pwnagotchi.
after putting waveshare_4
in /etc/pwnagotchi/config.toml
the screen works and I can confirm that I am in MANU mode! tho I still can't ssh into it with password raspberry
from pwnagotchi.
after putting
waveshare_4
in/etc/pwnagotchi/config.toml
the screen works and I can confirm that I am in MANU mode! tho I still can't ssh into it with passwordraspberry
Great that your display works!
Starting always in AUTO mode can be set with a marker file (don't know thw path by heart).
Ensure to connect the Data cable before plugging in power. After boot you will not be able to connect via usb
from pwnagotchi.
Ensure to connect the Data cable before plugging in power. After boot you will not be able to connect via usb
that is what I'm doing; the microusb part is already plugged in rpi, but the USB-A not; I'm plugging in the USB-a, see usb0 appear and try to connect to that;
to be noted:
usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq state UP group default qlen 1000
link/ether ee:3a:e3:69:c8:2e brd ff:ff:ff:ff:ff:ff
altname enp0s29u1u1
inet 169.254.120.147/16 brd 169.254.255.255 scope global noprefixroute usb0
valid_lft forever preferred_lft forever
inet6 fe80::1584:dbeb:2458:edeb/64 scope link
valid_lft forever preferred_lft forever
this is what you meant when you said it should start with en
? I try to connect with ssh ssh [email protected]
but nothing..
from pwnagotchi.
Ensure to connect the Data cable before plugging in power. After boot you will not be able to connect via usb
that is what I'm doing; the microusb part is already plugged in rpi, but the USB-A not;
rpi0w2 does not have USB-A connector, only two micro usb. Check this picture to ensure you didn't mix them up. My rpi zero also powers up when connecting DATA. So try it again:
- unplug both cables
- only connect data (which must be already plugged in your computer)
- then connect power cable
- then ensure your dmesg does recognice cdc_ether connections correctly
this is what you meant when you said it should start with
en
? I try to connect withssh ssh [email protected]
but nothing..
No, this is not the correct device. I do not know which service (other than broken windoze services) do give out adresses from 169.254.0.0/16.
You have already shared the failed cdc_ether connection in dmesg. Try fixing that first, before looking further.
from pwnagotchi.
ok so; I tried on another computer, and it did appear as en; i did ip addr add 10.0.0.1/255.255.255.0 dev en<something
then ssh [email protected]
and it worked! so the problem is not the cable, it's my host; do I need some particular driver? my kernel is not a pre-compiled one and I left out some stuff; what could be the cause?
on the other pc dmesg says:
[ 4772.655660] cdc_subset: probe of 3-1:1.0 failed with error -22
[ 4772.656782] cdc_subset 3-1:1.1 usb0: register 'cdc_subset' at usb-0000:03:00.4-1, Linux Device, 9a:70:dd:f9:7c:12
[ 4772.656835] usbcore: registered new interface driver cdc_subset
[ 4772.656886] cdc_ether: probe of 3-1:1.0 failed with error -16
[ 4772.656929] usbcore: registered new interface driver cdc_ether
[ 4772.665339] cdc_subset 3-1:1.1 enp3s0f4u1i1: renamed from usb0
[ 4964.089739] usb 3-1: USB disconnect, device number 8
[ 4964.090611] cdc_subset 3-1:1.1 enp3s0f4u1i1: unregister 'cdc_subset' usb-0000:03:00.4-1, Linux Device
from pwnagotchi.
post scriptum: can't I make the rpi connect to my wifi so I can ssh in w/o plugging it in my pc?
from pwnagotchi.
post scriptum: can't I make the rpi connect to my wifi so I can ssh in w/o plugging it in my pc?
No, I do not know of any way. The wifi adapter is configured for monitoring stations/clients and will not connect by default to your AP.
You are probably easier off, using another computer(or start from live usb stick or smth) to connect via USB. There are many tutorials online
from pwnagotchi.
if I know what module I need to use to make the rpi behave properly there is no need; i already saw that another pc, on arch linux, it works fine, idk if it's a kernel module i'm missing/not loaded
from pwnagotchi.
Fixing your system does not fit in this scope, but just for completion I think usbnet is the culprit ;)
from pwnagotchi.
Related Issues (20)
- [BUG] Pwnagotchi wont stay open HOT 2
- [BUG] Always in MANU Mode HOT 3
- [BUG] Auto Mode won't start, stuck at "starting monitor interface" HOT 6
- No default controller available HOT 9
- Support e-Ink Waveshare 2.13" model G (silver Sticker) HOT 1
- [BUG] ERROR:root:There was an error processing the configuration file: 'utf-8' codec can't decode byte 0xb0 in position 8390: invalid start byte HOT 1
- [BUG] mastodon plugin doesn't post updates HOT 2
- [BUG] can't access bettercap's webui when the pwnagotchi is plugged in PC and it's in MANU mode HOT 3
- [BUG] RPI4 Network is down HOT 3
- is the UPS lite V1.2 supported? how much does it change from the 1.1? HOT 6
- SSH credentials (default.toml) HOT 6
- Support USB Wifi Dongles (Realtek) HOT 4
- does/will this project support the orange pi zero 2W? HOT 4
- [BUG] Cannot update to v1.8.5 HOT 4
- [BUG] Hitting `shutdown`, `reboot` or `restart in auto mode` gives me an error HOT 4
- [BUG] waiting for bettercap API to be available ... in 1.8.4 HOT 2
- [BUG]Handshakes-m Plugin isnt functioning properly
- [BUG] Typo in plugin upgrade
- Bought a recent RPIZ2W - Not Working [BUG]
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwnagotchi.