Build a Bluetooth-Oriented Wireless Network in Ubuntu

Source: Internet
Author: User
If you already have a desktop to access the Internet in Ubuntu, using Bluetooth to build a wireless network can be another option beyond wifi. In linux, the components of the Bluetooth PAN (personalareanetwork) are very simple. Assume that you have two fast Bluetooth adapter addresses: 11: 22: 33: 44: 55: 66host66: 55: 44: 22: 22: 11 client =

If you already have a desktop to access the Internet in Ubuntu, using Bluetooth to build a wireless network can be another option beyond wifi.

In linux, the components of the Bluetooth PAN (personal area network) are very simple.

Assume you have two quick Bluetooth adapters.

The addresses are:

11: 22: 33: 44: 55: 66 host

66: 55: 44: 22: 22: 11 client

========================================================== ======================================

For host (that is, the desktop that you connect to the Internet)

Modify/etc/default/bluetooth

########### PAND

#

# Run pand -- ethernet: creates new network interfaces bnep

# That can be configured in/etc/network/interfaces

# Set to 1 for enabled, 0 for disabled

PAND_ENABLED = 1

# Arguments to pand

# Read the PAN howto for ways to set this up

# Http://bluez.sourceforge.net/contrib/HOWTO-PAN

PAND_OPTIONS = "-- listen -- master -- role NAP"

Configure the ip address of the host Bluetooth adapter

Modify/etc/network/interfaces

Add

Auto bnep0

Iface bnep0 inet static

Address 192.168.128.1

Netmask 255.255.255.0

Restart the Bluetooth service

Sudo/etc/init. d/bluetooth restart

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.