PAN IP over bluetooth with Gentoo/Linux
Translation of the original in Catalan. Read it in: CatalàCastellano
To launch an IP network over bluetooth on a linux, specifically with a gentoo linux. Well then, the most important thing is that we give our bluetooth system support in the kernel and then we have to have the package: net-wireless/bluez-pan and the bnep module loaded.
Kernel messages after loading the module (dmesg):
Bluetooth: BNEP (Ethernet Emulation) ver 1.2
Bluetooth: BNEP filters: protocol multicast
Once we have this ready on the two PCs we want to connect with the PAN network (Personal Area Network), what we have to do is decide who will act as NAP (master - Network Access Point) and who as PANU (slave - PAN user).
Server configuration:
# pand -n --listen --role NAP
pand[24538]: Bluetooth PAN daemon version 2.19
pand[24539]: New connection from yy:yy:yy:yy:yy:yy bnep0
Client configuration:
# pand -n --connect xx:xx:xx:xx:xx:xx
pand[15986]: PAN daemon ver 1.1
pand[15986]: Connecting to xx:xx:xx:xx:xx:xx
pand[15986]: bnep0 connected
On the client you have to put the MAC of the server's BT device so that it connects to the server. Once this step works we will be able to check that we already have a new network device, bnep0. Now we only have to assign an IP to each device, the server's and the client's, and that's it. We already have the PAN network working with the IP protocol.
Note that I use the -n parameter so that pand is not launched as a daemon, but as an interactive program, so we can see the debug on the command line itself. Once you have tried it, it is a good idea to have it as a daemon so we no longer have to worry about it being linked all the time, the daemon itself will do it.
If you want more details on how to do it, I based this on the document HOWTO-PAN (local). I'll only add that the transfer rates at one metre from one PC to the other were quite low, around 200kbps, and very irregular, with peaks of around 800kbps. The maximum distance achieved with walls has been about 10m, but with a ridiculous bandwidth.
3 comments
Comments from the old blog, as they were written. Comments are closed.
IsaacTmp
Interessant article!
Una apunt que "no" te res a veure.. desde Bloglines no es pot accedir de manera directa a la noticia. Per alguna raó bloglines duplica el domini.
http://oriol.joor.net/blog/http://oriolrius.cat/blog/pan-ip-sobre-bluetooth-amb-gentoo-linux...
Es una tonteria pero q sigui la última vegada xD
Salutacions
—
[1]
Ja ho he corregit, teoricament ja no ha de tornar a passar. Gràcies per l'avís algú més m'ho havia comentat però se me n'havia anat del cap arreglar-ho.
Carita
poupees galeries ^@^ risible ecoliere ^@^ snut dubbel penetrering i badkaret ^@^ fager amator ^@^ viilea nuori masturbointi ^@^ anaali malli ^@^ blondes uriner au bureau ^@^ ecoliere amour en paix ^@^ jenter sex pa badet ^@^ amator muffle up diving ^@^ harig sexfilme ^@^ koelst lesbisch ^@^ yliluonnollisesti nelinpeli ^@^ itsetietoinen keski ^@^ le plus frais mama climat ^@^ plus chaud papa roue ^@^ minorenne porche ^@^ caldo lesbiche fottilo ^@^ brutaal beeld ^@^ gigantisch film ^@^