Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => General Networking Support in Linux => Topic started by: sandeepvignesh on August 21, 2009, 08:44:49 AM

Title: GPRS through Bluetooth in Linux undre Moblin Linux
Post by: sandeepvignesh on August 21, 2009, 08:44:49 AM
Hi,
I am trying to set up a GPRS connection with Bluetooth. I tried connecting to gprs with fedora 9 system and it got connected,whereas the same dint work for me in Moblin(which is a flavour of Linux) and running /var/log/messages shows

pppd:connection script failed

What could be the reason for this. Any help would be appreciated
Title: Re: GPRS through Bluetooth in Linux undre Moblin Linux
Post by: Ricky on August 22, 2009, 07:24:29 PM
In moblin , are you able to connect device using bluetooth ?
Title: Re: GPRS through Bluetooth in Linux undre Moblin Linux
Post by: sandeepvignesh on August 24, 2009, 03:04:34 AM
Yes,I am able to scan and able to pair with the mobile bluetooth device,but clueless about setting up gprs through the mobile device. ???
Title: Re: GPRS through Bluetooth in Linux undre Moblin Linux
Post by: sandeepvignesh on August 24, 2009, 06:10:44 AM
I am getting these messages while connecting to gprs in fedora,



Quote:
[root@localhost ~]# sudo tail /var/log/messages
Aug 24 16:24:18 localhost chat[27995]: -- got it
Aug 24 16:24:18 localhost chat[27995]: send (AT+CGDCONT=1,"IP","Vodafone live"^M)
Aug 24 16:24:18 localhost chat[27995]: expect (OK)
Aug 24 16:24:18 localhost chat[27995]: ^M
Aug 24 16:24:18 localhost chat[27995]: AT+CGDCONT=1,"IP","Vodafone live"^M^M
Aug 24 16:24:18 localhost chat[27995]: OK
Aug 24 16:24:18 localhost chat[27995]: -- got it
Aug 24 16:24:18 localhost chat[27995]: send (ATD*99#^M)
Aug 24 16:24:19 localhost chat[27995]: expect (CONNECT)
Aug 24 16:24:19 localhost chat[27995]: ^M
[root@localhost ~]# sudo tail /var/log/messages
Aug 24 16:24:21 localhost chat[27995]: CONNECT
Aug 24 16:24:21 localhost chat[27995]: -- got it
Aug 24 16:24:21 localhost chat[27995]: send (^M)
Aug 24 16:24:21 localhost pppd[27991]: Serial connection established.
Aug 24 16:24:21 localhost pppd[27991]: Using interface ppp0
Aug 24 16:24:21 localhost pppd[27991]: Connect: ppp0 <--> /dev/rfcomm0
Aug 24 16:24:23 localhost pppd[27991]: local IP address 10.16.81.77
Aug 24 16:24:23 localhost pppd[27991]: remote IP address 10.6.6.6
Aug 24 16:24:23 localhost pppd[27991]: primary DNS address 10.11.230.3
Aug 24 16:24:23 localhost pppd[27991]: secondary DNS address 10.11.230.2 

but whereas in moblin it is not able to take the options from the ppd script. The output is as follows in moblin:

pppd[]: ppd2.4.4 started,UID=0
pppd[]:connection script failed
pppd[]:exit
Title: Re: GPRS through Bluetooth in Linux undre Moblin Linux
Post by: sandeepvignesh on August 25, 2009, 11:56:45 AM
I some how got it working.But, in the var log messages, it is showing the  DNS ip addresses(local and remote). But when I ping for www.google.com, it shows that the host is down. Should some changes be done in the network settings or in the mobile? :(