Week 9Tasks done this week:Architecture:
- Implemented code for putting ethernet packets to host network and capturing same.
- Using this node module https://github.com/mscdex/cap
- So far I've been able to send and receive ping from beaglebone to internet as well as local devices on the host's subnet by the following approach.
- An available IP in host's subnet can be found by sending ping to other addresses n the subnet.
- I also tried to send DHCP request from board to the router in order to get an available IP from it, but there wasn't any response. For this DHCP request, the source mac address was that of beaglebone. But, there wasn't any DHCP response.
- The destination mac address is set to that of host's gateway (router).
Configuration to be done on board :
- The router's mac address is known by sending an ARP request for host's gateway IP. For accessing gateway IP: https://www.npmjs.com/package/network
- Whenever a device sends in the subnet or the router sends ARP for the IP taken (192.168.0.145 in image), a proxy ARP response is sent that it has mac same of that host.
What's still not working:
- Each time, I've to manually set the default gateway to 192.168.6.1 from board to be able to send network packets over usb0. sudo /sbin/route add default gw 192.168.6.1
- Also, nameservers are not set up for the usb0 interface.
- There's symlink for /etc/resolv.conf , so everytime I create a file /etc/resolv.conf and it gets removed after reboot.
- Ping from local devices on subnet to beaglebone.
- DNS name resolution, I can see a DNS query sent from board to Google DNS, but there's no response. So, working on to fix that.
- Accessing HTTP server from beaglebone board.
Tasks planned for next week:
- Fix the remaining issues with the proxy server.
- Test it on all platforms. So far tested only on LInux and Windows.
- Provide builds for testing to the community.
--
https://beagleboard.org/gsoc
---
You received this message because you are subscribed to the Google Groups "BeagleBoard GSoC" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard-gs...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Week 9Tasks done this week:Architecture:
- Implemented code for putting ethernet packets to host network and capturing same.
- Using this node module https://github.com/mscdex/cap
- So far I've been able to send and receive ping from beaglebone to internet as well as local devices on the host's subnet by the following approach.
Why would you not make the source IP the host’s IP? Are you filtering out packets with the host’s IP as the destination IP?
--
https://beagleboard.org/gsoc
---
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard GSoC" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard-gsoc/ugOgYfAV1U0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard-gs...@googlegroups.com.
Week 11
Tasks done this week:
Tested and fixed bugs in the proxy server.
Fixed bootloader server which got problems due to proxy server code.
More code refactor.
Tasks planned for next week:
Work on BeagleBoot electron app to add proxy server.
Week 12
Tasks done and issues faced this week:
Enabled network configuration on BeagleBone side over the USB serial interface. No serial cable needed to configure network now :)
Commit for same https://github.com/ravikp7/node-beagle-boot/commit/54be20f147af9a5329bbaaaebd58e364c2be4ca3
It runs and asks username and password, that's it, it then automatically sends those network configuration commands and enters password itself when sudo is required.
Initially, I tried using this module to enable cdc acm communication, but it's having 'LIBUSB Transfer Stall' while Control Transfer.
That module was missing some control transfers that were listed in USB CDC ACM spec document.
But, before implementing same, I tried doing direct In and Out Transfer on the ACM Data interface and Voila! It works without any configuration over the control interface.
Tasks before Final Submission:
Tasks left:
Work on BeagleBoot electron app to add proxy server, uboot console (netconsole) and downloading images.
--