Consigli e trucchi per navigare e trasferire file con Nokiolino e Pinguino

[ Navigare con Nokia 6680 ] [ Nokia 6680 e P3nfs ] [ Todo ] [ Links ]
Prerequisiti:
| una connessione gprs/umts correttamente configurata sul telefono | ||
| un cavetto serialusb usb nokia DKU-2 o CA-53 oppure un dongle bluetooth |
| Nome File (Vodafone): | Nome File (Wind): | Path: | |
|---|---|---|---|
| gprsvodafone | gprswind | /etc/ppp/peers | |
| gprsvodafone-connect-chat | gprswind-connect-chat | /etc/chatscripts | |
| gprsvodafone-disconnect-chat | gprswind-disconnect-chat | /etc/chatscripts |
Device Drivers --> USB Support --> USB Modem (CDC ACM) support
:-) ). In particolare, utilizzando il comando hcitool da terminale, dovreste ottenere l'ID fisico ed il nome del vostro telefono:
hcitool scan
00:11:22:33:44:55 Nokia 6680
/etc/bluetooth/rfcomm.conf per abilitare i canali rfcomm secondo la configurazione del vostro telefono:
| nokia 6680 | utilizzare questo rfcomm.conf sostituendo il vostro ID a quello di esempio (è la configurazione va bene per me: YMMV) | |
| altri nokia S60 (6630, 668x, N70) | scoprite la configurazione dei vostri servizi bluetooth (i canali rfcomm) analizzando l'output del comando: sdptool browse 00:11:22:33:44:55 |
modprobe -r ipw2x00
/etc/init.d/bluetooth restart
2) per il dial-up:
rfcomm release 2 rfcomm connect 2
Connected /dev/rfcomm2 to 00:11:22:33:44:55 on channel 3 Press CTRL-C for hangup
cp gprsvodafone /etc/ppp/peers cp gprsvodafone-*-chat /etc/chatscripts
/dev/ttyACM0 e sostiture con quella relativa al bluetooth /dev/rfcommX. Es:
# Bluetooth interface in case of channel 0 usage, else substitute with # the opportune channel interface, i.e. /dev/rfcomm1 for channel 1 /dev/rfcomm2 # # USB and cabled interface #/dev/ttyACM0
root:dialup_group) e rendere i eseguibili i chatscript
chown root:root /etc/ppp/peers/gprsvodafone chown root:root /etc/chatscripts/gprsvodafone-*-chat chmod u+rwx,g=rx,o=rx /chatscripta/gprsvodafone-*-chat
pon gprsvodafone
Nell'esempio che segue (script gprsvodafone-connect-chat righe 16/34) stiamo utilizzando solo la rete gprs.
# Choose the connection parameters # # automatico # #OK-AT-OK AT_OPSYS=5 # # gprs # OK-AT-OK AT_OPSYS=2 # # umts # #OK-AT-OK AT_OPSYS=3 # # solo umts # #OK-AT-OK AT_OPSYS=1 #OK-AT-OK at+cpin="XXXX"
Per utilizzare la rete UMTS quando č disponibile, commentiamo la riga OK-AT-OK AT_OPSYS=2 con un # e decommentiamo la riga OK-AT-OK AT_OPSYS=3 .
P3nfs č un'applicazione che permette di comunicare fra un dispositivo Symbian ed un computer Linux/UNIX. Lo utilizzeremo sul nostro smartphone Nokia 6680 per montare il filesystem del telefonino sul computer e leggere, scrivere, copiare, modificare qualunque file sul telefono direttamente dal pc.
Questo significa, ad esempio, poter gestire tutti i file del telefono senza rimuovere la memory card ed effettuare facilmente backup completi.
Prerequisiti:
| supporto nfs nel kernel | ||
| portmapper e client nfs installati | ||
| demone p3nfsd installato sul computer linux e client p3nfs presente sul telefono |
| File da scaricare | File utilizzati in questo test (Nokia 6680 e Debian Etch) | |
|---|---|---|
| P3nfsd - demone da installare sulla linuxbox | p3nfs_5.15-2_i386.deb | |
| nfsapp - client da installare sullo smartphone | nfsapp-5.19-series60.v2.sis |
Attenzione: scaricate la versione giusta dei client binaries per il vostro symbian dal sito di P3nfs.
apt-get install p3nfs
(Seguire i passi in ordine)
Welcome to nfsclient Ver: 5.19, Licence: GPL - Press joystick for switching i/o intf. - Press right button to exit Type h for help
Le ultime righe del messaggio indicano il tipo di connessione attiva per il client. Es:
Open Bluetooth/13 Type a key to cancelSe al posto di
Open Bluetooth/13 compare un'altro messaggio (es Open TCP/ipadddr o Open IrCOMM/Irda) utilizzate il tasto p per switchare da Irda/TCP a Bluetooth
sdptool browse ma č il canale del nostro client nfs)
rfcomm release 0 rfcomm bind 0 <device-address> 13
p3nfsd -series60 -tty /dev/rfcomm0 -dir /mnt/nokia
p3nfsd: version 5.15, using /dev/rfcomm0 (115200), mounting on /mnt/nokia p3nfsd: to stop the server do "ls /mnt/nokia/exit". (pid 24821)
Connected
mount vedrete la riga
localhost:/dev/rfcomm0 on /mnt/nokia type nfs (hard,intr)
La prova definitiva:
# ls /mount/nokia C: E: F: Z:
Il filesystem del telefono č montato sul pc via bluetooth!! Ora potete scrivere, backuppare, danneggiare etc etc.
Importante: Per chiudere la connessione e smontare il device si usa il comando ls /mnt/nokia/exit
Nokia 6680 and Linux
Connecting Nokia 6630 Phone with Linux
Connessione GPRS/EDGE/UMTS su Ubuntu con Nokia 6630
P3nfs home
P3nfs users newsgroup
P3nfs per telefonini symbian (gentoo)
66x0 USB Obex HOWTO
S60 GnuBox Howto
Of Linux, GPRS Phones, Serial Cable, Irda, Bluetooth and USB
Linux, Bluetooth e GPRS - Guida Pratica
Playing with Series 60 Phones and Linux
The big gnubox troubleshooting
Ultima modifica: 25/03/2006
This report is listed at TuxMobil - Linux on laptops, PDAs, mobile phones.
Scritto con Emacs