Kitz ADSL Broadband Information
adsl spacer  
Support this site
Home Broadband ISPs Tech Routers Wiki Forum
 
     
   Compare ISP   Rate your ISP
   Glossary   Glossary
 
Please login or register.

Login with username, password and session length
Advanced search  

News:

Author Topic: Raspberry Pi S/W Installation/Updating  (Read 2680 times)

tiffy

  • Kitizen
  • ****
  • Posts: 1319
Raspberry Pi S/W Installation/Updating
« on: May 01, 2020, 02:01:26 PM »

While messing about with my current project on a RPi 3b+, experienced issues with installing "Samba", kept getting install errors and Samba would not run properly.
Stumbled across this post:
https://www.raspberrypi.org/forums/viewtopic.php?t=108035

Would appear that the default Raspbian S/W site is not the best option for UK users.
The default site location is stored here, /etc/apt/sources.list
I edited this file by adding the line:
deb http://mirror.mythic-beasts.com/raspbian/raspbian/ stretch main contrib non-free rpi
and commenting out the default line.

Note: In my case I am using the Raspbian "stretch" program revision, change this to whatever Raspbian revision is applicable.
(visable in the first line of the file, just copy the revision to suit)

In my case, Samba now installed and ran without any errors.
The normal update/upgrade process now runs much faster.

Have updated my 2 remote RPi ZW's also, one of which is still running "Jessy", big speed improvement with updates.
Not tried with the current revision, Raspbian "Buster" as yet but I'am sure the principle is the same.
 
Logged
BT FTTP 150/30, BT Smart Hub 2

tiffy

  • Kitizen
  • ****
  • Posts: 1319
Re: Raspberry Pi S/W Installation/Updating
« Reply #1 on: May 03, 2020, 12:24:18 PM »

Another little tip I recently became aware of which I find very handy when running RPi's headless.

When loading an operating system to SD card, I normally use the full desktop, GUI option, place an empty file named "ssh" (no suffix) on the root directory of the SD card after installing the op. sys., this enables Windows, command line ssh access, in my case I then enable VNC access via "raspi-config" and can then access the desktop GUI via VNC.
Obviously the IP address of the RPi must be known, easily found from the router GUI or I always assign a static IP address to my RPi's by router MAC filtering.
In stead of ssh "putty" utility can be used from a Win or I think Linux environment.

Likely very obvious to the more Linux aware op's, however, previously I always had to hook up a VDU, KB, mouse etc. to a RPi to gain initial access and enable VNC before going headless. 
Logged
BT FTTP 150/30, BT Smart Hub 2

meritez

  • Content Team
  • Kitizen
  • *
  • Posts: 1623
Re: Raspberry Pi S/W Installation/Updating
« Reply #2 on: May 04, 2020, 11:55:02 AM »

I tend to use https://dietpi.com/ or https://github.com/FooDeas/raspberrypi-ua-netinst instead of default raspbian.

Dietpi gives you lots different software scripts, can install to usb storage etc, while the unattended netinstall is as minimal as you can get.
Logged

Weaver

  • Senior Kitizen
  • ******
  • Posts: 11459
  • Retd s/w dev; A&A; 4x7km ADSL2 lines; Firebrick
Re: Raspberry Pi S/W Installation/Updating
« Reply #3 on: May 14, 2020, 06:57:42 PM »

Thanks meritez, that would have been very useful to me. One to remember.
Logged
 

anything