Go to advanced search

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: 1045

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: 1045

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: 1045

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: 828

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: 828

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: 828

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: 828

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: 828

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: 1145

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: 1145

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: 1145

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: 1145

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: 2173

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: 2412

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: 184

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: 2412

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: 2412

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: 122
Views: 49749

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....
by RDK
Mon Feb 13, 2017 10:13 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49749

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

Will.....I'm between here and there right now. However, I need to warn you that my application does not directly use the Magnum Inverter hardware or a RS485 device. My method is to place a Raspberry Pi based bridge between the Mag Web device and my internet router, and then to eavesdrop on the inter...
by RDK
Sun Feb 12, 2017 2:07 pm
Forum: Automation, sensing and robotics
Topic: Using a Pi to Log Data in a Magnum Energy System
Replies: 122
Views: 49749

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

Guys.......I think I have it all working now. I have had access to the Magnum setup for the past three weeks and now I believe I have decoded both the Battery and Inverter data records that are being sent to the Magnum website via the Internet from the Mag Web unit. I will be returning to France tom...
by RDK
Fri Feb 10, 2017 3:07 pm
Forum: Beginners
Topic: Connecting a Pi to a PC
Replies: 21
Views: 3102

Re: Connecting a Pi to a PC

Thanks. You guy are full of good and interesting ideas. I'll let you know how I make out with a Wheezy build when I get access to one....RDK
by RDK
Fri Feb 10, 2017 12:33 am
Forum: Beginners
Topic: Connecting a Pi to a PC
Replies: 21
Views: 3102

Re: Connecting a Pi to a PC

Folks.... A working method is to set a static IP on the Pi to 169.254.64.64 and then you can just use that address if you plug it into a PC Ethernet port as your PC will allocate itself an address in the 169.254 range Over the past few days I've experimented with just plugging eth0 on a Pi V2 Jessie...
by RDK
Tue Jan 31, 2017 1:44 pm
Forum: Beginners
Topic: Wheezy vs Jessie on Pi B+
Replies: 7
Views: 2005

Re: Wheezy vs Jessie on Pi B+

Thanks. As you can see from the "Interfaces" file, my setup is to have this Pi (Jessie) running like my other Pi (Wheezy) as a bridge so I can capture selected internet traffic passing through it. I seems to be working just fine on both Pi's. But, I'm willing to learn and apply! I just scrolled thro...
by RDK
Tue Jan 31, 2017 2:14 am
Forum: Beginners
Topic: Wheezy vs Jessie on Pi B+
Replies: 7
Views: 2005

Re: Wheezy vs Jessie on Pi B+

Hello DirkS. As far as I know the /etc/dhcpcd.conf has never been touched. Below you will find the files you requested. Network/Interfaces: ==================== # 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 ...
by RDK
Mon Jan 30, 2017 2:39 pm
Forum: Beginners
Topic: Wheezy vs Jessie on Pi B+
Replies: 7
Views: 2005

Re: Wheezy vs Jessie on Pi B+

Thanks for the replies. I don't think it is a network issue as I have seen it on two different networks. Is it possible I have something in the network not configured correctly for this Jessie setup. The "interfaces" files are the same for both the Jessie and Wheezy setups....RDK

Go to advanced search