OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: woodbri on July 21, 2004, 11:44:51 pm
-
Hi all,
So now I have a working and supported Ambicom BT2000E Bluetooth card and
Z5500
ROM 3.13
2.4.18-rmk-pxa3-embedix from Sharp
bluez-bt950-cs-high-speed v1.0.0
bluez-csr-serial v0.1
bluez-zarus v2.3-2.4.18e
qtopia-bluetoothnetworkapplet v1.0.1
qtopia-pannetworkapplet v1.0.1
sudo
susp-resume
susp-resume-bluez
the host is a win2k box with a widdcom bluetooth usb dongle which I can connect to my bluetooth GPS. I followed the Bluetooth FAQ (hopefully) and on my win2k box the Bluetooth "My Network Access" is configure as:
Allow other devices to access the Internet/LAN via this computer.
The [Configure Network Adapter] properties for TCP/IP are:
IP: 192.168.129.1/255.255.255.0
Default gateway: 10.1.1.5
The win2k's ethernet is configured as:
IP: 10.1.1.7/255.255.255.0
Default gateway: 10.1.1.5 <- wireless/wired router with DHCP, firewall, NAT and connected to DSL
DNS: 10.1.1.50
So that is the setup; I have had some successes and some failures and need help:
following the bluetooth PAN setup FAQ
hciconfig reports the MAC addess
hcitool scan reports the MAC address of my win2k box and my bluetooth GPS
pand ... failed with error: "Failed to open control socket: ..."
I googled around and was able to install bnep.o by:
sudo /sbin/depmod -a
sudo insmod bnep
sudo pand --role PANU --service NAP --connect xx:xx:xx:xx:xx:xx --nodetach
worked using the win2k MAC address. I got a bunch of dialog boxes about the Z connecting and ok'd everything.
sudo ifconfig bnep0 192.168.129.201
Problem 1:
If the Z is in the docking station, then I get dialog boxes warning me:
Network conflict detected. Two connections (USB, serial, wireless) are using the same network. "192.168.129.0/24"
If I remove the Z from the docking station I can continue with:
ping 192.168.129.1 # works
sudo route add default gw 192.168.129.1 # excutes without errors
ping 64.233.161.99 # www.google.com
ping: sento: Network is unreachable
ping 192.168.129.1 # still works
and that is as far as I can get
Questions:
1) What do I need to do to have BT PAN working while I'm pluged into docking station?
2) What seems to be the problem with the network config or routing?
3) How do I attach the GPS to the Z with BT and have it look like a serial device?
4) Is there something "magical" about 192.168.129.201 address or can I use any private network IP? Like the 10.1.1.xx or 10.1.2.xx series that I am already using on the rest of my private net. Better yet what would you recommend given the above details.
You guys are really great and I appreciate the help.
-
I got this working finally it turned out to be a couple of things.
1) I had too many bluez packages installed, see this thread (https://www.oesf.org/forums/index.php?showtopic=5837).
2) a networking problem that turned out to be that I had not turned on the "Internet Sharing for Connection" on the win2k box
Once I got these straightened out just using the Network widget brought up the connection, but only if the Z is NOT in the docking station. When it is in the docking station, it thinks that there is USB network connection and complains.
I'm thinking that this should be fixable, ie: have it automatically switch from USB to bluetooth and back depending on if it detects when it is pluged into or out of the USB. Does anyone know know what controls this?
-
I finally got this working. Most of the problem was having too many blusez ipks loaded. Check on this THREAD (https://www.oesf.org/forums/index.php?showtopic=5837) for more information.
Once I got the ipks straighten out, things ran much smoother just following the Bluetooth FAQ.
Thanks everyone - you guys are awsome!