Re: [ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Raj Mathur (राज माथुर)
On Saturday 19 Mar 2011, Raj Mathur (राज माथुर) wrote:
> sdptool shows the "Dialup Networking" group having channel 22.  With
> the necessary change in rfcomm.conf I can use cu to connect fine to
> the phone and get AT commands OKed back from it.  wvdial is
> dialling, now I just need to figure out the dial strings, login,
> etc. for Vodafone.

And to follow-up on my own post, all you need to give to wvdial for 
Vodafone is the phone number to dial: *99***1#

Complete wvdial.conf stanza for dialling Vodafone from your PC through 
the Nokia XpressMusic 5800 bluetooth is:

[Dialer Hutch]
Init1 = ATZ
Init2 = ATE1Q0
Modem = /dev/rfcomm0
Baud = 900
FlowControl = Hardware (CRTSCTS)
Dial Command = ATDT 
Stupid Mode = 1
Password = anything
Username = anything
Phone = *99***1#

Thanks to all who took the time to help, special thanks to Vivek and 
Vikas.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Raj Mathur (राज माथुर)
On Saturday 19 Mar 2011, Vivek Kapoor wrote:
> On Sat, 19 Mar 2011 10:50:57 +0530, "Raj Mathur (राज माथुर)"
> 
>  wrote:
> > That doesn't work, unfortunately.  Just an ATX3 in cu also closes
> > the connection with an error.  As you would expect, wvdial whines
> > about "Modem not responding".
> > 
> > Incidentally, my GSM provider is Vodafone.
> 
> Well, need to have a 5800 to experiment. Though you must have done it
> right, for me it was channel 2 and not channel 1.
> 
> rfcomm0 {
> bind yes;
> device 00:xx:xx:xx:xx:D0;
> channel 2;
> comment "Nokia PPP connect";
> }
> 
> Using `sdptool browse 00:xx:xx:xx:xx:D0` I got the channel number
> from "Dialup Networking" group. Also, the baud was 57600 in my
> wvdial config, though I don't think that would have any impact.

W00t!  That did it!

sdptool shows the "Dialup Networking" group having channel 22.  With the 
necessary change in rfcomm.conf I can use cu to connect fine to the 
phone and get AT commands OKed back from it.  wvdial is dialling, now I 
just need to figure out the dial strings, login, etc. for Vodafone.

Thanks a ton, I owe you one!

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Mahesh T. Pai
Raju Mathur said on Sat, Mar 19, 2011 at 10:55:01AM +0530,:

 > Blueman up and running (though it refuses to transfer files between 
 > phone and computer despite both being nicely paired with each other).  

Probably, this is a clue?  I was faced with this problem earlier, (I
do not use the phone as a modem yet) and found that this went away
after creating a new set of paired devices from Gnome buletooth
manager. Deleted the existing pairing from the list of "known
devices", and used the "add new devices" to scan for and pair with the
phone again.

I am feeling dumb now - stopped using command line for bluetooth /and/
networking for couple of years now; network manager and gnome -
bluetooth are doing things beautifully. (Debian sid + experimental +
gnome).


-- 
Mahesh T. Pai   ||
Learn from the mistakes of others.
You won't live long enough to make all of them yourself.

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Vivek Kapoor
On Sat, 19 Mar 2011 10:50:57 +0530, "Raj Mathur (राज माथुर)"
 wrote:
> 
> That doesn't work, unfortunately.  Just an ATX3 in cu also closes the 
> connection with an error.  As you would expect, wvdial whines about 
> "Modem not responding".
> 
> Incidentally, my GSM provider is Vodafone.
> 

Well, need to have a 5800 to experiment. Though you must have done it
right, for me it was channel 2 and not channel 1.

rfcomm0 {
bind yes;
device 00:xx:xx:xx:xx:D0;
channel 2;
comment "Nokia PPP connect";
}

Using `sdptool browse 00:xx:xx:xx:xx:D0` I got the channel number from
"Dialup Networking" group. Also, the baud was 57600 in my wvdial config,
though I don't think that would have any impact.

Baud = 57600


Regards
Vivek Kapoor
http://exain.com

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Raj Mathur (राज माथुर)
On Saturday 19 Mar 2011, Vikas Rawal wrote:
> > Trying to use my Nokia XpressMusic as a Bluetooth modem under
> > Debian GNU/Linux with no luck.
> 
> I have, in the past, used blueman with network-manager, to connect
> Nokia 5800 to my debian laptop.
> 
> Bluetooth setup on my laptop is currently broken and I have not had
> the time to look into it. But I remember I had googled around and
> after some struggle managed to make it work.
> 
> In sum, blueman+network-manager is an option to consider.

Blueman up and running (though it refuses to transfer files between 
phone and computer despite both being nicely paired with each other).  
Installed NetworkManager, which is not showing any usable wireless 
device tabs for some reason.  Maybe a reboot will help, will work on it.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Raj Mathur (राज माथुर)
On Saturday 19 Mar 2011, Vivek Kapoor wrote:
> Cannot say for sure about 5800, but used the following in E61 & E70
> and worked flawlessly.
> For using 3G (and even EDGE/GPRS), the following works in the init
> string
> 
> AT+CGDCONT=1,"IP","pps3g","",0,0
> 
> via wvdial. The 'pps3g' is the APN (for MTNL). Not sure what's it for
> Airtel.
> 
> An excerpt of the wvdial conf that I use is
> 
> Modem = /dev/rfcomm0
> Init = ATX3
> Init2 = AT+CGDCONT=1,"IP","pps3g","",0,0
> Phone = *99#

That doesn't work, unfortunately.  Just an ATX3 in cu also closes the 
connection with an error.  As you would expect, wvdial whines about 
"Modem not responding".

Incidentally, my GSM provider is Vodafone.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Vikas Rawal
> 
> Trying to use my Nokia XpressMusic as a Bluetooth modem under Debian 
> GNU/Linux with no luck.

I have, in the past, used blueman with network-manager, to connect
Nokia 5800 to my debian laptop.

Bluetooth setup on my laptop is currently broken and I have not had
the time to look into it. But I remember I had googled around and
after some struggle managed to make it work.

In sum, blueman+network-manager is an option to consider.

Vikas



___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


Re: [ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Vivek Kapoor
On Sat, 19 Mar 2011 09:17:21 +0530, "Raj Mathur (राज माथुर)"
 wrote:
> Hi,
> 
> Trying to use my Nokia XpressMusic as a Bluetooth modem under Debian 
> GNU/Linux with no luck.
> 
> The computer and the phone are paired.
> 
> Rfcomm (configured through /etc/bluetooth/rfcomm.conf) works:
> 
>   ~# rfcomm show rfcomm0
>   rfcomm0: th:is:ph:on:em:ac channel 1 clean
> 
> /dev/rfcomm0 exists fine:

Cannot say for sure about 5800, but used the following in E61 & E70 and
worked flawlessly.
For using 3G (and even EDGE/GPRS), the following works in the init string

AT+CGDCONT=1,"IP","pps3g","",0,0

via wvdial. The 'pps3g' is the APN (for MTNL). Not sure what's it for
Airtel.

An excerpt of the wvdial conf that I use is

Modem = /dev/rfcomm0
Init = ATX3
Init2 = AT+CGDCONT=1,"IP","pps3g","",0,0
Phone = *99#


Regards
Vivek Kapoor

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd


[ilugd] Nokia xpressmusic 5800 as Bluetooth modem

2011-03-18 Thread Raj Mathur (राज माथुर)
Hi,

Trying to use my Nokia XpressMusic as a Bluetooth modem under Debian 
GNU/Linux with no luck.

The computer and the phone are paired.

Rfcomm (configured through /etc/bluetooth/rfcomm.conf) works:

  ~# rfcomm show rfcomm0
  rfcomm0: th:is:ph:on:em:ac channel 1 clean

/dev/rfcomm0 exists fine:

  crw-rw 1 root dialout 216, 0 Mar 19 09:10 /dev/rfcomm0

cu(1) can connect to the phone (yes, I'm in dialout group):

  ~$ cu -s 9600 -l /dev/rfcomm0  
  Connected.

But nothing works after that.  A few seconds after I type in AT 
followed by any other character the connection closes:

  cu: write: Input/output error
  Disconnected

Tried wvdial and minicom also, with no success.  Tried other speeds, 
including 19200, 38400, 115200, also with no success.  No application 
has been able to get a response to AT from the phone.

Any tips/pointers, apart from trying another program to test?  I really 
want to get this going to be able to use 3G with the laptop while on the 
move, without having to mess with dongles and cables.

Regards,

-- Raj
-- 
Raj Mathurr...@kandalaya.org  http://kandalaya.org/
   GPG: 78D4 FC67 367F 40E2 0DD5  0FEF C968 D0EF CC68 D17F
PsyTrance & Chill: http://schizoid.in/   ||   It is the mind that moves

___
Ilugd mailing list
Ilugd@lists.linux-delhi.org
http://frodo.hserus.net/mailman/listinfo/ilugd