• Support
  • How to setup the raspberry pi?

zxwt

You can try (in order of complexity)

  • Flash the notochord OS and start over with a clean configuration. Perhaps something broke the access point functionality

  • Plug the RPI to a monitor and Keyboard and send me the output of these commands:

iwconfig
ifconfig
sudo cat /etc/wpa_supplicant/wpa_supplicant.conf 
sudo systemctl status hostapd.service
sudo systemctl status dnsmasq.service 
sudo systemctl status dhcpcd.service 

alternatively you can access the raspberry without keyboard and monitor through SSH. If you prefer that way and need some guidance you can take a look the this section of the old wiki, or just ask here πŸ™‚

I will probably flash the OS again later

flashed the OS again, I don't see any Chordata-net after setting the country... Any solution?

Did you try to put the raspberry on a ÜSB power adapter to a wall outlet?
When a USB power isn't powerfull enough the wifi will be in powersafe mode.
also try other usb power cable.

what is in "cat /etc/dhcpcd.conf"

  • zxwt replied to this.

    zaanen

    I plug to the socket, the undervoltage waning is gone but still cannot connect to it through Wi-FI... Really want to solve it during the holidays

    and here's dhcpcd.conf

    It seems like the WIFI adapter is up, all the required services are running and you have the static access-point's IP address assigned (192.168.85.1).

    How did you set the countrycode? with the automatic method of adding the file to the boot partition?

    please send me the output of

    cat /etc/hostapd/hostapd.conf
    cat /etc/wpa_supplicant/wpa_supplicant.conf

    to check that it was correctly configured

    As a temporary solution you can try running

    sudo rfkill unblock wlan

    and check if the wifi LAN is visible then

    • zxwt replied to this.

      can you also do a cat /etc/hostapd/hostapd.conf
      should give an output like this. you can also sudo nano this file to set country_code

      human@notochord:~ $ cat /etc/hostapd/hostapd.conf
      country_code=NL
      interface=wlan0
      ssid=Chordata-net
      hw_mode=g
      channel=7
      macaddr_acl=0
      auth_algs=1
      ignore_broadcast_ssid=0
      wpa=2
      wpa_passphrase=chordata
      wpa_key_mgmt=WPA-PSK
      wpa_pairwise=TKIP
      rsn_pairwise=CCMP
      
      # 802.11n support
      # ieee80211n=1
      # QoS support, also required for full speed on 802.11n/ac/ax
      # wmm_enabled=1

      The screenshot is a bit blurry i see you already posted it.
      Are you tryining to put Hong Kong in by HK?
      Sometimes for some reason HK could be left blank.
      Maybe change the channel=7 to for example channel=4 or channel=12
      Because if channel 7 is real full by neighbors it could be suppressed by them. try a few other numbers between 1 and 13.

      So far everything seems to indicate the access point is working correctly on your raspberry.

      as @zaanen said, having the contents of /etc/hostapd/hostapd.conf will allow us to have a complete picture of your configuration. In these type of configuration files the slightest error in even a single character might cause a problem, that;s why it would be ideal to have a clearer picture of it.

      zxwt I set the country code with rapsi-config.

      When using the notochord OS access point functionality trying to set the country from raspi-config should give you an error. Did you tried creating the countrycode.txt file as described here?

      zxwt sudo rfkill unblock wlan

      does not work

      That's quite extrange, this command should force the WIFI to be active, even if no countrycode is set. Could you send me the output of the command ip a before and after executing sudo rfkill unblock wlan?

      Changing the channel as @zaanen suggested will probably allow you to see the WIFI lan if you are in a very WIFI polluted environment. But you should probably be able to see the network anyway. Did you tried from several devices to see if the Chordata-net is at least listed within the available networks? (a PC, your smartphone, a tablet, etc)

      • zxwt replied to this.

        daylanKifky
        Raspi-config did give me a error when setting up the wifi,
        so I edited the /etc/dhcpcd.conf
        and raspi-config works
        I will try adding the countrycode.txt and sudo rfkill unblock wlan

        Changing the channel might work given that I had issue finding my router from a notebook before. Changing the router settings from auto to manual solved the issue.

        I edited the /etc/dhcpcd.conf again and use the countrycode.txt method, now the chordata-net shows. I connected to it but I cannot open the console from http://notochord.wlan or the ip in the browser. I will do a clean install again.

        One thing I noticed is that the countrycode.txt disappears after I boot it for once, the countrycode was set and the no countrycode found warning appears when I reboot, is this normal?

        A clean install with countrycode.txt did the job. I can now connect to it from my smartphone πŸ™‚ but not from my PC. My computer doesn't come with wifi adapter so I bought a usb one. I can connect to chordata-net but cannot cannot open the console from browser, any idea how to solve it? I tried stopping the onboard network card and just connect to chordata-net through the wifi adapter, still no console page. At least I am getting closer

          zxwt

          Great news!

          yes the countrycode file is automatically removed once used.

          you can try these other addresses on your PC's browser:

          http://notochord
          http://notochord.local
          http://192.168.85.1

          Let me know if any of those works

          I assume that your PC is connected to a LAN through an ethernet cable. You can configure the raspberry to connect to that network and avoid using WIFI on your PC. Go to the Maintenance tab on the remote console and you will find an area to enter your network's SSID and password.

          • zxwt replied to this.

            daylanKifky

            I thought something went wrong when setting the wifi, turned out I have to reboot after entering my network SSID and password. Then, connect to the new local ip.

            And it works, I did all the calibration without testing in blender, probably not the recommended practice, now I have to connect each of them and test the calibration. I will end my 2022 here and start the rest for 2023. Happy New Year πŸ˜ƒ

            Happy new year!
            Calibrated all the sensor, set all the addresses, and have my first trial, I didn't put on the foot,head and hand senors, I deleted the nodes(guessing this is the way to do it ) but this is the result? is is a calibration error or something else? it kinda works? Is there a built in ik for the armature?

            I cannot stopped the notocord, because some of the sensors refused to stop, I was forced to unplug the raspberry pi... Is there a way to safely shutdown the raspberry pi headless?

            I cannot say that wearing the sensors is not intuitive, but I think some form of colour code can make it better, may be included some coloured circle stickers for users to mark the strips? After taking it off, it is difficult to differentiate the sensors either then look closely to stickers on the buckles.

            So from the webpage notochord.wlan or notochord.local you can also try to stop the system.

            The error is probably because you have the dorsal still connected to the hub but only have the neck sensor plugged in. channel port 5.
            neck is acting on address 66 hex 0x42 and dorsal is 65 hex 0x41 so you try to send communication from the notochord to the wrong address.
            So i think you did this leaving those two red crossed out of the chain?

            while your screenprint tells Dorsal is in and head (called neck in blender full bipod 15) you deleted.

            I plugged only the dorsal and the error remained, I set the address again and reconnected everything. No more error. But now the armature does nothing after connected in blender🀷 A step forward and one step backward πŸ˜