I can't connect my raspberry pi with my laptop - raspberry-pi3

I had a raspberry pi I want to connect to my laptop and use the raspberry pi directedly from my laptop, I try PuTTY and VNC following tutorial on youtube, but can't get them to connect; in PuTTY had connection refused, as for VNC connected with the pi.

As said in the comments you need to enable SSH on your pi.
If you have a screen you can use to view the desktop, it's pretty easy, enter:
sudo raspi-config (in to a terminal) navigate to interfacing options and you will be able to enable both SSH and VNC.
If you do not have a monitor or any way to view the desktop of your pi, you will have to do it the hard way by copying a file to your pi SD card to enable SSH, here is a link to a tutorial on how it works Enabling SSH on pi without screen
Honestly, though, the first option is the best, easiest and most foolproof.

Related

VNC into Raspberry Pi 3B+ using ethernet cable on Mac OSX loses connection when wifi on Mac is turned on

I have a Raspberry Pi 3B+ connected to a Macbook Air via an ethernet cable into a ethernet-USB adapter on the Macbook. I am able to connect to the Pi when my Macbook's wifi is disconnected. However, as soon as I turn on wifi, I lose signal over the ethernet connection to the Pi, and I can no longer see VNC or ssh.
I have tried:
reordering the serve preferences in the network settings
disabling / enabling internet sharing
Any thoughts would be appreciated! Many thanks

How do I connect my windows 10 PC to my Raspberry Pi 3 using Wifi Direct?

My Raspberry Pi 3 (running Raspian) is a robot and needs to drive around.
At home, I control it using Windows 10/Putty over SSH. However, in 2 weeks I will be demonstrating it in a place where I have no control over the wifi connection, and I don't want to be reliant on a potentially heavily firewalled network.
I read that Wifi Direct would allow me to SSH into my Raspi (and thus control it) using my Windows 10 laptop, without using an existing wifi network. My laptop supports Wifi Direct. However, all tutorials appear to be concerned with connecting the Raspi with an Android app, and not windows 10/Putty.
How do I connect my windows 10 laptop to my Raspi using a Wifi Direct connection?
So what I did is use a spare router as a switch to create a local wireless network, and connect both my laptop and my pi to it. I could hence establish a ssh connection.

Slow SSH & Firezilla OSX

Im having a bizzare issue with my Macbook pro running el capitan 10.11.3 (15D21) where if i try to SSH or use FTP like firezilla, i can connect to the ip addresses but at a snails pace.
SSH, when connected in terminal the typing is slow, changing directories is slow and sometimes itll stall and then type out after ive pressed keys.
FTP with firezilla is the same using SFTP, connecting is slow and loading folers is slow but the download speeds are quick as hell
any ideas?
Figured it out,
Turns out the work network over wifi was hating my laptop so switched to wired

Cant log in to BeagleBone Black's SSH through my Mac?

I am new to the BeagleBone Black and I have so far been unable to connect the BeagleBone with my Mac and successfully log in to SSH.
I have downloaded and installed both HoRNDIS and FTDI_ser but this has not helped.
I have also allowed remote log in's through my Macs network preferences.
The connection I am attempting to make is with an Ethernet connector and uses an Ethernet to USB adapter.
When I try ssh root#192.168.7.2 through my terminal the connection is just timing out.
Can anyone suggest something else I could try or what might be preventing the connection?
I'm not sure how a Ethernet to USB adapter works but using the plain USB adapter that comes with the BeagleBone Black, after installing the above mentioned drivers, you need to restart the Mac and then try opening http://192.168.7.2 or ssh root#192.168.7.2
I know this is an old post that I am responding to but for others who may be having same problem.....First off, if you installed all drivers and when you plug in USB to your Mac and the BBB does not show up as a removable drive then try the steps below. If it does, then type ls /dev/tty.* in your terminal and look for an output on the terminal tty.USB0. Then serial connect to that tty. If all else fails try this failproof method for serial connecting to BBB
Get USB to UART debug connector find it on Amazon here
Install the CP2102 drivers for Mac
Type ls /dev/tty.* on terminal (of course have it connected to Mac
Your terminal should output a device named tty.SLAB_USBtoUART
Serial connect to that tty name with a baud rate of 115200
Power your BBB (you can use the USB connector that comes with BBB to power it on, so you should have one USB connected for powering the BBB and the other is the debug connector connected to your mac for a serial connect.
Bam! You should see Uboot output and a prompt to login

Configuring 2 XBee Modules on OSX for wireless connection

I am trying find out how and with which program for OSX (10.5.8) I can configure serial ports? I am trying to establish a wireless connection between two Xbee´s (RF modules) and cannot figure out how to use ZTerm nor screen under Terminal. The setup I am using is: an Arduino+Xbeeshield+Xbee with external power supply, and an xbee on the xbee explorer connected to the Computer via USB.
I am trying to gather information on this through various forums, but most of them cover the configuration issue for PC using X-CTU (which I tried with CrossOver but it doesn´t recognize ny of my ports). According to one source, using screen under Terminal should show me all my serial ports, particularly /dev/tty.KeySerial1 - but it doesn´t show, even though I´ve plugged in both my arduino+xbee shield and the xbee on the explorer.
/dev/tty.KeySerial1 is incorrect.
First step is to get the FTDI USB driver installed if it has not yet been installed. The fastest way to determine if it is installed or not is to connect the XBee Explorer board. Then go look in /dev for a device named tty.usbserial-XXXXXXXX (Xs will be a unique hex ID). If you see multiple devices like this, then you probably have the Arduino plugged in too and you will need to disconnect it to determine what the device name is for the XBee Explorer board.
Once you know the device name, all you need to do is the command "screen /dev/tty.usbserial-XXXXXXXXX 9600". That should do it for you.
You can configure the tty device itself using stty. Be sure to redirect input from the terminal you want to configure, as stty operates on it's input. For instance, to set a serial port to 9600, no parity, 8 data bits, and 1 stop bit, aka "9600N81" in Windows parlance, try:
stty 9600 cs8 -cstopb -parenb < /dev/tty.usbserial-xxxxxxxx
Programmatically, you do this by opening the serial port and using the termios(4) ioctls on the device. See the termios(4) man page for more assistance.

Resources