This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
First PyPilot install (tiny pilot, RC control, Ethernet)
#21
yes it should be possible to use eth0 in place of a wifi device.

I was curious if you managed to get ethernet working on the otg usb port used to power the pi.
Reply
#22
Hello Sean,
no,I use the second one. But until now I am not able to get my previous result. I am a lot to learn in the world of Linux and Tinycore ans I leanr slowly. I put below the results of lsub and ifconfig on Tinypilot to give you some informations on my research.

tc@pypilot:~$ lsusb
Bus 001 Device 001: ID 1d6b:0002
Bus 001 Device 002: ID 0bda:8153

tc@pypilot:~$ ifconfig
eth0 Link encap:Ethernet HWaddr B8:27:EB:59:A8:6F
inet addr:192.168.14.1 Bcast:192.168.14.255 Mask:255.255.255.0
inet6 addr: fe80::ba27:ebff:fe59:a86f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:602 errors:0 dropped:1 overruns:0 frame:0
TX packets:475 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:55874 (54.5 KiB) TX bytes:336113 (328.2 KiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:14473 errors:0 dropped:0 overruns:0 frame:0
TX packets:14473 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:929469 (907.6 KiB) TX bytes:929469 (907.6 KiB)

wlan0 Link encap:Ethernet HWaddr B8:27:EB:59:A8:6F
inet addr:10.10.10.10 Bcast:10.255.255.255 Mask:255.0.0.0
inet6 addr: fe80::ba27:ebff:fe59:a86f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3301 errors:0 dropped:0 overruns:0 frame:0
TX packets:3222 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:194013 (189.4 KiB) TX bytes:392303 (383.1 KiB)

Despite to get eth0 with an adress 192.168.14.1, when I stop wlan9 I loose the link, even If it is configured on this adress.
Thank you for your help,
Eric

By the way, I operate Tinypilot with the Pypilot version 0.32. I have tried to update to version 0.36 with the help of the marcobergman workbook without success. Did you consider usefull to update to this last version, and if yes what is the best way to install it on Tinypilot?
Many thanks again!

As I said, I learn slowly. The eth0 I looked on ifconfig was just a change of naming due to my modification in networking.sh. The actual device was still wlan1. I have to dig again!
Reply
#23
Finally, I think that I had never obtained the expected function. Due to my poor knowledge of the software, I have supposed my equipments talking together by wire, but they have probably changed the initial master wifi operation to the alternative managed mode. As I never tried to disconnect the Ethernet cable, I was not aware of this misunderstanding.
But I am still interested to find a solution.

I have learned that it was possible to operate an usb to Ethernet converter on the last version of Picore including the drivers. But is it possible to install Pypilot on a this version and how to do?

I think that this question is not the priority for most of the users, but welcome to anybody who like to operate in this wired operation mode to help me in this research.
Reply
#24
you should be able to manually assign the interface an ip address then test that it works from both ends using ping etc...

Once this works step by step you could apply the networking script.


Another way to do a wired link is simply use nmea0183. You could wire a usb to serial converter on both computers and connect the serial switching tx and rx. This will only carry nmea0183 data though, so not actual pypilot control, but with a wireless remote it would be enough to get gps and wind data into pypilot.
Reply
#25
Hi Sean, thank you for your help. I will try to test one of these solutions.
Eric
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)