Go to advanced search

by rpdom
Wed Jan 23, 2019 4:01 pm
Forum: Beginners
Topic: Does Raspberry Pi 3 b+ support gigabet ethernet?
Replies: 5
Views: 176

Re: Does Raspberry Pi 3 b+ support gigabet ethernet?

mii-tool works for me: [email protected]:~ $ sudo mii-tool eth0 eth0: negotiated 1000baseT-FD flow-control, link ok [email protected]:~ $ Did you try it on a 3B, not 3B+, or even on a 2B? [email protected] ~ $ sudo mii-tool eth0 eth0: negotiated 1000baseT-HD flow-control, link ok [email protected] ~ $ cat /sys/firmware/devi...
by rpdom
Wed Jan 23, 2019 11:11 am
Forum: General discussion
Topic: Weird pi happenings
Replies: 3
Views: 123

Re: Weird pi happenings

but removed from image installed raspbian (since March 2014) I don't recall the wake from halt feature being removed from anything. It still works, as far as I know. The thing that was removed from the bootcode was the ability to boot to a recovery system by grounding that pin when the Pi was booti...
by rpdom
Wed Jan 23, 2019 8:24 am
Forum: Beginners
Topic: Does Raspberry Pi 3 b+ support gigabet ethernet?
Replies: 5
Views: 176

Re: Does Raspberry Pi 3 b+ support gigabet ethernet?

my RPi 3 B+ is connected to my edgerouter and it says 100mbp/s. Is 1000 supported? What says 100Mb/s? The router or a command on the Pi? What colour is the LED on the ethernet socket on the Pi? Mine is yellow/orange indicating a 1000Mb/s connection. I use the ethtool command to check the speed. [email protected]...
by rpdom
Wed Jan 23, 2019 8:01 am
Forum: Graphics programming
Topic: Best way to render video inside my program?
Replies: 6
Views: 164

Re: Best way to render video inside my program?

Domarius wrote:
Wed Jan 23, 2019 6:17 am
perhaps I could use Python to display my own graphical window with static and green text overlay for a second, before automatically switching to the OMXPlayer window.
That might be an idea as omxplayer does take a second or two to check the video file before it starts playing.
by rpdom
Wed Jan 23, 2019 3:52 am
Forum: General discussion
Topic: Will a Ethernet to USB adapter give me an extra port?
Replies: 19
Views: 385

Re: Will a Ethernet to USB adapter give me an extra port?

Will5455 wrote:
Wed Jan 23, 2019 12:48 am
Yes there is power in a ethernet port that is what power over ethernet is!
Only if your switch provides PoE or if you use an injector. Generally ethernet ports do not provide power.
by rpdom
Tue Jan 22, 2019 6:28 pm
Forum: Troubleshooting
Topic: SSH outside network - port forwarding
Replies: 5
Views: 99

Re: SSH outside network - port forwarding

baconMan wrote:
Tue Jan 22, 2019 6:07 pm
I am trying at ssh into my raspberry pi from outside my network.
192.168.x.x is a private network address which cannot be accessed externally. You need to use your publicly accessible IP address which will then be routed to your Pi by the port forwarding you have set up on your router.
by rpdom
Tue Jan 22, 2019 6:26 pm
Forum: General discussion
Topic: Features for future Pi, voltage/current reporting.
Replies: 49
Views: 965

Re: Features for future Pi, voltage/current reporting.

DarkPlatinum wrote:
Tue Jan 22, 2019 6:11 pm
What I meant is there would be special pins added for this purpose. For example more pins such as those used for the POE HAT.
So, additional cost, plus the added difficulty of routing traces around the pins which go through every layer of the PCB.
by rpdom
Tue Jan 22, 2019 4:44 pm
Forum: Networking and servers
Topic: VPN for WiFi
Replies: 5
Views: 1528

Re: VPN for WiFi

If you want to set up your own VPN, there are a few other alternatives to OpenVPN. 3) tinc - works on the Pi and other servers. That is what I use for my main VPN when I'm away from home. I run it on two VPS from different providers and as long as at least one of them is available I can connect to ...
by rpdom
Tue Jan 22, 2019 2:07 pm
Forum: Troubleshooting
Topic: No wifi Interface Found
Replies: 9
Views: 264

Re: No wifi Interface Found

Are you using the default "pi" user? If not, did you add the new user to the same groups as "pi". I believe the netdev group is essential for the network config to work.
by rpdom
Tue Jan 22, 2019 6:51 am
Forum: Beginners
Topic: RPi Pull-Up Resistor Termination?
Replies: 3
Views: 87

Re: RPi Pull-Up Resistor Termination?

If you are not using a pin, it doesn't really matter if it is floating or not.
by rpdom
Tue Jan 22, 2019 6:05 am
Forum: Python
Topic: Learn Python 2 or 3 and how?
Replies: 15
Views: 324

Re: Learn Python 2 or 3 and how?

In eleven months, ten days, 4hours you won't get a choice. Not true at all. The intention is to stop supporting and maintaining Python 2. People will still be able to use Python 2 and choose to program in Python 2 if they want to. Programs written for Python 2 won't suddenly stop working, Python 2 ...
by rpdom
Tue Jan 22, 2019 6:01 am
Forum: Troubleshooting
Topic: GPIO pull up/down resistors
Replies: 2
Views: 67

Re: GPIO pull up/down resistors

I have not included any pull-up or pull-down resistors in my circuit and I suspect that this may be the issue but I would love some advice on how to implement them and why they are required. Yes, you should use some pull-down resistors. When you do GPIO.cleanup() it does, as you suspected, set the ...
by rpdom
Mon Jan 21, 2019 8:00 pm
Forum: Troubleshooting
Topic: Can't connect 192.168.1.1
Replies: 6
Views: 115

Re: Can't connect 192.168.1.1

192.168.1.1 should be your routers IP address. Not necessarily. Eg a very large percentage of home routers in the UK have an IP address of 192.168.1.254. It varies. I've never seen a .254 router, mostly .1 but the subnet changes. I hate that my new Virgin modem/router has a fixed subnet (192.168.10...
by rpdom
Mon Jan 21, 2019 4:53 pm
Forum: General discussion
Topic: Unclear on throttling
Replies: 9
Views: 160

Re: Unclear on throttling

Close, but 80008 Hex translates to 1000 0000 0000 0000 1000 binary as you say, but that means bit 3 is 1 - I don't know what that means, and bit 19 is 1 which means "Soft Temp limit has occurred". Nothing about power throttling (if I've go that right). Bit 3 is soft temp limit currently active; I'v...
by rpdom
Mon Jan 21, 2019 4:51 pm
Forum: General discussion
Topic: Unclear on throttling
Replies: 9
Views: 160

Re: Unclear on throttling

dandandan wrote:
Mon Jan 21, 2019 4:46 pm
How do you get to bit 3 here?
The bits are numbered from the right hand side

Code: Select all

1111 1111 1100 0000 0000
9876 5432 1098 7654 3210
---------------------------------------
1000 0000 0000 0000 1000
by rpdom
Mon Jan 21, 2019 3:54 pm
Forum: Networking and servers
Topic: Mirroring mysql
Replies: 4
Views: 85

Re: Mirroring mysql

arvix wrote:
Mon Jan 21, 2019 1:41 pm
And as I know replication without internet connections got errors...
Usually warnings, but once connection is re-established the replication will resume and catch up.
by rpdom
Mon Jan 21, 2019 3:35 pm
Forum: General discussion
Topic: Unclear on throttling
Replies: 9
Views: 160

Re: Unclear on throttling

There's some preliminary documentation for vcgencmd here that explains what the command does https://github.com/raspberrypi/documentation/blob/JamesH65-patch-vcgencmd-vcdbg-docs/raspbian/applications/vcgencmd.md Thanks for the quick reply but I do not understand that, i think. How do i translate th...
by rpdom
Mon Jan 21, 2019 1:10 pm
Forum: Wanted
Topic: need Raspbian build w/ auto-video play & SSH enabled-- bounty offered!
Replies: 5
Views: 126

Re: need Raspbian build w/ auto-video play & SSH enabled-- bounty offered!

omxplayer doesn't require the desktop, so I'd use Raspbian Lite for that. I'd then set it up to run on startup via crontab or rc.local or systemd service with the -loop option. I could probably create an image file based on the current Stretch Lite that will do the job, including enabling ssh and so...
by rpdom
Mon Jan 21, 2019 1:02 pm
Forum: General discussion
Topic: writing on hdmi screen
Replies: 6
Views: 184

Re: writing on hdmi screen

the raspberry pi is only capable of one video output. Not strictly true. You can't use HDMI and Composite at the same time, but you can use combinations of the various interfaces. HDMI or Composite + DPI (even VGA with Gert's VGA666 board) HDMI or Composite + DSI HDMI or Composite + various i2c or ...
by rpdom
Mon Jan 21, 2019 12:54 pm
Forum: Troubleshooting
Topic: Involuntary shutdown - RBP3B+
Replies: 9
Views: 143

Re: Involuntary shutdown - RBP3B+

Might be time to attach a monitor to see what is going on. Going to be difficult otherwise. One thing you might try, log in using ssh then run `dmesg -w` and see if anything is put in the log there - it displays entries that come in in real time. Isn't vcgencmd get_throttled supposed to show someth...
by rpdom
Mon Jan 21, 2019 12:49 pm
Forum: Networking and servers
Topic: Mirroring mysql
Replies: 4
Views: 85

Re: Mirroring mysql

Is there a reason that simple replication can't work? For example, the same table in both databases gets updated independently and the changes need to be merged rather than just replicated from one system to the other. MariaDB (replaced MySQL a while back) can just about handle that. I had, until re...
by rpdom
Mon Jan 21, 2019 12:44 pm
Forum: Beginners
Topic: Cost effective project
Replies: 11
Views: 220

Re: Cost effective project

- a Raspberry PI with an ultrasonic ranger sensor where a lift is counted above a certain height If you want low cost, use a microswitch that is closed when the lift goes above a certain height. If you want a non-contact solution, a capacitance sensor would be better than ultrasonic. Ultrasonic sen...
by rpdom
Mon Jan 21, 2019 7:09 am
Forum: Troubleshooting
Topic: set wrong video mode, no display
Replies: 7
Views: 124

Re: set wrong video mode, no display

What did your partition table look like? If you have a NOOBS setup (like I suspect), you will have about 5 or 6 partitions and only the first one will be visible to all except the latest version of Windows. If you use Etcher to write a Raspbian Stretch image file to the card instead of using NOOBS, ...
by rpdom
Sun Jan 20, 2019 7:17 pm
Forum: Advanced users
Topic: PHP strtotime problem
Replies: 4
Views: 106

Re: PHP strtotime problem

I can't figure out what goes between echo" and the first </td> to get the formatted date in the table. You've pretty much answered that in your previous bit of code $date = strtotime($row['Added']); echo "Time: ".date('d/m/Y H:i:s', $date)." {$row['Temp']}. {$row['Lux']} <br>"; The output from that...
by rpdom
Sun Jan 20, 2019 3:35 pm
Forum: Advanced users
Topic: PHP strtotime problem
Replies: 4
Views: 106

Re: PHP strtotime problem

Because you're not reading the data from the query.

You've read in up to 200 results, but are not using them. Where is your while loop? Where is the mysql_fetch_assoc() function to extract the data from each result?

Go to advanced search