Coder Social home page Coder Social logo

grml-network's Issues

grml-network: online status detection broken (nmap: unrecognized option '--host_timeout')

nmap is called in grml-network here:

NMAP="$(nmap -sP --host_timeout 4000 --max_rtt_timeout 4000ms $GW 2>/dev/null)"

But it seems, that --host_timeout does not exist (anymore):

root@grml ~ # nmap -sP --host_timeout 4000 --max_rtt_timeout 4000ms 10.0.2.2
nmap: unrecognized option '--host_timeout'
See the output of nmap -h for a summary of options.

But also --max_rtt_timeout is gone:

root@grml ~ # nmap -sP --max_rtt_timeout 4000ms 10.0.2.2
nmap: unrecognized option '--max_rtt_timeout'
See the output of nmap -h for a summary of options.

Consider rewriting netcardconfig / evaluate best practices in 2020+

netcardconfig is hard to maintain for a bunch of reasons, including:

  • one single big shell script with lots of environment variables
  • lots of assumptions from many years ago (especially related to WiFi) which might not make sense anymore (with today's hardware + software stack)
  • no unit/systems tests (hard to modify anything - bugs as well as new features - without breaking something™)

Known limitations/missing support for:

  • 802.1X network authentication (see grml/grml#29)
  • WPA 1/2 Enterprise WiFi networks (see grml/grml#28)
  • configuring interfaces immediately brings them down/offline before configuration finished (see #8)

We should re-evaluate whether ifupdown is still the preferred choice for Grml in 2020 (its last upload dates back to 2019-01-28 as of 2020-07-18 and it's even up for adoption, see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=963891), or whether switching to NetworkManager, systemd-networkd or alike, and from wpa-supplicant towards iwd could improve our situation.

One tricky part for sure will be integration with live-boot(-grml) and network configuration from within initramfs, though it would be even better if we could get rid of klib-util's ipconfig and clean up the ip=... mess. Related issues are e.g. grml/live-boot-grml#7, grml/grml#116, grml/grml#86.

If anyone has suggestions/feedback/... please us me/us know!

netcardconfig: exclamation mark in WIFI password is not read correctly

Forwarding a bug, we received via mail from Peter P:

Date: Tue, 9 May 2023 05:28:37 +0200
Subject: netcardconfig: Gespeichertes WPA Passwort

netcardconfig speichert einmal eigegebene WPA Passwörter irgendwo
zwischen, und schlägt dieses Passwort bei erneutem Ausführen des
Skriptes dann wieder vor. Wenn sich am Ende des Passwortes ein
Rufzeichen ! befindet, wird dieses entweder nicht mitgespeichert oder
zumindest nicht ausgelesen bei einem zweiten Durchlauf des Skriptes.

I can confirm, that if the WIFI password contains an exclamation mark '!', the password is not read correctly (i.e. the password prompt is missing the exclamation mark).

FTR, saving the password works.

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.