Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: HOW-TO: GPRS Connection via Bluetooth

  1. #1
    emperon is offline Gee! These Aren't Roasted!
    Join Date
    Jul 2005
    Beans
    162
    Distro
    Ubuntu 6.06
    Hello, i have just succeeded to connect gprs via bluetooth. Currently i am writing from there.

    I have read wirless hacks of oreilly and
    found the solution

    1-) Make sure that you have the appropriate hardware ready. (I tried same phone and notebook in windows it was working.)

    2-) Makesure that bluez-utils is installed via package manager

    3-)open a console and type hcitool scan this should give you the BD address of your phone, take a note of this number

    4-)type sdptool search DUN from the out put take a note of channel number

    5-)make sure that you have written your pin number in /etc/bluetooth/pin (any 4 digit number is ok , you will use the same number through the phone)

    6-) type rfcomm bind /dev/rfcomm0 X:X:X:X:X:X channel_number_noted using the channel number noted earlier as X denotes BD address.

    7-) test it by typing rfcomm you should see the channel is clear or closed, both are ok e.g. rfcomm0: X:X:X:X:X:X channel 1 clean

    8 -) create the following file as root : /etc/ppp/peers/gprs

    9-) Put the following inside:
    Code:
     
    /dev/rfcomm0
    connect '/usr/sbin/chat -v -f /etc/ppp/peers/gprs.chat' 
            noauth 
            defaultroute 
            usepeerdns 
            lcp-echo-interval 65535 
            debug
    10-) Create the following file as root: /etc/ppp/peers/gprs.chat' and put the following
    Code:
    TIMEOUT                 15         
    ECHO                    ON 
    HANGUP                  ON       
    ''                              AT 
    OK                              ATZ      
    OK                              ATD*99*#
    Here you may need to change *99*#, it should be the number you dial. In Turkey it is that, in some countries it is *99# or *99***1#, consult your GSM provider.

    11-) Go to your phone and initiate pairing by using the same pin and confirm all things from phone

    12-) type sudo pppd nomagic call gprs and confirm the connection with your phone

    That's it, your gprs connections should be working now, enjoy surfing
    Last edited by emperon; January 17th, 2006 at 03:15 PM.

  2. #2
    Join Date
    Jan 2006
    Beans
    8

    Re: HOW-TO: GPRS Connection via Bluetooth

    I've followed the steps and it seems to work fine until I tried to dial using "sudo pppd nomagic call gprs". The phone ask to accept the connection but does not initiate GPRS.

    RFCOMM0 channel 1 is clean (assume this means its working)
    The phone and notebook is ok (verified to on Win XP).
    Bluetooth seems ok (can transfer files in/out)

    I'm a newbie in linux. What could be wrong?

  3. #3
    emperon is offline Gee! These Aren't Roasted!
    Join Date
    Jul 2005
    Beans
    162
    Distro
    Ubuntu 6.06

    Re: HOW-TO: GPRS Connection via Bluetooth

    Quote Originally Posted by keikoh
    I've followed the steps and it seems to work fine until I tried to dial using "sudo pppd nomagic call gprs". The phone ask to accept the connection but does not initiate GPRS.

    RFCOMM0 channel 1 is clean (assume this means its working)
    The phone and notebook is ok (verified to on Win XP).
    Bluetooth seems ok (can transfer files in/out)

    I'm a newbie in linux. What could be wrong?
    Hello, I also have encountered similar problems. You may try "sudo pppd call gprs" instead of last step. In my computer samething happen when i don't use nomagic option. I thought it fixes an echo bug in pppd.

    Now to get further information you have to carefully analyze /var/log/messages and /var/log/syslog and figure out why pppd terminates. Post the log files here and i will also try to understand.

    But shortly, usually problem is because of pppd (as if it is normal dial-up) not because of gprs or bluetooth.

    Also make sure that the number (e.g. *99*# ) you dialed matches to your GSM provider's

    Additionally always remove the pairing that remains from windows and make a fresh pairing process and if your bluetooth device has a button a physical restart may fix your problem.
    Last edited by emperon; January 19th, 2006 at 10:11 AM.

  4. #4
    Join Date
    Jan 2006
    Beans
    8

    Re: HOW-TO: GPRS Connection via Bluetooth

    Hi, Thank you for your response. I think its pppd also. New pairing is always done everytime before I try this. Pls note below, From console, taidaniel@TaiDaniel:~$ rfcomm rfcomm0: 00:E0:03:42B:1D channel 1 clean taidaniel@TaiDaniel:~$ sudo pppd call gprs taidaniel@TaiDaniel:~$

    Syslog
    Jan 19 20:22:59 localhost kernel: [4298533.155000] PPP generic driver version 2.4.2
    Jan 19 20:22:59 localhost pppd[21235]: pppd 2.4.3 started by root, uid 0
    Jan 19 20:23:03 localhost hcid[8252]: link_key_request (sba=00:10:C6:77:C2:9F, dba=00:E0:03:42B:1D)
    Jan 19 20:23:03 localhost pppd[21235]: Failed to open /dev/rfcomm0: Connection refused
    Jan 19 20:23:03 localhost pppd[21235]: Exit.
    Jan 19 20:29:29 localhost kernel: [4298922.870000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:29:29 localhost kernel: [4298922.870000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:32:36 localhost dhclient: DHCPREQUEST on eth1 to 192.168.1.1 port 67
    Jan 19 20:32:36 localhost dhclient: DHCPACK from 192.168.1.1
    Jan 19 20:32:36 localhost dhclient: bound to 192.168.1.22 -- renewal in 1466 seconds.
    Jan 19 20:32:55 localhost kernel: [4299129.154000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:32:55 localhost kernel: [4299129.154000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:32:57 localhost kernel: [4299130.906000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:32:57 localhost kernel: [4299130.906000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:32:57 localhost kernel: [4299131.172000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:32:57 localhost kernel: [4299131.172000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:32:58 localhost kernel: [4299132.105000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:32:58 localhost kernel: [4299132.105000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:00 localhost kernel: [4299134.115000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:00 localhost kernel: [4299134.115000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:00 localhost kernel: [4299134.653000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:00 localhost kernel: [4299134.653000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:05 localhost kernel: [4299139.725000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:05 localhost kernel: [4299139.725000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:07 localhost kernel: [4299140.787000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:07 localhost kernel: [4299140.787000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:07 localhost kernel: [4299141.181000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:07 localhost kernel: [4299141.181000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:07 localhost kernel: [4299141.414000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:07 localhost kernel: [4299141.414000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:08 localhost kernel: [4299142.033000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:08 localhost kernel: [4299142.033000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:08 localhost kernel: [4299142.226000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:08 localhost kernel: [4299142.226000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:09 localhost kernel: [4299142.965000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:09 localhost kernel: [4299142.965000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:11 localhost kernel: [4299145.004000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:11 localhost kernel: [4299145.004000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:13 localhost kernel: [4299147.621000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:13 localhost kernel: [4299147.621000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:14 localhost kernel: [4299148.369000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:14 localhost kernel: [4299148.369000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:15 localhost kernel: [4299149.314000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:15 localhost kernel: [4299149.314000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:23 localhost kernel: [4299157.225000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:23 localhost kernel: [4299157.225000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:23 localhost kernel: [4299157.586000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:23 localhost kernel: [4299157.586000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:24 localhost kernel: [4299157.875000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:24 localhost kernel: [4299157.875000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:25 localhost kernel: [4299158.832000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:25 localhost kernel: [4299158.832000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:25 localhost kernel: [4299159.339000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:25 localhost kernel: [4299159.339000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:26 localhost kernel: [4299159.813000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:26 localhost kernel: [4299159.813000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:26 localhost kernel: [4299160.232000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:26 localhost kernel: [4299160.232000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:26 localhost kernel: [4299160.682000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:26 localhost kernel: [4299160.682000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:27 localhost kernel: [4299160.923000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:27 localhost kernel: [4299160.923000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:27 localhost kernel: [4299161.164000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:27 localhost kernel: [4299161.164000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:27 localhost kernel: [4299161.357000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:27 localhost kernel: [4299161.357000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:27 localhost kernel: [4299161.558000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:27 localhost kernel: [4299161.558000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:28 localhost kernel: [4299161.968000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:28 localhost kernel: [4299161.968000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:29 localhost kernel: [4299162.868000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:29 localhost kernel: [4299162.868000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:30 localhost kernel: [4299164.605000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:30 localhost kernel: [4299164.605000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:31 localhost kernel: [4299165.144000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:31 localhost kernel: [4299165.144000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:33 localhost kernel: [4299167.174000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:33 localhost kernel: [4299167.174000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:13 localhost kernel: [4299327.151000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:13 localhost kernel: [4299327.151000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:13 localhost kernel: [4299327.384000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:13 localhost kernel: [4299327.384000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:13 localhost kernel: [4299327.561000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:13 localhost kernel: [4299327.561000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:13 localhost kernel: [4299327.762000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:13 localhost kernel: [4299327.762000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:14 localhost kernel: [4299327.940000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:14 localhost kernel: [4299327.940000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:14 localhost kernel: [4299328.116000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:14 localhost kernel: [4299328.116000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299328.945000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299328.945000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299329.137000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299329.137000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299329.330000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299329.330000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299329.507000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299329.507000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299329.716000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299329.716000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:16 localhost kernel: [4299330.175000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:16 localhost kernel: [4299330.175000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:16 localhost kernel: [4299330.367000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:16 localhost kernel: [4299330.367000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:17 localhost kernel: [4299331.505000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:17 localhost kernel: [4299331.505000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:17 localhost kernel: [4299331.762000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:17 localhost kernel: [4299331.762000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.

    messages
    Jan 19 20:22:03 localhost kernel: [4298477.484000] atkbd.c: Unknown key pressed (translated set 2, code 0xf8 on isa0060/serio0).
    Jan 19 20:22:03 localhost kernel: [4298477.484000] atkbd.c: Use 'setkeycodes e078 <keycode>' to make it known.
    Jan 19 20:22:03 localhost kernel: [4298477.589000] atkbd.c: Unknown key released (translated set 2, code 0xf8 on isa0060/serio0).
    Jan 19 20:22:03 localhost kernel: [4298477.589000] atkbd.c: Use 'setkeycodes e078 <keycode>' to make it known.
    Jan 19 20:22:04 localhost kernel: [4298478.186000] usb 2-2: new full speed USB device using uhci_hcd and address 3
    Jan 19 20:22:04 localhost kernel: [4298478.572000] Bluetooth: HCI USB driver ver 2.8
    Jan 19 20:22:04 localhost usb.agent[20898]: hci_usb: already loaded
    Jan 19 20:22:05 localhost usb.agent[20914]: hci_usb: already loaded
    Jan 19 20:22:05 localhost kernel: [4298478.670000] usbcore: registered new driver hci_usb
    Jan 19 20:22:05 localhost usb.agent[20908]: hci_usb: loaded successfully
    Jan 19 20:22:05 localhost usb.agent[20876]: hci_usb: already loaded
    Jan 19 20:22:59 localhost kernel: [4298533.152000] CSLIP: code copyright 1989 Regents of the University of California
    Jan 19 20:22:59 localhost kernel: [4298533.155000] PPP generic driver version 2.4.2
    Jan 19 20:22:59 localhost pppd[21235]: pppd 2.4.3 started by root, uid 0
    Jan 19 20:23:03 localhost pppd[21235]: Exit.
    Jan 19 20:29:29 localhost kernel: [4298922.870000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:29:29 localhost kernel: [4298922.870000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:32:55 localhost kernel: [4299129.154000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:32:55 localhost kernel: [4299129.154000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:32:57 localhost kernel: [4299130.906000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:32:57 localhost kernel: [4299130.906000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:32:57 localhost kernel: [4299131.172000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:32:57 localhost kernel: [4299131.172000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:32:58 localhost kernel: [4299132.105000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:32:58 localhost kernel: [4299132.105000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:00 localhost kernel: [4299134.115000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:00 localhost kernel: [4299134.115000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:00 localhost kernel: [4299134.653000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:00 localhost kernel: [4299134.653000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:05 localhost kernel: [4299139.725000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:05 localhost kernel: [4299139.725000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:07 localhost kernel: [4299140.787000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:07 localhost kernel: [4299140.787000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:07 localhost kernel: [4299141.181000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:07 localhost kernel: [4299141.181000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:07 localhost kernel: [4299141.414000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:07 localhost kernel: [4299141.414000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:08 localhost kernel: [4299142.033000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:08 localhost kernel: [4299142.033000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:08 localhost kernel: [4299142.226000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:08 localhost kernel: [4299142.226000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:09 localhost kernel: [4299142.965000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:09 localhost kernel: [4299142.965000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:11 localhost kernel: [4299145.004000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:11 localhost kernel: [4299145.004000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:13 localhost kernel: [4299147.621000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:13 localhost kernel: [4299147.621000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:14 localhost kernel: [4299148.369000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:14 localhost kernel: [4299148.369000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:15 localhost kernel: [4299149.314000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:15 localhost kernel: [4299149.314000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:23 localhost kernel: [4299157.225000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:23 localhost kernel: [4299157.225000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:23 localhost kernel: [4299157.586000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:23 localhost kernel: [4299157.586000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:24 localhost kernel: [4299157.875000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:24 localhost kernel: [4299157.875000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:25 localhost kernel: [4299158.832000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:25 localhost kernel: [4299158.832000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:25 localhost kernel: [4299159.339000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:25 localhost kernel: [4299159.339000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:26 localhost kernel: [4299159.813000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:26 localhost kernel: [4299159.813000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:26 localhost kernel: [4299160.232000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:26 localhost kernel: [4299160.232000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:26 localhost kernel: [4299160.682000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:26 localhost kernel: [4299160.682000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:27 localhost kernel: [4299160.923000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:27 localhost kernel: [4299160.923000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:27 localhost kernel: [4299161.164000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:27 localhost kernel: [4299161.164000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:27 localhost kernel: [4299161.357000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:27 localhost kernel: [4299161.357000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:27 localhost kernel: [4299161.558000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:27 localhost kernel: [4299161.558000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:28 localhost kernel: [4299161.968000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:28 localhost kernel: [4299161.968000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:29 localhost kernel: [4299162.868000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:29 localhost kernel: [4299162.868000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:30 localhost kernel: [4299164.605000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:30 localhost kernel: [4299164.605000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:31 localhost kernel: [4299165.144000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:31 localhost kernel: [4299165.144000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:33:33 localhost kernel: [4299167.174000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:33:33 localhost kernel: [4299167.174000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:13 localhost kernel: [4299327.151000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:13 localhost kernel: [4299327.151000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:13 localhost kernel: [4299327.384000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:13 localhost kernel: [4299327.384000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:13 localhost kernel: [4299327.561000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:13 localhost kernel: [4299327.561000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:13 localhost kernel: [4299327.762000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:13 localhost kernel: [4299327.762000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:14 localhost kernel: [4299327.940000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:14 localhost kernel: [4299327.940000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:14 localhost kernel: [4299328.116000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:14 localhost kernel: [4299328.116000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299328.945000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299328.945000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299329.137000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299329.137000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299329.330000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299329.330000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299329.507000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299329.507000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:15 localhost kernel: [4299329.716000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:15 localhost kernel: [4299329.716000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:16 localhost kernel: [4299330.175000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:16 localhost kernel: [4299330.175000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:16 localhost kernel: [4299330.367000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:16 localhost kernel: [4299330.367000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:17 localhost kernel: [4299331.505000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:17 localhost kernel: [4299331.505000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Jan 19 20:36:17 localhost kernel: [4299331.762000] atkbd.c: Unknown key released (translated set 2, code 0xaa on isa0060/serio0).
    Jan 19 20:36:17 localhost kernel: [4299331.762000] atkbd.c: Use 'setkeycodes e02a <keycode>' to make it known.
    Last edited by keikoh; January 19th, 2006 at 01:42 PM.

  5. #5
    emperon is offline Gee! These Aren't Roasted!
    Join Date
    Jul 2005
    Beans
    162
    Distro
    Ubuntu 6.06

    Re: HOW-TO: GPRS Connection via Bluetooth

    Clearly there's very little info in your log files. But know i also consider it as a bluetooth problem rather than a pppd. If it was because of pppd then you should have seen some more detailed messages.

    At this point it even doesn't run your chat scripts and terminates. The connection is refused to device. I have got exactly the same error, and searching down it through google and this forum gave me nothing. Finally i realized that it was either because of my previous pairing remains or I have to restart the bluetooth physically. In my laptop I have a bluetooth button (hp nx7010). And after I log in, I turn it of and turn it on (and remove the previous pairing from the phone and research and pair it again). Remember you should initiate pairing from the phone. Otherwise you have to use a pinhelper progam (which is designated in /etc/bluetooth/hcid.conf) and it even doesn't work at all. When I have time I will post my own configuration files and my logs so that you can compare.

    To sum up, I say concentrate on bluetooth, as told, your scripts even doesn't start.

    I hope it helps
    Last edited by emperon; January 20th, 2006 at 09:08 AM.

  6. #6
    Join Date
    Feb 2006
    Beans
    2

    Re: HOW-TO: GPRS Connection via Bluetooth

    I had the same symptom as keikoh, and in my case I had forgot to connect from the phone to the pc (your point 11 above).

    Also, I changed the pincode in /etc/bluetooth/pin, after that something had to be restarted, don't know what.

    I also think there should be a CONNECT statement at the botom of the chat script, else the ppp connection will disconnect immediately (indicated on phone), and the ppp daemon will endlessly repeat the first lcp-message.

  7. #7
    Join Date
    Jan 2006
    Beans
    8

    Re: HOW-TO: GPRS Connection via Bluetooth

    Finally got it! I figured I did everything right as suggested so it must be the earlier things I did that was screwing bluetooth. I removed /var/lib/bluetooth/xxx and paired again with the phone.
    Rebooted, Dial with KPPP, VOILA! I'm typing this message 8D

  8. #8
    Join Date
    Oct 2005
    Location
    Swift Current, Newfoundland, Canada
    Beans
    195
    Distro
    Kubuntu 6.06

    Re: HOW-TO: GPRS Connection via Bluetooth

    oh yay, now i want a bluetooth cellphone :/

  9. #9
    Join Date
    Aug 2005
    Beans
    19

    Re: HOW-TO: GPRS Connection via Bluetooth

    I've posted a more complete guide to the wiki:
    https://wiki.ubuntu.com/BluetoothDialup

  10. #10
    Join Date
    Nov 2005
    Beans
    13
    Distro
    Ubuntu 6.06

    Re: HOW-TO: GPRS Connection via Bluetooth

    Could anybody tell me how to disconnect after you have your computer connected to the internet via your phone with bluetooth?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •