Posts

Showing posts with the label Internet

Network interface does not show up with ifconfig and Internet does not work

If for some reasons your ethernet network interface does not show up with ifconfig command, you can do the following to find it and raise it up again: 1. Find the interface: ifconfig -a .. enp0s31f6 ... DOWN ... 2. Up the missing interface: sudo ifconfig enp0s31f6 up 3. Call the DHCP client on the missing interface: sudo dhclient enp0s31f6 After that, you will be able to access the Internet again.

Apple USB to Ethernet adapter not working on my Mac Air

Image
As you've already known, the Apple Macbook Air does not have an Ethernet port so I had to get a USB to Ethernet adapter to plug in my Internet cable. For some reason, when I plugged the adapter in, nothing happens. The folks on the Internet says that it's a bug of Macbook Air and Apple doesn't seem to have any fix for that. Luckily, there's one way to make the adapter works is to create a new network location . By creating a new location, I tell Mac OSX to load all the proper drivers for the network adapters which was missing in the previous locations. It's good for now.

Sharing Internet with the BeagleBone Black over its usb network interface

Here is the scenario: * My Ubuntu computer has access to the Internet through wifi (wlan0). * I connect my BeagleBone Black to my host computer using the usb cable, and the usb network is on. * The ip addresses of the usb network connection are: + Ubuntu computer: 192.168.7.1 + BeagleBone Black: 192.168.7.2 * But when I log into the BBB, it cannot go out to the Internet. So, I will attempt to share my Ubuntu's wifi connection to the BBB via the usb network connection: 1. SSH to the BBB: ssh debian@192.168.7.1 2. In the BBB console type the following: sudo ifconfig usb0 192.168.7.2 sudo route add default gw 192.168.7.1 3. In the linux console of host system (Ubuntu) type: sudo su #wlan0 is my internet facing interface, eth1 is the BeagleBone USB connection ifconfig eth1 192.168.7.1 iptables --table nat --append POSTROUTING --out-interface wlan0 -j MASQUERADE iptables --append FORWARD --in-interface eth1 -j ACCEPT echo 1 > /proc/sys/net/ipv4/ip_forw...

The Internet's Own Boy: The Story of Aaron Swartz

Image

A funny conversation about REST by Ryan Tomayko

This is a super hilarious conversation about REST by Ryan Tomayko. In this article, he explained to his wife, a non-tech woman, how the Internet works and especially what the REST ( Representational state transfer ) architecture is in a funny way. You will find there your relaxation and a quick over view of REST after reading it. Because the original article has been closed by the author, I have to go to web archive to read: http://web.archive.org/web/20130116005443/http://tomayko.com/writings/rest-to-my-wife