Adding separate appendix for the Apple environment configuration.
6 unresolved threads
6 unresolved threads
Adding the appendix B for Romain's report with some minor changes.
Merge request reports
Activity
Filter activity
requested review from @lavoie
assigned to @azarza
- help_appendix_B.tex 0 → 100644
1 \chapter{Additional instructions for replication on Apple Environment} 2 I, André Zarza, have succesfuly replicated the setup in of Romain as well as that of Paulette and Guilhem. In this appendix I clarify installations steps for devices in the Apple environment as well as some clarifications on how to do the initial Raspberry Pi setup. 3 4 \section{Reformating SD Cards when reconfiguring the Raspberry Pi} 5 6 When replicating Romain's project on the Raspberry pi's 4 I had to reformat SD cards in order to download the appropiate operating system. Luckily Raspberry Pi's official website\footnote{Raspberry Pi's official website: \url{https://www.raspberrypi.com/software/}.} has an imager which installs the Raspbian operating system directly on the SD cards. The only requirements for the imager to work is to have an SD card with 8GB or more of storage and for it to be formated in the MS-DOS (FAT32) format. 7 Once everything is in the appropiate format and the imager has been downloaded one can proceed to the Rapsberry Pi's setup by: - help_appendix_B.tex 0 → 100644
39 static routers=192.168.6.1 40 41 interface usb0 42 fallback host_usb0 43 \end{lstlisting} 44 \end{enumerate} 45 After running the following commands on the Raspberry Pi one can proceed to connect the Mac OS device to the raspberry pi by the USB-C port, hence also powering the Raspberry Pi. This connection is the simplest as it requires only one cable to power and tether the Raspberry Pi to the Mac. On the Mac OS device the set up is fairly simple as no drivers must be downloaded or files changed in order for the connection to work. 46 47 \begin{enumerate} 48 \item First one must enable wifi sharing through RNDIS/Ethernet. 49 \begin{enumerate} 50 \item Go to \textit{System Preferences}. 51 \item Go to \textit{Sharing}. 52 \item Under \textit{Share your connection from:} select the \textit{Wi-Fi} option from the drop down menu. 53 \item Then under \textit{To computers using:} select only the \textit{RNDIS/Ethernet Gadget} option. 54 \item Finally in the left side of the window under \textit{Service} turn on the \textit{Internet Sharing} option and a pop-should appear. The pop-up asks \textit{Are you sure you want to turn on internet sharing?}, simply click on the start button on the pop-up. - help_appendix_B.tex 0 → 100644
48 \item First one must enable wifi sharing through RNDIS/Ethernet. 49 \begin{enumerate} 50 \item Go to \textit{System Preferences}. 51 \item Go to \textit{Sharing}. 52 \item Under \textit{Share your connection from:} select the \textit{Wi-Fi} option from the drop down menu. 53 \item Then under \textit{To computers using:} select only the \textit{RNDIS/Ethernet Gadget} option. 54 \item Finally in the left side of the window under \textit{Service} turn on the \textit{Internet Sharing} option and a pop-should appear. The pop-up asks \textit{Are you sure you want to turn on internet sharing?}, simply click on the start button on the pop-up. 55 \end{enumerate} 56 \item Second one must configure the \textit{RNDIS/Ethernet Gadget} connection. 57 \begin{enumerate} 58 \item Go to \textit{System Preferences}. 59 \item Go to \textit{Network}. 60 \item On the left side of the window select the \textit{RNDIS/Ethernet Gadget} option and under \textit{Configure IPv4} select \textit{Using DHCP} from the drop down menu. 61 \end{enumerate} 62 \end{enumerate} 63 After completing these steps you should be able to connect your Mac Os laptop to the Raspberry Pi via SSH using the terminal and the following command \verb|ssh pi@raspberrypi.local| and inputing the password \verb|raspberry|. - help_appendix_B.tex 0 → 100644
54 \item Finally in the left side of the window under \textit{Service} turn on the \textit{Internet Sharing} option and a pop-should appear. The pop-up asks \textit{Are you sure you want to turn on internet sharing?}, simply click on the start button on the pop-up. 55 \end{enumerate} 56 \item Second one must configure the \textit{RNDIS/Ethernet Gadget} connection. 57 \begin{enumerate} 58 \item Go to \textit{System Preferences}. 59 \item Go to \textit{Network}. 60 \item On the left side of the window select the \textit{RNDIS/Ethernet Gadget} option and under \textit{Configure IPv4} select \textit{Using DHCP} from the drop down menu. 61 \end{enumerate} 62 \end{enumerate} 63 After completing these steps you should be able to connect your Mac Os laptop to the Raspberry Pi via SSH using the terminal and the following command \verb|ssh pi@raspberrypi.local| and inputing the password \verb|raspberry|. 64 65 \subsection{iPhone} 66 To enable tethering from an iPhone device with capability of providing its own personal hotspot, some minor configurations\footnote{The instructions for iPhone tethering can be found in the following page : \url{https://github.com/inikolaev/iphone-raspberry-pi}.} have to be made on both the Raspberry Pi and the iPhone. 67 68 \begin{enumerate} 69 \item On the Raspberry Pi it is sufficient to copy and paste these following terminal commands to enable iPhone tethering. - help_appendix_B.tex 0 → 100644
77 \end{lstlisting} 78 \subsubsection{Definition of Packages} 79 80 \begin{enumerate} 81 \item \textit{usbmuxd} : USB multiplexor daemon for iPhone and iPod Touch devices. 82 \item \textit{ipheth-utils} : USB tethering driver support utilities for the iPhone. 83 \item \textit{libimobiledevice-utils} : Utitilies for communicating with iPhone and other Apple devices. 84 \item \textit{gvfs} : Userspace virtual filesystem where mounts run as separate processes which you talk to via D-Bus. 85 \item \textit{gvfs-backends} : Userspace virtual filesystem - backends 86 \item \textit{gvfs-fuse} : Userspace virtual filesystem - fuse server. 87 \item \textit{gvfs-bin} : Userspace virtual filesystem - deprecated command-line tools. 88 \item \textit{openssh-server} : OpenSSH is a powerful collection of tools for the remote control of, and transfer of data between, networked computers. 89 \end{enumerate} 90 91 \end{enumerate} 92 After running the following commands on the Raspberry Pi one can proceed to connect the iOS device via an USB-A to lightning port cable. After configuration on the raspberry pi is finished and one can proceed to enabling the connection from the iOS device as explained below.
Please register or sign in to reply