Active Topics

 


Reply
Thread Tools
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#1
Hi,

how to set up N800 to act as Wifi/Bluetooth network bridge for orb media stream ?

1. PC >>>> N800 media stream sent over Bluetooth link
2. N800 >>> bridge Bluetooth stream to Wifi stream and resent to another Wifi enabled PC.

Do I need to install Apache server and any other software bridge/router application ?

Thanks.

Darius
 
Posts: 468 | Thanked: 610 times | Joined on Jun 2006
#2
I don't believe anybody found an easy and reliable way to route a bluetooth DUN (or other profile) network connection to the Wifi network connection on the N800.

I would like such an option in order to get wifi only devices online using a Bluetooth phone (devices like ipod touch, PSP) .

Orb is more difficult. It relies partly on an internet service and partly on a media streaming server on your PC. So your PC with Orb needs to be connected to the Internet in any event in order to function correctly. (eliminating the need for your wifi/bluetooth bridge)

The apache server has nothing to do with this. You need network routing not a web server.
 
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#3
Originally Posted by Bernard View Post
I don't believe anybody found an easy and reliable way to route a bluetooth DUN (or other profile) network connection to the Wifi network connection on the N800.

I would like such an option in order to get wifi only devices online using a Bluetooth phone (devices like ipod touch, PSP) .

Orb is more difficult. It relies partly on an internet service and partly on a media streaming server on your PC. So your PC with Orb needs to be connected to the Internet in any event in order to function correctly. (eliminating the need for your wifi/bluetooth bridge)

The apache server has nothing to do with this. You need network routing not a web server.
Thanks.
Why orb server should be connected to the Internet to function correctly ?
No chance to run it Wifi peer-to-peer ?
Frankly speaking I prefer not to have a remote middleware server in control of my media streaming from my PC to Nokia tablet.

So if not orb, so mayby there is another software application run under XP Windows to stream media content over wifi to Nokia tablet ?
Some time ago I played around with winamp media broadcasting server over ethernet network.

Thanks.
Darius
 
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#4
Originally Posted by Bernard View Post
I don't believe anybody found an easy and reliable way to route a bluetooth DUN (or other profile) network connection to the Wifi network connection on the N800.

I would like such an option in order to get wifi only devices online using a Bluetooth phone (devices like ipod touch, PSP) .

Orb is more difficult. It relies partly on an internet service and partly on a media streaming server on your PC. So your PC with Orb needs to be connected to the Internet in any event in order to function correctly. (eliminating the need for your wifi/bluetooth bridge)

The apache server has nothing to do with this. You need network routing not a web server.
Once again Bernard.
Don't you think streaming audio from TVersity/ Orb server to Nokia maemo and than to connected bluetooth earpiece is exactly some form of one-way Wifi/Bluetooth bridging/ routing ?

Darius
 
Posts: 61 | Thanked: 60 times | Joined on Jul 2007 @ Erlangen
#5
No idea how ORB works, however routing network traffic from bluetooth via a wlan connection works well for me. I compiled the kernel with iptables nat support, recompiled/packeaged the iptables package to include some needed libs and setup simple masquerading rules to forward the traffic. That way I can use my umts flatrate via bluetooth from the mobile phone on my n800 while also providing natted network connectivity to my girlfriends n800 through an ad-hoc wlan link. I think the tricky part was just getting the ad-hoc connection active without shutting down the bluetooth link to the phone, some iwconfig/ifconfig scripting solved it. I have old modules and a iptables package on garage.maemo.org, the current modules are still under test but about the stability no complains came up yet I will update the files on garage.maemo.org asap, just updating to the latest OS release.
 

The Following User Says Thank You to greygoo For This Useful Post:
Posts: 529 | Thanked: 46 times | Joined on Sep 2007
#6
Originally Posted by greygoo View Post
No idea how ORB works, however routing network traffic from bluetooth via a wlan connection works well for me. I compiled the kernel with iptables nat support, recompiled/packeaged the iptables package to include some needed libs and setup simple masquerading rules to forward the traffic. That way I can use my umts flatrate via bluetooth from the mobile phone on my n800 while also providing natted network connectivity to my girlfriends n800 through an ad-hoc wlan link. I think the tricky part was just getting the ad-hoc connection active without shutting down the bluetooth link to the phone, some iwconfig/ifconfig scripting solved it. I have old modules and a iptables package on garage.maemo.org, the current modules are still under test but about the stability no complains came up yet I will update the files on garage.maemo.org asap, just updating to the latest OS release.
Thanks for your nice solution to my question, already working.
Some days ago I set up ad-hoc network to have TVersity to stream media from PC running XP Windows to Nokia maemo.
Does it mean I can't have another application, i.e. web browser, running on maemo to access the Internet over mobile phone's umts via bluetooth ?
I am aware processor is slow, but what really shuts down bluetooth link ?

It looks you have developed ICS (known from XP Windows - Internet Connection Sharing) for maemo.
Great.
Thanks.
Should that work the same way on PC connected to umts cell phone via bluetooth, sharing Internet access via Wifi access point ?
Tomorrow I will try to test 3.5 GHz wimax modem as a mobile wimax ap.

Darius
 
runestone's Avatar
Posts: 43 | Thanked: 2 times | Joined on Jan 2006
#7
greygoo (or someone else ) , could you please explain how to do this with a simple tutorial and OS2008 compatible references... I have a N800 with OS2008 and would like this to work to be able to share my BT Phone connection to an Ipod Touch.

Thanks!

Originally Posted by greygoo View Post
No idea how ORB works, however routing network traffic from bluetooth via a wlan connection works well for me. I compiled the kernel with iptables nat support, recompiled/packeaged the iptables package to include some needed libs and setup simple masquerading rules to forward the traffic. That way I can use my umts flatrate via bluetooth from the mobile phone on my n800 while also providing natted network connectivity to my girlfriends n800 through an ad-hoc wlan link. I think the tricky part was just getting the ad-hoc connection active without shutting down the bluetooth link to the phone, some iwconfig/ifconfig scripting solved it. I have old modules and a iptables package on garage.maemo.org, the current modules are still under test but about the stability no complains came up yet I will update the files on garage.maemo.org asap, just updating to the latest OS release.
 
Posts: 18 | Thanked: 1 time | Joined on Apr 2008
#8
Are there any instruction or step by step how to do this?
 
allnameswereout's Avatar
Posts: 3,397 | Thanked: 1,212 times | Joined on Jul 2008 @ Netherlands
#9
You can run a proxy on your N800 such as Privoxy or a Socks proxy.

You can use port forwarding, NAT, or routing on your NIT. For that you'd need something such as routed or iptables.

Privoxy is, I believe, the most simple solution, but your streaming application must support this. You can find a howto to install and enable Privoxy on the Maemo Wiki. You must do additional configuration though: you must allow your client's IP to connect to the Privoxy, and the Privoxy must listen on the WiFi device and IP.

Be advised the NIT only has a limited I/O available. I wouldn't expect it to be able to relay DVDs; in general the throughput isn't higher than 4 or 5 MB/sec.

UPnP isn't included in this story yet but it'd make some things even easier.
__________________
Goosfraba! All text written by allnameswereout is public domain unless stated otherwise. Thank you for sharing your output!
 

The Following User Says Thank You to allnameswereout For This Useful Post:
Posts: 71 | Thanked: 6 times | Joined on Jan 2006
#10
I figured out how to do it... kinda, works for http applications anyway. wifi positioning doesn't work, I guess it doesn't use http...
anyway, first thing is to install privoxy.
second, install wireless-tools. I had to install it from the command line, after getting root.
after that, setup privoxy (in /etc/privoxy/config) to
Code:
listen-address :8118
. yes, leave the address blank, and just specify the port. Make sure you configure your web browser on the nokia to use the proxy, otherwise the configuration won't reload after editing (it only reloads on use - so use the proxy and browse some sites after editing the config)
make your bluetooth dun connection on the nokia, and then open the terminal window.
Code:
ifconfig wlan0 up
ifconfig wlan0 192.168.1.1 netmask 255.255.255.0
iwconfig wlan0 mode Ad-Hoc essid n810 key off
your ipod touch should see a new network: n810
here are the settings:
Code:
ip address: static 192.168.1.2
subnet mask: 255.255.255.0
router: (won't actually route anything, but won't save unless set) 192.168.1.2
dns: (no dns server needed, but filled it out anyway) 192.168.1.1
search domains: <none needed>
http proxy: manual
server: 192.168.1.1
port: 8118
authentication: off
that's how I have mine configured. http like web and facebook works fine, twitter seems to work, maps works (without wifi positioning). basically, anything that uses only http connections should work. since the built-in email uses direct connections, that will fail though.

Last edited by spiderx; 2009-02-16 at 21:15. Reason: removed duplicated text
 

The Following 3 Users Say Thank You to spiderx For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 18:38.