Creating an USB network drive for Haas VF4ss milling machine. Part 2: Networking and ssh!

Time to start with Raspberry Nano W setup.

Nano doesn’t have regular USB port nor regular size HDMI port. This means that you would need special adapters for these two ports in order to setup Nano with keyboard and screen. We will attempt to do it without that. We will download and setup Raspbian on SD card.

Go to Raspbian page and download Lite version. We will use Lite as we don’t need user interface with out Nano.

Once you get your system you can burn it to your sd card with Ercher.

I’d say it’s so simple, there’s almost no way to get it wrong…

Next step is to reinsert SD card. Etcher will eject the card. Once you’re done with that you we will execute few commands:

cd /Volumes/boot/
touch ssh 

You need to create empty ssh file in order to allow yourself to ssh into Raspberry Nano when it’s up.

Next thing to do is to setup the network for your Nano.

create wpa_supplicant.conf file on your boot drive:

vim wpa_supplicant.conf

and enter(for raspbian buster):

country=US # Your 2-digit country code ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 
network={
     ssid="YOUR_NETWORK_NAME"
     psk="YOUR_PASSWORD"
     key_mgmt=WPA-PSK
 }

Now! We’re ready to start our Pi and log in via ssh 🙂 Pop the card into your Pi and connect the power!

Once your Pi is up and running you can try pinging it:

 host raspberrypi

You should be getting response like:

 raspberrypi has address 192.168.2.208 

Or, you could also use Angry IP Scanner to figure out the IP. Now ping it:

ping 192.168.2.208  PING 192.168.2.208 (192.168.2.208): 56 data bytes  64 bytes from 192.168.2.208: icmp_seq=0 ttl=64 time=15.064 ms  64 bytes from 192.168.2.208: icmp_seq=1 ttl=64 time=14.525 ms  64 bytes from 192.168.2.208: icmp_seq=2 ttl=64 time=16.692 ms 

Yay! And now we can ssh:

ssh pi@192.168.2.208

Default raspberry pi password is “raspberry”. Now you should see something like this in your command line prompt:

  pi@raspberrypi:~ $ 

Now, once you’re in, first thing is to change your password by executing:

 passwd 

1 komentarz do wpisu “Creating an USB network drive for Haas VF4ss milling machine. Part 2: Networking and ssh!”

Dodaj komentarz