Thursday, November 10, 2005

Prom Week House Rentals;poconos

Linux: Internet dial-up via bluetooth / UMTS mobile phone

preface
Some will be one to ask, why in the will determine the time of DSL broadband Internet connections via UMTS - my intention was a relatively fast Internet access and flexibeln have.



The first reflections do you need:


mobile Bluetooth Dongle



UMTS SIM card


used tools



hcitool

obex rfcomm

YaST2

screen
  • up Step 1
    first is to infect it important to have a Bluetooth dongle. Here it would be possible (if any) better than the SD cards via USB but place - why some SD card readers are not supported so well. If the USB dongle recognized and configured properly, can also be seen just below the obex a message KDE. A simple click will open a window with the currently achievable Bluetooth devices to open.
Setting Step 2
If your phone is not in the list to check if it is "visible" and turned on bluetooth is - If a friend can with his Bluetooth-enabled mobile phone will send pictures, etc. should it be in obex to be seen - if not just close the window and reopen again.
  • to use up Step 3

  • To the cell phone as a modem we have to change create the following configuration files /:
  • / etc / bluetooth / pin
  • / etc / bluetooth / rfcomm.conf
  • in the pin-file Just write the PIN that is needed to connect to the phone:
    root @ host> echo "1221"> / etc / bluetooth / pin
In / etc / bluetooth / rfcomm.conf we have already entered a little more: --- snip ---

# # RFCOMM configuration file.

# # $ Id: rfcomm.conf, v 1.1 10/07/2002 05:58:18 MaxK Exp $ #
rfcomm0
{# Automatically bind the device at startup bind yes
;

# Bluetooth address of the device device 00:0 F: DE: 8C: F7: 09;

# RFCOMM channel for the connection
channel 1;
    # Description of the
  • connection comment "Sony Ericcson v800";}
  • --- snap ---
  • bind yes - meaning that is created when starting the device from the Bluetooth daemon equal.

device - the device id you can using "hcitool" get out, or over obex.

--- snip ---
linux: ~ # hcitool scan Scanning ...

00:0 E: 07:83: BE: 29 v800
--- snap ---
channel 1 - here it comes now the cell phone. Normally, a "sdptool browse" spit out a list, which you can see it: --- snip ---


linux: ~ # sdptool browse
Inquiring ...
Browsing 00:0 E: 07:83: BE: 29 ...
Service Name: Dial-up Networking Service
RecHandle:
0x10000 Service Class ID List:
"Dialup Networking" (0x1103)
"Generic Networking" (0x1201) Protocol Descriptor List
:
"L2CAP" (0x0100)
"RFCOMM "(0x0003)
Channel: 1 Profile Descriptor List
:
" Dialup Networking "(0x1103)
Version: 0x0100
...
--- snap ---

Now we can start the daemon schonmal:
root @ host> start rcbluetooth

should then be a file has been created:
--- --- schnip
linux: ~ # ls-la / dev / rfcomm *
crw-rw ---- 1 root root 216, 0 Nov 11 19:31 / dev/rfcomm0
--- snap ---

Now as is customary in Bluetooth, the devices before they can communicate miteinannder make a "pairing".

to initialize, start a simple screen time on this device:
screen / si dev/rfcomm0
If the screen should have started first come no message. If you receive a message, how to get "no controlling PTY" it is likely that the device has not been initialized. (The Screnn you can close with the following key combination: Control + A + \u0026lt;k>)


(If that does not work, sometimes with "cat / dev/rfcomm0" taste.)

In enter the PIN you have to be quick, because after a few seconds, the windows close again. If the PIN entry succeeded and see no error message was can you ever try to use the Bluetooth phone as a modem. Simply enter the open to the screen (if not simply settle dn above command) AT +
one. (The Screnn you can close with the following key combination: Control + A + \u0026lt;k>)

If this is done you can pre-configure the modem in YaST2 (manual adjustment required).



up Step 4


In yast, they can now set the modem as usual - but give it as a device or "Modem Device" "/ dev/rfcomm0" and then press details.

baud rate to 921 600

Init1 = ATZ
init2 = AT & FE1 + CMEE = 1 AT + CGDCONT =
init3 = 1, "IP", "web.vodafone.de"
and user-controlled select [x].

created the Yast configuration file should then look like this:
---/etc/sysconfig/network/ifcfg-
---
BOOTPROTO = 'none'
DIALCOMMAND = 'ATDT'
DIALPREFIX =''=''
DIALPREFIXREGEX
Init1 = 'ATZ' INIT2 = 'AT & FE1 + CMEE = 1'
INIT3 = 'AT + CGDCONT = 1, "IP", "web.vodafone.de" '
INIT8 =' ATM0 '
INIT9 =' ATX3 '
MODEM_DEVICE =' / dev/rfcomm0 '
NAME =' UMTS via Bluetooth ' PPPD_OPTIONS ='' PROVIDER =' provider0 'SPEED = '921600
' START MODE = 'manual' UNIQUE =''

USER CONTROL = 'yes'
--- end ---

must then tune in to "own provider:
kan as the number in Sony Ericcson v800 "* 99 *** 1 #" field. For other
models in your internet search for info.
The provider file should look like this:
---/etc/sysconfig/network/providers/provider0---
ASKPASSWORD = 'no'
autodns = 'yes' DEMAND = 'no'
DSLSUPPORTED = 'no'
IDLETIME = '1800 '
ISDNSUPPORTED =' no '
MODEMSUPPORTED =' yes '
MODIFYDNS =' yes '
PASSWORD =' freedom '
PHONE =' * 99 *** 1 # 'PROVIDER =
' vodafone umts / gprs '
STUPID MODE =' no '
USER NAME =' freedom '
--- end ---

That should be it:) now you can kinternet connect to.




0 comments:

Post a Comment