* [Bluez-users] Initialization script
@ 2004-09-28 19:58 Rafael Vidal Aroca
0 siblings, 0 replies; only message in thread
From: Rafael Vidal Aroca @ 2004-09-28 19:58 UTC (permalink / raw)
To: bluez-users
Hello people,
i'm very happy using bluez tools as a wireless internet gateway to
my ipaq via my linux box.
I'll report the way i did it in case anyone is interested:
added the lines to /etc/modules.conf:
alias net-pf-31 bluez
alias bt-proto-0 l2cap
alias bt-proto-2 sco
alias bt-proto-3 rfcomm
alias bt-proto-4 bnep
alias tty-ldisc-15 hci_uart
alias char-major-10-250 hci_vhci
Run the following commands:
---------------------------------------
hciconfig hci0 up
hcid
sdpd
/opt/kde/bin/kbluetoothd
pand --listen --role NAP
dund --listen
dund --listen --msdun call dun
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -j MASQUERADE -o eth0
And set a peer called dund in /etc/ppp/peers.
All worker nicely!
The only problem i have is that i have to issue these commands every
time i turn the computer on.
I tried to edit hotplug's bluefw script so that after inserting my
usb bluetooth dongle, and loading the firmware, i get all user space
apps running.
But it does not work!
Yes, if i issue a ps, i see that all needed daemons are running, but
when my ipaq searches for services, if fails....
any hint to this strange behavior?
thanks
[]s Rafael.
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-09-28 19:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-28 19:58 [Bluez-users] Initialization script Rafael Vidal Aroca
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox