Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
Hochautomatisiertes-Fahren
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Philipp Badenhoop
Hochautomatisiertes-Fahren
Commits
8cfd40fa
Commit
8cfd40fa
authored
6 years ago
by
Franz Bethke
Browse files
Options
Downloads
Patches
Plain Diff
Update connect script
parent
3855104f
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
connectAdHoc.sh
+15
-9
15 additions, 9 deletions
connectAdHoc.sh
with
15 additions
and
9 deletions
connectAdHoc.sh
+
15
−
9
View file @
8cfd40fa
...
@@ -2,30 +2,36 @@
...
@@ -2,30 +2,36 @@
# Odriod 10.49.43.1
# Odriod 10.49.43.1
#
#
echo
'start'
if
[
-z
"
$1
"
]
then
echo
Missing last digit of IP-Adress
exit
1
fi
echo
'sudo service network-manager stop'
echo
start
echo sudo
service network-manager stop
sudo
service network-manager stop
sudo
service network-manager stop
sleep
0.5
sleep
0.5
echo
'
sudo ifconfig wlan0 down
'
echo sudo
ifconfig wlan0 down
sudo
ifconfig wlan0 down
sudo
ifconfig wlan0 down
sleep
0.5
sleep
0.5
echo
'
sudo iw wlan0 set type ibss
'
echo sudo
iw wlan0
set type
ibss
sudo
iw wlan0
set type
ibss
sudo
iw wlan0
set type
ibss
sleep
0.5
sleep
0.5
echo
'
sudo ifconfig wlan0 up
'
echo sudo
ifconfig wlan0 up
sudo
ifconfig wlan0 up
sudo
ifconfig wlan0 up
sleep
0.5
sleep
0.5
echo
'
sudo iw wlan0 ibss join SPHAF 2432
'
echo sudo
iw wlan0 ibss
join
SPHAF 2432
sudo
iw wlan0 ibss
join
SPHAF 2432
sudo
iw wlan0 ibss
join
SPHAF 2432
sleep
0.5
sleep
0.5
echo
'
sudo ifconfig wlan0 10.42.43.
3'
echo sudo
ifconfig wlan0 10.42.43.
$1
sudo
ifconfig wlan0 10.42.43.
3
sudo
ifconfig wlan0 10.42.43.
$1
sleep
0.5
sleep
0.5
echo
'
done
'
echo
done
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment