Go to advanced search

by Kimomaru
Thu May 03, 2018 4:31 pm
Forum: Advanced users
Topic: Script for changing raspberry pi hostname during boot sequence
Replies: 4
Views: 845

Re: Script for changing raspberry pi hostname during boot sequence

As I mentioned, I had already done that.
by Kimomaru
Thu May 03, 2018 4:08 pm
Forum: Advanced users
Topic: Script for changing raspberry pi hostname during boot sequence
Replies: 4
Views: 845

Script for changing raspberry pi hostname during boot sequence

I have a script being used on an older raspberry pi that seems to work differently on a more current raspbian. This is for an inherited project, so please forgive the ignorance. On the old raspberry pi, two scripts exist in the /etc/initd.d directory; rename.sh and hostname.sh. They look like this; ...
by Kimomaru
Mon Apr 16, 2018 5:58 pm
Forum: Troubleshooting
Topic: How to limit amp draw on USB port
Replies: 15
Views: 1462

Re: How to limit amp draw on USB port

@mahjongg - in short, I'm putting together a solution that will both charge an iPad as well as allow me to connect to it through a network and image it between uses. The Pi itself runs on POE from a network switch. I've been using an inline voltmeter to measure how much voltage and current is availa...
by Kimomaru
Mon Apr 16, 2018 5:47 pm
Forum: Troubleshooting
Topic: How to limit amp draw on USB port
Replies: 15
Views: 1462

Re: How to limit amp draw on USB port

@fruitoftheloom - yes, that's what I'm seeing. It's drawing 2.1 amps for charging. I want to limit it to 1.0 amp. Raspberry Pi can't handle this much draw, it throws errors. How can I reduce the draw?
by Kimomaru
Mon Apr 16, 2018 5:40 pm
Forum: Troubleshooting
Topic: How to limit amp draw on USB port
Replies: 15
Views: 1462

Re: How to limit amp draw on USB port

mahjongg,
So, I'm not asking, "should I do x". I'm doing x. I'm puzzled at why the default response to any question posted in this forum is, "Why would you want to do that?". Is there a way or not to cap the current draw on a raspberry pi usb?
by Kimomaru
Mon Apr 16, 2018 5:24 pm
Forum: Troubleshooting
Topic: How to limit amp draw on USB port
Replies: 15
Views: 1462

Re: How to limit amp draw on USB port

Hi drgeoff,
The device is an iPad. How much it pulls from a raspberry pi usb port depends on how much the ipad needs. If the ipad is at ~20%, it draws 2 amps, which is too much for the Pi apparently. 1 amp is what I would like to draw. Is there any way to cap it?
by Kimomaru
Mon Apr 16, 2018 3:06 pm
Forum: Troubleshooting
Topic: How to limit amp draw on USB port
Replies: 15
Views: 1462

How to limit amp draw on USB port

I have a USB device connected to my Pi, it's attempting to pull 2 amps, but this is causing issues for the Pi (getting raspberrypi kernel: [ 27.123144] Under-voltage detected! (0x00050005)) How can I limit the current to 1 amp?
by Kimomaru
Sat Mar 03, 2018 7:16 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

Yes. I agree. I don't suppose you know of a diagnostic for raspberry pi that checks for hardware issues?
by Kimomaru
Sat Mar 03, 2018 6:15 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

I just tried the Pi with a brand new install of Stretch. No change, the eth0 interface doesn't work. I just noticed that the amber and green LEDs on the eth0 interface are solid whether or not anything is plugged in, which I don't believe is normal. Any thoughts?
by Kimomaru
Sat Mar 03, 2018 1:58 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

Okay, how do you update? apt-get dist-upgrade?
by Kimomaru
Sat Mar 03, 2018 1:45 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

This is a problem for us, our image has been customized and rebuilding from scratch would be a bigger headache. How do you do the upgrade from apt-get?
by Kimomaru
Sat Mar 03, 2018 1:37 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

@pcmanbob, can I upgrade raspbian via apt-get?
by Kimomaru
Sat Mar 03, 2018 12:37 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

@pcmanbob, aren't the address settings supposed to be made in /etc/network/interfaces? I've read some suggest that they should be done in /etc/dhcpcd.conf, but this file does not exist on the raspbian version I'm using.
by Kimomaru
Sat Mar 03, 2018 12:05 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

I tried both of these things. Is there any way to determine if the eth0 port itself is damaged?
by Kimomaru
Fri Mar 02, 2018 11:13 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

Also, just wanted to mention in case it helps. This is the model information;

Raspberry Pi Model B+
by Kimomaru
Fri Mar 02, 2018 10:51 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

I was able to run updates to the Pis by attaching a USB network dongle and configure eth1.
by Kimomaru
Fri Mar 02, 2018 8:01 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

Raspbian. Also, I've run rpi-update and updated with "apt-get upgrade".
by Kimomaru
Fri Mar 02, 2018 7:43 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

I tried removing the Hat, new OS, new network. None success. The lights on the back of the ethernet port are solid amber and solid green with some blinking of the green light (emphasis on "some". It blinks once maybe every ten seconds or so.)
by Kimomaru
Fri Mar 02, 2018 6:55 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

I've replaced the OS, the issue persists. It's not related to software of the network.
by Kimomaru
Fri Mar 02, 2018 6:24 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Re: Pi ethernet problems

Yes, I have tried without the Poe Hat module. It isn't the network, or the cable, or the DHCP server. Is there anything I can run on the board to verify that the eth0 is working properly?
by Kimomaru
Fri Mar 02, 2018 5:49 pm
Forum: Troubleshooting
Topic: Pi ethernet problems
Replies: 28
Views: 1259

Pi ethernet problems

I have about 400 pi units and some of them have developed a peculiar issue. The eth0 interface appears to be up, but I can't seem to pull a DHCP address. When I set a static IP, it shows in the ifconfig output, but the interface can't ping anything. I've looked at the dmesg output, but nothing stand...
by Kimomaru
Wed Feb 18, 2015 5:09 pm
Forum: Advanced users
Topic: Installing ipad_charge on raspbian
Replies: 3
Views: 1152

Re: Installing ipad_charge on raspbian

Hi Andy,
Thanks for the reply. I downloaded a more recent libusb and things are working now.
by Kimomaru
Tue Feb 17, 2015 3:22 pm
Forum: Advanced users
Topic: Installing ipad_charge on raspbian
Replies: 3
Views: 1152

Installing ipad_charge on raspbian

Hello, I've installing ipad_charge on Ubuntu before with no problems and would like to find a way to get this to work on Raspbian (ipad_charge is an application that allows a usb port to charge Apple ipads). On Ubuntu, these are the basic steps (from https://github.com/mkorenkov/ipad_charge/wiki); s...
by Kimomaru
Tue Feb 19, 2013 4:00 am
Forum: General discussion
Topic: Raspberri Pi Questions
Replies: 2
Views: 455

Raspberri Pi Questions

Hello, I love my Raspberry Pi and have found it to be pretty handy just as a server for MySQL/Apache/anything. I do have some questions that relate to its suitability as a PC replacement. I noticed that LXDE is quite slow, is this related to video memory? The CPU alone spikes to 100% just on opening...

Go to advanced search