Slackware and PAN/Piconet (Over bluetooth)
Hello everybody :) !
I'm using slackware 12.2 on one PC (an old IBM T22 laptop) and Slamd64 12.2 on a normal 64-bit desktop PC. The desktop PC connects to the internet via wireless networking (wlan0). What I am trying to do is to share the internet connection over bluetooth, via USB bluetooth adapters. Example: Code:
bash-3.1# hcitool scan What is confusing me is what I do next . Just about every website I've turned up so far hasn't been all that helpful. The suggestions I have turned up so far have been either been for a different version of linux (e.g. ubuntu, so the config files are all different!), are all very short and/or very old (c.2005, for example) or just suggest "Install KDE". From what I Can gather, I need to make both systems see each other and connect to one another via bluetooth and then somehow pass data to and from the wireless connection (connected to the internet) via the bluetooth adapter. Only snag is how is it done? Again I have a working wireless connection, and the bluetooth adapters can find each others' MAC addresses, and also a mobile phone too so I can see that the adapters are doing *something*. ljones |
I've been meaning to give this project a whirl myself, but haven't gotten round to it. You're right, seems like most bluetooth technology help is old, probably eclipsed by wifi etc.
This: http://www.hanscees.com/bluezhowto.html looked promising especially part #11; seems like you need to use sdptool to find the channel and pair the devices make a device for rfcomm and link it to /dev/modem, then use ppp, then use route to put it on your net. Hope that helps a bit... This pdf seemed to have a number of walk through examples: http://www.jeremythompson.uklinux.ne...bluezhowto.pdf |
Intresting :) ta for that. Though I still have a big problem -- neither bluetooth adapter will find each other with sdptool. One PC's USB bluetooth adapter is set to MAC 00:11:67:45:45:45, the other 00:11:67:18:18:18 .
On one PC; Code:
hcitool scan Code:
hcitool scan Code:
hciconfig hci0 up Code:
l2ping 00:11:67:18:18:18 Code:
l2ping 00:11:67:45:45:45 The command "sdptool browse 00:11:67:45:45:45" displays nothing x.x . The problem is "what" to do next, the information out there is sketchy at best :( . ljones |
Haven't figured it out yet myself - let you know if/when I do.... :(
|
Hmmm, I came across this:
http://www.linuxquestions.org/questi...ighlight=blueZ which makes me wonder whether this is the source of my problems, though maybe not yours, as you *seem* to have things working. Still, reinstall form scratch does solve problems sometimes.. |
x.x I'm not sure, I might give that a try (remove and install packages again) either that or try compiling it. The adapters do see one another but won't talk to one another, maybe this is the reason?
Edit: I've checked my versions; both seem to tie up. They are bluez-utils-3.36 and bluez-utils 3.36. x.x SP |
All times are GMT -5. The time now is 09:35 AM. |