Reply
Thread Tools
Posts: 2 | Thanked: 1 time | Joined on Jun 2007
#31
Sorry guys for the delay. Please check out my post again. I have commented the script to be more clear about the choices we have.

When I first posted the script I have it with DHCP enabled, but I have come across a bug with ubuntu edgy bluez-utils bug, that didn't let me to reconnect after I disconnect and I leave it to the fanoush's default script. I have to manual shut down the bnep0 inferface from my ubuntu machine to be able to reconnect again to internet through my ubuntu box. I have not searched yet what's causing it but .... with find it I hope.

In windows XP I was able to connect and get IP from DHCP Server but I wasn't able to share my internet connection. I used BlueSoleil drivers and everything seemed to be allright, except the known XP bug about Internet Connection Sharing that forces you to use 192.168.0.1 as IP of the interface, which is not acceptable in most cases. I thing I little searching in google will solve that problem to. It is not N800 problem but windows problem.

I will have to insist to my primary goal of This post.

Does Anybody wants or have the time to collaborate and bring a final solution (a fully automate solution to the matter )?? I need someone who has worked with maemo API to do a simple Contol Panel plugin GUI

Originally Posted by gleitz View Post
I ditched the BlueSoleil drivers and switched to

My steps are as follows:

1. Open xterm, sudo gainroot
2. pand -Q10 (accept network access on PC from n800)
3. pand -l (displays "bnep0 00:10:C6:91:18:F9 PANU)
4. Connect to network "BlueToothPan" using connection manager
5. udhcpc -i bnep0 (says deleting routers, route: no such process, and adding dns 192.169.0.1

At this point the internet works correctly, but with a little less automation that I would have liked from the script. Any thoughts on what might be the problem?
There is no need to for Xterm with the script. Just watch the Bluetooth Icon in your status bar. If it get yellowed the you are connected to the PAN, if it is white then something is went wrong and you should do some troubleshooting with "pand". As for the DHCP problem see again my initial post (I made some editing again).

Originally Posted by gleitz View Post
Additionally, there are a ton of echo statements in PePPeRV's script, but I never get any console output. Do I need to enable something to get the output from the bluetoothPAN script?

Thx!

EDIT: a shell script run from "osso-statusbar-cpu" automates the process, removing the xterm requirement
No need. See above. It is something that you should not run from command line(Weird syntax because of dbus-scripts). Right now there 3 type of messages you are receiving.

Connected : Everything including DNS is set up from N800 side
Disconnected : Manually disconnected using the Connection manager. There is no support to be informed if we get out of BT Range. The only indicator is the BT icon in Status Bar.
Connection failed: If something went wrong on N800 side. If you are using DHCP configuration and something isn't right configured you will not see any message because udhcp client will insist trying to get IP from DHCP Server. You will problably have to disconnect the connection and try again.


PS: Did anyone heard something about the new firmware release?
There were rumours that it had to be released 2 days before!!!

Last edited by PePPeRV; 2007-07-02 at 01:53.
 
Toontje's Avatar
Posts: 304 | Thanked: 11 times | Joined on Feb 2007 @ Barcelona, Spain
#32
Originally Posted by Ninja View Post
/media/mmc2/Download # dpkg -i dbus-scripts_1.0-2_armel.del
dpkg: error processing dbus-scripts_1.0-2_armel.del (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
dbus-scripts_1.0-2_armel.del
Just a typo?
__________________
The Nokia 770 forums are alive again on http://nokia770.com/forum
 
Posts: 9 | Thanked: 0 times | Joined on Jul 2007
#33
Pepperv/anyone, when I try to run your script from message #24, it seems to do it, but none of the variables are being used where need be.

I'm a complete newbie to linux, so have little idea what I'm doing in general. :P

My set up is a Nokia 770, upgraded to the 2007 hacked ROM with Osso-Xterm and becomeroot installed. I set up the Adhoc network to "BlueToothPAN" as required and did all the steps listed prior to running the script. I assume all the prior steps only need to be done once ever.

I open the xterm window, do a sudo gainroot and then exec btpan.sh(your script). It looks like it's doing what it should, but none of the variables are being used. I am doing all this on the 770 itself.

Thanks for your help.

Anyone gotten then for work with PPC-6700s Internet Sharing PAN feature?
 
Posts: 428 | Thanked: 54 times | Joined on Mar 2006 @ Washington DC
#34
open a ssh terminal and copy paste the following code.
am i to understand that we're supposed to post this code into /etc/network/interfaces
?

and to use this http://www.maemopeople.org/index.php...2007/02/01/p41

as a guide to set up a working dummy connection?

Last edited by phi; 2007-07-14 at 19:10.
 
Posts: 428 | Thanked: 54 times | Joined on Mar 2006 @ Washington DC
#35
ok, so its my understanding i don't know if the installer that was provided will work since I'm not sharing my net connection from a linux box but rather my windows mobile 6 phone. anyone can lend a hand?
 
Posts: 3 | Thanked: 0 times | Joined on Jul 2007
#36
From what I am able to see the kernel 4.2007.26-8 does not include BNEP (Bluetooth network) module. There is also no BNEP.KO kernel module available to load. Where can I obtain the correct kernel module image? Can anybody provide me with one compiled for the stock 4.2007.26-8 kernel?

--
Best regards,
Matej.
 
gleitz's Avatar
Posts: 11 | Thanked: 2 times | Joined on May 2007 @ Boston, MA
#37
I set up the dbus script + dummy connection as described, but when I connect to the dummy connection there is no activity from the dbus script. The script is supposed to run automatically upon connecting to the dummy connection?

note: connecting to dummy and running pand commands does work well

Last edited by gleitz; 2007-07-16 at 08:06.
 
Posts: 428 | Thanked: 54 times | Joined on Mar 2006 @ Washington DC
#38
This is why nokia needs to just either open up the source so someone else can write an elegant solution or they need to get to it and give us the ability to have it "just work."
 
Posts: 43 | Thanked: 4 times | Joined on May 2007 @ Vancouver, WA
#39
So is the headache of connecting to the internet via a PAN bluetooth connection(like the Blackjack phone)...still plaguing us?

I've been trying this afternoon with no luck and sorry...but the past 50 posts I've read on the topic are as confusing as Greek to me!
 
Posts: 25 | Thanked: 0 times | Joined on Jan 2007 @ Houston
#40
Take a look at my how to here for the blackjack and N800.

http://linuxgadgets.blogspot.com/
__________________
--
pcman
Nokia N800

http://www.laroseweb.com
http://linuxgadgets.blogspot.com/
 
Reply


 
Forum Jump


All times are GMT. The time now is 02:52.