Reply
Thread Tools
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#41
Originally Posted by zimon View Post
1)
It needs bluez-compat rpm package installed.
I have this one

2)
Then configure bnep0 network device to have manual IP address 192.168.3.14 and netmask 255.255.255.0
in Panel: System/Administration/Network
I don't have a bnep0 listed under System/Preferences/Network Connections/ tab. I have found a few examples online but not sure how exactly to create a correct one under /etc/sysconfig/network-scripts

3)
Configure PAN:
# cat /etc/sysconfig/pand
PANDARGS='--listen --secure --encrypt --persist --role NAP --ethernet bnep0'
This I have and modified.

4)
If you want N900 to access Internet through your Fedora PC:
In Panel: System/Administration/Firewall,
configure firewall to NAT on your network device which is the gateway to the Internet,

and in /etc/sysctl.conf
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
I dont' need to share the internet I just want to be able to vnc and ssh to N900 via bluetooth network.

On N900 side, same instructions as for Ubuntu.
I followed the instructions on N900 exactly as they are described on the pc-connectivity documentation.
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#42
Originally Posted by daperl View Post
What exactly is your hardware situation? List ALL network devices.
Are you asking ifconfig output?

Code:
ifconfig
eth0      Link encap:Ethernet  HWaddr 
lo        Link encap:Local Loopback  
wlan0     Link encap:Ethernet  HWaddr 
wmaster0  Link encap:UNSPEC  HWaddr
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#43
Originally Posted by gsever View Post
Are you asking ifconfig output?
No, I meant actual hardware:

laptop
n900
wireless router
etc...

But I'm guessing if you [i]had[/] a wireless router, we wouldn't be having this conversation.
__________________
N9: Go white or go home
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#44
Originally Posted by daperl View Post
No, I meant actual hardware:

laptop
n900
wireless router
etc...

But I'm guessing if you [i]had[/] a wireless router, we wouldn't be having this conversation.
You are close at you guess (Just 2x Laptops)

My problem was connecting to N900 and Wireless Router at the same time from my Fedora 12 laptop. Since I couldn't achieve this yet I am trying to resort to bluetooth networking. Right now without actually connecting to the N900 adhoc wireless point I can't talk to the device via ssh. And when I do that I lose the internet on the laptop.
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#45
Originally Posted by gsever View Post
You are close at you guess (Just 2x Laptops)

My problem was connecting to N900 and Wireless Router at the same time from my Fedora 12 laptop. Since I couldn't achieve this yet I am trying to resort to bluetooth networking. Right now without actually connecting to the N900 adhoc wireless point I can't talk to the device via ssh. And when I do that I lose the internet on the laptop.
If you have a wireless router, like I said, set ALL devices (n900, laptop, router) to infrastructure mode. You won't need bluetooth anything. What's the make and model of your router?
__________________
N9: Go white or go home
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#46
Originally Posted by daperl View Post
If you have a wireless router, like I said, set ALL devices (n900, laptop, router) to infrastructure mode. You won't need bluetooth anything. What's the make and model of your router?
The router is a NETGEAR device and serving in intrastructure mode. PC-Connectivity provides wlan_adhoc only. So I am guessing there has to be alternative way to connect the device via wireless network. I am connected to the wireless router now, and connected N900 to the same network I am in. However I can't fetch the local ip.

According to your explanation I should be able to connect N900 using these settings. What is the next step?
 
Posts: 455 | Thanked: 278 times | Joined on Dec 2009 @ Oregon, USA
#47
Last time I tried the MADDE/Qt Creator combo, I discovered that it did not support QT-4.6...
Has this changed at all?

It IS difficult to get a build environment up and running for this device. More than once I've given up on an idea for an application because I did not want to spend all afternoon tinkering with scratchbox/MADDE/whatever just to get it to work seemlessly..
 
Banned | Posts: 388 | Thanked: 57 times | Joined on Mar 2010
#48
Originally Posted by gsever View Post
According to your explanation I should be able to connect N900 using these settings. What is the next step?
Replying to myself

Did apt-get install iproute (Very interesting that app manager GUI can't find this while it is found via shell

Get my IP address from ifconfig. Tadaaa... Both ssh and vnc work as I originally expected.
 
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#49
Originally Posted by gsever View Post
I

I don't have a bnep0 listed under System/Preferences/Network Connections/ tab. I have found a few examples online but not sure how exactly to create a correct one under /etc/sysconfig/network-scripts
I do not exactly remember how I got it all working, but would be good to get it working 4 U, so then we could update instructions for Fedora.

I think I made bnep0 device with
Desktop: System/Preferences/Network_Connections/Wired/Add
Connect_automatically: Yes, name: bnep0, MAC: <your BT MAC on PC>, MTU: automatic

Then to try PAND connection manually, on PC:
# pand -c EC:9B:5B:23:XX:XX -S -E -e bnep0
X=your N900 BT MAC.
# pand -l # to check
After that you should be able manually configure bnep0 device:
# ifconfig bnep0 192.168.3.14 netmask 255.255.255.0 dstaddr 192.168.3.15

Last edited by zimon; 2010-04-19 at 10:12.
 
pelago's Avatar
Posts: 2,121 | Thanked: 1,540 times | Joined on Mar 2008 @ Oxford, UK
#50
Originally Posted by gsever View Post
Did apt-get install iproute (Very interesting that app manager GUI can't find this while it is found via shell

Get my IP address from ifconfig. Tadaaa... Both ssh and vnc work as I originally expected.
Application Manager hides some library and utility packages that end-users don't generally install directly. I believe there is a desktop widget which can show your N900 IP address too. Personally I use static DHCP in my router so that my N900 always gets the same IP.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 03:01.