Posts Tagged ‘networking’

This is an asy one. Let’s say, for instance, you’re living in Japan and connect to the internet via PPPoE. Your service provider informs you that you need to set your MTU to 1454, but when you connect you see it’s set to 1492. You can change this using ifconfig like so: sudo ifconfig ppp0 […]

There are various reasons you may want to set your IP address to be static, one of these being to reduce boot time by removing DHCP discovery. Doing this in Linux is quite straight forward. If you want to make your current IP address your static address, you can find the details in a few […]

Communicating through a serial port in C is pretty simple once it’s set up; you just read and write to it as though it was a file. The setting up, however, can be a real pain. Here’s the short and simple way to get it done. Note that this code requires the following headers: #include […]