You are not logged in.

#1 2015-01-11 17:37:38

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

No internet access over bluetooth

I have paired my phone (android phone) and I have connected to the Bluetooth and I have started the internet sharing at my phone.
I have connected the phone Bluetooth internet sharing by the following command:

dbus-send --system --type=method_call --dest=org.bluez /org/bluez/hci0/dev_00_03_AA_CE_93_55 org.bluez.Network1.Connect string:'nap'

and I have requested ip address by the following command:

systemctl start dhcpcd@bnep0.service

Its works fine and it use the following ip 192.168.44.86 but there is no internet connection ?!?! how I can solve this problem ?

Offline

#2 2015-01-11 20:23:08

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: No internet access over bluetooth

Please move it to Networking section

Offline

#3 2015-01-11 20:31:40

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,353

Re: No internet access over bluetooth

Moving, by request


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2015-01-11 20:56:41

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: No internet access over bluetooth

ThElitEyeS wrote:

there is no internet connection

How did you check the connection?

Offline

#5 2015-01-11 21:11:38

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: No internet access over bluetooth

I think your problem is DNS caching.
Try to ping 8.8.8.8 and www.google.com. Both are the same but the latter needs DNS.


do it good first, it will be faster than do it twice the saint wink

Offline

#6 2015-01-11 21:32:11

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: No internet access over bluetooth

I tried to check the internet by ping google.com and pacman -Syu

Last edited by ThElitEyeS (2015-01-11 21:34:14)

Offline

#7 2015-01-11 21:36:35

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: No internet access over bluetooth

And how much we know about them here ? smile
Could be useful to see your reports, don't you ?
Several times I assumed to be correct, but there was a nasty typo that only others could see it, then corrected me wink


do it good first, it will be faster than do it twice the saint wink

Offline

#8 2015-01-11 21:37:39

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: No internet access over bluetooth

TheSaint wrote:

And how much we know about them here ? smile
Could be useful to see your reports, don't you ?
Several times I assumed to be correct, but there was a nasty typo that only others could see it, then corrected me wink

Can you tell me which command log to paste ?

Offline

#9 2015-01-11 21:52:12

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: No internet access over bluetooth

[root@Bahaa ~]# systemctl start dhcpcd@bnep0.service
[root@Bahaa ~]# systemctl status dhcpcd@bnep0.service
* dhcpcd@bnep0.service - dhcpcd on bnep0
   Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; disabled; vendor preset: disabled)
   Active: active (running) since Sun 2015-01-11 21:50:15 UTC; 4s ago
  Process: 1315 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited, status=0/SUCCESS)
 Main PID: 1328 (dhcpcd)
   CGroup: /system.slice/system-dhcpcd.slice/dhcpcd@bnep0.service
           `-1328 /usr/bin/dhcpcd -q -w bnep0

Jan 11 21:50:14 Bahaa dhcpcd[1315]: version 6.6.7 starting
Jan 11 21:50:14 Bahaa dhcpcd[1315]: DUID 00:01:00:01:1c:45:67:ea:00:1a:7d:da:71:0b
Jan 11 21:50:14 Bahaa dhcpcd[1315]: bnep0: IAID 7d:da:71:0b
Jan 11 21:50:14 Bahaa dhcpcd[1315]: bnep0: rebinding lease of 192.168.44.86
Jan 11 21:50:15 Bahaa dhcpcd[1315]: bnep0: changing route to 192.168.44.0/24
Jan 11 21:50:15 Bahaa dhcpcd[1315]: bnep0: changing default route via 192.168.44.1
Jan 11 21:50:15 Bahaa systemd[1]: Started dhcpcd on bnep0.
Jan 11 21:50:15 Bahaa dhcpcd[1328]: bnep0: soliciting an IPv6 router
[root@Bahaa ~]# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
^C
--- 8.8.8.8 ping statistics ---
14 packets transmitted, 0 received, 100% packet loss, time 13001ms

[root@Bahaa ~]# ping google.com
PING google.com (212.179.180.95) 56(84) bytes of data.
^C
--- google.com ping statistics ---
9 packets transmitted, 0 received, 100% packet loss, time 8008ms

[root@Bahaa ~]#

Last edited by ThElitEyeS (2015-01-11 21:52:49)

Offline

#10 2015-01-12 02:16:22

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: No internet access over bluetooth

Fine wink
Is your phone able to go Internet once you're connected via bnep ?
The point is that your connected to the phone but your phone should give access to Internet. So have you enabled bluetooth tethering on your phone ?
See here and this whether they're of some help.


do it good first, it will be faster than do it twice the saint wink

Offline

#11 2015-01-12 02:18:34

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: No internet access over bluetooth

TheSaint wrote:

Fine wink
Is your phone able to go Internet once you're connected via bnep ?
The point is that your connected to the phone but your phone should give access to Internet. So have you enabled bluetooth tethering on your phone ?
See here and this whether they're of some help.

Bluetooth tethering is on and there is internet on the phone i tried with wifi and 3g connection too, the phone has internet while bnep0 is connected
and i actually got my commands by reading this article https://wiki.archlinux.org/index.php/Android_tethering

Last edited by ThElitEyeS (2015-01-12 02:20:41)

Offline

#12 2015-01-12 02:35:32

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: No internet access over bluetooth

Your report showing no ping with both numerical and literal form. But also there was a CTRL+C, what was the reason you stopped the pinging.
If you expect just few number of ping the use

$ ping -c4 www.google.com

do it good first, it will be faster than do it twice the saint wink

Offline

#13 2015-01-12 02:37:26

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: No internet access over bluetooth

TheSaint wrote:

Your report showing no ping with both numerical and literal form. But also there was a CTRL+C, what was the reason you stopped the pinging.
If you expect just few number of ping the use

$ ping -c4 www.google.com

it will never finish look at the ping time

Offline

#14 2015-01-12 02:43:22

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: No internet access over bluetooth

Last login: Mon Jan 12 04:39:31 2015 from gateway
[root@Bahaa ~]# ping -c4 www.google.com
PING www.google.com (64.233.167.99) 56(84) bytes of data.

--- www.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3001ms

[root@Bahaa ~]#

Offline

#15 2015-01-12 02:54:09

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,532

Re: No internet access over bluetooth

Sorry, I'm very sorry. I'm not able to help.
EDIT
I posted later than your post.

Last edited by TheSaint (2015-01-12 02:55:07)


do it good first, it will be faster than do it twice the saint wink

Offline

#16 2015-01-12 02:55:07

ThElitEyeS
Banned
Registered: 2014-03-25
Posts: 129

Re: No internet access over bluetooth

TheSaint wrote:

Sorry, I'm very sorry. I'm not able to help.

thanks for trying bro, do you know somebody might be able to help ?

Offline

#17 2015-01-12 18:22:23

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: No internet access over bluetooth

Does this work as your non-root user?  Running your system as root is dangerous and not recommended.  There are programs that are set up intentionally to not run as root due to that process being dangerous to the system.


Knute

Offline

Board footer

Powered by FluxBB