Skip to content
Snippets Groups Projects
Commit 8a5d2a75 authored by Phuc Tran Truong's avatar Phuc Tran Truong
Browse files

adding adhoc setup instructions

parent 83d87322
No related merge requests found
Siehe: https://gitlab.informatik.hu-berlin.de/adapt/ws17-HF/Gruppe-B/wikis/Einrichten-Ad-Hoc-Netzwerke
Auf dem ODROID:
$ ifconfig wlan0 down
$ iw wlan0 set type ibss
$ ifconfig wlan0 up
$ iw wlan0 ibss join test 2432
$ ifconfig wlan0 10.42.43.1
Oder die Befehle in ein Skript adhoc.sh schreiben und ausführen.
Man muss das Adhoc Netzwerk ja jedes Mal neu erstellen.
Damit ist das Adhoc Netzwerk test erstellt.
Mit einem anderem Computer kann man sich nun verbinden.
MacOS:
WLAN bzw Wifi ID herausfinden:
$ networksetup -listallhardwareports
Als nächstes IP Adresse setzen:
$ sudo ifconfig en0 10.42.43.2
Test:
$ ping 10.42.43.1
Nun kann man versuchen, sich per ssh mit dem ODROID zu verbinden:
$ ssh root@10.42.43.1
Das Passwort lautet: autonom1718a
Copy the file "foobar.txt" from a remote host to the local host
$ scp root@10.42.43.1:foobar.txt /some/local/directory
Copy the file "foobar.txt" from the local host to a remote host
$ scp foobar.txt root@10.42.43.1:/some/remote/directory
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment