The archives for June 7th, 2008


Down 7

Like connecting itself to Internet with: cellular bluetooth gnome ppp

Till little tiny ones ago I used the cable usb in order to connect the cellular one to the PC and to connect to me to Internet. However, having acquired some time ago a chiavetta bluetooth, they are said to me: Why not to use it for a beautiful logon without threads?
Here my procedure:

  1. To connect the adapter bluetooth to the PC and to make sure that or be recognized using the commando hcitool dev; to me Devices comes outside:
    hci0 00:09: DD: 50: 2A: 78;
  2. to shape the modem rendering it trovabile (every cellular one has its procedure), to approach it the PC and launch hcitool scan. My result is this: Scanning…
    00:1 and: E2: 44: 67: 34 SGH-U700;
  3. now we see to find the channel number that our cellular one assigns to the Dial-up service launch:
    I sudo sdptool browse 00:1 and: E2: 44: 67: 34; it will come some outside a long series of information, we we must try the written Service Name: Dialup Networking and under of it Channel: x (in my Channel case: 3);
  4. to create the bridge (binding) between our cellular and computer being opened the rows rfcomm (Radius Frequency Communications) - I sudo gedit /etc/bluetooth/rfcomm.conf and carrying out the following modifications:

    to decommentare the line rfcomm0 {;
    to decommentare “bind” and we do not replace it with “bind yes”;
    to the voice “device Bluetooth address of the” to write device 00:1 and: E2: 44: 67: 34; (this last one is the univocal number of my cellular one, will change naturally it with yours);
    to decommentare “RFCOMM channel for the connection” and to write channel: 3 (the channel of mine samsung; you will change for you is various); obviously it is necessary to decommentare the closing parenthesis};

  5. now it must shape the device bluetooth of our PC; to open the rows hcid.conf with I sudo gedit /etc/bluetooth/hcid.conf, and to thus modify it:

    to the voice security to insert security car;
    in paring writing paring fines;
    in passkey introducing a password writing to es. passkey “1234 ″;

  6. to riavviare the services bluetooth, I sudo /etc/init.d/bluetooth restart;
  7. to make the binding: I sudo rfcomm bind rfcomm0 00:1 and: E2: 44: 67: 34 3 (the last number is the channel, while those precedence, like already said, are the of identification one of my cellular one);
  8. for the connection I have used gnome ppp previously shaped for the use of the cable usb, in fact the only thing d to change is the device delmodem that, naturally, with the bluetooth it is not found automatically; enough to insert the /dev/rfcomm0 line and the game it is made.
  9. gnomeppp.png

It is not badly to be freed of the cable, you do not believe?