Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - franfis

#211
Dudas Generales / comando de msdos
16 Agosto 2010, 02:26 AM
Holas  ;D , tengo un inconveniente sobre el comando at de msdos, no me funciona(el comando, valga la aclaracion),se los detallo:

Microsoft Windows XP [Versión 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\David>cd \

C:\>at 19:11 copy Nuevo.txt d:\
Se ha agregado un nuevo trabajo con identificador = 1

C:\>at
Estado   ID   Día                     Hora          Línea de comando
---------------------------------------------------------------------------
       1   Hoy                     19:11         copy Nuevo.txt d:\


C:\>at
Estado   ID   Día                     Hora          Línea de comando
---------------------------------------------------------------------------
       1   Hoy                     19:11         copy Nuevo.txt d:\


Y pasado el tiempo que deberia hacer la tarea de copiado del archivo Nuevo.txt de la C: a la D: me sale esto:

C:\>at
Estado   ID   Día                     Hora          Línea de comando
---------------------------------------------------------------------------
Error   2   Mañana                  19:11         copy Nuevo.txt d:\

Gracias de antemano
#212
Hola Ecadir  ;D la situacion es que se debe configurar en el archivo pg_hba.conf el tipo de autentificacion, le puse en la opcion del usuario postgres, tipo de autenticacion "trust" y listo, para que me permita la conexión sin pedir clave.

Saludos  ;D
#213
Me gusta mas asembly y c++ pero las circunstancias y la necesidad me obliga a aprender otros como PHP,
MSDOS, python, java. Pero diria que en ninguno soy un experto. :huh:

Saludos maestros.
#214
 :) Holas a todos del foro, tengo un pequeño inconveniente en cuando trato de conectarme por medio de python a postgresql.

Uso Eclipse como editor, ya anexé el python a eclipse, bueno quiero probar a conectarme a potsgresql, copié y peguéel siguiente codigo:

import pg
usuario = 'postgres'
base = 'music'
conecta = pg.connect(dbname=base,user=usuario)
consulta = 'select a.nombre, b.nombre from banda a, disco b where a.id_banda = b.id_banda'
resultado = conecta.query(consulta)
print resultado
conecta.close()   

Y me sale lo siguiente:

Traceback (most recent call last):
  File "/home/fran/workspace/conectividad/src/conectividad.py", line 4, in <module>
    conecta = pg.connect(dbname=base,user=usuario)
pg.InternalError: FATAL:  la autentificaci?n Ident fall? para el usuario <<postgres>>


A pesar que ya instale  python-pgsql  y python-pygresql-dbg y no se que paquetes mas..

Soy novato en esto de python  :silbar: , por favor ayudenme
#215
GNU/Linux / Re: No tengo señal wifi
1 Agosto 2010, 01:24 AM
 ;D reinstalé mi ubuntu 10.4, pero temo mucho actualiza el ubuntu y tambien tratar de instalr el driver de Linux del CD de mi tarjeta. ¿Que podria hacer para que al actualizar el sistema no toque el driver por defecto de la wifi?  ademas no se donde esta.

Haaa..... debo decir q ya tenia instalada el build-esential antes de reisntalar el ubuntu.

Pero deseo hacerle un apt-get update para actualizar ademas los repositorios ya que no encuentro los paquetes que quiero desde el administradopr de paquetes.

Gracias
#216
GNU/Linux / No puedo instalar driver en ubuntu
31 Julio 2010, 19:06 PM
Holas otra vez, No logro instalar el driver de mi tarjeta wifi,pues tengo señal de internet,  tengo el ubutnu 10.4 cuando tecleo lsusb me sale:

root@fran-desktop:/home/fran/Linux# lsusb
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:8187 Realtek Semiconductor Corp. RTL8187 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


La que está en negrita es mi tarjeta wifi.

Al teclear el comando iwconfig me indica que mi tarjeta wifi es wlan2

Al tratar de instalar el driver de Linux que viene en el CD de instalacion me aparece error

Hay una carpeta en el CD que dice Other_drivers y dentro de esta carpeta esta las siguientes dos carpetas:

root@fran-desktop:/home/fran/Linux# ls
debian31-8187_kernel 2.6.13  rtl8187_linux_26.1025.0328.2007

trate de instalar la segunda, dentro de ella estan:

drv.tar.gz  ifcfg-wlan0  ReadMe.txt  stack.tar.gz  wlan0down  wlan0up
ieee80211   makedrv      rtl8187     wlan0dhcp     wlan0rmv   wpa_supplicant-0.4.9

En el Readme.txt dice que para instalar ejecute ./makedrv y luego ./wlan0up los cuales son script (o un bash corrijanme) con el siguiente contenido respectivamente.

#!/bin/sh

tar -zxvf stack.tar.gz
tar -zxvf drv.tar.gz
cd ieee80211
make clean
make
cd ../rtl8187
make clean
make
cd ..

#!/bin/sh

cd ieee80211/
insmod ieee80211_crypt-rtl.ko
insmod ieee80211_crypt_wep-rtl.ko
insmod ieee80211_crypt_tkip-rtl.ko
insmod ieee80211_crypt_ccmp-rtl.ko
insmod ieee80211-rtl.ko

cd ../rtl8187/
insmod r8187.ko

cd ../

ifconfig wlan0 up



pero al tratar de instalar me aparece el siguiente error:


root@fran-desktop:/home/fran/Linux/rtl8187_linux_26.1025.0328.2007# ./makedrv
ieee80211/
ieee80211/license
ieee80211/ieee80211_crypt.c
ieee80211/ieee80211_tx.c
ieee80211/ieee80211_softmac.c
ieee80211/ieee80211_softmac_wx.c
ieee80211/ieee80211_module.c
ieee80211/ieee80211_crypt_ccmp.c
ieee80211/ieee80211_rx.c
ieee80211/tags
ieee80211/ieee80211_crypt_tkip.c
ieee80211/Makefile
ieee80211/readme
ieee80211/.tmp_versions/
ieee80211/.tmp_versions/ieee80211-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_wep-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_tkip-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt-rtl.mod
ieee80211/.tmp_versions/ieee80211_crypt_ccmp-rtl.mod
ieee80211/ieee80211_crypt_wep.c
ieee80211/ieee80211.h
ieee80211/ieee80211_wx.c
ieee80211/ieee80211_crypt.h
rtl8187/
rtl8187/license
rtl8187/r8180_rtl8225z2.c
rtl8187/r8180_rtl8225.h
rtl8187/r8187_led.c
rtl8187/r8180_93cx6.h
rtl8187/r8180_wx.h
rtl8187/r8180_hw.h
rtl8187/copying
rtl8187/r8187_led.h
rtl8187/r8180_pm.h
rtl8187/tags
rtl8187/r8187.h
rtl8187/Makefile
rtl8187/r8180_rtl8225.c
rtl8187/readme
rtl8187/install
rtl8187/.tmp_versions/
rtl8187/.tmp_versions/r8187.mod
rtl8187/changes
rtl8187/r8180_wx.c
rtl8187/r8180_pm.c
rtl8187/r8187_core.c
rtl8187/r8180_93cx6.c
rtl8187/authors
rtl8187/ieee80211.h
rtl8187/ieee80211_crypt.h
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/tmp
make -C /lib/modules/2.6.32-22-generic/build M=/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211 modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.32-22-generic'
  CC [M]  /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o
In file included from /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:17:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h: In function 'ieee80211_priv':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211.h:1212: warning: 'netdev_priv' is static but used in inline function 'ieee80211_priv' which is not static
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_scan_wq':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:421: warning: passing argument 2 of 'queue_delayed_work' from incompatible pointer type
include/linux/workqueue.h:203: note: expected 'struct delayed_work *' but argument is of type 'struct work_struct *'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_stop_scan':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:495: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
include/linux/workqueue.h:234: note: expected 'struct delayed_work *' but argument is of type 'struct work_struct *'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_associate_abort':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:915: warning: passing argument 2 of 'queue_delayed_work' from incompatible pointer type
include/linux/workqueue.h:203: note: expected 'struct delayed_work *' but argument is of type 'struct work_struct *'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_stop_protocol_rtl':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2120: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
include/linux/workqueue.h:234: note: expected 'struct delayed_work *' but argument is of type 'struct work_struct *'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_init':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: 'INIT_WORK' undeclared (first use in this function)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: (Each undeclared identifier is reported only once
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2229: error: for each function it appears in.)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2230:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2231:94: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2232:96: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2233:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2234:82: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c: In function 'ieee80211_softmac_free':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.c:2255: warning: passing argument 1 of 'cancel_delayed_work' from incompatible pointer type
include/linux/workqueue.h:234: note: expected 'struct delayed_work *' but argument is of type 'struct work_struct *'
make[2]: *** [/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211/ieee80211_softmac.o] Error 1
make[1]: *** [_module_/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/ieee80211] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.32-22-generic'
make: *** [modules] Error 2
rm -f *.mod.c *.mod *.o .*.cmd *.ko *~
rm -rf /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/tmp
make -C /lib/modules/2.6.32-22-generic/build M=/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187 modules
make[1]: se ingresa al directorio `/usr/src/linux-headers-2.6.32-22-generic'
  CC [M]  /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o
In file included from /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:29:26: error: linux/config.h: No existe el fichero ó directorio
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:48:27: error: asm/semaphore.h: No existe el fichero ó directorio
In file included from /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187.h:50,
                 from /home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:64:
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h: In function 'ieee80211_priv':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/ieee80211.h:1212: warning: 'netdev_priv' is static but used in inline function 'ieee80211_priv' which is not static
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8180_proc_module_init':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: 'proc_net' undeclared (first use in this function)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: (Each undeclared identifier is reported only once
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:450: error: for each function it appears in.)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8180_proc_module_remove':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:456: error: 'proc_net' undeclared (first use in this function)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8187_rx_urbsubmit':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:730: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
include/linux/usb.h:1277: note: expected 'usb_complete_t' but argument is of type 'void (*)(struct urb *, struct pt_regs *)'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8180_tx':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:1648: warning: passing argument 6 of 'usb_fill_bulk_urb' from incompatible pointer type
include/linux/usb.h:1277: note: expected 'usb_complete_t' but argument is of type 'void (*)(struct urb *, struct pt_regs *)'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053:64: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8180_init':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2053: error: 'INIT_WORK' undeclared (first use in this function)
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2054:77: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2055:88: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2056:80: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2057:78: error: macro "INIT_WORK" passed 3 arguments, but takes just 2
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2217: error: 'struct net_device' has no member named 'get_stats'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c: In function 'rtl8187_usb_probe':
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2938: error: implicit declaration of function 'SET_MODULE_OWNER'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2948: error: 'struct net_device' has no member named 'open'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2949: error: 'struct net_device' has no member named 'stop'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2951: error: 'struct net_device' has no member named 'tx_timeout'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2953: error: 'struct net_device' has no member named 'do_ioctl'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2954: error: 'struct net_device' has no member named 'set_multicast_list'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2955: error: 'struct net_device' has no member named 'set_mac_address'
/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.c:2956: error: 'struct net_device' has no member named 'get_wireless_stats'
make[2]: *** [/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187/r8187_core.o] Error 1
make[1]: *** [_module_/home/fran/Linux/rtl8187_linux_26.1025.0328.2007/rtl8187] Error 2
make[1]: se sale del directorio `/usr/src/linux-headers-2.6.32-22-generic'
make: *** [modules] Error 2

despues hago lo siguiente. como dice Readme.txt

root@fran-desktop:/home/fran/Linux/rtl8187_linux_26.1025.0328.2007# ./wlan0up
insmod: can't read 'ieee80211_crypt-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_wep-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_tkip-rtl.ko': No such file or directory
insmod: can't read 'ieee80211_crypt_ccmp-rtl.ko': No such file or directory
insmod: can't read 'ieee80211-rtl.ko': No such file or directory
insmod: can't read 'r8187.ko': No such file or directory
wlan0: ERROR mientras se obtenían las banderas de interfaz: No existe el dispositivo

ayudenme porfavor......... :-(
#217
GNU/Linux / Re: No tengo señal wifi
31 Julio 2010, 19:02 PM
 :( En el CD del la tergeta estan los drivers para Linux pero es otra "odisea" volvere a intentarlo tambien (lo publicare en mi siguiente post), pues lo dejé al ver que muchos tenian problemas con este tipo de tagetas realtek y lo solucionaron con ndiswrapper.
#218
GNU/Linux / Re: No tengo señal wifi
31 Julio 2010, 04:23 AM
Gracias Luinuz pero tengo configurados los DNS de telefonica; 200.48.225.130 y 200.48.225.146 los mismos que funcionan bien cuando arranco desde windows.

Con respecto a la sugerencia de rastnthology parece muy interezante a la vez complejo pero lo intentaré. Llevo reiniciando mi PC "n" veces entrando a windows pa consultar y entrando a ubuntu para probar.  ;D
#219
GNU/Linux / Re: No tengo señal wifi
31 Julio 2010, 02:45 AM
Haa....  me faltaba decir los resultados que obtuve, sigo sin linea internet, a pesar que instale el ndiswrapper insertando el cd de ubuntu 10.4 y configurando el driver de windows en forma visual  :-( sigue igual.

:huh: nose que puede estar pasando, ¿¿tengo que desactivar la red con algun comando antes de hacer la configuracion con el driver de windows??
#220
GNU/Linux / Re: No tengo señal wifi
31 Julio 2010, 01:44 AM
 ::)Uf... otra vez aqui, gracias por el dato, eso de ndiswrapper

Ya instale ndiswrapper

los pasos que seguí son los siguientes:


1.- Me ubiqué en el cd, en el driver para windows XP de mi tarjeta wifi :
   root@fran-desktop:/media/WLAN  USB/RTL8187/WinXP2K# ls
   netrtuw.cat  Netrtuw.inf  rtl8187.sys

2.- root@fran-desktop:/media/WLAN  USB/RTL8187/WinXP2K# ndiswrapper -i ./Netrtuw.inf
   driver netrtuw is already installed

   esto me apareció, supongo porque lo instalé en uno de mis tantos intentos

3.- root@fran-desktop:/media/WLAN  USB/RTL8187/WinXP2K# ndiswrapper -m

4.- root@fran-desktop:/home/david# ifconfig wlan0 up
   wlan0: ERROR mientras se obtenían las banderas de interfaz: No existe el dispositivo

Bueno cuando hago ifconfig mi tarjeta es wlan2 y cuando ifconfig wlan2 up me sale error algo asi como ".......de las banderas...." , y cuando hago ndiswrapper -l para ver lo que instale sì figura el archivo .inf que instale.

gracias, por el interes y la ayuda.