Linuxiarze.pl Forum

Dystrybucje Linux => Debian => Wątek zaczęty przez: Mamut w Maj 11, 2019, 11:43:12 PM

Tytuł: Podlaczenie komputera do sieci wi-fi
Wiadomość wysłana przez: Mamut w Maj 11, 2019, 11:43:12 PM
Mam Debian 9.6.0 i juz na samym poczatku potrzebuje pomocy!?

Musze zainstalowac karte do wi-fi. Aktualnie jestem na kablu.
Sterowniki do niej mam karte wykrywa sieci tez ale sie z moja siecia nie laczy.

Probowalem z tego poradnika:
http://www.ubucentrum.net/2009/05/aczenie-sie-z-wifi-z-poziomu-konsoli.html
lecz polecenie
sudo ifconfig wlan0 up
wpisujac kolejne numerki niestety nie wykrywa mi karty.

Wpisalem tez cos takiego w plik:

/etc/network/interfaces

auto ath0
iface ath0 inet dhcp
wireless-essid NAZWA_SIECI
wireless-key HASEŁKO_DO_SIECI
wireless-channel KANAŁ_NA_KTÓRYM_DZIAŁA_SIEC

/etc/init.d/networking restart


i nic.

Zainstalowalem jeszcze takie cos:
sudo apt-get install gcc-6 git build-essential
stad:
https://wiki.debian.org/WiFi

ale w tej chwili jade juz calkiem na slepo.

Zdarza mi sie podczas instalacji  blad ze czesci pakietow nie bierze.


Podaje troche info:

lsusb: (to jest chipset karty)

Bus 003 Device 002: ID 148f:3070 Ralink Technology, Corp. RT2870/RT3070 Wireless Adapter


ifconfig: (to jest moja karta wi-fi)

wlx00c0ca35e0bc: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether ce:ed:6b:22:59:b1  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


iwlist scanning: (z ta siecia wlasnie chce sie polaczyc)

Cell 03 - Address: E0:3F:49:F1:4E:30
                    Channel:4
                    Frequency:2.427 GHz (Channel 4)
                    Quality=47/70  Signal level=-63 dBm 
                    Encryption key:on
                    ESSID:"Asus1117"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000000a4ebc23aa
                    Extra: Last beacon: 48ms ago
                    IE: Unknown: 00084173757331313137
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 030104
                    IE: Unknown: 2A0104
                    IE: Unknown: 2F0104
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : CCMP
                        Pairwise Ciphers (1) : CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 0B050200390000
                    IE: Unknown: 2D1AAD1917FFFFFF0000000000000000000000000000000000000000
                    IE: Unknown: 3D1604080400000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F080500080000000040
                    IE: Unknown: DD090010180202001C0000
                    IE: Unknown: DD180050F2020101840003A4000027A4000042435E0062322F00
                    IE: Unknown: 46057208010000
                    IE: Unknown: DD1E00904C0408BF0CB259820FEAFF0000EAFF0000C0050004000000C3020002



iwconfig:

wlx00c0ca35e0bc  IEEE 802.11  ESSID:off/any 
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
         
eno1      no wireless extensions.

enp5s0    no wireless extensions.

lo        no wireless extensions.


dhclient:

RTNETLINK answers: File exists

Czy podalem wszystko co trzeba?

Najlepiej jakby to od poczatku z konsoli dzialalo
bo zaraz bym to samo sprobowal na karcie z innym chipem...
Ale priorytet jest ze ma to dzialac!!!










Tytuł: Odp: Podlaczenie komputera do sieci wi-fi
Wiadomość wysłana przez: Fibogacci w Maj 12, 2019, 01:43:43 AM
Jeżeli dobrze zrozumiałem, to kartę wykrywa i ogólnie z tym nie ma problemu, a problem jest z połączeniem się z WiFi?

Może warto spróbować z programem (do konfiguracji połączenia), łatwy do użycia w terminalu - ceni

Instalacja:

$ sudo apt-get install ceni
Tytuł: Odp: Podlaczenie komputera do sieci wi-fi
Wiadomość wysłana przez: lami07 w Maj 12, 2019, 08:03:35 AM
Mamut zajrzyj tu:
https://wiki.debian.org/rt2800usb
Tytuł: Odp: Podlaczenie komputera do sieci wi-fi
Wiadomość wysłana przez: Mamut w Maj 12, 2019, 09:36:47 AM
Cytathttps://wiki.debian.org/rt2800usb


1.  sources.list i to co tam mam

# deb cdrom:[Debian GNU/Linux 9.6.0 _Stretch_ - Official amd64 DVD Binary-1 20181110-11:34]/ stretch contrib main
# deb cdrom:[Debian GNU/Linux 9.6.0 _Stretch_ - Official amd64 DVD Binary-1 20181110-11:34]/ stretch contrib main
#podstawowe repozytorium
deb http://deb.debian.org/debian stable main
#repozytorium poprawek bezpieczeństwa
deb http://security.debian.org/ stable/updates main
#repozytorium często aktualizowanych programów
deb http://deb.debian.org/debian/ stretch main contrib
deb-src http://deb.debian.org/debian/ stretch main contrib #Added by software-properties
deb http://deb.debian.org/debian/ stretch-updates contrib main
deb http://deb.debian.org/debian stable-updates main
deb http://http.debian.net/debian/ stretch main contrib non-free


2. - update - pobieralo i na koncu pojawily sie takie bledy:

W: http://security.debian.org/dists/stable/updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stretch-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stable-updates/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stable/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://http.debian.net/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.
W: http://deb.debian.org/debian/dists/stretch/Release.gpg: The key(s) in the keyring /etc/apt/trusted.gpg are ignored as the file is not readable by user '_apt' executing apt-key.


3. sterowniki do karty mam:

apt-get install firmware-ralink
Reading package lists... Done
Building dependency tree       
Reading state information... Done
firmware-ralink is already the newest version (20161130-5).
The following package was automatically installed and is no longer required:
  python-glade2
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.


4. Kiedy wchodze do programu, teraz uzywam Network version 3.2.1-3 to mam tak, widzi karte jako WI-FI,
pokazuje liste sieci ale z moja nie laczy.

Na razie tak jak wczoraj bez zmian.

A  jeszcze... lista dostepnych sieci wydlada tak jakby byla w pamieci z wczoraj bo teraz jak przesunalem w programie suwak na Off i z powrotem na On to lista sie nie pojawia.

4. Connect the device to your system. The rt2800usb kernel module is automatically loaded for supported devices.


Tego nie zrobilem bo karte mialem caly czas podlaczona. Czy w tym jest klopot?

wiec:

odlaczylem karte zainstalowalem jeszcze raz sterowniki Ralink i pokazalo na nowo liste dostepnych sieci

lecz wciaz nie laczy.





Tytuł: Odp: Podlaczenie komputera do sieci wi-fi
Wiadomość wysłana przez: gosc w Maj 12, 2019, 10:24:15 AM
Powszechnie znany błąd https://wiki.debian.org/WiFi/HowToUse#WiFi_can_scan.2C_but_not_connect_using_NetworkManager_.28Debian_9_Stretch.29
CytatWiFi can scan, but not connect using NetworkManager (Debian 9 Stretch)

If you find that your wireless network device can scan, but will not complete connecting, try turning off MAC address randomization.

Write inside /etc/NetworkManager/NetworkManager.conf:

[device]
wifi.scan-rand-mac-address=no

After doing this, restart Network Manager. One way to do this is to reboot, but there should be a less disruptive way.
Tytuł: Odp: Podlaczenie komputera do sieci wi-fi [ROZWIĄZANY].
Wiadomość wysłana przez: Mamut w Maj 12, 2019, 11:35:55 AM
[device]
wifi.scan-rand-mac-address=no


Zadzialalo!  Podgladnalem tez karte w ruterze jest adres i mac.
Jak bede mial cos jeszcze to zaloze nowy temat. Zwijam kabel.

Dziekuje.