Last active
April 2, 2019 18:50
-
-
Save jimeUWOshkosh/423c153d12fd22d561cd00cb43ca6f71 to your computer and use it in GitHub Desktop.
Raspberry hooked to a laptop (Ubuntu 18.04) NO Router
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Equipment | |
laptop w/ Ubuntu 18.04 | |
Dynex: Mini Memory Card Reader/Writer | |
Cana Kit RPi 3 B+ | |
SanDisk: Ultra microSDXC UHS-1 Card and Adapter, 64DB | |
To format SD Card | |
Download | |
Etcher www.canakit.com/tools/etcher | |
To format SD card w/ adapter and put Raspbian OS on it | |
Download OS zip file | |
I'm using RasPBX for the asterisk software. | |
You can choose another OS zip file | |
You may want a desktop on your's | |
RasPBX http://www.raspberry-asterisk.org/downloads/ | |
I extraced the 'img' file using the Archive Manager' when I | |
downloaded the zip file. | |
Excute the Etcher API file | |
$ ls Downloads/*.zip | |
$ mkdir Etcher | |
$ unzip -d Etcher Downloads/balena-etcher-electron-1.4.9-linux-x64.zip | |
$ cd Etcher | |
Forget: Failed to load module "canberra-gtk-module" | |
The package doesn't exist in Ubuntu land | |
$ ./balena-etcher-electron-1.4.9-x86_64.AppImage | |
Place micro card in the RPi | |
Plug the ethernet cable into the RPi and laptop | |
boot or reboot RPi (sudo reboot) | |
The IP address should be echo out just before the login prompt | |
Log in to RPi | |
ifconfig | |
gather the IPA and netmask | |
On the laptop | |
Settings | |
Network | |
Add a 'Wired' profile (use the '+' button) | |
Identify tab | |
give it a 'Name' | |
IPv4 tab | |
Choose 'Manual' | |
Come up with a IP address on the same network as the RPi | |
Use the same netmask | |
'Apply' button | |
ssh to IP address of RPi | |
No monitor or extra keyboard needed! | |
If your card is larger than 4GB, expand the file system to fill it. | |
sudo raspi-config | |
Advanced Options | |
Expand Filesystem | |
If you want to see if 'asterisk' is running | |
Open a browser to the RPi IP address | |
You'll get the FreePBX Admin web page | |
Create new ssh host keys to have individual keys for every setup: | |
$ sudo regen-hostkeys | |
After this step your ssh client will warn about a changed host key on | |
your next ssh connect. | |
Choose your timezone: | |
$ configure-timezone | |
Configure locale settings: | |
$ sudo dpkg-reconfigure locales | |
Choose en_US.UTF-8 UTF-8 | |
Configure keyboard settings (not needed when working with ssh only): | |
$ sudo dpkg-reconfigure keyboard-configuration | |
If you have a different OS (NOT RasPBX) and you have a desktop AND | |
you want to do a remote desktop, you will need to google something like | |
VNC setup on Raspberry Pi from Ubuntu | |
See Raspberry Pi desktop on your Ubuntu | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment