Go to advanced search

by rpdom
Sun Aug 19, 2018 2:42 pm
Forum: Networking and servers
Topic: Cluster and USB raid?
Replies: 7
Views: 101

Re: Cluster and USB raid?

Does anyone know if there are any plans for a gig network port on the 3? The 3B+ already has a gig network port, but it is still restricted by the single shared USB 2.0 connection to the SoC. At best you might get 300Mb/s from it. Specs for the Pi 4(B) have not been announced yet. All we know is th...
by rpdom
Sun Aug 19, 2018 1:17 pm
Forum: Networking and servers
Topic: Cluster and USB raid?
Replies: 7
Views: 101

Re: Cluster and USB raid?

A cluster of MariaDB servers is usually a Master-Slave configuration where one server is the master and all updates/inserts/deletes go to that server and are replicated to the other servers which will only handle queries (this is how mine is set up), or a Multi-master configuration where all servers...
by rpdom
Sun Aug 19, 2018 12:13 pm
Forum: Automation, sensing and robotics
Topic: rpi ds18b20 w1_slave not showing
Replies: 2
Views: 68

Re: rpi ds18b20 w1_slave not showing

Have you enabled the one-wire interface in the config app, raspi-config or /boot/config.txt?
by rpdom
Sun Aug 19, 2018 11:11 am
Forum: General discussion
Topic: What governs a packages availability in the raspberrypi repository?
Replies: 20
Views: 500

Re: What governs a packages availability in the raspberrypi repository?

What advantage might running a proxy in the "home server exposed to the wider Internet" situation offer and does running more than one server offer any advantages as regards security in general? Well, perhaps you have certain applications that provide web interfaces and you might want them to all b...
by rpdom
Sun Aug 19, 2018 8:12 am
Forum: Beginners
Topic: SSD Boot Process
Replies: 15
Views: 321

Re: SSD Boot Process

Booting more than once from the SD card will not break anything. The boot flag is already set, so the option has no effect.
by rpdom
Sun Aug 19, 2018 5:58 am
Forum: Off topic discussion
Topic: Longest Raspberry Pi uptime
Replies: 63
Views: 33979

Re: Longest Raspberry Pi uptime

npaisnel wrote:
Sun Aug 19, 2018 5:54 am
Hi
What are you typing at the terminal to show the Uptime

Thanks

Code: Select all

[email protected]:~ $ uptime
 05:56:48 up 38 days, 15:05,  1 user,  load average: 0.00, 0.00, 0.00
Uptime is 38 days, 15 hours, five minutes on that Pi 3B.
by rpdom
Sun Aug 19, 2018 5:37 am
Forum: Add-ons
Topic: ETA for Official POE Hat for 3B+
Replies: 52
Views: 1172

Re: ETA for Official POE Hat for 3B+

Have you run sudo apt update && sudo apt -y dist-upgrade to ensure you have the latest stable kernel and bootcode (which is required for the POE HAT)? That's required for the fan speed control. The PoE part is strictly hardware and doesn't need any upgraded kernel or bootcode, obvious since if the ...
by rpdom
Sun Aug 19, 2018 5:24 am
Forum: Beginners
Topic: SSD Boot Process
Replies: 15
Views: 321

Re: SSD Boot Process

Can the 3B be altered to boot from a SSD? Yes. That is documented in the official documentation Basically you put the line program_usb_boot_mode=1 in /boot/config.txt on an SD card. You then need to boot from that card once only , and that sets the boot flag permanently the same as the 3B+ is by de...
by rpdom
Sun Aug 19, 2018 5:05 am
Forum: Automation, sensing and robotics
Topic: switch on/off 12V 7A
Replies: 27
Views: 481

Re: switch on/off 12V 7A

tlfong01 wrote:
Sun Aug 19, 2018 4:34 am
I surprisingly found that two of my four 12V relays have the input idode biasing/current limiting resistance of value 1002, and two have 103.
1002 and 103 are two ways of writing 10K:

1002 is 100 x 10^2 = 100 x 100 = 10,000
103 is 10 x 10^3 = 10 x 1,000 = 10,000
by rpdom
Sat Aug 18, 2018 6:59 pm
Forum: General discussion
Topic: Plug n Pi: USB-connect your phone to look up Raspberry Pi's IP address
Replies: 12
Views: 259

Re: Plug n Pi: USB-connect your phone to look up Raspberry Pi's IP address

It must be a nightmare to be faced with a room full of newly burned Raspberry Pis all headless and with the default hostname. I wish that you could change the hostname from default by a file in the boot partition, similar to enabling ssh and wpa_supplicant.conf: I use my own custom install script. ...
by rpdom
Sat Aug 18, 2018 11:41 am
Forum: Troubleshooting
Topic: Raspbian apt-get update Error - repository doesn't support architecture 'armel'
Replies: 4
Views: 116

Re: Raspbian apt-get update Error - repository doesn't support architecture 'armel'

Think this could be related to the command I ran as part of installing Resilio Sync on my Pi: "sudo dpkg --add-architecture armel". So maybe it's not an issue? Strange setup... they use armhf for Pi2/3 and armel for Pi1. I'm guessing they use true armhf as Debian does. Raspbian was designed specifi...
by rpdom
Sat Aug 18, 2018 2:55 am
Forum: Troubleshooting
Topic: Raspbian apt-get update Error - repository doesn't support architecture 'armel'
Replies: 4
Views: 116

Re: Raspbian apt-get update Error - repository doesn't support architecture 'armel'

Think this could be related to the command I ran as part of installing Resilio Sync on my Pi: "sudo dpkg --add-architecture armel". So maybe it's not an issue? That is definitely the reason. The messages are safe to ignore. There may be some tweaks you can do to stop them being issued. I'm wonderin...
by rpdom
Sat Aug 18, 2018 2:36 am
Forum: Beginners
Topic: Pi Zero W and USB-3
Replies: 6
Views: 137

Re: Pi Zero W and USB-3

Why is the Pi Zero W USB connector configured as USB-2? Because it is a USB 2 interface. Why won't the Pi Zero W work with a USB-3 powered hub? I believe it was because the USB hardware in the Pi doesn't work well (or at all) with USB 3 devices. It could be considered a hardware bug. Most of the ot...
by rpdom
Sat Aug 18, 2018 2:23 am
Forum: Advanced users
Topic: Floating input on industrial usage
Replies: 8
Views: 235

Re: Floating input on industrial usage

The other question is which GPIO pin are you using and which naming scheme are you using to access it? (BCM, Board, WiringPi?) It may be you are not reading the pin you think you are reading.
by rpdom
Sat Aug 18, 2018 2:12 am
Forum: Beginners
Topic: SSD Boot Process
Replies: 15
Views: 321

Re: SSD Boot Process

With the 3B+ it should just be a matter of downloading the latest Raspbian or Raspbian Lite image and using Etcher to write it to the SSD. Connect the SSD to the Pi. Connect network, also monitor, keyboard, mouse if wanted. Switch on Pi and wait for it to boot and resize the image to fill the SSD. T...
by rpdom
Fri Aug 17, 2018 5:06 am
Forum: Beginners
Topic: Cpu load test linux -how busy is the cpu - test methods & tools
Replies: 2
Views: 82

Re: Cpu load test linux -how busy is the cpu - test methods & tools

The "top" command will show system usage stats. "man top" for full usage info - there is a lot of it.
by rpdom
Thu Aug 16, 2018 7:54 pm
Forum: Python
Topic: noobie needs help getting data from XML webpage
Replies: 6
Views: 102

Re: noobie needs help getting data from XML webpage

drdyer9051 wrote:
Thu Aug 16, 2018 7:18 pm
i pip installed it but could not get it to work :oops:
no module named 'bs4'

Code: Select all

  sudo apt-get install python-bs4

edit... it will work with python but not python3
You need to install the Python 3 version

Code: Select all

sudo apt-get install python3-bs4
by rpdom
Thu Aug 16, 2018 6:19 am
Forum: Raspbian
Topic: Bad checksum after apt update
Replies: 3
Views: 108

Re: Bad checksum after apt update

Free space on your SD card? The downloaded file sizes are smaller than the expected size.

What does the command

Code: Select all

df -h /
show?

Also, what size of card are you using?
by rpdom
Thu Aug 16, 2018 5:35 am
Forum: Networking and servers
Topic: Local DNS
Replies: 7
Views: 147

Re: Local DNS

bertlea wrote:
Thu Aug 16, 2018 2:45 am
I think rpdom meant if you put that name in your Mac, you can use that name to access the Pi from this particular Mac.
Exactly. Hence my reference to /etc/hosts under MacOS. I'm sure it can be done. Almost everyone else in my office uses Macs, and I'm sure some of them have updated hosts files.
by rpdom
Thu Aug 16, 2018 5:18 am
Forum: Beginners
Topic: Meaning of "InRelease"
Replies: 2
Views: 109

Re: Meaning of "InRelease"

Hit means that the version of the file on the server matches the one already on the system, so there is no need to download it again. InRelease is the name of the file to be downloaded. The InRelease file contains details about the repository and a list of checksums for the index files in it. If InR...
by rpdom
Wed Aug 15, 2018 6:07 pm
Forum: Networking and servers
Topic: Local DNS
Replies: 7
Views: 147

Re: Local DNS

Alternatively, if it is just the one computer that will be accessing the Pi, you can put an entry in the /etc/hosts file (I think it's still called that in MacOS) for 192.168.x.y and iamaking.
by rpdom
Wed Aug 15, 2018 6:27 am
Forum: Python
Topic: newbie package/import question
Replies: 2
Views: 72

Re: newbie package/import question

You seem to be using Python 3 (which is recommended), so you need to install the matplotlib for that version of Python.

Code: Select all

sudo apt-get install python3-matplotlib
Also, if installing using pip, you would need to use the command pip3.
by rpdom
Mon Aug 13, 2018 6:44 pm
Forum: General discussion
Topic: (Solved)Which models of USB HDD work when connected directly to the PI?
Replies: 14
Views: 432

Re: Which models of USB HDD work when connected directly to the PI?

I've used Seagate Expansion 2TB USB3.0 and an Intenso 2TB USB3.0 drive without any problems.
by rpdom
Sun Aug 12, 2018 5:16 pm
Forum: General discussion
Topic: (Solved) Is using a non powered USB HDD possible with a Pi3B+ ?
Replies: 21
Views: 537

Re: Is using a non powered USB HDD possible with a Pi3B+ ?

Linux will wait for USB drives to ready before starting the boot process. So spin up time is not relevant. If booting from the external drive, Linux hasn't even been loaded at this point. I understand that the internal boot ROM on the 3B+ is slightly different from the one in the 3B. Drives that wo...
by rpdom
Sun Aug 12, 2018 8:10 am
Forum: General discussion
Topic: (Solved) Is using a non powered USB HDD possible with a Pi3B+ ?
Replies: 21
Views: 537

Re: Is using a non powered USB HDD possible with a Pi3B+ ?

It seems to depend on the drive. I have a Pi 3B+ (running headless) that boots and runs happily from a 2TB USB drive using just the official Pi power supply. I also have a Pi 3B and a Pi 2B that use similar 2TB drives for storage, but boot from SD cards. I couldn't get the 3B to boot directly from H...

Go to advanced search