Ethernet connection to the Edison

Is it possible to connect to the Edison via wired Ethernet? This question was asked and seems to indicate the Edison’s Ethernet over USB is accessible on the Pixhawk2.1, but I would like to verify. (Is there a way without the Ethernet over USB?)

These are the instruction from Intel, based pn suggested carriers boards, I dont know if it works on the PH2 https://software.intel.com/en-us/connecting-to-intel-edison-board-using-ethernet-over-usb

Yes I saw that, but like you say I didn’t know if they would work with the pixhawk 2. If it does, I’m also curious if it can be wired in a way other than the micro USB connector (which seems somewhat flimsy to have connected during flight).

I setup ethernet to the internet on my mac with a wifi connection to the edison. Run tinyproxy on the mac and export HTTP_PROXY and HTTPS_PROXY on the edison. apt and git then use the proxy to access the internet.

weliwarmer,

I’ve been trying to get your suggestion to work. I have my mac with the normal ethernet connection to the internet which is assigned an IP address of 192.168.1.21 by the router. Then have the Edison running apsync which has a self assign IP of 10.0.1.128. I connect to pre-configured access point and the wifi interface is assigned an IP of 10.0.1.2 by the Edison. I run Tinyproxy on the mac listening on port 8080 and connect from the mac to the Edison via ssh over the wifi connection. Then I set the environmental variables on the Edison with:

export http_proxy='http://10.0.1.2:8080
export https_proxy=‘http://10.0.1.2:8080

But when I try to run apt-get update I get:

Could not resolve 'http.debian.net"

and no connections show up in the Tinyproxy log. I can confirm that the environmental variables are getting set correctly so I’m not sure what’s going on. (I’m not that familiar with how a proxy works but it seemed fairly straight forward until I got into it.)

thanks,

J.

[45.png]
Professor_Jones
October 10

weliwarmer,

I’ve been trying to get your suggestion to work. I have my mac with the
normal ethernet connection to the internet which is assigned an IP address
of 192.168.1.21 by the router. Then have the Edison running apsync which has
a self assign IP of 10.0.1.128. I connect to pre-configured access point and
the wifi interface is assigned an IP of 10.0.1.2 by the Edison. I run
Tinyproxy on the mac listening on port 8080 and connect from the mac to the
Edison via ssh over the wifi connection. Then I set the environmental
variables on the Edison with:

export http_proxy=‘http://10.0.1.2:8080
export https_proxy=‘http://10.0.1.2:8080

But when I try to run apt-get update I get:

Could not resolve 'http.debian.net"

The edison still attempts to resolve names locally. You could attempt to
put “nameserver 10.0.1.2” into /etc/resolv.conf to use 10.0.1.2 as a
nameserver, assuming it offers that service…

Also note I’ve included drivers for usb-to-ethernet dongles in the most
recent APSync.

Peter,

Thank you for your reply. A usb-to-ethernet dongle would be preferred. Is there a certain chipset supported? Are there any specific setup requirements?

thank you,

J.

Thank you for your reply. A usb-to-ethernet dongle would be preferred. Is
there a certain chipset supported? Are there any specific setup
requirements?

I’ve got a limited selection to test against here - turns out all of mine
seemed to be based off the same chipset!

Bus 002 Device 102: ID 0fe6:8101 Kontron (Industrial Computer Source / ICS
Advent) DM9601 Fast Ethernet Adapter

I did add many other drivers, however:
perl -pe ‘s/# CONFIG_USB_NET_(.*) is not set/CONFIG_USB_NET_$1=y/’ -i
./meta-intel-edison/meta-intel-edison-bsp/recipes-kernel/linux/files/defconfig

… so others should definitely work.

I think NetworkManager will just sort things for you.

Thanks, I’ve ordered a dongle so hopefully I can get this working in the next couple days. In the meantime I have gotten and internet connection by setting up ethernet over usb and sharing the internet connection from my mac. It’s a little finicky but at least I can load the packages I need to start programing.

Thanks, I’ve ordered a dongle so hopefully I can get this working in the
next couple days. In the meantime I have gotten and internet connection by
setting up ethernet over usb and sharing the internet connection from my
mac. It’s a little finicky but at least I can load the packages I need to
start programing.

Ah, excellent!

If you could explain whatever dance you needed to do to share your
Mac’s internet connection that would be good for anyone else who asks; I
left rough notes in the companion repo about how I do it on Linux.

Watch out for storage space on the Edison - it’s an issue.

Peter,

The dongle I got is a Realtek RTL8152 based adapter and it worked OTB! Thanks for the great release. I will write up how I got the usb ethernet connection working and post it as well.

J.