Go to advanced search

by RDK
Wed Oct 18, 2017 3:35 pm
Forum: Beginners
Topic: Networking Setup in Raspbian Stretch including a Bridge
Replies: 7
Views: 5327

Re: Networking Setup in Raspbian Stretch including a Bridge

SurferTim......I found the raspi-config configuration option for the network names. That worked and so did your bridging code, except I had to enable the denyinterfaces eth0 eth1 option in the /etc/dhcpcd.conf to get it to assign the static address to br0 and not to eth0 Also the line net.ifnames=0 ...
by RDK
Wed Oct 18, 2017 1:39 pm
Forum: Beginners
Topic: Networking Setup in Raspbian Stretch including a Bridge
Replies: 7
Views: 5327

Re: Networking Setup in Raspbian Stretch including a Bridge

SurferTim.....OK, but do I have to install the September version first? I'm downloading it now, just in case., but my bandwidth is minimal sp it will take hours.

When you do an ifconfig, do you get the new interface names?....RDK
by RDK
Wed Oct 18, 2017 11:35 am
Forum: Beginners
Topic: Networking Setup in Raspbian Stretch including a Bridge
Replies: 7
Views: 5327

Re: Networking Setup in Raspbian Stretch including a Bridge

Unfortunately I installed the Aug 16 image. I've done all of the updates on it as well as lots of other installs and configurations. Do I need to download the September version and start over? As shown in my code, I want to bridge eth0 (the PiV3 on board Ethernet port and eth1 (the USB-to-Ethernet d...
by RDK
Wed Oct 18, 2017 8:40 am
Forum: Beginners
Topic: Networking Setup in Raspbian Stretch including a Bridge
Replies: 7
Views: 5327

Networking Setup in Raspbian Stretch including a Bridge

OK, so this is what I get for trying to be adventurous! Up until now I have always used the NOBS method for installing Raspbian on my Pi's. But after reading the web about some advantages to installing just the image (also to be downloaded from the Raspberry Pi site) I decided to try it on my new Ra...
by RDK
Tue Oct 17, 2017 12:52 pm
Forum: Advanced users
Topic: Boot script to check for dirty bit on USB stick or SD card
Replies: 0
Views: 756

Boot script to check for dirty bit on USB stick or SD card

While not often, I do experience power outages which stop one of my Pis and then usually results in the USB stick having the "dirty bit" set. I know how to fix this manual sudo dmesg |grep sda1 ==> this finds references to sda1 in the message log. If I see that it has reported a dirty bit for sda1 t...
by RDK
Sun Sep 03, 2017 11:44 am
Forum: Python
Topic: How To: Installing 'nonblock' package on Pi v2/Jessie?
Replies: 2
Views: 358

Re: How To: Installing 'nonblock' package on Pi v2/Jessie?

Dougie....Thanks,
sudo pip install python-nonblock
worked like a champ.....RDK
by RDK
Sat Sep 02, 2017 12:10 pm
Forum: Python
Topic: How To: Installing 'nonblock' package on Pi v2/Jessie?
Replies: 2
Views: 358

How To: Installing 'nonblock' package on Pi v2/Jessie?

I recently found a function/module which maybe useful in one of my projects (https://pypi.python.org/pypi/python-nonblock) . I have downloaded the package from that site, but there are no installation instructions, so I'm not sure what to do next. Can someone tell me how it install this package or p...
by RDK
Mon Aug 28, 2017 5:02 am
Forum: Python
Topic: Using command line code in a Python program, ie i2cset... or moreutils function ifne
Replies: 5
Views: 911

Re: Using command line code in a Python program, ie i2cset... or moreutils function ifne

Thanks guys, I'll try your ideas and see what happens....RDK
by RDK
Sun Aug 27, 2017 3:50 pm
Forum: Python
Topic: Using command line code in a Python program, ie i2cset... or moreutils function ifne
Replies: 5
Views: 911

Re: Using command line code in a Python program, ie i2cset... or moreutils function ifne

Thanks. I have already installed moreutils on my PI. I've used subprocess before, as you can see from the code, but in the case of moreutils module ifne , I'm not sure how to code it using subprocess so that I get the return value, ie the state of my pipe. This Python code is a test platform for a m...
by RDK
Sun Aug 27, 2017 11:54 am
Forum: Python
Topic: Using command line code in a Python program, ie i2cset... or moreutils function ifne
Replies: 5
Views: 911

Using command line code in a Python program, ie i2cset... or moreutils function ifne

I would like to call from my Python programs some system or Command Line (CL) commands. For example, in one case I need to duplicate this CL command sudo i2cset -y 1 0x6b 0x05 0x0f in my Python program. In another case I want to use the moreutils command ifne to check on the status of a pipe. moreut...
by RDK
Sat Aug 26, 2017 2:29 pm
Forum: Beginners
Topic: Installing TCPFLOW from the GIT site
Replies: 5
Views: 740

Re: Installing TCPFLOW from the GIT site

OK, these issues have been resolved. The issue around the configure.sh vs configure.bash has been fixed by the TCPFLOW developers. The file has been renamed to match the documentation. The "cannot create" errors after I ran the bash configure.bash file the second time were permission errors due to m...
by RDK
Fri Aug 25, 2017 6:37 am
Forum: Beginners
Topic: Installing TCPFLOW from the GIT site
Replies: 5
Views: 740

Re: Installing TCPFLOW from the GIT site

I just noticed the following comments on the git site. Now, I'm wondering if I should have run one of these scripts before I started the install? If yes, which one would correspond to Raspbian Jessie on my Pi v2 ? To compile for Linux Be sure you have the necessary precursors. There are files in the...
by RDK
Thu Aug 24, 2017 8:52 pm
Forum: Beginners
Topic: Installing TCPFLOW from the GIT site
Replies: 5
Views: 740

Re: Installing TCPFLOW from the GIT site

Hmmmm, still having issues, bash bootstrap.bash ran but gave errors for missing modules. I ran this to correct that problem: sudo apt-get update --fix-missing sudo apt-get install git gcc g++ automake autoconf libpcap-dev libboost-dev libssl-dev zlib1g-dev libcairo2-dev Rerunning bash bootstrap.bash...
by RDK
Thu Aug 24, 2017 8:14 pm
Forum: Beginners
Topic: Installing TCPFLOW from the GIT site
Replies: 5
Views: 740

Re: Installing TCPFLOW from the GIT site

Thanks. I thought I tried that, but just now it seems to be working. Another senior moment.....RDK
by RDK
Thu Aug 24, 2017 7:42 pm
Forum: Beginners
Topic: Installing TCPFLOW from the GIT site
Replies: 5
Views: 740

Installing TCPFLOW from the GIT site

I've done this before but today I can not get it to work! Running Jessie on a Raspberry Pi v2. Working from the GIT site ( https://github.com/simsong/tcpflow/ ) I'm trying to install the latest version of TCPFLOW. I have done the apt-get update and then the upgrade so I'm sure the OS is up-to-date. ...
by RDK
Fri Aug 11, 2017 4:06 pm
Forum: Beginners
Topic: Pi V2-Jessie crashed. Can not reformat SD card???
Replies: 7
Views: 1016

Re: Pi V2-Jessie crashed. Can not reformat SD card???

Yes, issues like this are a challenge. Dougie may be right that this fight is about a failed SD card, but it seemed to have other associated issues which affected one other card and some of my backup and restore programs. At this point, I've about convinced myself that once the PC tried to work with...
by RDK
Fri Aug 11, 2017 9:36 am
Forum: Beginners
Topic: Pi V2-Jessie crashed. Can not reformat SD card???
Replies: 7
Views: 1016

Re: Pi V2-Jessie crashed. Can not reformat SD card???

Administrator....I'm beginning to suspect that this is more of a hardware issue than a Raspberry Pi issue. Thus if you wish to move it from Beginners to another forum, please do that. I will continue to try to determine why I can not format or copy old image files to these two SD cards as described ...
by RDK
Fri Aug 11, 2017 4:50 am
Forum: Beginners
Topic: Pi V2-Jessie crashed. Can not reformat SD card???
Replies: 7
Views: 1016

Re: Pi V2-Jessie crashed. Can not reformat SD card???

Thanks. Yes, every method (Nikon camera, Panasonic camera, Windows 10 Device Manager, Windows 10 "properties:format", ...) seems to think the card is lock or not available to formatting. Rebooting the PC did not help. If the PC will read the card, I assume it is compatible with SHSD cards? And, yes,...
by RDK
Thu Aug 10, 2017 7:13 pm
Forum: Beginners
Topic: Pi V2-Jessie crashed. Can not reformat SD card???
Replies: 7
Views: 1016

Pi V2-Jessie crashed. Can not reformat SD card???

My Raspberry Pi V2 running Jessie crashed today. As I watched the boot up afterwards it was full of errors relating to the boot SD, etc. I assume that SD card had gotten corrupted. I tried the "Restore" option for booting and that gave be errors also. Next using HDDRawCopy 1.1, tried restoring a bac...
by RDK
Wed Jul 05, 2017 5:19 pm
Forum: Troubleshooting
Topic: Forwarding Port 22 (SSH) stopped working [RP3 / Raspbian]
Replies: 10
Views: 2016

Re: Forwarding Port 22 (SSH) stopped working [RP3 / Raspbian

I realize that this an old thread, but I'm having exactly the same issue - Pi is not responding to port forwarding on a newly installed Pi Version 2 with Jessie -- New Pi V2 and fresh Jessie install with all of the updates. Details: I have my Pi's on a NetGear router which is itself connected to ano...
by RDK
Sun Jun 18, 2017 5:52 am
Forum: Beginners
Topic: Networking and Setting up a bridge in Jessie
Replies: 3
Views: 2142

Re: Networking and Setting up a bridge in Jessie

Well, nothing seems to have fixed the issue so I could continue to use DHCP and get the IP assignment based on the MAC rules in my routers. I have fallen back on assigning static address in the dhcpcd.conf file...RDK
by RDK
Sat Jun 17, 2017 5:16 pm
Forum: Beginners
Topic: Pi v2 - Jessy Shutsdown unexpectly
Replies: 0
Views: 163

Pi v2 - Jessy Shutsdown unexpectly

I'm running a Raspberry Pi V2 with Jessie and the latest updates. The unit is set up to bridge eth0 and eth1. It is listening to traffic on my network via TCPFLOW and a Python program which is running in a disconnected Screen session. It has been working just fine, then yesterday is shutdown unexpec...
by RDK
Wed Jun 14, 2017 5:48 am
Forum: Beginners
Topic: Networking and Setting up a bridge in Jessie
Replies: 3
Views: 2142

Re: Networking and Setting up a bridge in Jessie

Thanks for the reply. Search around the forum, there are plenty of bridge setups I have tried to search this forum (and the web also) for bridge setups for my Pi V2 running Jessie. I have not been able to find any that I found useful. Perhaps you can suggest some or provide a search string. I've tri...
by RDK
Tue Jun 13, 2017 3:06 pm
Forum: Beginners
Topic: Networking and Setting up a bridge in Jessie
Replies: 3
Views: 2142

Networking and Setting up a bridge in Jessie

As with a lot of folks I'm confused about the networking setup in Jessie. Now, after lots of reading, experimenting and head scratching I though I had had it figured out. But... Questions: 1. My wired network is managed by a SonicWall firewall router. Most IP addresses are assigned based on the MAC ...
by RDK
Tue Feb 28, 2017 4:27 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 115
Views: 41898

Re: Using a Pi to Log Data in a Magnum Energy System

Guys......OK, this is what I know and/or think I know. Using the protocol document referenced earlier in this thread I have been able to find and decode the battery and inverter data which is displayed on the Magnum web site. That is the site which is receiving the data stream from the Mag Web unit....

Go to advanced search