Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Bluetooth with GNOME overview
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Wed Dec 26, 2007 5:14 am    Post subject: Bluetooth with GNOME overview Reply with quote

A bluetooth guide with a focus on GNOME integration

Possibilities :

  1. send / receive files ( gnome-bluetooth )
  2. browse phone filesystem ( gnome-vfs-obexftp )
  3. use mobile phone as remote to control desktop / mouse pointer ( bluez-gnome )
  4. browse the web on your phone using your computer`s broadband connection ( bluez-utils )
  5. sync evolution to mobile phone ( opensync )

Implementation ( other ways possible ) :

  1. send / receive files
    - emerge gnome-bluetooth ( tested with version 0.9.1 )
    - run gnome-obex-server to be able to receive files via bluetooth
    - use gnome-obex-send to send files via bluetooth via command line
    - emerge nautilus-actions ( ebuild available via sunrise overlay ) and add an action :
    - command "gnome-obex-send -d 00:00:00:00:00:00" ( change MAC address to address of mobile phone )
    - parameter "%M"
    ( alternativly emerge nautilus-sendto with USEFLAG bluetooth - which doesnt work sometimes )

  2. browse phone filesystem
    - emerge gnome-vfs-obexftp ( tested with version 0.4 )
    - browse "obex:///" with nautilus

  3. use mobile phone as remote to control desktop / mouse pointer
    - edit /etc/conf.d/bluetooth ( change ) :
    Code:

    HIDD_ENABLE=true

    Code:

    HIDD_OPTIONS="--connect 00:00:00:00:00:00"

    ( change MAC address to address of mobile phone )
    - Restart bluetooth service
    Code:

    /etc/init.d/bluetooth restart


    ( thx to gerardo )

  4. browse the web on your phone using your computer`s broadband connection

    WARNING : During setting this up it may be that you start a data connection on your phone by accident which will cost quite some money. To avoid this delete all internet / data profiles on the phone / disable all other ways to surf the web than bluetooth - see https://forums.gentoo.org/viewtopic-p-5152045.html#5152045 for details

    - For this guide I will use some easy defaults ( e.g. auto-authorisation ) which can be changed by advanced users

    - First of all we enable NAT - kernel 2.6.x has this built in AFAIK
    - This guide assumes that you dont use a firewall yet and that the device which connects to the internet is eth0
    Code:
    emerge iptables
    rc-update add iptables default
    /etc/init.d/iptables start
    iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    /etc/init.d/iptables save
    echo 1 > /proc/sys/net/ipv4/ip_forward
    - /etc/sysctl.conf ( change ) :
    Code:
    # Disables packet forwarding
    net.ipv4.ip_forward = 1

    - emerge bluez-utils ( tested with version 2.25-r1 - newer versions dont work ! )
    - /etc/bluetooth/pin ( create ) :
    Code:
    1234

    - /etc/bluetooth/hcid.conf ( change ) :
    Code:
    security auto;

    - /etc/conf.d/bluetooth ( change ) :
    Code:
    # Start pand (allowed values are "true" and "false")
    PAND_ENABLE=true

    # Arguments to pand
    PAND_OPTIONS="--listen --role NAP /etc/bluetooth/pan/dev-up"

    - /etc/bluetooth/pan/dev-up ( create ) :
    Code:
    #!/bin/sh

    ifconfig bnep0 10.0.0.1

    /etc/init.d/dhcpd restart

    -
    Code:
    chmod 755 /etc/bluetooth/pan/dev-up

    - Restart bluetooth service
    Code:
    /etc/init.d/bluetooth restart

    - emerge dhcp
    - /etc/conf.d/dhcpd ( change ) :
    Code:
    DHCPD_IFACE="bnep0"

    - /etc/dhcp/dhcpd.conf ( create - change your-routers-ip-or-name to the ip / name of your router / cable modem or use an ip of /etc/resolv.conf )
    Code:
    # dhcpd.conf
    #

    # option definitions common to all supported networks...
    option domain-name-servers your-routers-ip-or-name;

    # Use this to enble / disable dynamic dns updates globally.
    ddns-update-style interim;

    subnet 10.0.0.0 netmask 255.255.255.0 {
       range 10.0.0.10 10.0.0.20;
       option routers 10.0.0.1;
    }

    - Add the computer to your mobile phones bluetooth devices ( using above pin [1234] ).
    - Now you should be able to browse the web on the phone over bluetooth connection

      If it doesnt work you can check that

    1. when you connect the phone over bluetooth a bnep0 interface should turn up ( ifconfig bnep0 )
    2. when you connect the phone over bluetooth the bnep0 interface should have the correct ip ( ifconfig bnep0 -> 10.0.0.1 )
    3. when you connect the phone over bluetooth the dhcp server should be running ( /etc/init.d/dhcpd status )
    4. NAT should be enabled :
      Code:
      > cat /proc/sys/net/ipv4/ip_forward
      1
      > iptables -t nat -L | grep MASQUERADE
      MASQUERADE  all  --  anywhere             anywhere   

  5. sync evolution to mobile phone

    WARNING : Synchronisation will change data in evolution and on your mobile phone. To avoid data loss backup any important data ( ~/.evolution and data on the mobile phone ). On my phone synchronisation lead to duplicate entries in the phone so be cautios.

    - Unmask opensync
    Code:
    <app-pda/msynctool-9999
    <app-pda/libopensync-9999
    <app-pda/libopensync-plugin-evolution2-9999
    <app-pda/libopensync-plugin-file-9999
    <app-pda/libopensync-plugin-syncml-9999
    <app-pda/libopensync-plugin-vformat-9999

    - Keyword opensync ( replace ~amd64 with ~yourarch, e.g. ~x86 )
    Code:
    app-pda/msynctool ~amd64
    app-pda/libopensync ~amd64
    app-pda/libopensync-plugin-evolution2 ~amd64
    app-pda/libopensync-plugin-file ~amd64
    app-pda/libopensync-plugin-syncml ~amd64
    app-pda/libopensync-plugin-vformat ~amd64
     dev-util/cmake ~amd64
      dev-libs/xmlrpc-c ~amd64

    app-pda/libsyncml ~amd64

    - emerge opensync ( tested with version 0.36 )
    Code:
    emerge -av msynctool libopensync-plugin-syncml

    - setup opensync
    Code:
    msynctool --addgroup evolution-mobilephone
    msynctool --addmember evolution-mobilephone evo2-sync
    msynctool --addmember evolution-mobilephone syncml-obex-client

    - The following actions have to be done by the evolution user
    - configure evolution sync target
    Code:
    msynctool --configure evolution-mobilephone 1

    ( Generally nothing has to be changed here )

    - configure syncml sync target
    Code:
    msynctool --configure evolution-mobilephone 2

    change it to look like this
    Code:
    <?xml version="1.0"?>
    <config>
      <!-- sets the connection type to use. -->
      <!-- please note that actually OBEX over network is not supported -->
      <!-- 1 means obex over serial cable -->
      <!-- 2 means obex over bluetooth    -->
      <!-- 3 means obex over IRDA         -->
      <!-- 4 means obex over network      -->
      <!-- 5 means obex over usb          -->
      <type>2</type>
     
      <!-- (Only for bluetooth) The bluetooth address if the bluetooth mode is selected.
           `hciconfig scan` to search bluetooth devices.  -->
      <bluetooth_address>00:00:00:00:00:00</bluetooth_address>
     
      <!-- (Only for bluetooth) The bluetooth channel to use.
           `sdptool browse $MAC` to search for the correct channel -->
      <bluetooth_channel>1</bluetooth_channel>
     
      <!-- (Only for USB) The usb interface number of the SYNCML-SYNC target. use syncml-obex-client -u (you will need access to the USB raw device) to find it. -->
      <interface>0</interface>
     
      <!-- The string that the plugin will use to identify itself. Some devices need a special string here. -->
      <identifier></identifier>
     
      <!-- The syncml version to use: 0 for 1.0, 1 for 1.1 and 2 for 1.2 -->
      <version>1</version>
     
      <!-- if the plugin should use wbxml -->
      <wbxml>1</wbxml>
     
      <!-- The username to use. Leave empty to not require a username -->
      <username></username>
     
      <!-- the password for the username -->
      <password></password>
     
      <!-- If wbxml is enabled, defines wether the wbxml should use string tables -->
      <usestringtable>0</usestringtable>
     
      <!-- Never send ADD command, but send REPLACE (not needed normally) -->
      <onlyreplace>0</onlyreplace>

      <!-- Workaround around for mobile phones which only use local timestamps and _no_ UTC timestamps! -->
      <onlyLocaltime>0</onlyLocaltime>
     
      <!-- Sets the maximum allowed size in bytes of incoming messages (some device need this option set). Example: 10000 -->
      <recvLimit>0</recvLimit>
     
      <maxObjSize>0</maxObjSize>

      <!-- XXX: Currently you need to write this by your own.
           Later it's planned to create such entries on the fly during
           the discovery() call. Example database field:
      -->

       <database>
         <name>contacts</name>
         <objtype>contact</objtype>
         <objformat>vcard21</objformat>
      </database>

    <!--
       <database>
         <name>agenda</name>
         <objtype>event</objtype>
         <objformat>vevent10</objformat>
      </database>
    -->

    <!--
       <database>
         <name>notes</name>
         <objtype>note</objtype>
         <objformat>vjournal</objformat>
      </database>
    -->

    <!--
       <database>
         <name>tasks</name>
         <objtype>todo</objtype>
         <objformat>vtodo10</objformat>
      </database>
    -->
    </config>

    Note : There are many details that have to be correct here. Make sure to use the right MAC address and channel. The database names vary among different mobile phones, see http://en.opensuse.org/OpenSync/SyncML-OBEX-Client to get an idea. Its also important to use the correct objformat versions - e.g. on my mobile phone ( SE K800i ) vevent20 fails but vevent10 works. You may want to try out which databases work for you and which not by uncommenting / changing the respictive database entries.

    - let opensync detect the data to be synced ( do this whenever you change the database entries )
    Code:
    msynctool --discover evolution-mobilephone

    - sync data
    Code:
    mysynctool --sync evolution-mobilephone



Planned sections :
  • Sync mobile phone data, e.g a music library
  • Use mobile phone as remote control to specfic apps ( lirc replacement ) - anyremote
  • Use bluetooth headphones ( http://bluetooth-alsa.sourceforge.net/ - not in portage )
  • ....


Changelog
27.04.2008
- Removed bluez-utils-3.x sections since it doesn`t support PAN
- Added gerardo`s guide to enable HID
- Added section to sync evolution to mobile phone


Last edited by Devport on Tue Jul 15, 2008 12:46 pm; edited 86 times in total
Back to top
View user's profile Send private message
muczy
n00b
n00b


Joined: 29 Sep 2006
Posts: 45
Location: Szeged, Hungary, Europe

PostPosted: Wed Dec 26, 2007 6:24 pm    Post subject: Reply with quote

Remote control:
anyremote (nokias doesn't have remote control function like sony ericsson)

File transfer:
I would like to know how can i set up a constant obextftp daemon? I don't like gnome-obex-server...
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Sat Jan 26, 2008 8:04 pm    Post subject: Reply with quote

I'd really liked to know how to do this:

Connect the mobile phone to the web over bluetooth

Anybody can tell me? thanks.
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Sat Jan 26, 2008 8:42 pm    Post subject: Reply with quote

zietbukuel wrote:
I'd really liked to know how to do this:

Connect the mobile phone to the web over bluetooth

Anybody can tell me? thanks.

I am currently working on this one. Right now I got it working by bridging the interface but this means you only have internet either on the phone or on your computer. I will change my webconfiguration to be able to provide ip_forwarding. If this works ill post a howto till tomorrow hopefully. A clean solution with networkmanager is planned ( by bluez team ) but not possible yet. If you try by yourself make sure to use the non-masked version of bluez-utils because documenation for newer ( masked ) versions is rare and it does not bring up a network interface.
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Sun Jan 27, 2008 4:26 pm    Post subject: Reply with quote

I think it will take some days till I write the ip_forwarding howto. Until then you can use ethernet bridging.

Please refer to

http://www.gentoo.org/doc/en/bluetooth-guide.xml -> for general setup
http://bluez.sourceforge.net/contrib/HOWTO-PAN -> for ethernet bridging ( skip the other sections )

Make sure you use bluez-utils-2.25-r1 - newer versions work different and arent ready yet as it seems.
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Mon Jan 28, 2008 2:18 am    Post subject: Reply with quote

8) I got it working and I`ll post an updated howto in a few days ( need to figure out the best / nicest way and will try to get it to work with a more recent ~arch version of bluez-utils ). Dont start to struggle with bridging now as ip_forwarding is way easier.

In the meantime anyone who wants to get it working may want to look here :

http://www.hackenberger.at/blog/gentoo-guides/how-to-set-up-a-linux-box-as-a-bluetooth-server/
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Mon Jan 28, 2008 4:38 am    Post subject: Reply with quote

Thanks a lot Devport!!!! This is what I've been looking for AGES without a easy way to do!! thanks again, I'll be waiting for your HOWTO :)

ps. I'm following this thread...
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Mon Jan 28, 2008 4:36 pm    Post subject: Reply with quote

The step by step guide is ready now and I hope that it helps someone despite all the pitfalls.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Mon Jan 28, 2008 6:10 pm    Post subject: Reply with quote

Devport wrote:
The step by step guide is ready now and I hope that it helps someone despite all the pitfalls.


Thanks, but I'm using as an internal IP 10.0.0.1 and my routers IP is 10.0.0.138 what should I put in the configuration? I can't assign bnep0 the IP 10.0.0.1 as it is already assigned to eth0, thanks. :D

[EDIT]
I've soled the problem using the 192.168.0.0 subnet instead if 10.0.0.0 so people with my type of IP addresses can use this:

in dhcpd.conf:

Code:
# dhcpd.conf
#

# option definitions common to all supported networks...
option domain-name-servers 208.67.222.222;

# Use this to enble / disable dynamic dns updates globally.
ddns-update-style interim;

subnet 192.168.0.0 netmask 255.255.255.0 {
   range 192.168.0.10 192.168.0.20;
   option routers 192.168.0.1;
}


in dev-up:

Code:
#!/bin/sh

ifconfig bnep0 192.168.0.1

/etc/init.d/dhcpd restart


This should start working now :)
[/EDIT]
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Mon Jan 28, 2008 6:17 pm    Post subject: Reply with quote

Then replace all 10.0.0.x numbers in the howto with 192.168.0.x numbers. Dont forget to set the routers ip in dhcp configuration.

Yeah - as I see you did it right ( but dont forget 208.67.222.222 should be the router`s IP 10.0.0.138 ).
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Mon Jan 28, 2008 6:34 pm    Post subject: Reply with quote

You forgot something:
Code:

chmod 755 /etc/bluetooth/pan/dev-up


So it can be executed :)
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Mon Jan 28, 2008 6:36 pm    Post subject: Reply with quote

Devport wrote:
Then replace all 10.0.0.x numbers in the howto with 192.168.0.x numbers. Dont forget to set the routers ip in dhcp configuration.

Yeah - as I see you did it right ( but dont forget 208.67.222.222 should be the router`s IP 10.0.0.138 ).


My router has the DNS server down, I prefere to use OpenDNS DNS servers, thanks.
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Mon Jan 28, 2008 6:41 pm    Post subject: Reply with quote

zietbukuel wrote:
You forgot something:
Code:

chmod 755 /etc/bluetooth/pan/dev-up


So it can be executed :)

Added. Thx. And does it work for you ?
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Mon Jan 28, 2008 6:58 pm    Post subject: Reply with quote

Yes it does work with my SonyEricsson W610. Thank you very much for the howto.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Tue Jan 29, 2008 5:13 am    Post subject: Reply with quote

To use your cellphone or mouse or whatever to control your desktop or app, do this:

Edit /etc/conf.d/bluetooth and change:

Code:

HIDD_ENABLE=false

to
Code:

HIDD_ENABLE=true


Then change
Code:

HIDD_OPTIONS=""

to
Code:

HIDD_OPTIONS="--connect 00:11:22:33:44:55"

Where 00:11:22:33:44:55 is the device you want to connect, you can know this by using
Code:

hcitool scan


Then execute this command:
Code:

/etc/init.d/bluetooth restart


I've tested this simple setup with OpenOffice to control presentations, controling Rhythmbox, Totem and my mouse using my W610i.
This is only tested with net-wireless/bluez-utils-2.25-r1 and net-wireless/bluez-libs-2.25.

I think this can be added to the howto :)

Note:
If you need more than one device to be connected as a "remote control" just change "--connect <mac>" to "--server" (without quotes).


Last edited by zietbukuel on Sun Feb 03, 2008 3:52 am; edited 1 time in total
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Tue Jan 29, 2008 6:09 am    Post subject: Reply with quote

Nice howto - my small remote control passage is related to ~arch bluez-utils, but due to PAN only being possible with the old bluez-utils your way fits better.

If you agree I will add your part / replace my part in the guide and add an author list with your name.
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Tue Jan 29, 2008 6:34 am    Post subject: Reply with quote

Devport wrote:
Nice howto - my small remote control passage is related to ~arch bluez-utils, but due to PAN only being possible with the old bluez-utils your way fits better.

If you agree I will add your part / replace my part in the guide and add an author list with your name.


Yes I agree buddy, do it :)
Back to top
View user's profile Send private message
PaulW21781
n00b
n00b


Joined: 29 Mar 2007
Posts: 15

PostPosted: Wed Jan 30, 2008 11:13 pm    Post subject: Reply with quote

I have one problem with nautilus-sendto...

I've merged it in with the bluetooth flag set, yet when I right-click files and select Send To, all thats listed is Evolution...

Everything else works fine, and I can manually send stuff using the console, its just the send to option which is missing...

any ideas?? I'm on ~amd64
Back to top
View user's profile Send private message
zietbukuel
l33t
l33t


Joined: 30 Dec 2005
Posts: 607

PostPosted: Fri Feb 01, 2008 9:10 am    Post subject: Reply with quote

PaulW21781 wrote:

PostPosted: Wed Jan 30, 2008 6:13 pm Post subject:
I have one problem with nautilus-sendto...

I've merged it in with the bluetooth flag set, yet when I right-click files and select Send To, all thats listed is Evolution...

Everything else works fine, and I can manually send stuff using the console, its just the send to option which is missing...

any ideas?? I'm on ~amd64


Devport wrote:
# send / receive files
- emerge gnome-bluetooth ( tested with version 0.9.1 )
- run gnome-obex-server to be able to receive files via bluetooth
- use gnome-obex-send to send files via bluetooth via command line

Choose an option to add a menu entry to nautilus right click menu to send files via bluetooth :

1. emerge nautilus-sendto with USEFLAG bluetooth
2. emerge nautilus-actions ( ebuild available via sunrise overlay ) and add an action :
- command "gnome-obex-send -d 00:00:00:00:00:00" ( change MAC address to address of mobile phone )
- parameter "%M"


This method will be deprecated by a new version of bluez-gnome which will replace gnome-bluetooth
See http://tadas.dailyda.com/blog/


I use this method, it is way better and stable than nautilus-sendto, which send files with '%20' instead of a space... :)
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Sun Apr 27, 2008 3:18 pm    Post subject: Reply with quote

Added a section about how to sync evolution to a mobile phone - this is very rough so please report any bugs back.
Back to top
View user's profile Send private message
Anon5710
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 232
Location: Belgium

PostPosted: Sun Apr 27, 2008 6:11 pm    Post subject: Reply with quote

I am trying to get pan networking enabled. Internet on my phone trough laptops broad band !

But for some reeson dhcp fails to restart
the error log

Code:

laptop kevin # tail /var/log/messages
Apr 27 20:06:46 localhost dhcpd:
Apr 27 20:06:46 localhost dhcpd: No subnet declaration for eth0 (192.168.2.100).
Apr 27 20:06:46 localhost dhcpd: ** Ignoring requests on eth0.  If this is not what
Apr 27 20:06:46 localhost dhcpd:    you want, please write a subnet declaration
Apr 27 20:06:46 localhost dhcpd:    in your dhcpd.conf file for the network segment
Apr 27 20:06:46 localhost dhcpd:    to which interface eth0 is attached. **
Apr 27 20:06:46 localhost dhcpd:
Apr 27 20:06:46 localhost dhcpd:
Apr 27 20:06:46 localhost dhcpd: Not configured to listen on any interfaces!
Apr 27 20:06:46 localhost dhcpd: exiting.


Any help ?
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Sun Apr 27, 2008 6:21 pm    Post subject: Reply with quote

Did you do the step :

- /etc/conf.d/dhcpd ( change ) :
Code:
DHCPD_IFACE="bnep0"

?
Back to top
View user's profile Send private message
Anon5710
Apprentice
Apprentice


Joined: 23 Jul 2004
Posts: 232
Location: Belgium

PostPosted: Sun Apr 27, 2008 10:41 pm    Post subject: Reply with quote

alright, by redoing everything again.
I am fasing an other error at this moment.

Code:

Apr 28 00:39:05 localhost dhcpd:
Apr 28 00:39:05 localhost dhcpd: No subnet declaration for bnep0 (0.0.0.0).
Apr 28 00:39:05 localhost dhcpd: ** Ignoring requests on bnep0.  If this is not what
Apr 28 00:39:05 localhost dhcpd:    you want, please write a subnet declaration
Apr 28 00:39:05 localhost dhcpd:    in your dhcpd.conf file for the network segment
Apr 28 00:39:05 localhost dhcpd:    to which interface bnep0 is attached. **
Apr 28 00:39:05 localhost dhcpd:
Apr 28 00:39:05 localhost dhcpd:
Apr 28 00:39:05 localhost dhcpd: Not configured to listen on any interfaces!
Apr 28 00:39:05 localhost dhcpd: exiting.



Problem is i have a subnet declaration in for bnep0 in dhcpd.cond

Code:

GNU nano 2.0.7                                 File: /etc/dhcp/dhcpd.conf                                                                       

option domain-name-servers 192.168.2.1;
ddns-update-style interim;

subnet 10.0.0.0 netmask 255.255.255.0 {
        range 10.0.0.10 10.0.0.20;
        option routers 10.0.0.1;
        }



and yes i've changed DHCPD_IFACE="bnep0" correct.

Greetings Anon5710
Back to top
View user's profile Send private message
Devport
Guru
Guru


Joined: 15 Dec 2004
Posts: 361

PostPosted: Sun Apr 27, 2008 10:58 pm    Post subject: Reply with quote

Now you have defined the correct interface. What you are doing now is you try to start the dhcp server without the interface being up. dhcpd will start correctly only when there is an active connection ...

Check what the guide says (!) :

when you connect the phone over bluetooth a bnep0 interface should turn up ( ifconfig bnep0 )
when you connect the phone over bluetooth the bnep0 interface should have the correct ip ( ifconfig bnep0 -> 10.0.0.1 )

If both is the case the dhcp server will startup just fine. Otherwise you first need to fix your bluetooth connection to get the bnep0 interface.
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue Jun 24, 2008 7:56 pm    Post subject: Reply with quote

did anyone tried devel version of gnome-bluetooth? am I the only that can't find gnome-obex-send in this version???
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum