A cross compiler is a compiler capable of creating executable code for a platform other than the one on which the compiler is running. For example, a compiler that runs on a Windows 7PC but generates code that runs on Android smartphone is a cross compiler (Wikipedia)
Tried many things to make BBB connected to internet. There’re few different ways such as by enabling ethernet port or adding USB Wi-Fi dongle. But it won’t work stable when we move BBB to difference environment. Thus, I think sharing host internet is easiest way to give BBB an internet access. To make this we should route all outbound packets to this device from the BBB to the Internet via the Internet access interface.
First thing first, make USB connection between BBB and host machine. Then check the IP address on USB port.
USB0 has 192.168.7.1 and it is a default gateway for BBB’s usb0 interface.
#Enabling traffic re-routing to Internet Access interface on host machine #In this case, Internet traffic fro BBB’s USB0 enx4c3fd3c18fa6 will be routed to host’s Wi-Fi interface wlp10 $sudo sysctl net.ipv4.ip_forward=1 $sudo iptables --table nat --append POSTROUTING --out-interface wlp1s0 -j MASQUERADE $sudo iptables --append FORWARD --in-interface enx4c3fd3c18fa6 -j ACCEPT
Open source ? or commercial product? I believe they have pros and cons respectively. PfSense is working perfect as a centralized firewall includes almost everything but need more computing power when it deals with massive network traffic. Cisco ASA series are robust and fast, but expensive. So, maybe mid-range companies or organizations might prefer to use pfSense and big companies seem to use legacy bare-bone firewalls. Anyways it would be better for us to use both side of firewalls and compare its functions together.
Boot up then push esc key few times rmmon #0>confreg select no rmmon #1>confreg 0x41 rmmon #2>boot ciscoasa> ciscoasa>enable blank password ciscoasa#write erase ciscoasa#configure terminal ciscoasa(config)# config-register 0x01 ciscoasa(config)# exit ciscoasa#show version ciscoasa#write ciscoasa#reload login with blank password ciscoasa(config)#configure factory-default
We should also install the JRE since ADSM is running on JAVA Then add JRE path on system environment variables.
Then we can just start making initial configuration for physical ethernet ports. These are might be wan, management, dmz1 or dmz2 depending on purposes, but I would like to say we need to check consoles and GUI together to make sure that configurations are well synchronized. We can add up Cisco routers or switches to expand or isolate traffics.
We used a quite fancy digital oscilloscope in reverse engineering laboratory. Outside lab, I should find better way to recover my poor learning skills. Honestly, I am not a hardware guy, thus there were always tons of trial errors whenever playing with Beagle Bone. Fortunately, now I found out how to connect USB to TTL serial cable and how to display frequency on the alternative oscilloscope.
Make stable connections with BBB
Fist thing first, we need to connect BBB to PC with regular USB cable. There is a trick. When BBB is connected to PC, 4 blue LEDs will be blinking simultaneously. As soon as it stops blinking, make USB to TTL cable plugged into serial debug slot. First slot is GND, fourth is TX and firth is RX. Safe option is to push reset button in any unusual cases.
Base terminal application
I have been using the Screen for Raspberry Pi but Minicom is much better for BBB since it can modify some communication options like hardware flow control.
Just make same configuration on Minicom by using minicom -s option then save setup as dfl. Serial device location can be found inside dmesg.