Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disabling eth0 (removes 192.168.1.128 IP) #108

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sd/test/equip_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,14 @@ log "Debug mode = $(get_config DEBUG)"
### Let ppl hear that we start connect wifi
/home/rmm "/home/hd1/voice/connectting.g726" 1

# Regardless of network configuration, the Yi also listens on 192.168.1.128 using eth0
# this can cause problems on the network if another device has that IP
# `ifconfig eth0 down` doesn't seem to do anything except hide eth0 from `ifconfig` output
# so manually remove the configured IP by setting it to 0.0.0.0
log "Disabling eth0"
ifconfig eth0 0.0.0.0
ifconfig eth0 down

log "Check for wifi configuration file...*"
log $(find /home -name "wpa_supplicant.conf")

Expand Down