NAP problem
Hi all!!
I hava a Debian Sarge PC as a NAP for a bluetooth network. The computer is also connected to an ADSL.
This is my etc/network/interfaces file:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
# The loopback interface
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation# (network, broadcast and gateway are optional) auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1# bluetooth network server
iface bnep0 inet static
address 10.0.0.1
netmask 255.255.255.0eth0 is the ADSL connection an bnep0 is the bluetooth connection.
My /etc/bluetooth/pan/dev-up file:
#!/bin/sh
ifup bnep0
I think everytime a client connects it runs /etc/bluetooth/pan/dev-up. Everything was working fine, but after updating packages with apt-get everytime a client connects I have to configure bnep0 interface by hand (ifup bnep0).
¿Does anybody know why /etc/bluetooth/pan/dev-up does not work now? ¿How can I configure bnep0 interface automaticaly?
Thanks in advance!!
JOSE
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Jose,
Quoted 1 line
I hava a Debian Sarge PC as a NAP for a bluetooth network. The computer=
=20
Quoted 25 lines
is also connected to an ADSL.
=20
This is my etc/network/interfaces file:# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8) =20 # The loopback interface auto lo iface lo inet loopback =20 # The first network card - this entry was created during the Debian=20 installation# (network, broadcast and gateway are optional) auto eth0 iface eth0 inet static address 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1 =20 # bluetooth network server iface bnep0 inet static address 10.0.0.1 netmask 255.255.255.0 =20 eth0 is the ADSL connection an bnep0 is the bluetooth connection.
Quoted 8 lines
=20 My /etc/bluetooth/pan/dev-up file: #!/bin/sh ifup bnep0 =20 I think everytime a client connects it runs /etc/bluetooth/pan/dev-up.=20 Everything was working fine, but after updating packages with apt-get=20 everytime a client connects I have to configure bnep0 interface by hand=
=20
Quoted 3 lines
(ifup bnep0).
=20
=BFDoes anybody know why/etc/bluetooth/pan/dev-updoes not work now? =BF=
How=20
Quoted 1 line
can I configure bnep0 interface automaticaly?
what about putting "auto bnep0" into the interfaces file ;)
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
A message that is not in the archive (sent off-list or not yet received): [email protected]
Marcel Holtmann
maintainerHi Jose,
Quoted 1 line
Quoted 1 line
Quoted 1 line
I hava a Debian Sarge PC as a NAP for a bluetooth network. The comput=
er=20
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
is also connected to an ADSL.
This is my etc/network/interfaces file:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8=
)
Quoted 20 lines
Quoted 20 lines
Quoted 20 lines
# The loopback interface
auto lo
iface lo inet loopback# The first network card - this entry was created during the Debian=20 installation# (network, broadcast and gateway are optional) auto eth0
iface eth0 inet staticaddress 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1# bluetooth network server iface bnep0 inet static address 10.0.0.1 netmask 255.255.255.0
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
eth0 is the ADSL connection an bnep0 is the bluetooth connection.
My
/etc/bluetooth/pan/dev-upfile:
#!/bin/sh
ifup bnep0I think everytime a client connects it runs /etc/bluetooth/pan/dev-up=
.=20
Quoted 1 line
Quoted 1 line
Quoted 1 line
Everything was working fine, but after updating packages with apt-get=
=20
Quoted 1 line
Quoted 1 line
Quoted 1 line
everytime a client connects I have to configure bnep0 interface by ha=
nd=20
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
(ifup bnep0).
=BFDoes anybody know why
/etc/bluetooth/pan/dev-updoes not work now?=
=BFHow=20
Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
can I configure bnep0 interface automaticaly?
=20what about putting "auto bnep0" into the interfaces file ;)
I tried this but it doesn't work. It was working fine with this=20 interfaces file, but now :-(
my fault, the auto is for the boot time. You don't need any extra stuff and you also don't need any PAN dev-up script. Check your hotplug installation why it is not working. It is not a BlueZ problem.
Quoted 1 line
=BFShould
/etc/bluetooth/pan/dev-uprun everytime a client connects? If=
I=20
Quoted 1 line
run that scrip manualy everythig works fine.
I don't know, because I never used it.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 67 lines · Marcel Holtmann
Hi Jose,
Quoted 36 lines
Quoted 36 lines
Quoted 36 lines
I hava a Debian Sarge PC as a NAP for a bluetooth network. The computer is also connected to an ADSL.
This is my etc/network/interfaces file:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)# The loopback interface
auto lo
iface lo inet loopback# The first network card - this entry was created during the Debian installation# (network, broadcast and gateway are optional) auto eth0
iface eth0 inet staticaddress 192.168.0.2 netmask 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 gateway 192.168.0.1# bluetooth network server iface bnep0 inet static address 10.0.0.1 netmask 255.255.255.0eth0 is the ADSL connection an bnep0 is the bluetooth connection.
My
/etc/bluetooth/pan/dev-upfile:
#!/bin/sh
ifup bnep0I think everytime a client connects it runs
/etc/bluetooth/pan/dev-up. Everything was working fine, but after updating packages with apt-get everytime a client connects I have to configure bnep0 interface by hand (ifup bnep0).¿Does anybody know why
/etc/bluetooth/pan/dev-updoes not work now? ¿How can I configure bnep0 interface automaticaly?Quoted 7 lines
Quoted 4 lines
what about putting "auto bnep0" into the interfaces file ;)
I tried this but it doesn't work. It was working fine with this interfaces file, but now :-(
my fault, the auto is for the boot time. You don't need any extra stuff and you also don't need any PAN dev-up script. Check your hotplug installation why it is not working. It is not a BlueZ problem.
Quoted 3 lines
¿Should
/etc/bluetooth/pan/dev-uprun everytime a client connects? If I run that scrip manualy everythig works fine.I don't know, because I never used it.
Regards
Marcel
Quoted 12 lines
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=dnemail3
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Thank you very much for your time and your help :-)
Jose