Sharp SL-5500 File Manager Guide Manual de usuario Pagina 42

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 48
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 41
CHAPTER 11. USE 11.3. GLOBAL NETWORKING
should display some devices, but at least usb0. If necessary, you may run
ifup usb0
(if
usb0
is already there, no need
1
for it). You can then modify the IP stuff with either the GUI of
your front-end (X11, GPE, . . . ), or by appending
iface usb0 inet static
pre-up modprobe g_ether
address 192.168.129.201
netmask 255.255.255.0
gateway 192.168.129.1
post-down rmmod g_ether
for example, to your /etc/network/interfaces.
11.3.3 With Bluetooth
˚
Angstr
¨
om uses the standard
2.6
kernel’s Bluetooth modules (which were derived from
http://
www.bluez.org/
). Userspace commands used to control/access Bluetooth hardware are
hciconfig
,
hcitool
,
rfcomm
,
l2ping
and other ones. (It is also implemented in GUIs.) Before establishing
a Bluetooth connection with another computer, either for
rfcomm
or
pand
, it is necessary to pair
the two. Bluetooth uses a PIN, or password, for incoming pairing requests. This one is set in the
/etc/bluetooth/pin file, and for outgoing requests by the utility “passkey-agent.”
There are two ways to make a network using Bluetooth: one is to use point-to-point protocol
(PPP) over the
rfcomm
(serial-like link); the other is to use
PAN
. This is a very brief summary to give
you an understanding of the processes involved:
1. PPP
over
rfcomm
was previously popular with PDAs like Palms and some WindowsMo-
bile/PocketPC/WinCE devices. It is not so efficient, but is useful if you are connecting the
device to a Windows computer. On the
˚
Angstr
¨
om device you need to create the appropriate
files in /etc/ppp and then trigger the PPP connection using the command
pppd call XXX
(XXX being the profile); this then results in a ppp0 device appearing.
If the called device is correctly set up, the
ppp0
device will end up with the correct IP address
and default route, and the local DNS resolver will probably also be set correctly, otherwise use
ifconfig ppp0
route add default gw x.x.x.x
to tweak settings,
2. PAN/PAND is best for making a Linux-to-Linux connection. Simply run
pand -listen
on one end, and
1
Note that issuing ifup usb0 would do nothing, in this particular case: it would not duplicate a device!
38
Vista de pagina 41
1 2 ... 37 38 39 40 41 42 43 44 45 46 47 48

Comentarios a estos manuales

Sin comentarios