public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Pavel Ruzicka <pavouk@pavouk.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] IP address
Date: Thu, 10 Feb 2005 19:16:13 +0100	[thread overview]
Message-ID: <200502101916.14086.pavouk@pavouk.org> (raw)
In-Reply-To: <008901c50f7e$eccd4a60$7aac623e@pc>

Hi,

> Is it possible to assign the ip-address to each laptop/dongle before
> creating connections?

I depends on distribution.
In Mandrake, Redhat and maybe others you can preconfigure parameters for first 
bnep interface in file:
/etc/sysconfig/network-scripts/ifcfg-bnep0
File looks like this:
-----
DEVICE=bnep0
BOOTPROTO=static
IPADDR=192.168.100.1
NETMASK=255.255.255.252
ONBOOT=no
-----

bnep1 can look like this:
-----
DEVICE=bnep1
BOOTPROTO=static
IPADDR=192.168.100.5
NETMASK=255.255.255.252
ONBOOT=no
-----

This is example for configuring many Point-to-Point BNEP connections.
IP 1 with 2, 5 with 6 etc...
You must have enabled routing in kernel.
For automatic enabling/disabling you must have functional hotplug.

If you want LAN with one big address space like 192.168.1.0
with mask 255.255.255.0, you must run bridge on your machine.

Some documentation is here:
http://bluez.sourceforge.net/contrib/HOWTO-PAN

Best regards,

Pavel Ruzicka


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  parent reply	other threads:[~2005-02-10 18:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-08 13:43 [Bluez-users] Some documentation Filipa Duarte
2005-02-08 16:43 ` Marcel Holtmann
2005-02-10 14:41   ` [Bluez-users] IP address Jers
2005-02-10 14:51     ` Marcel Holtmann
2005-02-10 18:16     ` Pavel Ruzicka [this message]
2005-02-28 18:02   ` [Bluez-users] Some documentation benbouzid imad
2005-02-28 18:15     ` Marcel Holtmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200502101916.14086.pavouk@pavouk.org \
    --to=pavouk@pavouk.org \
    --cc=bluez-users@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox