DNS problem using Treo with bluetooth. Fedora Core 3.



Hi all

I hope somebody can help with this because I'm totally bamboozled. I also hope I have found the right list, please redirect me if there is a more appropriate place.

Aim: to connect my Treo 650 to the PC via bluetooth so that the Treo can use the PC's internet connection. Problem: I can establish the bluetooth PPP link but I cannot get DNS to work on the Treo. From the Treo I can ping the PC, I can ping the local DNS server, and I can even ping outside IP addresses, but I cannot get any domain names to resolve. I have set the same DNS (10.0.0.2) on the Treo as on the PC but it just refuses to work!!

For completeness here are the details of how I am connecting the two devices:

1) dund config file /etc/ppp/peers/dun with the following values. Here 10.0.0.5 is the local IP address of my PC, 10.0.0.10 is the IP of my Treo, and 10.0.0.2 (the IP of my router) is the DNS as used in /etc/resolv.conf

115200
noauth
local
proxyarp
nodefaultroute
noipx
idle 0
10.0.0.5:10.0.0.10
ms-dns 10.0.0.2
netmask 255.0.0.0
debug

2) Start bluetooth services

# hcid
# sdpd

3) Turn IP forwarding on

# echo 1 > /proc/sys/net/ipv4/ip_forward

4) Start dund

# dund --listen --persist --msdun call dun

5) Now from my Treo I connect to the network over bluetooth. When connected /var/log/messages tells me nice things, all looks good:

May  9 21:14:32 localhost udev[6311]: creating device node '/dev/rfcomm0'
May 9 21:14:32 localhost 05-pam_console.dev[6314]: Restoring console permissions for /dev/rfcomm0
May  9 21:14:33 localhost dund[6307]: New connection from 00:07:E0:07:05:3E
May  9 21:14:33 localhost pppd[6323]: pppd 2.4.2 started by root, uid 0
May  9 21:14:33 localhost pppd[6323]: Using interface ppp0
May  9 21:14:33 localhost pppd[6323]: Connect: ppp0 <--> /dev/rfcomm0
May  9 21:14:36 localhost pppd[6323]: local  IP address 10.0.0.5
May  9 21:14:36 localhost pppd[6323]: remote IP address 10.0.0.10

6) From the Treo I can ping 10.0.0.5, 10.0.0.2 and also external IP addresses like 64.233.183.104 (google) but I cannot get any domain names resolved. Ping google.com results in a timeout, Blazer times out, Versamail can't find the servers, etc.

I've looked at this problem for 2 days now and just can't figure out what is wrong. Currently I have the Treo set up to use automatic DNS, but I have also tried manually entering 10.0.0.2 for the DNS and still no joy. I also tried dozens of variations on the above based on google-research but again no joy. Any ideas where I've gone wrong?

Thanks for your time, I hope somebody can help!
Chris





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]