Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building Networks and Servers using Beaglebone
  • Table Of Contents Toc
  • Feedback & Rating feedback
Building Networks and Servers using Beaglebone

Building Networks and Servers using Beaglebone

By : William Pretty, Glenn Vander Veer
close
close
Building Networks and Servers using Beaglebone

Building Networks and Servers using Beaglebone

By: William Pretty, Glenn Vander Veer

Overview of this book

If you are a developer with BeagleBone experience and want to learn how to use it to set up a network and file server, then this book is ideal for you. To make the most of this book, you should be comfortable with the Linux operating system and know how to install software from the Internet, but you do not have to be a network guru.
Table of Contents (8 chapters)
close
close

Installing DHCP


The Dynamic Host Control Protocol (DHCP) is how your computer, tablet, or smartphone gets an IP address when you log on to a network or an access point at your favorite coffee shop.

The first thing to do, once again, is to make sure that we have the latest version of the software installed, with the following commands:

apt-get update
apt-get install isc-dhcp-server

As you can see in the previous screenshot, we have the latest version installed.

Next, we have to edit the configuration file for the DHCP server. For this, we run the following command:

nano /etc/dhcp/dhcpd.conf

Then, we add the following lines:

subnet 192.168.4.0 netmask 255.255.255.0 {
  range 192.168.4.2 192.168.4.10;
}

This is how your dhcp.conf file will look:

#
# Sample configuration file for ISC dhcpd for Debian
#
#
.
.
.
.
subnet 192.168.4.0 netmask 255.255.255.0 {
  range 192.168.4.2 192.168.4.10;
}

Now that we have DHCP configured, we can reboot our BeagleBone and can try to connect to it wirelessly, as...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building Networks and Servers using Beaglebone
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon