Go to advanced search

by NIW
Sat Aug 18, 2018 2:28 pm
Forum: Beginners
Topic: New Tutorial for Disabling Login.
Replies: 4
Views: 8988

Re: New Tutorial for Disabling Login.

Works great, thanks!
by NIW
Fri Aug 17, 2018 4:24 pm
Forum: Beginners
Topic: New Tutorial for Disabling Login.
Replies: 4
Views: 8988

Re: New Tutorial for Disabling Login.

I'm pretty new, I just need the pi to go straight to the command line after booting, so i don't have to type in the username and password.
by NIW
Fri Aug 17, 2018 3:34 pm
Forum: Beginners
Topic: New Tutorial for Disabling Login.
Replies: 4
Views: 8988

New Tutorial for Disabling Login.

I was wondering how to disable the login on the raspberry pi, but all the tutorials I found were super outdated. Are there any ones for the latest version of raspbian lite?
by NIW
Wed Aug 01, 2018 2:30 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

That question doesn't make sense. I'll explain, I had python programs I wrote on my raspberry pi. I backed them up to my PC so that if I burned a new image of raspbian onto the card, I would still have the programs. Since last time I tried to mount to a usb device I broke my pi, I wanted to know if...
by NIW
Tue Jul 31, 2018 10:32 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

If you build a fresh copy of Raspbian on a fresh SDCard you get a full system. Clearly what you're looking at it the poxy NOOBS recovery system, which has the usability of an ashtray on a motorbike. lol thanks, Is there a way I can get the python programs I wrote on to the pi without using a usb st...
by NIW
Tue Jul 31, 2018 9:13 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

Boot the rescue system. Open LXTerminal (or press [CTRL]+[ALT]+[F2] and login with pi/raspberry). sudo -s mount /dev/sda2 /mnt mount /dev/sda2 /mnt/boot cd /mnt/boot nano config.txt cd /etc nano rc.local cd / umount /mnt/boot umount /mnt exit # when done The rescue system only boots in emergency mo...
by NIW
Tue Jul 31, 2018 8:02 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

How is that any different to building a Raspbian "Rescue" System? I tried using the rescue system, but i somehow made it so that the pi couldn't access the command line. I want to reformat the drives and upload my programs, but idk if you can access the boot directory (has cmdline.txt) fr...
by NIW
Tue Jul 31, 2018 6:40 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

Also, could I access the recovery directory from the command line.
by NIW
Tue Jul 31, 2018 4:33 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

More problems, I tried to acces the usb drive folowing this tutorial https://www.instructables.com/id/Mounting-a-USB-Thumb-Drive-with-the-Raspberry-Pi/ once i restart, it says I can not access the console and the root account is locked. What is going on? :? I think I will just reformat the drives, b...
by NIW
Tue Jul 31, 2018 3:51 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

Is there any linux file editors I can get for windows? I have disk internals linux reader, but you can only back up files, not edit them.
by NIW
Mon Jul 30, 2018 10:07 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

Well, I tried it, it booted in emergency mode, but it still ran the program and I still couldn't get out with Ctrl+c.
by NIW
Mon Jul 30, 2018 9:46 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

Re: HELP! Program running on boot with no way out.

Or try the non-Noobs method from viewtopic.php?p=1333129#p1333130
Ignore the title, the method is the same
Once I do this, how do I find rc.local? I also don't have notepad++, but I can edit the file with pspad.
by NIW
Mon Jul 30, 2018 9:21 pm
Forum: Troubleshooting
Topic: HELP! Program running on boot with no way out.
Replies: 22
Views: 1558

HELP! Program running on boot with no way out.

Well, I screwed up. I was doing some testing for the ROV I am building, and I put sudo /home/pi/MainControl.py in /etc/rc.local to cause the program to run on startup. I did not code a way to end the program, and the Pi will not accept keyboard inputs while the program is running, so I can't CTRL-C ...
by NIW
Tue Apr 10, 2018 5:44 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Using a 3.3v to 5v logic level converter for GPIO serial.
Replies: 1
Views: 1992

Using a 3.3v to 5v logic level converter for GPIO serial.

I am going to be using this ( https://www.sparkfun.com/products/12009 ) bi-directional logic level converter to communicate with Raspberry Pi 3.3v TTL serial and a 5v TTL serial device. Would this logic level converter cause any kind of delay? I am using this for motor controll so I need the speed t...
by NIW
Wed Jan 10, 2018 7:22 pm
Forum: Python
Topic: MQTT Issues
Replies: 5
Views: 1012

Re: MQTT Issues

Your mosquitto broker @ 10.1.2.80 isn't working.
Thanks for the help.
by NIW
Sun Jan 07, 2018 8:21 pm
Forum: Python
Topic: MQTT Issues
Replies: 5
Views: 1012

Re: MQTT Issues

mosquitto_sub -t '#' -v -h 10.1.2.80 & mosquitto_pub -h 10.1.2.80 -t 'HELLO/WORLD' -m "$(date)" Then run your publisher program. I ran the first line of code on the subscribing Pi, it said [1] 945 I ran the second and it said after a while Error: Connection timed out I ran publishing ...
by NIW
Fri Jan 05, 2018 5:24 pm
Forum: Python
Topic: MQTT Issues
Replies: 5
Views: 1012

MQTT Issues

So after getting MQTT to work over an ethernet cable ( https://www.raspberrypi.org/forums/viewtopic.php?f=32&t=192632 ) I preceded to work on other aspects of my remote controlled submarine, but the Pis will not communicate. I am running this code, #!/usr/bin/python # -*- coding: utf-8 -*- # Cop...
by NIW
Mon Jan 01, 2018 11:12 pm
Forum: Troubleshooting
Topic: Raspberry pi will not update
Replies: 2
Views: 681

Re: Raspberry pi will not update

If you installed the full version, not light, have you started the GUI desktop and checked the status of the WiFi? Make sure it is "On" and connected to your network. Sometime the RPF servers are overwhelmed and you may need to try a again at a later time. I have light, I installed the up...
by NIW
Sun Dec 31, 2017 9:37 pm
Forum: Troubleshooting
Topic: Raspberry pi will not update
Replies: 2
Views: 681

Raspberry pi will not update

I was trying to update my raspberry pi (sudo apt-get update), but when I hit enter it said: 0% [Connecting to mirrordirector.raspbian.org (93.93.128.193)] [Connecting to archive.raspberrypi.org (93.93.130.39)] after a few minutes it did this: Err:1 http://mirrordirector.raspbian.org/raspbian.org/ras...
by NIW
Wed Nov 15, 2017 3:09 pm
Forum: Automation, sensing and robotics
Topic: Adafruit servo hat.
Replies: 1
Views: 431

Adafruit servo hat.

I am going to use the adafruit servo hat for my Pi, and on the website they say that it uses only two gpio pins, how would I use the other pins it does not use?
by NIW
Mon Nov 13, 2017 6:38 pm
Forum: Automation, sensing and robotics
Topic: ESC With Raspberry PI Servo Hat
Replies: 2
Views: 821

Re: ESC With Raspberry PI Servo Hat

I am using the Adafruit Servo Hat and a BRUSHED ESC no problems. Did you leave the positive (Red) wire on the connection, because I was wondering if the esc would fry it if I did. I heard that here, http://www.instructables.com/id/Driving-an-ESCBrushless-Motor-Using-Raspberry-Pi/ I dont know if it ...
by NIW
Sat Nov 11, 2017 8:51 pm
Forum: Automation, sensing and robotics
Topic: ESC With Raspberry PI Servo Hat
Replies: 2
Views: 821

ESC With Raspberry PI Servo Hat

I have a Blue Roboics Standard ESC, ( https://www.bluerobotics.com/store/thrusters/besc30-r2/ ) and I have seen the Adafruit Servo control hat ( https://www.adafruit.com/product/2327 ) and I was wondering, They both use PWM, could I use the Servo hat to control the ESC? Also would it fry the Hat? If...
by NIW
Sat Oct 21, 2017 7:33 pm
Forum: Python
Topic: [SOLVED] Raspberry pi MQTT
Replies: 35
Views: 10600

Re: Raspberry pi MQTT

I tested It and....

IT WORKED :D

Thank you everyone who helped me accomplish this.

This is going to help me build my ROV ( RC sub) so much.
by NIW
Sat Oct 21, 2017 7:00 pm
Forum: Python
Topic: [SOLVED] Raspberry pi MQTT
Replies: 35
Views: 10600

Re: Raspberry pi MQTT

I did

Code: Select all

sudo killall dnsmasq
and then ran

Code: Select all

sudo dnsmasq
and nothing happened. It just went to a new command line.

Did it work?
by NIW
Sat Oct 21, 2017 3:24 pm
Forum: Python
Topic: [SOLVED] Raspberry pi MQTT
Replies: 35
Views: 10600

Re: Raspberry pi MQTT

Did you do the single Pi test as I suggested?
Yes and It worked just fine.
I have gotten the pi's to communicate over a wireless network, but getting them to communicate over the cat5 cable has not worked yet.

Go to advanced search