Raspberry Pi Zero Support in 0.4

Raspberry Pi related support

Re: Raspberry Pi Zero Support in 0.4

Postby hondagx35 » 02 Jul 2016, 09:32

Hi flega,

Also connect my Wifi dongle and monitor

also connect a keyboard and log in with user "root" and password "rune".

Use the file /etc/netctl/test as template and save your own wifi profile.
Here is an example:
Code: Select all
Description='wlan0 connection'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="YOUR-SSID"'
    'psk="YOUR-PASSPHRASE"'
    'key_mgmt=WPA-PSK'
    'proto=WPA'
    'group=TKIP'
    'pairwise=TKIP'
    'priority=3'
)


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Raspberry Pi Zero Support in 0.4

Postby flega » 03 Jul 2016, 08:56

I tried to do that but with no success. I use your script, use my from my other (working) Raspi2. In neither case Zero will connect to my AP. Only difference from different scripts is that led on WiFi dongle have different blinking patterns. Is there way to produce a web-like screen on my monitor?
Low cost audio for everyday use: Raspberry Pi 2 -> USB sound card ->preamp+Low-pass Filter NE5532 ->2x TDA7492 amp -> 2 fullrange speakers + 1 bass speaker.
flega
 
Posts: 28
Joined: 08 Jan 2016, 22:30
Location: Croatia

Re: Raspberry Pi Zero Support in 0.4

Postby dunghnguyen » 06 Jul 2016, 16:40

If Zero can run Rune then it is best one against to others in term of price. I love to see this happening. Sorry I don't have Pi Zero but I have just read what you all in this thread did that I wish to have one to help. Thanks @hondagx35 and Rune team.
dunghnguyen
 
Posts: 228
Joined: 08 Mar 2016, 07:48

Re: Raspberry Pi Zero Support in 0.4

Postby flega » 06 Jul 2016, 18:14

As you can see, there is almost impossible to setup Rune on Zero if you don't have Raspi One, which most of us don't have. I have order a USB to Ethernet adapter and will try to use it with Zero.
Low cost audio for everyday use: Raspberry Pi 2 -> USB sound card ->preamp+Low-pass Filter NE5532 ->2x TDA7492 amp -> 2 fullrange speakers + 1 bass speaker.
flega
 
Posts: 28
Joined: 08 Jan 2016, 22:30
Location: Croatia

Re: Raspberry Pi Zero Support in 0.4

Postby hpeter » 08 Jul 2016, 07:34

hondagx35 wrote:Hi flega,

Also connect my Wifi dongle and monitor

also connect a keyboard and log in with user "root" and password "rune".

Use the file /etc/netctl/test as template and save your own wifi profile.
Here is an example:
Code: Select all
Description='wlan0 connection'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="YOUR-SSID"'
    'psk="YOUR-PASSPHRASE"'
    'key_mgmt=WPA-PSK'
    'proto=WPA'
    'group=TKIP'
    'pairwise=TKIP'
    'priority=3'
)


Frank



Hi,

I just tested the hint concerning the Wifi configuration of Frank (see above) and it worked for me.

So it is possible to get a Raspberry Zero running without a Raspberry One, if you have an Image that boots. Then you just have to add your wifi to the configuration like Frank wrote. Alternativly if you have a Linux around just take the SD card and create the new wifi file using Linux (Windows is not able to show the second partition of the SD card, where the wifi configuration files are, at least not Windows 7).

What I did was just to create a new file in the folder
Code: Select all
 /etc/netctl/
with the name of the wifi I wanted to add under Linux. The I copied the content of the file
Code: Select all
 /etc/netctl/test
into the new file and just changed the wifi name and the password. After boot the Zero automatically connects to the newly added wifi.

Hope that helps.
hpeter
 
Posts: 12
Joined: 08 Jun 2016, 07:50

Re: Raspberry Pi Zero Support in 0.4

Postby hpeter » 08 Jul 2016, 09:25

Here is my config:
Code: Select all
Description='wlan0 connection'
Interface=wlan0
Connection=wireless
Security=wpa-configsection
IP=dhcp
WPAConfigSection=(
    'ssid="WIFI"'
    'psk="WIFIPASSWORD"'
    'key_mgmt=WPA-PSK'
    'proto=RSN'
    'group=CCMP'
    'pairwise=CCMP'
    'priority=3'
)


As you can see it differs from the one Frank posted. For "proto" I am using "rsn" instead of "wpa" and for "group" and "pairwise" I am using "ccmp" instead of "tkip". @fleega may be thats your Problem?
hpeter
 
Posts: 12
Joined: 08 Jun 2016, 07:50

Re: Raspberry Pi Zero Support in 0.4

Postby flega » 11 Jul 2016, 13:34

I have tried again using yours and Frank values for Proto, group and Pairwise, also use values from my raspi2 in which Rune works regular. I make another file in /etc/netctl beside TEST and use different values for Proto, group and Pairwise. Than I use another AP (different manufacturer) with all those which I wrote here(of course, change SSID and Pass). Nothing worked, can't connect in neither way. :( :( :( :(
Low cost audio for everyday use: Raspberry Pi 2 -> USB sound card ->preamp+Low-pass Filter NE5532 ->2x TDA7492 amp -> 2 fullrange speakers + 1 bass speaker.
flega
 
Posts: 28
Joined: 08 Jan 2016, 22:30
Location: Croatia

Re: Raspberry Pi Zero Support in 0.4

Postby hondagx35 » 11 Jul 2016, 16:18

Hi flega,

you have to use netctl-auto to enable your newly created profile
Code: Select all
root@RuneAudio(rw):~# netctl-auto
Usage: netctl-auto {COMMAND} ...
                   [--help|--version]

Commands:
  list                 List available profiles (active='*', disabled='!')
  current              List currently active profiles
  switch-to [PROFILE]  Switch to a profile, enable it if necessary
  enable [PROFILE]     Enable a profile for automatic selection
  disable [PROFILE]    Disable a profile temporarily for automatic selection
  enable-all           Enable all profiles for automatic selection
  disable-all          Disable all profiles temporarily for automatic selection


So try to list your profiles first:
Code: Select all
root@RuneAudio(rw):~# netctl-auto list
! FFS-ELabor2

In my case the profile "FFS-ELabor2" is disabled.
To enable it use
Code: Select all
root@RuneAudio(rw):~# netctl-auto enable FFS-ELabor2

Now list shows
Code: Select all
root@RuneAudio(rw):~# netctl-auto list
  FFS-ELabor2


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

Re: Raspberry Pi Zero Support in 0.4

Postby flega » 11 Jul 2016, 16:43

There is no profile when I try to list it. There are two files in /etc/netctl - krov and test.
Image
Low cost audio for everyday use: Raspberry Pi 2 -> USB sound card ->preamp+Low-pass Filter NE5532 ->2x TDA7492 amp -> 2 fullrange speakers + 1 bass speaker.
flega
 
Posts: 28
Joined: 08 Jan 2016, 22:30
Location: Croatia

Re: Raspberry Pi Zero Support in 0.4

Postby hondagx35 » 11 Jul 2016, 17:01

Hi flega,

There is no profile when I try to list it.

Multiple reasons for that:
- you haven't rebooted your pi or restarted netctl-auto after editing / adding the new profile
- you have errors in your profile
- .....

Try
Code: Select all
systemctl restart netctl-auto@wlan0
netctl-auto list


Frank
User avatar
hondagx35
 
Posts: 3042
Joined: 11 Sep 2014, 22:06
Location: Germany

support RuneAudio Donate with PayPal

PreviousNext

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 17 guests