jsoliveira
(usa Debian)
Enviado em 27/11/2011 - 23:48h
meu amigo,configuração feita na wlan0,nada deu certo
root@servidorsamba:/home/janilson# dpkg -l wpasupplicant
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome Versão Descrição
+++-=================================-=================================-==================================================================================
ii wpasupplicant 0.6.10-2.1 client support for WPA and WPA2 (IEEE 802.11i)
root@servidorsamba:/home/janilson# /etc/wpa_supplicant/wpa_supplicant.conf
bash: /etc/wpa_supplicant/wpa_supplicant.conf: Permissão negada
root@servidorsamba:/home/janilson# touch /etc/wpa_supplicant/wpa_supplicant.conf
root@servidorsamba:/home/janilson# /etc/wpa_supplicant/wpa_supplicant.conf
bash: /etc/wpa_supplicant/wpa_supplicant.conf: Permissão negada
root@servidorsamba:/home/janilson# which wpa_passphrase
/usr/bin/wpa_passphrase
root@servidorsamba:/home/janilson# cd /bin
root@servidorsamba:/bin# ls
bash bzgrep chvt dnsdomainname grep lessecho mkdir nano ping run-parts sync unicode_start zforce
bunzip2 bzip2 cp domainname gunzip lessfile mknod nc ping6 sed tailf vdir zgrep
busybox bzip2recover cpio dumpkeys gzexe lesskey mktemp nc.traditional ps setfont tar which zless
bzcat bzless dash echo gzip lesspipe more netcat pwd setupcon tempfile ypdomainname zmore
bzcmp bzmore date egrep hostname ln mount netstat rbash sh touch zcat znew
bzdiff cat dd false ip loadkeys mountpoint nisdomainname readlink sh.distrib true zcmp
bzegrep chgrp df fgconsole kbd_mode login mt open rm sleep umount zdiff
bzexe chmod dir fgrep kill ls mt-gnu openvt rmdir stty uname zegrep
bzfgrep chown dmesg fuser less lsmod mv pidof rnano su uncompress zfgrep
root@servidorsamba:/bin# cd /usr
root@servidorsamba:/usr# ls
bin games include lib local sbin share src
root@servidorsamba:/usr# cd /bin/usr
bash: cd: /bin/usr: Arquivo ou diretório não encontrado
root@servidorsamba:/usr# cd /bin
root@servidorsamba:/bin# ls
bash bzgrep chvt dnsdomainname grep lessecho mkdir nano ping run-parts sync unicode_start zforce
bunzip2 bzip2 cp domainname gunzip lessfile mknod nc ping6 sed tailf vdir zgrep
busybox bzip2recover cpio dumpkeys gzexe lesskey mktemp nc.traditional ps setfont tar which zless
bzcat bzless dash echo gzip lesspipe more netcat pwd setupcon tempfile ypdomainname zmore
bzcmp bzmore date egrep hostname ln mount netstat rbash sh touch zcat znew
bzdiff cat dd false ip loadkeys mountpoint nisdomainname readlink sh.distrib true zcmp
bzegrep chgrp df fgconsole kbd_mode login mt open rm sleep umount zdiff
bzexe chmod dir fgrep kill ls mt-gnu openvt rmdir stty uname zegrep
bzfgrep chown dmesg fuser less lsmod mv pidof rnano su uncompress zfgrep
root@servidorsamba:/bin# lsusb
Bus 002 Device 002: ID 04ca:0022 Lite-On Technology Corp.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 148f:2573 Ralink Technology, Corp. RT2501/RT2573 Wireless Adapter
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@servidorsamba:/bin# clear
root@servidorsamba:/bin# dpkg -l wpasupplicant
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome Versão Descrição
+++-=================================-=================================-==================================================================================
ii wpasupplicant 0.6.10-2.1 client support for WPA and WPA2 (IEEE 802.11i)
root@servidorsamba:/bin# /etc/wpa_supplicant/wpa_supplicant.conf
bash: /etc/wpa_supplicant/wpa_supplicant.conf: Permissão negada
root@servidorsamba:/bin# which wpa_passphrase
/usr/bin/wpa_passphrase
root@servidorsamba:/bin# wpa_passphrase ssiddarede novauniao sabrinakisifur > /etc/wpa_supplicant/wpa_supplicant.conf
root@servidorsamba:/bin# wpa_supplicant -i wlan1 -c/etc/wpa_supplicant/wpa_supplicant.conf -B -D wext
ioctl[SIOCGIFFLAGS]: No such device
Could not get interface 'wlan1' flags
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: No such device
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
ioctl[SIOCGIFINDEX]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
Failed to disable WPA in the driver.
ioctl[SIOCGIWMODE]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCSIWESSID]: No such device
ioctl[SIOCGIFFLAGS]: No such device
root@servidorsamba:/bin# cd
root@servidorsamba:~# dhcclient wlan0
bash: dhcclient: comando não encontrado
root@servidorsamba:~# iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=0 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
vou te postar jaja o da waln1
obrigado