|
|
2010-04-20
, 19:35
|
|
Banned |
Posts: 388 |
Thanked: 57 times |
Joined on Mar 2010
|
#62
|
Does this command show anything? (needs package bridge-utils)
# brctl show
I noticed, if there is bridge driver connected to pan1/bnep0, then the same configuration which otherwise works do not work.
When Bluetooth network is enabled in N900, you should see these in PC:
# hcitool con
(should show there is BT connection between two)
# pand -l
(should show there is NAP-PANU connection between two)
After those OK, just "ifup bnep0" should bring bnep0 network device up with correct IP-addresses if your ifcfg-bnep0 is OK and "brctl show" doesn't show anything.
|
|
2010-04-20
, 19:49
|
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#63
|
I managed to turn N900 Bluetooth network on. This said, there are bugs in N900 PC-Connectivity manager because sometimes I doesn't turn on it or forget the settings. Anyways, I can see bnep0 listed for both "route" and ifconfig querries on N900. I disabled dhcp from bluetooth options as you suggested. The default IP is 192.168.3.15 unlike your .14
[gsever@ccn Desktop]$ brctl show
bridge name bridge id STP enabled interfaces
pan0 8000.000000000000 no
[gsever@ccn Desktop]$ hcitool con
Connec[gsever@ccn Desktop]$ hcitool con
Connections:
> ACL EX:XX:XX:XX:XX:XX handle 46 state 1 lm MASTER AUTH ENCRYPT
PANDARGS='--listen --secure --encrypt --persist --role NAP --ethernet bnep0'
[gsever@ccn Desktop]$ pand -l
bnep0 EX:XX:XX:XX:XX:XX NAP
This is my ifcfg-bnep0. Again copying and modifying from yours.
....
UUID=0c56a419-a51d-e7de-cc31-............
# Don't know where this UUID comes from
This is the funny part:
[gsever@ccn Desktop]$ ifup bnep0
Device bnep0 has different MAC address than expected, ignoring.
That last step is missing. What do you think?
|
|
2010-04-20
, 19:53
|
|
Banned |
Posts: 388 |
Thanked: 57 times |
Joined on Mar 2010
|
#64
|
[gsever@ccn Desktop]$ ifup bnep0
Device bnep0 has different MAC address than expected, ignoring.
That last step is missing. What do you think?
It has resolved. I get it working, now I can both ssh and vnc via bluetooth without a need for a wlan.
|
|
2010-04-20
, 20:02
|
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#65
|
!|
|
2010-04-20
, 20:51
|
|
|
Posts: 92 |
Thanked: 50 times |
Joined on Jan 2006
@ the praeternatural tower
|
#66
|
|
|
2010-04-20
, 22:05
|
|
Banned |
Posts: 388 |
Thanked: 57 times |
Joined on Mar 2010
|
#67
|
Congrats, you got it working!
So you just had wrong IP-address and HWADDR in ifcfg-bnep0.
However I still claim Bluetooth networking functionality through N900 PC-Conn-manager has some bugs since it doesn't save settings properly or doesn't set BT up where it is supposed to + plus it doesn't work with dhcp enabled at least on FC12. Could you confirm on these findings again?Now if everything just would be automatic on Fedora PC side, after Bluetooth has been enabled on N900 side, it would be good. (Haven't got that far yet, although tried....seems like some bugs.)
btw, do you have that bridge pan0 now removed or not? If not, is it visible with "ifconfig"?
EDIT:
WLAN may be quicker if your PC does not support BT 2.1 EDR (and anyway), but BT at least is VERY power efficient.
For best speed USB networking is the best, right after mounting external microSD card to PC and back to N900, or connecting N900 to PC via USB in mass-storage-mode.
(Sorry again for hijacking the thread...I wish we could transfer all to another thread.)
I will be more careful next time speculating aloud.
|
|
2010-04-21
, 00:08
|
|
Posts: 299 |
Thanked: 241 times |
Joined on Oct 2009
@ Singapore
|
#69
|
I will keep trying cos the applications I want/need are just things to make my everyday life easy. Like an app to manage finance, game scores, shopping lists with auto alarm reminders etc... I would even dare release anything into public domain until I am very comfortable with the coding!
|
|
2010-05-30
, 19:35
|
|
Posts: 53 |
Thanked: 51 times |
Joined on Feb 2010
|
#70
|
Thank you for the replies everyone, really appreciate it.
Right,
After reading all the posts, to be honest, I think it would be better to go via the C/C++ route. Simply because its a language I have wanted to get my teeth into. I want to spend time really getting to know a language so don't want to go via python for prototyping.
Right, I need to find a new distro now that is much will run Qt quicker. I might try Arch and see what that's like....
Shame cos I quite like Arch!
EDIT:: Actually, just a thought, it cant be my Distro. Open Office loads in under 2 seconds and I do remember it taking ages in other distros... I need to investigate this further...
Last edited by TheAccountant; 2010-04-20 at 17:54.