|
2019-09-16
, 20:49
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#12
|
Perhaps you have something unusual going on in your N900 bluetooth config? e.g. bluez from -devel? attempts to use BT keyboards or play with bt audio sinking? (at least i know i've played with all those at some point)
The Following User Says Thank You to Halftux For This Useful Post: | ||
|
2019-09-16
, 20:54
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#14
|
You are so close Did you blocking connections from local lan (under local-basics tab)?
Then you need to open port53 tcp (local-ports tab) for dnsmasq requests from bnep0.
You can look in genwall local-lsof tab, there you should see dnsmasq listen on port 53 tcp.
On that tab you could also click on dnsmasq and you will see hopefully two processes running.
The Following User Says Thank You to sulu For This Useful Post: | ||
|
2019-09-16
, 21:10
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#15
|
Route/IP Info:
gprs0 [MY IP]
bnep0 Not available
I see only one process:
1397 nobody 2160 S /usr/sbin/dnsmasq -k -i lo -a 127.0.0.1 -z
|
2019-09-16
, 21:54
|
Posts: 915 |
Thanked: 3,209 times |
Joined on Jan 2011
@ Germany
|
#16
|
Strange that regular DUN gives you issues @sulu. It worked for me just fine max 2 years ago.
[..]
Perhaps you have something unusual going on in your N900 bluetooth config? e.g. bluez from -devel? attempts to use BT keyboards or play with bt audio sinking? (at least i know i've played with all those at some point)
This is not needed when this is set "Accept connection from local lan = y".
And when it should be LAN not WAN sorry forgot to tell.
Then you need to open port53 tcp (local-ports tab) for dnsmasq requests from bnep0.
Do you connect with your pc as "panu" or as "nap" you need to connect as nap...
Maybe also not fast enoug with the start button but I wonder why your PC has a bnep device.
And btw maybe it helps the script in /opt/genwall/bt_on.sh will be initiated by the start button, the off button would be bt_off.sh script.
$ sudo /opt/genwall/bt_on.sh CONFIG=/home/user/.genwall/network.ini sed -n s/btip=//gp /home/user/.genwall/network.ini IP_ADDR=192.168.8.2 sed -n s/btnetm=//gp /home/user/.genwall/network.ini NETMASK=255.255.255.0 sed -n s/btdhcp1=//gp /home/user/.genwall/network.ini DHCP_RANGE1=192.168.8.100 sed -n s/btdhcp2=//gp /home/user/.genwall/network.ini DHCP_RANGE2=192.168.8.127 RUNFILE=/var/run/bt_tethering.pid DNSMASQ=/usr/sbin/dnsmasq ifconfig bnep0 192.168.8.2 netmask 255.255.255.0 up [ -f /var/run/bt_tethering.pid ] [ = lan ] [ = for ] run-standalone.sh dbus-send --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteInfoprint string:Bluetooth PAN Activated $ sudo /opt/genwall/bt_off.sh cat: can't open '/var/run/bt_tethering.pid': No such file or directory sh: you need to specify whom to kill rm: can't remove '/var/run/bt_tethering.pid': No such file or directory
The Following User Says Thank You to sulu For This Useful Post: | ||
|
2019-09-17
, 08:42
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#17
|
Is within 10 seconds fast enough?
But frankly, if I'm on a clock here, that's nothing I'd like to use for production.
|
2019-09-17
, 09:53
|
Posts: 1,424 |
Thanked: 2,622 times |
Joined on Jan 2011
@ Touring
|
#18
|
The Following User Says Thank You to biketool For This Useful Post: | ||
|
2019-09-17
, 10:56
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#19
|
I think the BT PAN needs to be DEB-ified and moved to the repos or even a CSSU update as it is such a core functionality for one's everyday mobile phone I can get web browsing form a tethered tablet but if the N900 remains an EDC phone it needs to support basic tethering.
|
2019-09-17
, 17:57
|
|
Posts: 868 |
Thanked: 2,516 times |
Joined on Feb 2012
@ Germany
|
#20
|
bluetoothConnect:
bluez-test-scripts
bluez-tools
bluetoothctlN900:
power on
agent on
when you need pairing: pairable on
when you need pairing (look for mac): scan on
when you need pairing (pair the device): pair 00:00:00:00:00:00
start btpanPC as user replace with your N900 mac address(if input/output error do again):
cd /usr/share/doc/bluez-test-scripts/examplesPC as root:
./test-network 00:00:00:00:00:00:00 nap
dhclient bnep0Disconnect:
ctrl+cPC as root:
(pairable off)N900:
agent off
power off
quit
close btpan
Perhaps you have something unusual going on in your N900 bluetooth config? e.g. bluez from -devel? attempts to use BT keyboards or play with bt audio sinking? (at least i know i've played with all those at some point)
RX-51
Last edited by sicelo; 2019-09-16 at 20:51.