[linux] gnokiirc

Ing. Jan ONDREJ ondrejj na upjs.sk
Sobota Červenec 23 06:24:54 CEST 2005


On Fri, Jul 22, 2005 at 11:11:05PM +0200, Pavol Lajciak wrote:
> Ahoj,
> 
> 
> WAMMU:
> Skusam wammu, ale nejde sa mi pripojit. Phone automaticky nenasiel
> 
> Tak som rucne nastavil
> Device: /dev/bluetooth/rfcomm/x - skusal som x = {1,3,15}
> Connection: blueat
> Model: at
> 
> ale dako nic...

Pouzi spojenie bluephonet a nie blueat. Ja mam v gammurc len toto:

[gammu]
port = ...
connection = bluephonet

> GNOKII:
> Pri gnokii dostanem hlaseni. Nokia mi vypise, ze chce konekt,
> dam heslo, a potom to zastane na to, ze sa pripaja (na telefone)
> a gnokii napise:
> 
> [root na localhost rfcomm]# gnokii --identify
> GNOKII Version 0.6.7
> Can't connect: Connection refused
> Couldn't open PHONET device: Connection refused
> Telephone interface init failed: Command failed.
> Quitting.

Zrejme ho nemas dobre sparovany. Ja mam nastavene bluetooth takto:

# /etc/bluetooth/hcid.conf
options {
        autoinit yes;
        security auto;
        pairing multi;
        pin_helper /usr/bin/bluepin;
}
device {
        name "bt.salstar.sk"; # toto mam len z dovodu, ze mam USB BT
        class 0x120104;
        iscan enable; pscan enable;
        lm accept;
        lp rswitch,hold,sniff,park;
        auth enable;
        encrypt enable;
}

# /etc/bluetooth/rfcomm.conf
rfcomm1 {
	bind yes;
	device MM:AA:CC:MM:AA:CC;
	channel 1;
	comment "Dial up networking";
}
rfcomm3 {
	bind yes;
	device MM:AA:CC:MM:AA:CC;
	channel 3;
	comment "COM1";
}
rfcomm9 {
	bind yes;
	device MM:AA:CC:MM:AA:CC;
	channel 9;
	comment "Obex Push";
}
rfcomm10 {
	bind yes;
	device MM:AA:CC:MM:AA:CC;
	channel 10;
	comment "Obex File Transfer";
}
rfcomm12 {
	bind yes;
	device MM:AA:CC:MM:AA:CC;
	channel 12;
	comment "Audio Gateway";
}
rfcomm13 {
	bind yes;
	device MM:AA:CC:MM:AA:CC;
	channel 13;
	comment "Voice Gateway";
}
rfcomm15 {
	bind yes;
	device MM:AA:CC:MM:AA:CC;
	channel 15;
	comment "PC Suite";
}

# /etc/bluetooth/pin
3678

# toto posledne je heslo, tusim mi ho potom nepyta. Inak sa spusta ten
bluepin, co je Xova aplikacia. Sice netusim ako najde display aktualne
prihlaseneho pouzivatela, ale dari sa mu to. :)

Ak to budes mat, skus restartnut sluzby bluetooth, iniciovat bluetooth
spojenie s tvojim pocitacom z mobilu. Po zadani spravneho pin by sa mal
spojit a mal by zacat fungovat gnokii --identfy popripade gammu --identify.
V nejakom bluetooth howto asi najdes aj prikazy, ako vyvolat parovanie
zariadeni cez prikazovy riadok (cez hciconfig, hcitool, sdptool, ...).

			SAL




Další informace o konferenci linux