-
Notifications
You must be signed in to change notification settings - Fork 0
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
setup ethernet connection on startup #30
Comments
I ran on remote (ubuntu 14.04) the following (to revert if necessary)
while on host (raspberry pi):
|
I have no idea how these commands work... try |
using cheatsheet of RedHat for ip https://access.redhat.com/sites/default/files/attachments/rh_ip_command_cheatsheet_1214_jcs_print.pdf command ip addr on adb shell through wifi:
So DOWN and NO-CARRIER... what is NO-CARRIER? |
no info for NO-CARRIER so far Trying to use:
|
trying this https://askubuntu.com/a/116680/347374 |
ip route shows linkdown on rpi
on ubuntu
|
'$route' for ubuntu:
and for rpi
|
it works through the router by assigning ip address to Raspberry PI and router ip as getaway. |
but after reboot it issues error no route to host |
https://www.linuxquestions.org/questions/linux-networking-3/setting-up-a-direct-lan-between-2-pcs-358657/ |
I tried after to clean iptables with https://serverfault.com/questions/200635/best-way-to-clear-all-iptables-rules. doesn't work.
|
etc/init contains all rc files... that is interesting |
nmap -v -Pn 10.0.0.1 Starting Nmap 7.01 ( https://nmap.org ) at 2018-05-20 23:13 CEST Read data files from: /usr/bin/../share/nmap seems like ports are filtered |
with adb shell running through wifi:
|
there is some problem with firewall. if i could save iptables settings somehow... |
using this:
I have this:
|
still doesn't work - seems like iptables is not restarted and there is no script to do so with restart. |
there is a FirewallController.cpp in system/netd/server folder. it has some methods to enable firewall |
so it's somehow with netd service that i should modify somehow |
use information from these links:
https://itsfoss.com/how-to-find-what-devices-are-connected-to-network-in-ubuntu/
https://raspberrypi.stackexchange.com/questions/43560/raspberry-pi-3-eth0-wrongfully-named-enx
android-rpi/device_brcm_rpi3#71
https://raspberrypi.stackexchange.com/questions/57464/ssh-connection-refused-via-ethernet-cable
https://serverfault.com/questions/475717/iptables-block-incoming-on-eth1-and-allow-all-from-eth0
https://serverfault.com/questions/244767/enable-iptables-on-one-interface
list commands to run on host and on remote, find a way to run them at startup - for example, put in init.rc
The text was updated successfully, but these errors were encountered: