Go to advanced search

by rpdom
Sun Feb 18, 2018 10:43 pm
Forum: Advanced users
Topic: Booting from usb advice needed
Replies: 30
Views: 642

Re: Booting from usb advice needed

Haemogoblin wrote:
Sun Feb 18, 2018 9:16 pm
Does a kernal update happen during a sudo apt-get upgrade? or only through a raspi-update?
Both. But you should use apt-get upgrade unless specifically told to use rpi-update.
by rpdom
Sun Feb 18, 2018 6:47 pm
Forum: Troubleshooting
Topic: Larger SD card?
Replies: 4
Views: 69

Re: Larger SD card?

If you put the new card in a USB card reader and plug it into your Pi (running Raspbian), you can use the SD card copier application to copy your old card to the new one and it will handle all the formatting and resizing for you. That will work with cards much bigger than 64GB
by rpdom
Sun Feb 18, 2018 10:38 am
Forum: Advanced users
Topic: Converting docx to pdf, with python script
Replies: 7
Views: 162

Re: Converting docx to pdf, with python script

rpdom wrote:
Sun Feb 18, 2018 6:11 am
Libreoffice can do this in batch mode

Code: Select all

libreoffice --convert-to pdf myfile.docx
will create myfile.pdf
Edit: I should have spelt libreoffice correctly. Fixed now.
by rpdom
Sun Feb 18, 2018 6:11 am
Forum: Advanced users
Topic: Converting docx to pdf, with python script
Replies: 7
Views: 162

Re: Converting docx to pdf, with python script

Libreoffice can do this in batch mode

Code: Select all

libroffice --convert-to pdf myfile.docx
will create myfile.pdf
by rpdom
Sat Feb 17, 2018 7:39 am
Forum: For sale
Topic: 12x Raspberry Pi Model B+ - NEW - in original packaging
Replies: 5
Views: 226

Re: 12x Raspberry Pi Model B+ - NEW - in original packaging

Nightwalker83 wrote:
Sat Feb 17, 2018 7:31 am
Which version of the Raspberry Pi are they 1, 2 or 3? Model B+ doesn't tell us much.
There was only one B+ model.
by rpdom
Fri Feb 16, 2018 10:18 pm
Forum: Troubleshooting
Topic: Two Pi zero's, both on network with same IP address!
Replies: 8
Views: 64

Re: Two Pi's, both on network with same IP address!

FreakHavoc wrote:
Fri Feb 16, 2018 9:45 pm
I have the exact same problem
Perhaps like the post you are replying to you are using instructions that are six years old?

ifup and ifdown are no longer used. Have you made any changes to /etc/network/interfaces as well?
by rpdom
Thu Feb 15, 2018 8:25 am
Forum: General discussion
Topic: Apt-Get: Glenn McGurrin mirror down? Force Server Choice?
Replies: 1
Views: 53

Re: Apt-Get: Glenn McGurrin mirror down? Force Server Choice?

Yes, edit the sources.list file that has mirrordirector.raspbian.org in and replace it with one of the other mirrors http://raspbian.org/RaspbianMirrors Don't forget to change it back again later.
by rpdom
Thu Feb 15, 2018 8:11 am
Forum: General discussion
Topic: Advice requested for use as small file server
Replies: 16
Views: 532

Re: Advice requested for use as small file server

I use a Pi 2B (original version) as a file server, with a 2TB USB3.0 disk (Yes, I know it only runs at 2.0 speeds). That has been running continuously for over a year now with no problems. The Pi also runs a few small websites, the DHCP, NTP and DNS for my house and several MySQL databases. It's not...
by rpdom
Thu Feb 15, 2018 7:51 am
Forum: Other projects
Topic: How to wake the Pi itself via Wake-on-Lan?
Replies: 3
Views: 123

Re: How to wake the Pi itself via Wake-on-Lan?

fruitoftheloom wrote:
Wed Feb 14, 2018 11:56 pm
Maybe Power over Ethernet which requires additional hardware around £25.00 UK.......
and is about the cost of running a Pi 24/7 for 4-5 years.

Just leave it running.
by rpdom
Thu Feb 15, 2018 7:43 am
Forum: Troubleshooting
Topic: dhcpcd static IP error...
Replies: 8
Views: 161

Re: dhcpcd static IP error...

The current version of /etc/network/interfaces contains the following lines only: # interfaces(5) file used by ifup(8) and ifdown(8) # Please note that this file is written to be used with dhcpcd # For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf' # Include files from /etc/network/interf...
by rpdom
Thu Feb 15, 2018 7:37 am
Forum: Troubleshooting
Topic: pi b micro sd card reader fix
Replies: 1
Views: 53

Re: pi b micro sd card reader fix

That works. :-) My solution was to take a fine pair of tweezers and pull out the little spring that pushes the card out. It can be grabbed through the hole in the case where you put that solder blob. Then the card is a simple push-pull fit. The Pi 3B and Zero don't have that problem, as they use the...
by rpdom
Thu Feb 15, 2018 7:19 am
Forum: General discussion
Topic: Need advice for store
Replies: 3
Views: 140

Re: Need advice for store

Pimoroni seem to have them in stock at the moment. Limited to one per order though (also probably one order per day maximum). https://shop.pimoroni.com/collections/raspberry-pi/products/raspberry-pi-zero The Pi Hut are out of stock. Another alternative could be the Pi A+ which is a bit bigger than t...
by rpdom
Wed Feb 14, 2018 8:48 pm
Forum: Off topic discussion
Topic: Secure reformat of memory cards
Replies: 6
Views: 216

Re: Secure reformat of memory cards

My question is, do USB sticks and SD cards also have a memory of previous contents? Am I wasting time doing more than one write of the volume? No. They are made up of cells that can only store a 1 or a 0. The magnetic disk thing is because it is magnetising a small area and the whole area doesn't a...
by rpdom
Wed Feb 14, 2018 8:43 pm
Forum: Off topic discussion
Topic: Secure reformat of memory cards
Replies: 6
Views: 216

Re: Secure reformat of memory cards

My question is, do USB sticks and SD cards also have a memory of previous contents? Am I wasting time doing more than one write of the volume? No. They are made up of cells that can only store a 1 or a 0. The magnetic disk thing is because it is magnetising a small area and the whole area doesn't a...
by rpdom
Wed Feb 14, 2018 5:03 pm
Forum: Automation, sensing and robotics
Topic: How to power and read multiple DS18B20 temperature sensors
Replies: 7
Views: 339

Re: How to power and read multiple DS18B20 temperature sensors

Okay, I took a fresh look at the datasheet and I've got one more question. Are you recommending running Vdd (supply voltage) from the Pi's 5V, and running DQ (data bus) from the Pi's 3v3 (via a pullup resistor)? Or are you recommending running both Vdd and DQ from the Pi's 5V (with the resistor con...
by rpdom
Wed Feb 14, 2018 6:12 am
Forum: Troubleshooting
Topic: firmware-brcm80211 fails checksum
Replies: 1
Views: 83

Re: firmware-brcm80211 fails checksum

It looks like the file failed to download fully. The size of the received file is smaller than the expected size. Have you got sufficient free space?
by rpdom
Wed Feb 14, 2018 6:01 am
Forum: Beginners
Topic: How can i connect a 8 circuit Molex receptacle to a raspberry pi?
Replies: 4
Views: 146

Re: How can i connect a 8 circuit Molex receptacle to a raspberry pi?

The RPi does not have a SPI bus so are you going to add a microprocessor with SPI or are you going to attempt to 'bit bang' the SPI protocol? Do you have the manufactures documentation which describes the commands set or how to control the machine via SPI? I think you mean SCI bus. The Pi does have...
by rpdom
Sun Feb 11, 2018 9:44 pm
Forum: Troubleshooting
Topic: ACT LED intensity
Replies: 19
Views: 456

Re: ACT LED intensity

How about software controlled PWM?
by rpdom
Sun Feb 11, 2018 4:53 pm
Forum: General discussion
Topic: Permissions and external drives
Replies: 9
Views: 336

Re: Permissions and external drives

You can use the UUID, the PARTUUID or the LABEL. I'do go for the label for simplicity. You don't need the uid and gid options, in fact I'm pretty sure they are invalid for ext4.

Code: Select all

LABEL=msata /media/pi/msata ext4 defaults,nofail,noatime 0 0
I think that will work.
by rpdom
Sun Feb 11, 2018 7:44 am
Forum: Beginners
Topic: Confused about LED Resistor choice???
Replies: 5
Views: 225

Re: Confused about LED Resistor choice???

Using a higher value resistor will make the LED dimmer, but it should still be visible. It is safe to try with your 100 Ohm resistor on 5V and see if that is bright enough for you. I calculate it should be running at 15mA with that value. BTW, you'll find it difficult to get a 85 Ohm resistor, that'...
by rpdom
Sat Feb 10, 2018 9:19 pm
Forum: General discussion
Topic: Permissions and external drives
Replies: 9
Views: 336

Re: Permissions and external drives

Presumably that's changed the ownership on the actual drive? Yes. So if it were moved to another computer - not that I intend to unless the Pi expires - then pi would still be the owner? That depends. The owner on the disk is now set to userid 1000, which is the ID of "pi" on Raspbian. If userid 10...
by rpdom
Sat Feb 10, 2018 6:30 pm
Forum: General discussion
Topic: Permissions and external drives
Replies: 9
Views: 336

Re: Permissions and external drives

You haven't done anything wrong. The ext4fs file system supports normal Linux ownership and permissions. You just have to change those so you can access it. For example if you want the "pi" user to be the owner you can run sudo chown -R pi /media/pi/msata to change the ownership.
by rpdom
Sat Feb 10, 2018 8:31 am
Forum: Teaching and learning resources
Topic: Build My Own Embedded System
Replies: 13
Views: 531

Re: Build My Own Embedded System

Gavinmc42 wrote:
Sat Feb 10, 2018 2:39 am
Cheapest way to get BCM2835 chips? buy Zero's and unsolder them?
Not forgetting that the BCM2835 is underneath the RAM chip and resoldering both of them is going to be a tricky task without some specialist equipment.
by rpdom
Sat Feb 10, 2018 8:28 am
Forum: General discussion
Topic: Arcade Game on Pi3
Replies: 1
Views: 103

Re: Arcade Game on Pi3

Yes, you can connect those microswitches to the GPIO in the same way as you would a push button switch. They have three connections as shown in the picture. One marked NC, one marked NO and the other one should be marked C. Use the NO and C connections. C = Common NC = Normally Closed (Connected to ...

Go to advanced search