Raspi-Mobile: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
| No edit summary | |||
| Line 1: | Line 1: | ||
| =Intro= | |||
| Raspi-Mobile is designed to run as a '''Mobile Device''' together with your '''Tablet''' or '''Laptop''', prepared for conditions such as in a Train, Flight, Hotel and so on.<br> | |||
| The project has its focus to run as a '''Streaming Server''' next to common features like '''Wireless''' and '''Internet-Routing''' support.<br> | |||
| <br>Two major Raspberry/Linux issues are solved:<br> | |||
| *'''True automatic mounting of USB flush drives''' | |||
| **Plugin any USB sticks, supporting the filesystems ntfs, vfat and exfat | |||
| *'''Graceful shutdown''' | |||
| **This solves the issue of preventing disk damages in case of losing electricity power.  | |||
| **No need to login or connecting a keyboard and monitor to shutdown, just plugin the '''shutdown usb device''' to initiate a graceful shutdown | |||
| = | =Features= | ||
| *Support Raspberry3 or Raspberry4. The project was developed with Raspberry4 on Debian Buster | |||
| * | *Slim image file download, the image size is less than 2GB | ||
| *Easy to setup | |||
| *Automatic mounting and un-mounting [https://en.wikipedia.org/wiki/USB_flash_drive USB flash drives] | |||
| **Supported file systems: ntfs,ext32 and vfat | |||
| *Graceful shutdown using a special prepared USB flash drive labeled with '''RASPI-CLEAN-SHUTDOWN''' | |||
| *Wireless support, the device has a mangement web to customize WiFi settings like SID and password | |||
| *Routing support together with ethernet connectivity, all interfaces are using DHCP | |||
| *Support OpenVPN  | |||
| *Support of common protocols for streaming: | |||
| **SMB/CIFS | |||
| **WebDav | |||
| **SFTP | |||
| **HTTP | |||
| * | |||
| * | |||
| * | |||
| * | |||
| * | |||
| * | |||
| * | |||
| * | |||
| * | |||
| * | |||
| * | |||
| * | |||
| =Easy Installation= | |||
| *Get the 2GB image [https://coolscript.org/download/images/raspi-mobile.img here] | |||
| *Write the image to a '''Micro SD Card''' with the size of equal or better greater than '''2GB''' | |||
| **To write the Image you may use tools like [https://sourceforge.net/projects/win32diskimager/ DiskImager] | |||
| *Insert the Micro SD Card to your Raspberry and start it | |||
| **If the Micro SD Card is greater then 2GB then login ssh, become root and run '''raspi-config''', goto '''advanced''' and then '''expand filesystem''', finish and reboot | |||
| *Installation finished | |||
| * | |||
| ==Default Username and Password== | |||
| *Username '''pi''' | |||
| *Password '''raspberry''' | |||
| = | ==Hostname and Aliases== | ||
| Available ONLY when connected through WiFi | |||
| *Hostname '''raspberrypi''' | |||
| *Aliases | |||
| **raspi | |||
| **raspberry | |||
| *IP (alias to eth0, works even if eth0 is disconnected) | |||
| **192.168.5.1 | |||
| ==SSH== | |||
|   ssh pi@raspi | |||
|   ssh pi@192.168.5.1 | |||
| *Become root | |||
|   sudo -i | |||
| * | ==Wireless default access== | ||
| *WiFi SID | |||
| **Raspi-Mobile | |||
| *WiFi Passwd | |||
| **raspberry | |||
| *RaspAP Web-Interface | |||
|  http://raspi:8080  | |||
|  http://192.168.5.1:8080 | |||
| =Change password for the pi user= | |||
| ==Connect using SSH== | |||
| ===Change the Linux Password=== | |||
|  ssh pi@raspi | |||
| OR | |||
|  ssh usernanme@raspi | |||
| *Type | |||
|  pi@raspberrypi:~ $ '''sudo -i''' | |||
|  root@raspberrypi:~# '''passwd pi''' | |||
|  New password: | |||
|  Retype new password: | |||
|  passwd: password updated successfully | |||
| ===Change the SMB/CIFS Password=== | |||
| This might need a new windows login | |||
|   pi@raspberrypi:~ $ '''sudo -i''' | |||
|   root@raspberrypi:~# '''smbpasswd pi''' | |||
|  New SMB password: | |||
|   Retype new SMB password: | |||
Revision as of 21:05, 30 July 2021
Intro
Raspi-Mobile is designed to run as a Mobile Device together with your Tablet or Laptop, prepared for conditions such as in a Train, Flight, Hotel and so on.
The project has its focus to run as a Streaming Server next to common features like Wireless and Internet-Routing support.
Two major Raspberry/Linux issues are solved:
- True automatic mounting of USB flush drives
- Plugin any USB sticks, supporting the filesystems ntfs, vfat and exfat
 
- Graceful shutdown
- This solves the issue of preventing disk damages in case of losing electricity power.
- No need to login or connecting a keyboard and monitor to shutdown, just plugin the shutdown usb device to initiate a graceful shutdown
 
Features
- Support Raspberry3 or Raspberry4. The project was developed with Raspberry4 on Debian Buster
- Slim image file download, the image size is less than 2GB
- Easy to setup
- Automatic mounting and un-mounting USB flash drives
- Supported file systems: ntfs,ext32 and vfat
 
- Graceful shutdown using a special prepared USB flash drive labeled with RASPI-CLEAN-SHUTDOWN
- Wireless support, the device has a mangement web to customize WiFi settings like SID and password
- Routing support together with ethernet connectivity, all interfaces are using DHCP
- Support OpenVPN
- Support of common protocols for streaming:
- SMB/CIFS
- WebDav
- SFTP
- HTTP
 
Easy Installation
- Get the 2GB image here
- Write the image to a Micro SD Card with the size of equal or better greater than 2GB
- To write the Image you may use tools like DiskImager
 
- Insert the Micro SD Card to your Raspberry and start it
- If the Micro SD Card is greater then 2GB then login ssh, become root and run raspi-config, goto advanced and then expand filesystem, finish and reboot
 
- Installation finished
Default Username and Password
- Username pi
- Password raspberry
Hostname and Aliases
Available ONLY when connected through WiFi
- Hostname raspberrypi
- Aliases
- raspi
- raspberry
 
- IP (alias to eth0, works even if eth0 is disconnected)
- 192.168.5.1
 
SSH
ssh pi@raspi ssh pi@192.168.5.1
- Become root
sudo -i
Wireless default access
- WiFi SID
- Raspi-Mobile
 
- WiFi Passwd
- raspberry
 
- RaspAP Web-Interface
http://raspi:8080 http://192.168.5.1:8080
Change password for the pi user
Connect using SSH
Change the Linux Password
ssh pi@raspi
OR
ssh usernanme@raspi
- Type
pi@raspberrypi:~ $ sudo -i root@raspberrypi:~# passwd pi New password: Retype new password: passwd: password updated successfully
Change the SMB/CIFS Password
This might need a new windows login
pi@raspberrypi:~ $ sudo -i root@raspberrypi:~# smbpasswd pi New SMB password: Retype new SMB password: