0.4.0 • Published 7 years ago

@pirateship/cli v0.4.0

Weekly downloads
1
License
AGPL-3.0
Repository
github
Last release
7 years ago

Usage

Usage: pirateship [options] [command]


Options:

  -h, --help                              output usage information

Commands:

  bluetooth <on|off>                      switches between bluetooth hotspot mode / regular bluetooth and starts the service
  container <none|docker|balena>          enables (and start) the desired container
  default                                 sets a raspbian back to default configuration
  detectrpi                               detects the hardware version of a raspberry pi
  ethernet <ip> <mask> <gateway> <dns>    configures rpi network interface to a static ip address
  expandfs                                expands the partition of the RPI image to the maximum of the SDcard
  hotspot <ESSID> [password]              creates a mobile hotspot
  password <password>                     change the password for `pi` user
  rename <hostname>                       changes hostname
  sshkeyadd <public_key>                  add a public key to `pi` and `root` user's authorized_keys
  staticwifi <ip> <mask> <gateway> <dns>  configures rpi wifi interface to a static ip address
  version                                 returns the version of pirateship command
  wifi <ESSID> [password]                 connects to a wifi network
  wificountry <country>                   changes the wifi country
  *                                       temporary catch all

Additional Notes

wifi - ESSID is the SSID or the network name of your wireless network and password is the password 
       for the corresponding network.

rename - The hostname is a label assigned to the RPI device for identification on a network and 
         is useful for communication amongst different devices. The default hostname is raspberrypi.

ethernet and staticwifi - before using these command, I checked that my network follows the ip range from 
                     192.168.0.1 to 192.168.0.254. To change my ip address to 192.168.0.251, I can 
                     issue the command below given that my router is found at 192.168.0.1 and 
                     that it is also a dns server. Alternatively, you can use Google's dns server, 
                     which is 8.8.8.8 or 8.8.4.4.  
                       > ethernet 192.168.0.251 255.255.255.0 192.168.0.1 192.168.0.1 
hotspot - requires the packages hostapd dnsmasq. Do a sudo apt install hostapd dnsmasq to install them.
0.4.0

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3-bluetooth2

8 years ago

0.3.3-bluetooth1

8 years ago

0.3.3-bluetooth0

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1-nodocker

8 years ago

0.3.1-fixDocker0

8 years ago

0.3.1

8 years ago

0.3.0-newstuff2

8 years ago

0.3.0-newstuff1

8 years ago

0.3.0-newstuff0

8 years ago

0.3.0

8 years ago

0.2.10

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago

0.2.7-showlaxman

8 years ago

0.2.7-sshkeyadd2

8 years ago

0.2.7-sshkeyadd1

8 years ago

0.2.7-sshkeyadd0

8 years ago

0.2.7-ethernet0

8 years ago

0.2.7

8 years ago

0.2.6-adapter0

8 years ago

0.2.6

8 years ago

0.2.5-docker0

8 years ago

0.2.5

8 years ago

0.2.4-docker0

8 years ago

0.2.4-password0

8 years ago

0.2.4-version0

8 years ago

0.2.4

8 years ago

0.2.3-version1

8 years ago

0.2.3-version

8 years ago

0.2.3

8 years ago

0.2.2-hotspot2

8 years ago

0.2.2-hotspot1

8 years ago

0.2.2-hotspot0

8 years ago

0.2.2

8 years ago

0.2.1-fs

8 years ago

0.2.1

8 years ago

0.1.17

8 years ago