maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC) (https://talk.maemo.org/showthread.php?t=58570)

biketool 2015-10-31 17:45

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Frack, how do you get android to list network interfaces in ifconfig?!?!?
I had to guess on wlan0 no idea what they call bluetooth PAN...
(not bnep0)

Halftux 2015-10-31 18:51

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Quote:

Originally Posted by biketool (Post 1487205)
I would actually prefer to use PAN

Did you tried genwall? Does your android have the pand command?

Quote:

pand --connect XX:XX:XX:XX:XX:XX
When not you could try this app: Pan for root users

Quote:

Originally Posted by biketool (Post 1487205)
, but perhaps Android/Cyanogen wifi just needs a wpa supplicant even for open mode?

I guess it is more a problem about wep, that is not really supported. You can try to make a wpa ad-hoc with a laptop (windows or linux) and see if this is working.

biketool 2015-10-31 20:02

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Quote:

Originally Posted by Halftux (Post 1487215)
Did you tried genwall? Does your android have the pand command?

I will give genwall a try once I get some hacking time. There is a setting for bluetooth networking once linked, I have to assume it detects PAN and tries to connect.



Quote:

Originally Posted by Halftux (Post 1487215)
When not you could try this app: Pan for root users

Maybe this is me being silly but I only enabled F-Droid for software repo on the Cyanogen, which is stripped of Google stuff. I dont like having google stick their fingers into my tablet, even Ubuntu is creepy in requiring a launchpad login. I have been looking for the APK from a trusted source, though I wonder what it might break, this is not a maemo or debian repo but android anarchy.

nokiabot 2015-11-01 03:03

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
pan teathering from android works you might need to dig for it to attain perfection and i do not have a android also my experience with them was awful i.e strange kind of device and os intregation plus dosent really bring anything new to the table and on top of that it dosent work like i expect and it was a year back i think on jellybean tablets .

biketool 2015-11-01 20:18

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Started using a different shell app, I think it logs in as root but also behaves properly, ifconfig and apt-get actually do something.
So int bt-pan shows up on the nexus as created and linked, but just like ad-hoc wifi it is not taking an IP form the dhcp on the N900.
Wish I knew what was the equivelant of /var/log/syslog on android/cyanogen so I could watch the connection log.

Sohil876 2015-11-01 20:42

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Why are you going through all that? does your android device not support pan? if it does then you just have to enable pan on n900, restart it, pair it with your android device (if paired before activating pan, unpair and re pair), then in your android device's bt menu, just click on your n900 a checkbox something like "use this devices internet" should be there, just check it and it should share connection. Im tethring my n900 to my android devices (a phone with v4.4, a tab with v2.3) like this and it works just fine without even root or shells.

biketool 2015-11-01 20:52

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Sohil876, I have been doing exactly that, but the android tablet is not taking an Ip address from the DHCP on the N900 though my Ubuntu laptop happily does.

I removed the modifications form thsi thread and have just installed genwall. Lots of uber hackyness, my network basics traingin and distance from the 90s where I used them everyday means I will need to sleep and try again tomorrow, ugh iptables hacking. fortunately there is this to help, http://talk.maemo.org/showpost.php?p...5&postcount=62

Halftux 2015-11-01 21:09

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Quote:

Originally Posted by biketool (Post 1487288)
Sohil876, I have been doing exactly that, but the android tablet is not taking an Ip address from the DHCP on the N900 though my Ubuntu laptop happily does.
[/url]

Maybe you can try this. Don't know if it helps but worth a try.

Sohil876 2015-11-01 21:53

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Quote:

Originally Posted by biketool (Post 1487288)
Sohil876, I have been doing exactly that, but the android tablet is not taking an Ip address from the DHCP on the N900 though my Ubuntu laptop happily does.

Try using bt pan when youve enabled offline mode in nexus 7 and only one connection bluetooth is on on n7, disable wifi and others on it. If even that didnt work read THIS , also see the last solution.

biketool 2015-11-02 07:29

Re: [HOWTO] N900 Bluetooth-PAN Tethering (N900 supplies Internet Access for PC)
 
Quote:

Originally Posted by Sohil876 (Post 1487299)
Try using bt pan when youve enabled offline mode in nexus 7 and only one connection bluetooth is on on n7, disable wifi and others on it. If even that didnt work read THIS , also see the last solution.

Already did that too, I think the only way is to hand enter all of the Ip, routing, and dns. This looks like the only way to go, as anything where the N900 is a DHCP fails, though my Nexus DHCPs fine from my Netgear wireless router and other infrastructure APs, if I recall PAN uses a bluetooth equivalent to ad-hoc networking so no surprise the problem is similar.
http://android.stackexchange.com/que...doing-it-wrong
Is this 1990 again? Am I a teenager building a network from win3.0 PCs and some borrowed coax 10-T net cards?


All times are GMT. The time now is 15:23.

vBulletin® Version 3.8.8