Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


moOde 4.2 RPiZeroW build experience
#11
(08-17-2018, 05:45 PM)rlugli Wrote:
(08-17-2018, 03:42 PM)Tim Curtis Wrote: The boot config looks ok but ifconfig output shows no WiFi adapter which suggests something external to moOde software for example a hardware or power supply issue.

I definitely agree, it is something outside to moOde.
As I wrote it could be that the wifi module is damaged (not seen anymore), although I do not see any reason for that.
I supposed that somehow it would be possible to disable the module directly in the SoC. Something like accessing to non-volatile registers in a way that I cannot imagine.
...
Roberto

Hi, Roberto.

Have you checked that raspbian isn't blocking WiFi? If WiFi is blocked, no wlan0 interface will appear.

You can check using the Linux command "rfkill list wifi". If it reports like so

Code:
pi@moode:~ $ rfkill list wifi
0: phy0: Wireless LAN
    Soft blocked: yes
    Hard blocked: no

then you need to remove the soft block with the command "rfill unblock wifi". Your wlan0 interface should appear and rfkill should now report

Code:
pi@moode:~ $ rfkill list wifi
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no

This blocking may not be the source of your problem but it became an issue with initializing/configuring recent versions of raspbian because of their new-found obsession over WiFi country codes. Tim introduced some extra code in the moOde build to deal with it. 

If it does turn out to be the source of your problem then perhaps something in the initialization/configuration got mangled during your mixed build? (just a guess)

Regards,
Kent
Reply
#12
(08-17-2018, 06:35 PM)TheOldPresbyope Wrote: Hi, Roberto.

Have you checked that raspbian isn't blocking WiFi? If WiFi is blocked, no wlan0 interface will appear.

...
Hi Kent,
thank you for your suggestion but it seems something more deep...
No entry in the list concerning wireless lan, only bluetooth.


Code:
pi@Rpi0w-moode:~ $ sudo rfkill list wifi
pi@Rpi0w-moode:~ $ sudo rfkill list
0: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
Regards

Roberto
Reply
#13
Hi!
Similar problem with RpiZeroW. I tried
git config --global http.sslVerify false
The problem did not resolve. I'm waiting for a solution. The construction costs.
Reply
#14
Hi all, New member of the forum, I am on the same build and the same problems.

My solution consist on cloning git repository and build the components directly on the raspberry.
after just comment all the lines in 'mosbuild' file.
Reply
#15
(09-23-2018, 04:57 PM)Booster2ooo Wrote: Hello,


I'm facing the same problem. I tried a few things to get the script to work but without success.

The build script fails as soon as a git clone command is hit:

Quote:////////////////////////////////////////////////////////////////
//
// COMPONENT 2 - Auto-shuffle
//
////////////////////////////////////////////////////////////////

** Build Auto-shuffle
Cloning into 'ashuffle'...
* Couldn't find host github.com in the .netrc file; using defaults
*   Trying 192.30.253.113...
* TCP_NODELAY set
* Connected to github.com (192.30.253.113) port 443 (#0)
* found 151 certificates in /etc/ssl/certs/ca-certificates.crt
* found 604 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* gnutls_handshake() failed: The TLS connection was non-properly terminated.
* Curl_http_done: called premature == 0
* Closing connection 0
fatal: unable to access 'https://github.com/Joshkunz/ashuffle.git/': gnutls_handshake() failed: T TLS connection was non-properly terminated.
** Error: Git clone failed
** Error: image build exited
** Error: reboot to resume the build
 (I added export GIT_CURL_VERBOSE=1 at the beginning of mosbuild_worker.sh to get more details about the error)

But, when I type the command myself via SSH, it works:

Quote:pi@moode:~/mosbuild $ git clone https://github.com/Joshkunz/ashuffle.git
Cloning into 'ashuffle'...
remote: Counting objects: 273, done.
remote: Total 273 (delta 0), reused 0 (delta 0), pack-reused 273
Receiving objects: 100% (273/273), 56.66 KiB | 0 bytes/s, done.
Resolving deltas: 100% (174/174), done.

Maybe the question is silly (I'm a big noob in Linux) but what can explain the fact the script fails where typing the command works ?

Sorry, I'm on my way out the door, so can't help debug now, but look at your git messages


Code:
* Couldn't find host github.com in the .netrc file; using defaults
*   Trying 192.30.253.113...
* TCP_NODELAY set
* Connected to github.com (192.30.253.113) port 443 (#0)
* found 151 certificates in /etc/ssl/certs/ca-certificates.crt
* found 604 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* gnutls_handshake() failed: The TLS connection was non-properly terminated.
* Curl_http_done: called premature == 0


For whatever reason with your DNS service, your system is trying to clone from 192.30.253.113

Here's what I get when I try that from the command line

Code:
kreed@T520 ~/Downloads/MoodeAudio/junk $ git clone 192.30.253.113/Joshkunz/ashuffle.git
fatal: repository '192.30.253.113/Joshkunz/ashuffle.git' does not exist


Regards,
Kent
Reply


Forum Jump: