[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Conectividad Zaurus y Debian



Hola estoy tratando de conectar mi Z con debian para
esto segui la guia que hay en :
http://www.zaurus.com/dev/

En la parte de la configuracion con debian dice :

1) Kernel setup

Here are simple steps to make a Debian package of the
usb modules for your kernel. If they are confusing or
does not work follow the generic Linux (USB) howto for
setting up the kernel which does the same thing.

1) determine running kernel version. (i.e. 2.4.19-k7)
2) use apt or dpkg to install kernel-source-[version]
(i.e. 2.4.19)
3) apt-get install kernel-package fakeroot
4) cd /usr/src; tar jxvf
kernel-source-[version].tar.bz2 (i.e. 2.4.19)
5) cd /usr/src/kernel-source-[version]
6) cp /boot/config-[version] .config
7) make menuconfig, disable CDCEther, enable USBDnet
and configure per the steps in the the general linux
howto.
note: one caviat. In addition to the configuration you
enter for the vendor and product ids per the howto, in
order to ensure hotplugging works properly, you need
to set "usbd network class" to 2.
8) dpkg -s kernel-image-[version] - check Version line
(i.e. 2.4.19-1)
9) fakeroot make-kpkg --bzimage --arch-in-name
--revision [Version from step 5] kernel_image;
7) sudo dpkg -i ../kernel-image-[version]*.deb

Esta parte me la salte ya que mi kernel ya tiene
configurado el puerto USB, hice un lspci:

root@pc01:/etc/network# lspci
0000:00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX -
82443BX/ZX/DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX -
82443BX/ZX/DX AGP bridge (rev 03)
0000:00:07.0 ISA bridge: Intel Corp. 82371AB/EB/MB
PIIX4 ISA (rev 02)
0000:00:07.1 IDE interface: Intel Corp. 82371AB/EB/MB
PIIX4 IDE (rev 01)
0000:00:07.2 USB Controller: Intel Corp. 82371AB/EB/MB
PIIX4 USB (rev 01)
0000:00:07.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4
ACPI (rev 02)
0000:00:0f.0 PCI bridge: Digital Equipment Corporation
DECchip 21152 (rev 03)
0000:00:11.0 Ethernet controller: 3Com Corporation
3c905B 100BaseTX [Cyclone] (rev 24)
0000:01:00.0 VGA compatible controller: ATI
Technologies Inc 3D Rage Pro AGP 1X/2X (rev 5c)
root@pc01:/etc/network#


2) Network Configuration

In the file: /etc/network/interfaces
To use the dhcp server on the Zaurus add:

iface usb0 inet dhcp


For a static IP address add:

iface usb0 inet static
    address 192.168.129.1
    pointopoint 192.168.129.201
    netmask 255.255.255.255


Aca seleccione inet static y esta configure en mi
interfaces.

3) Hot Plug

You only have to install "hotplug", which will
automaticly configure USB devices assuming that the
modules are working. Hotplug will set up the usb0
device everytime you insert the Zaurus in the cradle
according to how it is setup in section 2.

This goes in /etc/network/if-up.d/50zaurus. It must be
executable. It allows your Z to get out on the
internet using IP masquerading through your debian
box. Note that you need to have masquerading already
in your kernel. See the general howto for more
information about that. The script:

Aca no encuentro el archivo
/etc/network/if-up.d/50zaurus

....y finalmente este script me da problemas ya que no
reconoce netmask

iptables v1.2.9: invalid mask `' specified
Try `iptables -h' or 'iptables --help' for more
information.
iptables v1.2.9: invalid mask `' specified
Try `iptables -h' or 'iptables --help' for more
information.
iptables v1.2.9: invalid mask `' specified
Try `iptables -h' or 'iptables --help' for more
information.

#!/bin/sh

case $IFACE in
  usb0)
    echo 1 > /proc/sys/net/ipv4/ip_forward

    iptables -t filter -F FORWARD
    iptables -t filter -P FORWARD DROP
    iptables -t filter -A FORWARD -s
$IF_POINTOPOINT/$IF_NETMASK -j
    ACCEPT
    iptables -t filter -A FORWARD -d
$IF_POINTOPOINT/$IF_NETMASK -j
    ACCEPT

    iptables -t nat -F PREROUTING
    iptables -t nat -P PREROUTING ACCEPT

    iptables -t nat -F POSTROUTING
    iptables -t nat -P POSTROUTING ACCEPT

    iptables -t nat -F OUTPUT
    iptables -t nat -P OUTPUT ACCEPT
    iptables -t nat -A POSTROUTING -s
$IF_POINTOPOINT/$IF_NETMASK -o
    eth0 -j MASQUERADE
    ;;
esac

Que estoy haciendo mal.


Otra consulta para sincronizar desde linux mi Zaurus
he buscado paquetes, encontre Qtopia desktop, pero es
de pago, fuera. Buscando con apt-cache search zaurus
encontre:

libmultisync-plugin-opie - Opie plugin for MultiSync

...pero tambien me recomendaron KythcenSync para KDE
que es mi entorno.

Bueno algo largo pero esas son mis dudas como consigo
coneccion desde debian con mi Zaurus y que paquete
instalo a modo de consejo para sincronizar
(kytchensync o libmultisync)..

Fernando villarroel.


		
______________________________________________
Renovamos el Correo Yahoo!: ¡100 MB GRATIS!
Nuevos servicios, más seguridad
http://correo.yahoo.es



Reply to: