hommar
Posts: 173
Joined: Sat Mar 25, 2017 1:55 pm
Location: Russia, Yekaterinburg

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 3:40 pm

beta-tester wrote:
Thu Aug 17, 2017 3:16 pm
BUT: now figuring out the main network adapter from script is way more tricky, because is isn't called eth0 anymore.now it is enx+MAC
(e.g. enx112233445566)
is this the new standard from now or is it by accident?
Stretch release notes:
2.2.8. New method for naming network interfaces
The installer and newly installed systems will use a new standard naming scheme for network interfaces instead of eth0, eth1, etc. The old naming method suffered from enumeration race conditions that made it possible for interface names to change unexpectedly and is incompatible with mounting the root filesystem read-only. The new enumeration method relies on more sources of information, to produce a more repeatable outcome. It uses the firmware/BIOS provided index numbers and then tries PCI card slot numbers, producing names like ens0 or enp1s1 (ethernet) or wlp3s0 (wlan). USB devices, which can be added to the system at any time, will have names based upon their ethernet MAC addresses.
PS Raspberry Pi build-in ethernet interface is usb device.
PPS if you update Jessie to Stretch, you have old names
Last edited by hommar on Thu Aug 17, 2017 4:55 pm, edited 1 time in total.

User avatar
allfox
Posts: 452
Joined: Sat Jun 22, 2013 1:36 pm
Location: Guang Dong, China

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 3:43 pm

It looks like upgrade from Jessie would keep the interface name in old way.

Alternatively , the new naming scheme could be disabled according to https://www.freedesktop.org/wiki/Softwa ... faceNames/

Code: Select all

ln -s /dev/null /etc/systemd/network/99-default.link

User avatar
RaTTuS
Posts: 10491
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 3:55 pm

allfox wrote:
Thu Aug 17, 2017 3:43 pm
It looks like upgrade from Jessie would keep the interface name in old way.

Alternatively , the new naming scheme could be disabled according to https://www.freedesktop.org/wiki/Softwa ... faceNames/

Code: Select all

ln -s /dev/null /etc/systemd/network/99-default.link
^ this is true my upgraded one is eth0
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Gadgetguy
Posts: 100
Joined: Fri Aug 15, 2014 2:55 am

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 5:41 pm

Just about the first thing I do when setting up and customizing a new image is to install Synaptic graphical package manager as it certainly expedites the installation of new software . I have noticed on the new Stretch image when I select text in Synaptic the selected text becomes almost but not quite invisible. This problem of course may have nothing to do with the new Stretch image.

andrum99
Posts: 846
Joined: Fri Jul 20, 2012 2:41 pm

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 5:51 pm

Kodi is broken - on Jessie there is a Pi-specific version that is on archive.raspberrypi.org. Now on Stretch it seems to be pulling in a Debian version that uses X, and has a broken startup script.

gkreidl
Posts: 6117
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 6:07 pm

andrum99 wrote:
Thu Aug 17, 2017 5:51 pm
Kodi is broken - on Jessie there is a Pi-specific version that is on archive.raspberrypi.org. Now on Stretch it seems to be pulling in a Debian version that uses X, and has a broken startup script.
That's really bad - and a reason for not updating right now (my systems run from HDD).
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

wpns
Posts: 85
Joined: Sat Sep 01, 2012 2:50 pm

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 6:26 pm

I've tried twice:

NOOBS LITE 2.4 installs Jessie

NOOBS
Version:2.4.3
Release date:2017-08-17

Claims it'll install Stretch Lite, but installs Jessie instead.

I'm trying to build a headless machine, is there something I'm missing?

[Follow-up: Installing the full version does install Stretch (Debian 9.1), but then apt-get update keeps aborting partway through, so I imagine the servers are a bit busy...]

Thanks!
Last edited by wpns on Thu Aug 17, 2017 7:28 pm, edited 1 time in total.

User avatar
Mortimer
Posts: 923
Joined: Sun Jun 10, 2012 3:57 pm

Re: Raspbian Stretch has arrived !!

Thu Aug 17, 2017 6:31 pm

RaTTuS wrote:
Thu Aug 17, 2017 10:57 am
can you upgrade from jessie to stretch ...
yes though it would probably be quicker to download and start again
however
sudo apt-get update && sudo apt-get dist-upgrade -y
reboot
then edit
/etc/apt/sources.list
/etc/apt/sources.list.d/raspi.list
and change jessie to stretch

then
sudo apt-get update
At this point I got the following:

Code: Select all

Hit http://archive.raspberrypi.org stretch InRelease
Hit http://mirrordirector.raspbian.org stretch InRelease      
Hit https://deb.nodesource.com jessie InRelease               
Hit http://archive.raspberrypi.org stretch/main armhf Packages                     
Hit http://archive.raspberrypi.org stretch/ui armhf Packages                                         
Get:1 https://deb.nodesource.com jessie/main Sources [762 B]                                         
Hit http://mirrordirector.raspbian.org stretch/main armhf Packages
Hit http://mirrordirector.raspbian.org stretch/contrib armhf Packages
Hit http://mirrordirector.raspbian.org stretch/non-free armhf Packages
Hit http://mirrordirector.raspbian.org stretch/rpi armhf Packages
Get:2 https://deb.nodesource.com jessie/main armhf Packages [969 B]
Ign http://mirrordirector.raspbian.org stretch/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org stretch/contrib Translation-en
Ign http://mirrordirector.raspbian.org stretch/main Translation-en_GB
Ign http://mirrordirector.raspbian.org stretch/main Translation-en
Get:3 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign http://mirrordirector.raspbian.org stretch/non-free Translation-en_GB       
Get:4 https://deb.nodesource.com jessie/main Translation-en [162 B]             
Ign http://mirrordirector.raspbian.org stretch/non-free Translation-en       
Ign http://mirrordirector.raspbian.org stretch/rpi Translation-en_GB         
Ign http://mirrordirector.raspbian.org stretch/rpi Translation-en
Get:5 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:6 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:9 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:11 https://deb.nodesource.com jessie/main Translation-en_GB [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_GB   
Get:12 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en   
Fetched 1,731 B in 12s (141 B/s)                                                                             
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/stretch/InRelease  Unable to find expected entry 'staging/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Are these also errors to be ignored or something wrong.
Surprised to see references to Jessie in there despite having edited both the .list files as specified. And.. Yes I have doubled checked them.
RaTTuS wrote:
Thu Aug 17, 2017 10:57 am
sudo apt-get dist-upgrade
ignore errors , answer Y to all questions [there will be a few] - you can make copies of any that you want to keep
reboot
sudo apt-get auto-remove
then
lsb_release -a ; uname -as
should say something like

Code: Select all

No LSB modules are available.
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 9.1 (stretch)
Release:        9.1
Codename:       stretch
Linux PI3 4.9.41-v7+ #1023 SMP Tue Aug 8 16:00:15 BST 2017 armv7l GNU/Linux
--------------
The purpose of a little toe is to ensure you keep your furniture in the right place.

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 378
Joined: Fri Dec 26, 2014 11:02 am

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 7:10 pm

Gadgetguy wrote:
Thu Aug 17, 2017 5:41 pm
Just about the first thing I do when setting up and customizing a new image is to install Synaptic graphical package manager as it certainly expedites the installation of new software . I have noticed on the new Stretch image when I select text in Synaptic the selected text becomes almost but not quite invisible. This problem of course may have nothing to do with the new Stretch image.
No, that is a Stretch issue. Specifically, it is a GTK+3 issue. For some reason best known to themselves, GNOME have removed any sensible means of setting a colour scheme in the Stretch version of GTK+3, and the method I have used to add one fails when a program is run with root privileges via pkexec. It did originally also fail when a program was run with root privileges via sudo, but I fixed that in a patch to our version of GTK+3; I will have a look to see if the same sort of fix can be applied to pkexec as well.

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 378
Joined: Fri Dec 26, 2014 11:02 am

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 7:13 pm

andrum99 wrote:
Thu Aug 17, 2017 5:51 pm
Kodi is broken - on Jessie there is a Pi-specific version that is on archive.raspberrypi.org. Now on Stretch it seems to be pulling in a Debian version that uses X, and has a broken startup script.
The third-party developer who works on Kodi is currently working on porting to Stretch; it'll be a week or so before it's done. If Kodi is important to you, don't update yet. (Or return to your backup or your old card, because you will of course have followed the advice on the blog to either use a clean image or to backup first... ;) )

andrum99
Posts: 846
Joined: Fri Jul 20, 2012 2:41 pm

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 7:28 pm

spl23 wrote:
Thu Aug 17, 2017 7:13 pm
andrum99 wrote:
Thu Aug 17, 2017 5:51 pm
Kodi is broken - on Jessie there is a Pi-specific version that is on archive.raspberrypi.org. Now on Stretch it seems to be pulling in a Debian version that uses X, and has a broken startup script.
The third-party developer who works on Kodi is currently working on porting to Stretch; it'll be a week or so before it's done. If Kodi is important to you, don't update yet. (Or return to your backup or your old card, because you will of course have followed the advice on the blog to either use a clean image or to backup first... ;) )
I have a spare Pi that I tested this on, so no harm done. I was reporting this in case it hadn't been spotted. I'm happy to wait. I'm actually not using the version of Kodi from the official repo since it is minus a startup script. I'm waiting for it to include a startup script before I switch both my Pi's over to it.

wpns
Posts: 85
Joined: Sat Sep 01, 2012 2:50 pm

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 7:38 pm

Also, the "Full" version works OK(*) with my KVM switch (GCS-1208), and the installer works as well, but when booted into the console, the keyboard is non-functional. A regular (Dell) USB keyboard works, so it's not that important, but there's something about USB keyboard support in the LITE version that's not quite right...

(*) plus or minus the "slow mouse cursor" response, but again, I'm trying to build a headless system, so I don't care a lot about keyboard and mouse support, other than to report it in case it means something here...

beta-tester
Posts: 1242
Joined: Fri Jan 04, 2013 1:57 pm
Location: de_DE

Re: Raspbian Stretch (9.1) has arrived !!

Thu Aug 17, 2017 9:01 pm

i guess, with Raspbian Stretch, the tutorial to prepare the server for Network Boot Your Raspberry Pi needs to receive an update as well,
because of dhcpcd (/etc/dhcpcd.conf) and networking (/etc/network/interfaces)

on Raspbian Jessie there was an issue with systemd[1]: Found ordering cycle ... - because of that dhcpcd was disabled in the tutorial.
now it is working on Raspbian Stretch, so there is no need to disable dhcpcd and enable networking.
{ I only give negative feedback }
RPi B (rev1, 256MB), B (rev2, 512MB), B+, 2B, 3B, 3B+, ZeroW, ...

klricks
Posts: 6609
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 12:54 am

If VNC is enabled then the menu bar disappears.
On boot the menu bar flashes a few times then blanks out.

Have to use [CTRL] [ALT] [F6] to get a console and run sudo raspi-config to disable VNC.
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

User avatar
OutoftheBOTS
Posts: 711
Joined: Tue Aug 01, 2017 10:06 am

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 2:35 am

Not sure if this is the right place or time to ask this question but will anyway.

Is it possible with the new OS that there can be more than 2 chip select pins for SPI0 ??

The reason that I ask is I am always tight for hardware SPI and writing software SPI is a bit of a backwards and inefficient way of doing it. To use SPI1 then you have to either give up Bluetooth or serial console but upside it has 3 chip select pins but some lower performance.

I tend to be at max all the time for SPI as I normally am running a SPI touch screen (takes up both CS pins on SPI0, 1 for screen and 1 for touch) then I have been using SPI1 for running the APA102 programmable RGB LEDs (for bling purposes on the project) and they don't have a CS line so can't share SPI1 with any other device. This means all my hardware SPI is taken.

It would be nice to have more CS pins fro SPI0

spl23
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 378
Joined: Fri Dec 26, 2014 11:02 am

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 6:48 am

klricks wrote:
Fri Aug 18, 2017 12:54 am
If VNC is enabled then the menu bar disappears.
On boot the menu bar flashes a few times then blanks out.

Have to use [CTRL] [ALT] [F6] to get a console and run sudo raspi-config to disable VNC.
Yes, there is an intermittent fault with VNC, which we didn't see in pre-release testing. It's being worked on by RealVNC and ourselves at the moment - we'll hopefully have a fix soon.

User avatar
RaTTuS
Posts: 10491
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Raspbian Stretch has arrived !!

Fri Aug 18, 2017 7:10 am

Mortimer wrote:
Thu Aug 17, 2017 6:31 pm
.....

Code: Select all

Fetched 1,731 B in 12s (141 B/s)                                                                             
W: Failed to fetch http://archive.raspberrypi.org/debian/dists/stretch/InRelease  Unable to find expected entry 'staging/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

Are these also errors to be ignored or something wrong.
Surprised to see references to Jessie in there despite having edited both the .list files as specified. And.. Yes I have doubled checked them.
I just did this on a 2nd one and ignored that error
so just do a apt-get dist-upgrade at that point
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

User avatar
Mortimer
Posts: 923
Joined: Sun Jun 10, 2012 3:57 pm

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 9:19 am

Thanks RaTTuS. I thought that might have been the case, but wanted to check because the original text had the ignore errors after the dist-upgrade, so I wasn't sure whether or not to expect errors and ignore them after the update step.
--------------
The purpose of a little toe is to ensure you keep your furniture in the right place.

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6035
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 9:27 am

You should remove 'staging' from /etc/apt/sources.list.d/raspi.list.

DAldred
Posts: 6
Joined: Sat Jul 05, 2014 11:54 am

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 11:07 am

I'm having trouble with Stretch and setting u a Pi Zero W headless.

On Jesse, the way to do this was to drop a wpa_supplicant.conf and a file called 'ssh' into the /boot partition. Then boot the pi and wait for ti to show up on the network (I usually used the 'connected devices' screen on my router config to check).

Doing this on Stretch doesn't seem to work. Looking at the SD card after first boot, it seems that the wpa_supplicant.conf has been moved into the right place (/etc/wpa_supplicant/), but it's not appearing on the network.

The wpa_supplicant.conf definitely contains the right network name and password - it's a direct copy of the one in the Jesse install, which connects happily.

Any suggestions? Preferably ones that can be done without needing to connect to a screen, keyboard etc (which is rather the point of headless!)

ShiftPlusOne
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 6035
Joined: Fri Jul 29, 2011 5:36 pm
Location: The unfashionable end of the western spiral arm of the Galaxy

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 11:32 am

Just tested the stretch lite image on a pi zero w (again). ssh/wpa_supplicant.conf works as expected here.

User avatar
RaTTuS
Posts: 10491
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 11:57 am

ShiftPlusOne wrote:
Fri Aug 18, 2017 9:27 am
You should remove 'staging' from /etc/apt/sources.list.d/raspi.list.
I've edited my original post to reflect this
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

alphanumeric
Posts: 2109
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 12:38 pm

Set Keyboard not working for my under Localisation in Raspberry Pi configuration. It turns grey for a second when I click it, then goes back to white and nothing happens. The other options all worked. Had to do a sudo raspi-config to set it to Eng US.

User avatar
rpiMike
Posts: 961
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 12:49 pm

Set Keyboard issue :

viewtopic.php?f=66&t=191075

alphanumeric
Posts: 2109
Joined: Tue Jan 19, 2016 2:17 pm
Location: Sydney, Nova Scotia, Canada

Re: Raspbian Stretch (9.1) has arrived !!

Fri Aug 18, 2017 2:05 pm

rpiMike wrote:
Fri Aug 18, 2017 12:49 pm
Set Keyboard issue :

viewtopic.php?f=66&t=191075
I had done an update upgrade and still had the issue. Just did them again and its fixed. Thanks for the link.

Return to “General discussion”