0

I'm attempting to connect my Raspberry Pi running KivyPie 1.0 (Linux kivypie 4.9.35-v7+ #1014 SMP Fri Jun 30 14:47:43 BST 2017 armv7l GNU/Linux) to my Wi-Fi network, which is a 2.4GHz network powered by a Netgear R7800 router and protected by WPA-PSK [TKIP] + WPA2-PSK [AES] passphrase. The SSID itself contains many special characters (<('-'<) ^(' - ')^ (>'-')>) and my passphrase fit the following regex and contains ~40 chars: [a-zA-Z0-9-]*. There are many devices already connected to the router through Wi-Fi.

I've already connected this Pi with a wire and performed all the updates through raspi-config.

My problem is that whatever I try (playing with the configuration), after a reboot I'm never able to ping anything, whether it's my router address or just Google.

Here is the (sometimes partial) output of the commands that seem relevant:

nmcli dev wifi

*  SSID  MODE  CHAN  RATE  SIGNAL  BARS  SECURITY 

sudo ifconfig -a

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:ef:70:39  
          inet6 addr: fe80::16a6:a4e2:e6:dc71/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sudo iwlist wlan0 scan

          Cell 02 - Address: B0:B9:8A:73:5B:CC
                    Channel:4
                    Frequency:2.427 GHz (Channel 4)
                    Quality=70/70  Signal level=-38 dBm  
                    Encryption key:on
                    ESSID:"<('-'<) ^(' - ')^ (>'-')>"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s
                    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
                    Mode:Master
                    Extra:tsf=0000000000000000
                    Extra: Last beacon: 60ms ago
                    IE: Unknown: 00193C28272D273C29205E2827202D2027295E20283E272D27293E
                    IE: Unknown: 010882848B960C121824
                    IE: Unknown: 030104
                    IE: Unknown: 050400020000
                    IE: Unknown: 2A0100
                    IE: Unknown: 32043048606C
                    IE: Unknown: 460573C0000000
                    IE: Unknown: 2D1AAD0903FFFFFFFF00000000000000000100000000000000000000
                    IE: Unknown: 3D1604000400000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0801000F0200000040
                    IE: Unknown: BF0CF2618033AAFF0000AAFF0000
                    IE: Unknown: C005000000FCFF
                    IE: Unknown: DD1A00904C0408BF0CF2618033AAFF0000AAFF0000C005000000FCFF
                    IE: Unknown: DD180050F2020101800003A4000027A4000042435E0062322F00
                    IE: Unknown: DD0900037F01010000FF7F
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F204104A00011010440001021049000600372A000120
                    IE: Unknown: DD0B00146C0801010110000000

Here is the content of my /etc/wpa_supplicant/wpa_supplicant.conf file (with fake passphrase of course, but I'm quite confident that the one in the file is correct). Also note that I already tried to adapt this file to connect to my phone hotspot which has a much simpler SSID and passphrase, but it didn't show any more result.

country=CH
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
    ssid="<('-'<) ^(' - ')^ (>'-')>"
    psk="abcdef-ABCDEF-123456-654321-a1B2c3-d4E5f6"
}

And here is the content of my /etc/network/interfaces file:

#auto lo
auto wlan0
iface lo inet loopback

allow-hotplug eth0
iface eth0 inet dhcp

allow-hotplug usb0
iface usb0 inet dhcp

# pipaOS Will automatically try to connect
# to wireless ESSID "pipaos" passphrase "pipa123pass"
allow-hotplug wlan0
iface wlan0 inet dhcp
  wpa-ssid pipaos
  wpa-psk pipa123pass

I had no problem connecting to this Wi-Fi with the Raspbian GUI, but I don't have it on KivyPie (I intend to connect to it through SSH only).

What am I missing here, or how could I debug this further ?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.