GithubHelp home page GithubHelp logo

Console-menu issue about consolepi HOT 2 OPEN

Izanatos avatar Izanatos commented on July 30, 2024
Console-menu issue

from consolepi.

Comments (2)

Pack3tL0ss avatar Pack3tL0ss commented on July 30, 2024

@Izanatos Thanks for the heads up. The issue appears to be with your ser2net config file /etc/ser2net.yaml. It puked trying to read in the text from the file (failed to decode). I haven't seen this error before, did you do something custom with the ser2net.yaml config? What's the output of locale ?

You could try replacing the ser2net.yaml with the default to see if that will resolve it. If you have assigned custom names/aliases to any adapters this would remove a portion of that (it would not be able to grab the baud rate, so it would use the default).

Backup the file currently causing the issue:
sudo mv /etc/ser2net.yaml /etc/ConsolePi/bak

replace it with the default ConsolePi ser2net.yaml config:
sudo cp /etc/ConsolePi/src/ser2net.yaml /etc

If you previously had custom aliases assigned to your adapters you can reset the udev file as well. This will remove all the custom adapter aliases (you could rename them again in the menu). Otherwise you'll have the custom alias, but won't have a corresponding entry in ser2net.yaml (the menu uses the baud rate defined in ser2net.yaml, which is set when you use the rename command in the menu)
To reset the udev file:

Backup the existing version
sudo mv /etc/udev/rules.d/10-ConsolePi.rules /etc/ConsolePi/bak

replace with the default:
sudo cp /etc/ConsolePi/src/10-ConsolePi.rules /etc/udev/rules.d

Then restart/refresh udev with consolepi-resetudev

If you're willing to share the ser2net.yaml file that is causing the issue, I'd be interested in testing with it to see if I can make that part more bullet-proof, but I haven't seen the issue in the past, and I'm not sure what in the file would cause it to puke.

from consolepi.

Izanatos avatar Izanatos commented on July 30, 2024

Hi,

It looks like the ser2net.yaml is properly garbled but this was only edited via via the console-menu by renaming TTYUSB to router name no other edit were made to the file directly:
ser2net.txt

from consolepi.

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.