Kod: Zaznacz cały
aptitude update && aptitude install firmware-ralink
Kod: Zaznacz cały
[h=1]firmware-ralink (0.35)[/h]
Kod: Zaznacz cały
aptitude update && aptitude install firmware-ralink
Kod: Zaznacz cały
[h=1]firmware-ralink (0.35)[/h]
Kod: Zaznacz cały
iwconfig
Kod: Zaznacz cały
TX-Power= 0
Kod: Zaznacz cały
ifconfig wlan0 up
Kod: Zaznacz cały
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
#
# The loopback network interface
auto lo
iface lo inet loopback
#The primary interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid xxxxx #Twój ssid (nazwa sieci)
wpa-psk xxxxxxxxx #Twój klucz wpa
#The secondary interface
allow-hotplug eth0
iface eth0 inet dhcp
Kod: Zaznacz cały
ifdown wlan0
ifup wlan0
Kod: Zaznacz cały
# ifconfig
eth0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
lo
TX packets:128 errors:0 dropped:0 overruns:0 carrier:0
wlan0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
Kod: Zaznacz cały
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
#
# The loopback network interface
auto lo
iface lo inet loopback
#The primary interface allow-hotplug eth0
#NetworkManager#iface eth0 inet dhcp
Kod: Zaznacz cały
# ifdown wlan0 ifdown: interface wlan0 not configured
# ifup wlan0
No DHCPOFFERS received.
[font=&]No working leases in persistent database - sleeping.[/font]
Kod: Zaznacz cały
# ifconfig wlan0 up
# ifdown wlan0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on itd....
Kod: Zaznacz cały
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid mój_ssid
wpa-psk mój_klucz_wpa
#The secondary interface
allow-hotplug eth0
iface eth0 inet dhcp
Jest, wersja 0.7.3-6.DaVidoSS pisze: Upewnij się czy masz zainstalowany wpasupplicant..
Tak zrobiłem, ja też podałem tylko wzór.DaVidoSS pisze:Zamiast mój sid wpisz ssid sieci do której się łączysz.
Zamiast mój mój_klucz_wpa wpisz klucz dostępu.
Przecież to jest tylko wzór bo niby skąd ja mam znać konfigurację Twojej sieci?
Kod: Zaznacz cały
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# my wifi device
auto wlan0
iface wlan0 inet dhcp
wpa-ssid xxxx
wpa-psk xxxxxx
Kod: Zaznacz cały
lspci -k
Kod: Zaznacz cały
03:01.0 Network controller: Ralink corp. RT3060 Wireless 802.11n 1T/1R
Subsystem: Ralink corp. RT3060 Wireless 802.11n 1T/1R
Kernel driver in use: rt2800pci
Kod: Zaznacz cały
apt-get install wireless-tools firmware-ralink wpasupplicant --reinstall
Kod: Zaznacz cały
iwlist scan
lo Interface doesn't support scanning.
wlan0 Scan completed :
Cell 01 - Address: xxxxxxxxxx
Channel:6
Frequency:xxxx
Kod: Zaznacz cały
iwconfig
Kod: Zaznacz cały
Tx-Power=20 dBm
Kod: Zaznacz cały
ifconfig wlan0 up
Kod: Zaznacz cały
SIOCSIFFLAGS: Nie ma takiego pliku ani katalogu.
Kod: Zaznacz cały
ifconfig wlan0 up
root@xxx#
Kod: Zaznacz cały
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
#The primary interface
auto wlan0
iface wlan0 inet dhcp
wpa-ssid xxxxx
wpa-psk xxxxxxxxx
#The secondary interface
allow-hotplug eth0
iface eth0 inet dhcp
Kod: Zaznacz cały
ifdown wlan0
ifup wlan0
Kod: Zaznacz cały
ifup wlan0
Internet Systems Consortium DHCP Client 4.2.2
Copyright 2004-2011 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan0/xxx
(...)
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Kod: Zaznacz cały
modprobe -r rt2800pci
modprobe rt2800pci
Kod: Zaznacz cały
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp