Giter VIP home page Giter VIP logo

Comments (7)

janten avatar janten commented on September 3, 2024

Do you get the same error if you run just dptrp1 register with no other arguments?

from dpt-rp1-py.

wart-github avatar wart-github commented on September 3, 2024

Thanks for the quick reply. With dptrp1 register it looks for Digital Paper for 30 seconds, then Failed, then clean up. If I run:

dptrp1 --addr [fe80::90df:46ff:fe5c:c471%enp0s20f0u1] register

I get the errors in err1.txt.
err1.txt

from dpt-rp1-py.

wart-github avatar wart-github commented on September 3, 2024

I should note that the ipv6 that ifconfig reports is different than the ipv6 that avahi-resolv -n digitalpaper.local reports.

peterjh@auriol ~/.local/bin $ avahi-resolve -n digitalpaper.local
digitalpaper.local fe80::90df:46ff:fe5c:c471

ifconfig
enp0s20f0u1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 169.254.217.149 netmask 255.255.0.0 broadcast 169.254.255.255
inet6 fe80::7c07:fd10:f9b5:c4f0 prefixlen 64 scopeid 0x20
ether 72:c4:5c:46:df:93 txqueuelen 1000 (Ethernet)
RX packets 20 bytes 4287 (4.1 KiB)

However, I tried both and get the same error.

from dpt-rp1-py.

janten avatar janten commented on September 3, 2024

The address displayed in ifconfig is the address of your computer's network interface, you need the one from avahi-resolve.

Looks like the requests library interprets the IPv6 address as a hostname, this may be because of the network path identifier, which should not be needed. Try to use just

dptrp1 --addr fe80::90df:46ff:fe5c:c471 register

But for me the most reliable method so far was to disable WiFi on the DPT-RP1 device, then run dptrp1 register with no further arguments, and switch WiFi on while dptrp1 is searching for the device.

from dpt-rp1-py.

Marathon2112 avatar Marathon2112 commented on September 3, 2024

Is there a way to keep the device permanently in RNDIS mode? I need to run pyserial each time it's connected over USB.

from dpt-rp1-py.

wart-github avatar wart-github commented on September 3, 2024

closing this; the problem was on my end.

from dpt-rp1-py.

Marathon2112 avatar Marathon2112 commented on September 3, 2024

@peterjohnhartman Any details on what was the issue? I've still having trouble getting Ethernet-over-USB working.

from dpt-rp1-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.