[+] Konfiguracja po

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
6548641568453
Posty: 6
Rejestracja: 07 czerwca 2011, 15:38

[+] Konfiguracja połączenia WiFi - Debian amd64 laptop fujitsu AH530 GFX

Post autor: 6548641568453 »

Witam.

Najpierw podam parametry komputera.

Wersja jądra:

Kod: Zaznacz cały

Linux Larysa 2.6.32-5-amd64 #1 SMP Mon Mar 7 21:35:22 UTC 2011 x86_64 GNU/Linux
Architektura:

Kod: Zaznacz cały

amd64
Lista urządzeń:

Kod: Zaznacz cały

00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 02)
    Subsystem: Fujitsu Limited. Device 1505
00:01.0 PCI bridge: Intel Corporation Core Processor PCI Express x16 Root Port (rev 02)
    Kernel driver in use: pcieport
00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
    Subsystem: Fujitsu Limited. Device 152b
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
    Subsystem: Fujitsu Limited. Device 1528
    Kernel driver in use: ehci_hcd
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
    Subsystem: Fujitsu Limited. Device 1531
    Kernel driver in use: HDA Intel
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
    Kernel driver in use: pcieport
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
    Kernel driver in use: pcieport
00:1c.4 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 5 (rev 05)
    Kernel driver in use: pcieport
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
    Kernel driver in use: pcieport
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
    Subsystem: Fujitsu Limited. Device 1528
    Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
    Subsystem: Fujitsu Limited. Device 157b
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 05)
    Subsystem: Fujitsu Limited. Device 151e
    Kernel driver in use: ahci
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
    Subsystem: Fujitsu Limited. Device 1525
01:00.0 VGA compatible controller: ATI Technologies Inc M96 [Mobility Radeon HD 4650]
    Subsystem: Fujitsu Limited. Device 1615
    Kernel driver in use: radeon
01:00.1 Audio device: ATI Technologies Inc RV710/730
    Subsystem: Fujitsu Limited. Device 1622
    Kernel driver in use: HDA Intel
04:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    Subsystem: Fujitsu Limited. Device 1537
    Kernel driver in use: ath9k
08:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
    Subsystem: Fujitsu Limited. Device 15b1
    Kernel driver in use: r8169
ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
    Subsystem: Fujitsu Limited. Device 155b
ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
    Subsystem: Fujitsu Limited. Device 155b
ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
    Subsystem: Fujitsu Limited. Device 155b
ff:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 02)
    Subsystem: Fujitsu Limited. Device 155b
ff:02.2 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
    Subsystem: Fujitsu Limited. Device 155b
ff:02.3 Host bridge: Intel Corporation Core Processor Reserved (rev 02)
    Subsystem: Fujitsu Limited. Device 155b
USB:

Kod: Zaznacz cały

Bus 002 Device 003: ID 045e:070f Microsoft Corp.
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0408:1fc3 Quanta Computer, Inc.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
WiFi:

Kod: Zaznacz cały

lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bgn  ESSID :o ff/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=off  
          Retry  long limit:7   RTS thr :o ff   Fragment thr :o ff
          Encryption key :o ff
          Power Management :o n
Nie wykrywa sieci bezprzewodowych (z tego co widziałem z wyników poleceń, karta nie jest włączona).
Awatar użytkownika
Van
Beginner
Posty: 194
Rejestracja: 04 lipca 2009, 11:54

Post autor: Van »

6548641568453
Posty: 6
Rejestracja: 07 czerwca 2011, 15:38

Post autor: 6548641568453 »

Nie, próbowałem i prawie wszystkie pakiety zalecane ściągnąłem. A karta się nie włącza.
Mam kartę AR9285 (Atheros). Czy są do niej sterowniki? Czytałem to, ale też nie działa
Awatar użytkownika
DaVidoSS
Junior Member
Posty: 875
Rejestracja: 06 marca 2010, 11:26
Lokalizacja: ~/

Post autor: DaVidoSS »

Skoro nic Ci "NIE DZIAŁA" przepraszam w imieniu deweloperów i oto proszę masz gotowca:

Upewnij się ze masz dodane w repozytoriach sekcje contrib i non-free.
http://debian.linux.pl/content/295-Repo ... urces.list

Kod: Zaznacz cały

su
apt-get update

Kod: Zaznacz cały

su
apt-get remove network-manager wicd --purge
apt-get  install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') wireless-tools nano wpasupplicant

 
Wy-edytuj plik:

Kod: Zaznacz cały

su
mv /etc/network/interfaces /etc/network/interfaces.old
nano /etc/network/interfaces
Wklej to:

Kod: Zaznacz cały

# Interfejs sieciowy loopback
auto lo
iface lo inet loopback
# Interfejs sieciowy LAN[font=monospace]
[/font]allow-hotplug eth0
iface eth0 inet dhcp
# Interfejs sieciowy WLAN
auto wlan0
iface wlan0 inet dhcp
wpa-ap-scan 1
wpa-mode 0
wpa-ssid [B]wlan3239f[/B]                 #SSID Twojej sieci wireless
wpa-psk [B]0432d43290ea1afeab54461[/B]   #klucz WPA/WPA2
Zmień pogrubione frazy na właściwe dla twojej sieci.
Zapisz zmiany kombinacją klawiszy : ctrl+o ctrl+x
Uniemożliw odczyt tego pliku przez osoby inne niż root:

Kod: Zaznacz cały

su
chmod 0600 /etc/network/interfaces

Kod: Zaznacz cały

su
modprobe ath9k
ifdown wlan0
ifdown eth0
ifup wlan0
6548641568453
Posty: 6
Rejestracja: 07 czerwca 2011, 15:38

Post autor: 6548641568453 »

Tylko że klucz jest typu WEP.
Wiem, że WPA jest bezpieczniejsze, ale to nie moja sieć tylko kolegów.
Awatar użytkownika
DaVidoSS
Junior Member
Posty: 875
Rejestracja: 06 marca 2010, 11:26
Lokalizacja: ~/

Post autor: DaVidoSS »

Żaden problem.
Zmień:

Kod: Zaznacz cały

# Interfejs sieciowy loopback
auto lo
iface lo inet loopback
# Interfejs sieciowy LAN[font=monospace]
[/font]allow-hotplug eth0
iface eth0 inet dhcp
# Interfejs sieciowy WLAN
auto wlan0
iface wlan0 inet dhcp
wpa-ap-scan 1
wpa-mode 0
wpa-ssid [B]wlan3239f[/B]                 #SSID Twojej sieci wireless
wpa-psk [B]0432d43290ea1afeab54461[/B]   #klucz WPA/WPA2
Na:

Kod: Zaznacz cały

# Interfejs sieciowy loopback
auto lo
iface lo inet loopback
# Interfejs sieciowy LAN[font=monospace]
[/font]allow-hotplug eth0
iface eth0 inet dhcp
# Interfejs sieciowy WLAN
auto wlan0
iface wlan0 inet dhcp
wireless-key1 0123-4567-89ab-cdef
wireless-key2 12345678[font=monospace]
[/font]wireless-key3 s :p assword[font=monospace]
[/font]wireless-defaultkey 2[font=monospace]
[/font]wireless-keymode open

Kod: Zaznacz cały

less /usr/share/doc/wireless-tools/README.Debian
6548641568453
Posty: 6
Rejestracja: 07 czerwca 2011, 15:38

Post autor: 6548641568453 »

Kod: Zaznacz cały

root@Larysa:/home/maks# modprobe ath9k
root@Larysa:/home/maks# ifdown wlan0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/wlan0/4c:0f:6e:00:0a:fa
Sending on   LPF/wlan0/4c:0f:6e:00:0a:fa
Sending on   Socket/fallback
cat: /sys/module/p80211/parameters/wlan_wext_write: No such file or directory
root@Larysa:/home/maks# ifdown eth0
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/8c:73:6e:a3:83:d2
Sending on   LPF/eth0/8c:73:6e:a3:83:d2
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.254 port 67
root@Larysa:/home/maks# ifup wlan0
FATAL: Module p80211 not found.
Failed to load p80211.ko.
run-parts: /etc/network/if-pre-up.d/linux-wlan-ng-pre-up exited with return code 1
SIOCSIFFLAGS: Unknown error 132
iwconfig: unknown command "password"
iwconfig: unknown command "password"
iwconfig: unknown command "password"
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

SIOCSIFFLAGS: Unknown error 132
SIOCSIFFLAGS: Unknown error 132
Listening on LPF/wlan0/4c:0f:6e:00:0a:fa
Sending on   LPF/wlan0/4c:0f:6e:00:0a:fa
Sending on   Socket/fallback
receive_packet failed on wlan0: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
send_packet: Network is down
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Zastąpiłem hasło słowem "password":

Kod: Zaznacz cały

iwconfig: unknown command "password"
iwconfig: unknown command "password"
iwconfig: unknown command "password"
Awatar użytkownika
DaVidoSS
Junior Member
Posty: 875
Rejestracja: 06 marca 2010, 11:26
Lokalizacja: ~/

Post autor: DaVidoSS »

To co podałem jest to tylko przykład opcji dla WEP.
Nie znam zabezpieczeń sieci do której chcesz się podłączyć.
Sam musisz określić jaka jest konfiguracja wymagana.

Jeśli jest tylko jeden klucz WEP to spróbuj użyć takiej konfiguracji:

Kod: Zaznacz cały

# Interfejs sieciowy loopback
auto lo
iface lo inet loopback
# Interfejs sieciowy LAN
allow-hotplug eth0
iface eth0 inet dhcp
# Interfejs sieciowy WLAN
auto wlan0
iface wlan0 inet dhcp
wireless-essid [B]wlan3239f[/B]                 #SSID Twojej sieci wireless
wireless-key [B]0432d43290ea1afeab54461[/B]   #klucz WEP

Kod: Zaznacz cały

su
ifdown wlan0
ifup wlan0
6548641568453
Posty: 6
Rejestracja: 07 czerwca 2011, 15:38

Post autor: 6548641568453 »

Dziękuje wszystkim.
Wystarczyło zainstalować sterownik, a później to trzeba było nacisnąć na klawisz FN+jakiś, który uruchamia bluetooth i wlan.
I działa.
Załączniki
zrzut_ekranu-Wicd Network Manager.png
ODPOWIEDZ