public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] pand + dev-up
@ 2007-02-18 15:01 slompf
  2007-02-18 16:59 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: slompf @ 2007-02-18 15:01 UTC (permalink / raw)
  To: bluez-users

Hi,

im connecting my SE M600i using pand. The commands are:

pand -c bt_addr -r NAP -d PANU
ifconfig bnep0 ip_for_bnep

That works so far.

Now i would like to automate the ifconfig. In the man page there are to
possibilities to do that. First with the -u option, second by
using /etc/bluetooth/pan/dev-up. Both seem not to work.

1.) If I try the first possibility, with:
pand -c bt_addr -r NAP -d PANU -u /path/script.sh
,nothing happens, but the bnep interface is shown by ifconfig -a. So I
would have to type 
ifconfig bnep0 ip_for_bnep 
by hand. It seems the script has not been started, because if I write
sth like 
echo foo> tempDat.txt
the file does not appear too.

2.) If I dont use the -u option the same symptoms are showing.

My script does only contain one line:
ifconfig bnep0 ip_for_bnep <or> ifconfig $1 ip_for_bnep


Any idea what Im doing wrong?

Reagards
Torsten



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-users] pand + dev-up
  2007-02-18 15:01 [Bluez-users] pand + dev-up slompf
@ 2007-02-18 16:59 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-02-18 16:59 UTC (permalink / raw)
  To: BlueZ users

Hi Torsten,

> im connecting my SE M600i using pand. The commands are:
> 
> pand -c bt_addr -r NAP -d PANU
> ifconfig bnep0 ip_for_bnep
> 
> That works so far.
> 
> Now i would like to automate the ifconfig. In the man page there are to
> possibilities to do that. First with the -u option, second by
> using /etc/bluetooth/pan/dev-up. Both seem not to work.
> 
> 1.) If I try the first possibility, with:
> pand -c bt_addr -r NAP -d PANU -u /path/script.sh
> ,nothing happens, but the bnep interface is shown by ifconfig -a. So I
> would have to type 
> ifconfig bnep0 ip_for_bnep 
> by hand. It seems the script has not been started, because if I write
> sth like 
> echo foo> tempDat.txt
> the file does not appear too.
> 
> 2.) If I dont use the -u option the same symptoms are showing.
> 
> My script does only contain one line:
> ifconfig bnep0 ip_for_bnep <or> ifconfig $1 ip_for_bnep

I actually never used this functionality of pand. All bnepX devices are
hotplug capable and you can use the network infrastructure of your
distribution to auto-setup them.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-02-18 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-18 15:01 [Bluez-users] pand + dev-up slompf
2007-02-18 16:59 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox