GithubHelp home page GithubHelp logo

Raspberry alternative "Debian" TinyCheck install not working (Network issue: "You must select two interfaces, exiting") about tinycheck HOT 4 OPEN

Pitmit avatar Pitmit commented on September 26, 2024
Raspberry alternative "Debian" TinyCheck install not working (Network issue: "You must select two interfaces, exiting")

from tinycheck.

Comments (4)

Pitmit avatar Pitmit commented on September 26, 2024 1

image

from tinycheck.

fixpc82 avatar fixpc82 commented on September 26, 2024

Is possible install on Ubuntu 18?

from tinycheck.

mrludo001 avatar mrludo001 commented on September 26, 2024

The install script is expecting to find a wifi interface with a name that matches the grep regex of the form (wlan[0-9]|wl[a-z0-9]{2,20}) with a supported interface mode of AP that is not currently connected. The test for this is simply looking for the characters " AP" at the end of a line in the output of the command iw wlan0 info . The test for being not currently connected is for there to be no word "inet " in the output of the ifconfig command.

Can you share the output of the commands iw wlan0 info and ifconfig wlan0 please ? Please replace wlan0 with the actual name of your wifi interface. Note that if your wifi interface's name does not match the grep regex mentioned above then the script will not think there is a suitable interface available.

If you can show the output as requested I can try to figure out why it is not working for you.

Alternatively you could try hacking the install.sh script replacing lines 396-417 with hard setting of the shell variables IFACE_IN and IFACE_OUT to what you want them to be but obviously this might not be all you need to change.

IFACE_IN is the wifi interface that will be expected to be running in AP mode.

from tinycheck.

chbmeyer avatar chbmeyer commented on September 26, 2024

Hello @mrludo001 and all others,

I'm bitten by this problem too.
When you select "No", then all three devices (eth, wlan0, wlan1) are shown and asked, and when you select "Yes", the device is not found and the error stops installation.
I'm running a freshly installed "Raspbian GNU/Linux 11 (bullseye)" (Raspberry Pi reference 2023-05-03) on a "Raspberry Pi 2 Model B Rev 1.1" and git clone'd TinyCheck.

I ran the two mentioned commands and got these answers:

# iw wlan0 info
command failed: No such device (-19)
# ifconfig wlan0
wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        [...]

So it seems that iw doesn't find wlan0 while it is known by ifconfig.
There also is this message in the output of iw:
Do NOT screenscrape this tool, we don't consider its output stable.

So I tried to find out more and saw one known wifi device for iw and two for ifconfig:

# iw dev
phy#0
	Interface wlan1
		[...]
# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        [...]

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        [...]

wlan0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        [...]

wlan1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        [...]

Because of this I tried to add some drivers with http://downloads.fars-robotics.net/wifi-drivers/install-wifi, but I hadn't luck with that.

Then I ended in commenting all lines 395-417 and defining IFACE_IN and IFACE_OUT manually instead:

IFACE_IN=wlan0
IFACE_OUT=wlan1

Sadly there are other problems (can not create an AP-network while running TinyCheck), but I thought, you should know about the commands mentioned above.

Christian

from tinycheck.

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.