首页 > 系统 > Linux > 正文

Ubuntu下组建面向蓝牙的无线网网络

2024-08-28 00:12:23
字体:
来源:转载
供稿:网友

Ubuntu下组建面向如果家里已经有一台台式机上网,那么用蓝牙组建无线网络可以作为wifi之外的另一选择。

在linux下对于蓝牙PAN(personal area network)的构件是非常简单的

假定你有两快蓝牙适配器

地址分别是:

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

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

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

对于host(也就是你连接外网的台式机)

修改/etc/default/bluetooth

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

#                                                                              

# Run pand -- ethernet: creates new network interfaces bnep<N>                 

# 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"

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表