Freitag, 28. Dezember 2007

Nokia E90 als Modem für Ubuntu Laptop


Hier eine kurze Beschreibung, wie man das Nokia E90 als Modem unter Ubuntu über Bluetooth verwenden kann. Ein gute Anleitung dazu findet man auch hier.

1. Ermitteln MAC Adresse des Handy

root@sla-laptop:/home/sla# hcitool scan
Scanning ...
00:1A:89:C0:B0:EB E90


2. DUN (Dial-Up Network) Channel ermitteln

root@sla-laptop:/home/sla# sdptool search DUN
Inquiring ...
Searching for DUN on 00:16:41:8A:30:95 ...

Failed to connect to SDP server on 00:10:C6:7E:A1:41: Connection timed out
Searching for DUN on 00:1A:89:C0:B0:EB ...
Service Name: Dial-Up Networking
Service RecHandle: 0x1000e
Service Class ID List:
"Dialup Networking" (0x1103)
Protocol Descriptor List:
"L2CAP" (0x0100)
"RFCOMM" (0x0003)
Channel: 4
Language Base Attr List:
code_ISO639: 0x454e
encoding: 0x6a
base_offset: 0x100
Profile Descriptor List:
"Dialup Networking" (0x1103)
Version: 0x0100


3. Edit /etc/bluetooth/rfcomm.conf

rfcomm0 {
# Automatically bind the device at startup
#bind yes;
# Bluetooth address of the device
device 00:1A:89:C0:B0:EB;
# RFCOMM channel for the connection
channel 4;
# Description of the connection
comment "Nokia E90 PPP connection";
}


4. bind

root@sla-laptop:/home/sla# rfcomm release rfcomm0
Can't release device: No such device
root@sla-laptop:/home/sla# rfcomm bind rfcomm0
root@sla-laptop:/home/sla# rfcomm
rfcomm0: 00:1A:89:C0:B0:EB channel 4 clean


5. Start gnome-ppp

5.1 Login/User

Benutzername: gprs
Passwort: gprs
Telefonnummer: *99#


5.2 Konfiguration/Modem

Gerät: /dev/rfcomm0
Type: USB Modem
Geschwindigkeit: 460800
Telefonleitung: Ton
Lautstärke: Laut


5.2.1. Initialisierungsstrings

Init 2: ATH
Init 3: ATE1
Init 4: AT+CGDCONT=1,"IP","gprs.swisscom.ch","0.0.0.0",0,0


5.3 Konfiguration/Netzwerk

x Dynamische IP-Adresse
x Automatischer DSN


5.4. Konfiguration/Optionen

x Leitung überprüfen
x Standard Route überprüfen
x Ignoriere Terminalstrings (stupid mode)


6. Verbinden ....

1 Kommentar:

Unknown hat gesagt…

Super - 5 Minuten und ich war verbunden!

Danke,

Christian