Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Networking, configurazione della connessione, periferiche e condivisioni di rete.
Scrivi risposta
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

salve
ho preso un lenovo idea pad 110 ast 15 con scheda wireless Realtek Semiconductor Co., Ltd. RTL8821AE
ho installato ubuntu 16.04 il pc va benissimo , ha il solo problema della rete wifi.
mi spiego meglio, tramite cavo il collegamento va benissimo, ma con il wifi , escono dei problemi.
all avvio si collega regolarmente e posso navigare tranquillamente ma dopo poco , pur rimanendo collegato , on carica piu le pagine , devo scollegarmi dalla rete e ricollegarmi, ma durante questa procedura si blocca un po il tutto , cioè, l icona del netwokmanager non si svuota subito , pur avendo cliccato scollegati , rimane l icona del collegamento attivo , per intenderci quella con tutti gli archetti.
dopo un po si vuota , come quando si è scollehgata, .
se provo a ricollegarmi e seleziono la rete , dopo qualche secondo parte l animazione del collegamento e si collega per un po di tempo e poi ri fa da capo e a volte quando provo a ricollegarmi il network nonn mi fa vedere piu la rete.
ho seguito una valanga di quide e discussioni , ho provato anche wicd , pero se installo wicd , si collega al router ma non mi fa caricare le pagine,
cioè, se nella barra degli indirizzi da l ip del router mi apre la pagina , ma se do un indirizzo di un sito mi da l errore di connessione mancante.
ho dato questi comandi

Codice: Seleziona tutto

sudo lshw -c network
  *-network                 
       description: Wireless interface
       product: RTL8821AE 802.11ac PCIe Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 00
       serial: c8:3d:d4:8f:cb:4b
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8821ae driverversion=4.10.0-40-generic firmware=N/A ip=192.168.1.3 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:39 ioport:2000(size=256) memory:f0c00000-f0c03fff
  *-network
       description: Ethernet interface
       product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: enp3s0
       version: 07
       serial: c8:5b:76:eb:4d:89
       size: 10Mbit/s
       capacity: 100Mbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=half firmware=rtl8106e-1_0.0.1 06/29/12 latency=0 link=no multicast=yes port=MII speed=10Mbit/s
       resources: irq:32 ioport:1000(size=256) memory:f0b00000-f0b00fff memory:f0800000-f0803fff

lspci -knn | grep -A 2 -i net

Codice: Seleziona tutto

02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8821AE 802.11ac PCIe Wireless Network Adapter [10ec:8821]
	Subsystem: Lenovo RTL8821AE 802.11ac PCIe Wireless Network Adapter [17aa:a814]
	Kernel driver in use: rtl8821ae
	Kernel modules: rtl8821ae
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
	Subsystem: Lenovo RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [17aa:3845]
	Kernel driver in use: r8169
	Kernel modules: r8169
ifconfig -a

Codice: Seleziona tutto

enp3s0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether c8:5b:76:eb:4d:89  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

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Loopback locale)
        RX packets 1004  bytes 81492 (81.4 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1004  bytes 81492 (81.4 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.3  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::eb83:f0a2:5287:3437  prefixlen 64  scopeid 0x20<link>
        ether c8:3d:d4:8f:cb:4b  txqueuelen 1000  (Ethernet)
        RX packets 1200  bytes 485702 (485.7 KB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1351  bytes 266074 (266.0 KB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 
rfkill list all

Codice: Seleziona tutto

 0: ideapad_wlan: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: ideapad_bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
3: hci0: Bluetooth
	Soft blocked: yes
	Hard blocked: no
4: phy1: Wireless LAN
	Soft blocked: no
	Hard blocked: no
sudo iw wlan0 scan

Codice: Seleziona tutto

 Usage:	iw [options] command
Options:
	--debug		enable netlink debugging
	--version	show version (4.9)
Commands:
	help [command]
		Print usage for all or a specific command, e.g.
		"help wowlan" or "help wowlan enable".

	event [-t|-r] [-f]
		Monitor events from the kernel.
		-t - print timestamp
		-r - print relative timstamp
		-f - print full frame for auth/assoc etc.

	features 
		

	commands
		list all known commands and their decimal & hex value

	phy
	list
		List all wireless devices and their capabilities.

	phy <phyname> info
		Show capabilities for the specified wireless device.

	phy <phyname> channels
		Show available channels.

	dev
		List all network interfaces for wireless hardware.

	dev <devname> info
		Show information for this interface.

	dev <devname> del
		Remove this virtual interface

	dev <devname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*] [addr <mac-addr>]
	phy <phyname> interface add <name> type <type> [mesh_id <meshid>] [4addr on|off] [flags <flag>*] [addr <mac-addr>]
		Add a new virtual interface with the given configuration.
		Valid interface types are: managed, ibss, monitor, mesh, wds.
		
		The flags are only used for monitor interfaces, valid flags are:
		none:     no special flags
		fcsfail:  show frames with FCS errors
		control:  show control frames
		otherbss: show frames from other BSSes
		cook:     use cooked mode
		active:   use active mode (ACK incoming unicast packets)
		mumimo-groupid <GROUP_ID>: use MUMIMO according to a group id
		mumimo-follow-mac <MAC_ADDRESS>: use MUMIMO according to a MAC address
		
		The mesh_id is used only for mesh mode.

	dev <devname> ibss join <SSID> <freq in MHz> [NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [<fixed bssid>] [beacon-interval <TU>] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate <rate in Mbps>] [key d:0:abcde]
		Join the IBSS cell with the given SSID, if it doesn't exist create
		it on the given frequency. When fixed frequency is requested, don't
		join/create a cell on a different frequency. When a fixed BSSID is
		requested use that BSSID and do not adopt another cell's BSSID even
		if it has higher TSF and the same SSID. If an IBSS is created, create
		it with the specified basic-rates, multicast-rate and beacon-interval.

	dev <devname> ibss leave
		Leave the current IBSS cell.

	dev <devname> station dump [-v]
		List all stations known, e.g. the AP on managed interfaces

	dev <devname> station set <MAC address> mesh_power_mode <active|light|deep>
		Set link-specific mesh power mode for this station

	dev <devname> station set <MAC address> vlan <ifindex>
		Set an AP VLAN for this station.

	dev <devname> station set <MAC address> plink_action <open|block>
		Set mesh peer link action for this station (peer).

	dev <devname> station del <MAC address> [subtype <subtype>] [reason-code <code>]
		Remove the given station entry (use with caution!)
		Example subtype values: 0xA (disassociation), 0xC (deauthentication)

	dev <devname> station get <MAC address>
		Get information for a specific station.

	dev <devname> survey dump
		List all gathered channel survey data

	dev <devname> ocb leave
		Leave the OCB mode network.

	dev <devname> ocb join <freq in MHz> <5MHz|10MHz>
		Join the OCB mode network.

	dev <devname> mesh leave
		Leave a mesh.

	dev <devname> mesh join <mesh ID> [[freq <freq in MHz> <NOHT|HT20|HT40+|HT40-|80MHz>] [basic-rates <rate in Mbps,rate2,...>]], [mcast-rate <rate in Mbps>] [beacon-interval <time in TUs>] [dtim-period <value>] [vendor_sync on|off] [<param>=<value>]*
		Join a mesh with the given mesh ID with frequency, basic-rates,
		mcast-rate and mesh parameters. Basic-rates are applied only if
		frequency is provided.

	dev <devname> mpath dump
		List known mesh paths.

	dev <devname> mpath set <destination MAC address> next_hop <next hop MAC address>
		Set an existing mesh path's next hop.

	dev <devname> mpath new <destination MAC address> next_hop <next hop MAC address>
		Create a new mesh path (instead of relying on automatic discovery).

	dev <devname> mpath del <MAC address>
		Remove the mesh path to the given node.

	dev <devname> mpath get <MAC address>
		Get information on mesh path to the given node.

	dev <devname> mpp dump
		List known mesh proxy paths.

	dev <devname> mpp get <MAC address>
		Get information on mesh proxy path to the given node.

	dev <devname> scan [-u] [freq <freq>*] [ies <hex as 00:11:..>] [meshid <meshid>] [lowpri,flush,ap-force] [randomise[=<addr>/<mask>]] [ssid <ssid>*|passive]
		Scan on the given frequencies and probe for the given SSIDs
		(or wildcard if not given) unless passive scanning is requested.
		If -u is specified print unknown data in the scan results.
		Specified (vendor) IEs must be well-formed.

	dev <devname> scan sched_stop 
		Stop an ongoing scheduled scan.

	dev <devname> scan sched_start [interval <in_msecs> | scan_plans [<interval_secs:iterations>*] <interval_secs>] [delay <in_secs>] [freqs <freq>+] [matches [ssid <ssid>]+]] [active [ssid <ssid>]+|passive] [randomise[=<addr>/<mask>]]
		Start a scheduled scan at the specified interval on the given frequencies
		with probing for the given SSIDs (or wildcard if not given) unless passive
		scanning is requested.  If matches are specified, only matching results
		will be returned.

	dev <devname> scan abort 
		Abort ongoing scan

	dev <devname> scan trigger [freq <freq>*] [ies <hex as 00:11:..>] [meshid <meshid>] [lowpri,flush,ap-force] [randomise[=<addr>/<mask>]] [ssid <ssid>*|passive]
		Trigger a scan on the given frequencies with probing for the given
		SSIDs (or wildcard if not given) unless passive scanning is requested.

	dev <devname> scan dump [-u]
		Dump the current scan results. If -u is specified, print unknown
		data in scan results.

	phy <phyname> reg get
		Print out the devices' current regulatory domain information.

	reg get
		Print out the kernel's current regulatory domain information.

	reg set <ISO/IEC 3166-1 alpha2>
		Notify the kernel about the current regulatory domain.

	dev <devname> auth <SSID> <bssid> <type:open|shared> <freq in MHz> [key 0:abcde d:1:6162636465]
		Authenticate with the given network.
		

	dev <devname> connect [-w] <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1:6162636465]
		Join the network with the given SSID (and frequency, BSSID).
		With -w, wait for the connect to finish or fail.

	dev <devname> disconnect
		Disconnect from the current network.

	dev <devname> link
		Print information about the current link, if any.

	dev <devname> offchannel <freq> <duration>
		Leave operating channel and go to the given channel for a while.

	dev <devname> cqm rssi <threshold|off> [<hysteresis>]
		Set connection quality monitor RSSI threshold.
		

	phy <phyname> wowlan show 
		Show WoWLAN status.

	phy <phyname> wowlan disable 
		Disable WoWLAN.

	phy <phyname> wowlan enable [any] [disconnect] [magic-packet] [gtk-rekey-failure] [eap-identity-request] [4way-handshake] [rfkill-release] [net-detect [interval <in_msecs> | scan_plans [<interval_secs:iterations>*] <interval_secs>] [delay <in_secs>] [freqs <freq>+] [matches [ssid <ssid>]+]] [active [ssid <ssid>]+|passive] [randomise[=<addr>/<mask>]]] [tcp <config-file>] [patterns [offset1+]<pattern1> ...]
		Enable WoWLAN with the given triggers.
		Each pattern is given as a bytestring with '-' in places where any byte
		may be present, e.g. 00:11:22:-:44 will match 00:11:22:33:44 and
		00:11:22:33:ff:44 etc.
		Offset and pattern should be separated by '+', e.g. 18+43:34:00:12 will match '43:34:00:12' after 18 bytes of offset in Rx packet.
		
		The TCP configuration file contains:
		  source=ip[:port]
		  dest=ip:port@mac
		  data=<hex data packet>
		  data.interval=seconds
		  [wake=<hex packet with masked out bytes indicated by '-'>]
		  [data.seq=len,offset[,start]]
		  [data.tok=len,offset,<token stream>]
		
		Net-detect configuration example:
		 iw phy0 wowlan enable net-detect interval 5000 delay 30 freqs 2412 2422 matches ssid foo ssid bar

	phy <phyname> coalesce show 
		Show coalesce status.

	phy <phyname> coalesce disable 
		Disable coalesce.

	phy <phyname> coalesce enable <config-file>
		Enable coalesce with given configuration.
		The configuration file contains coalesce rules:
		  delay=<delay>
		  condition=<condition>
		  patterns=<[offset1+]<pattern1>,<[offset2+]<pattern2>,...>
		  delay=<delay>
		  condition=<condition>
		  patterns=<[offset1+]<pattern1>,<[offset2+]<pattern2>,...>
		  ...
		delay: maximum coalescing delay in msec.
		condition: 1/0 i.e. 'not match'/'match' the patterns
		patterns: each pattern is given as a bytestring with '-' in
		places where any byte may be present, e.g. 00:11:22:-:44 will
		match 00:11:22:33:44 and 00:11:22:33:ff:44 etc. Offset and
		pattern should be separated by '+', e.g. 18+43:34:00:12 will
		match '43:34:00:12' after 18 bytes of offset in Rx packet.
		

	dev <devname> roc start <freq> <time in ms>
		

	wdev <idx> p2p stop 
		

	wdev <idx> p2p start 
		

	dev <devname> vendor recvbin <oui> <subcmd> <filename|-|hex data>
		

	dev <devname> vendor recv <oui> <subcmd> <filename|-|hex data>
		

	dev <devname> vendor send <oui> <subcmd> <filename|-|hex data>
		

	phy <phyname> set antenna <bitmap> | all | <tx bitmap> <rx bitmap>
		Set a bitmap of allowed antennas to use for TX and RX.
		The driver may reject antenna configurations it cannot support.

	dev <devname> set txpower <auto|fixed|limit> [<tx power in mBm>]
		Specify transmit power level and setting type.

	phy <phyname> set txpower <auto|fixed|limit> [<tx power in mBm>]
		Specify transmit power level and setting type.

	phy <phyname> set distance <auto|distance>
		Enable ACK timeout estimation algorithm (dynack) or set appropriate
		coverage class for given link distance in meters.
		To disable dynack set valid value for coverage class.
		Valid values: 0 - 114750

	phy <phyname> set coverage <coverage class>
		Set coverage class (1 for every 3 usec of air propagation time).
		Valid values: 0 - 255.

	phy <phyname> set netns { <pid> | name <nsname> }
		Put this wireless device into a different network namespace:
		    <pid>    - change network namespace by process id
		    <nsname> - change network namespace by name from /run/netns
		               or by absolute path (man ip-netns)
		

	phy <phyname> set retry [short <limit>] [long <limit>]
		Set retry limit.

	phy <phyname> set rts <rts threshold|off>
		Set rts threshold.

	phy <phyname> set frag <fragmentation threshold|off>
		Set fragmentation threshold.

	dev <devname> set channel <channel> [HT20|HT40+|HT40-]
	phy <phyname> set channel <channel> [HT20|HT40+|HT40-]
	dev <devname> set freq <freq> [HT20|HT40+|HT40-]
	dev <devname> set freq <control freq> [20|40|80|80+80|160] [<center freq 1>] [<center freq 2>]
	phy <phyname> set freq <freq> [HT20|HT40+|HT40-]
		Set frequency/channel the hardware is using, including HT
		configuration.

	phy <phyname> set name <new name>
		Rename this wireless device.

	dev <devname> set mcast_rate <rate in Mbps>
		Set the multicast bitrate.

	dev <devname> set peer <MAC address>
		Set interface WDS peer.

	dev <devname> set noack_map <map>
		Set the NoAck map for the TIDs. (0x0009 = BE, 0x0006 = BK, 0x0030 = VI, 0x00C0 = VO)

	dev <devname> set 4addr <on|off>
		Set interface 4addr (WDS) mode.

	dev <devname> set type <type>
		Set interface type/mode.
		Valid interface types are: managed, ibss, monitor, mesh, wds.

	dev <devname> set meshid <meshid>
	dev <devname> set monitor <flag>*
		Set monitor flags. Valid flags are:
		none:     no special flags
		fcsfail:  show frames with FCS errors
		control:  show control frames
		otherbss: show frames from other BSSes
		cook:     use cooked mode
		active:   use active mode (ACK incoming unicast packets)
		mumimo-groupid <GROUP_ID>: use MUMIMO according to a group id
		mumimo-follow-mac <MAC_ADDRESS>: use MUMIMO according to a MAC address

	dev <devname> set mesh_param <param>=<value> [<param>=<value>]*
		Set mesh parameter (run command without any to see available ones).

	dev <devname> set power_save <on|off>
		Set power save state to on or off.

	dev <devname> set bitrates [legacy-<2.4|5> <legacy rate in Mbps>*] [ht-mcs-<2.4|5> <MCS index>*] [vht-mcs-<2.4|5> <NSS:MCSx,MCSy... | NSS:MCSx-MCSy>*] [sgi-2.4|lgi-2.4] [sgi-5|lgi-5]
		Sets up the specified rate masks.
		Not passing any arguments would clear the existing mask (if any).

	dev <devname> get mesh_param [<param>]
		Retrieve mesh parameter (run command without any to see available ones).

	dev <devname> get power_save <param>
		Retrieve power save state.


Commands that use the netdev ('dev') can also be given the
'wdev' instead to identify the device.

You can omit the 'phy' or 'dev' if the identification is unique,
e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.)

Do NOT screenscrape this tool, we don't consider its output stable.
grazie per l aiuto
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

Salve,

da terminale postami questi comandi:

Codice: Seleziona tutto

dmesg | grep  rtl8821ae

Codice: Seleziona tutto

iwconfig

Codice: Seleziona tutto

dmesg | grep wlp2s0
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

grazie per la risposta
il terminale mi ha restituito questi risulktati

Codice: Seleziona tutto

[   22.639190] rtl8821ae: unknown parameter 'ant_sel' ignored
[   22.656237] rtl8821ae: Using firmware rtlwifi/rtl8821aefw.bin
[   22.656242] rtl8821ae: Using firmware rtlwifi/rtl8821aefw_wowlan.bin
[   23.135118] rtl8821ae 0000:02:00.0 wlp2s0: renamed from wlan0

Codice: Seleziona tutto

wlp2s0    IEEE 802.11  ESSID:off/any  
          Mode:Managed  Access Point: Not-Associated   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr=2347 B   Fragment thr:off
          Power Management:off
          
lo        no wireless extensions.

enp3s0    no wireless extensions.

Codice: Seleziona tutto

[   23.135118] rtl8821ae 0000:02:00.0 wlp2s0: renamed from wlan0
[   28.055547] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   28.310919] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   28.469602] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   28.619595] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[  373.203434] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
adesso sono collegato tramite cavo.
aggiungo che facendo delle ricerche consigliavano una chiavetta wifi , ho provato con quella fornita insieme al router ( dilink).4
non riconosciuta, adesso non trova piu neanchge la rete , wicd la trova ma non mi fa caricare le pagine , come prima mi fa andare solo sulla pagina di configureazione router
grazie
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

Prego, di nulla!

Da terminale postami questo comando:

Codice: Seleziona tutto

cat /etc/modprobe.d/rtl8821ae.conf
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

cat: /etc/modprobe.d/rtl8821ae.conf: File o directory non esistente

mi sono scordato di scrivere una premessa.
ho preso questo pc con win 10 ciho installato ubuntu 16.04 e il wireless non andava bene , si scollegava spesso , poi seguedo delle guide ho dato apt-get upgrade , ed ho installato wicd e eliminado la rete wifi da networkmanager , ed usatile,ndo wicd per collegarmi andava tutto.
poi , non so il perche , nel tentativo di recuperare dati da un hdd , di un mio amico , collegato tramite usb, a cui era saltato lo schermo del portatile , ha fatto il bot win 7 ,
al riavvio grub era saltato , ho rimesso ubuntu 16.04 e ripetuto la procedura , ma niente da fare , ho anche aggiornato alla 16.10 e poi ho usato anche la 17 ,
io ho due partizioni una root e una home che mantengo sempre anche se ri installo il sistema
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

Ciao.

Hai l'IPv6 attivo,
clicca in alto a dx sull'icona di NM, vai in basso su Modifica connessioni...; clicca su Senza fili, seleziona la tua rete wireless, clicca su Modifica, vai su Impostazioni IPv6, mettilo su Ignora e clicca in basso a dx su Salva.

Disconnettiti dalla tua rete wireless.

Da terminale dai questi comandi:

Codice: Seleziona tutto

sudo -H gedit /etc/sysctl.conf
in fondo al file, copia e incolla queste righe:

Codice: Seleziona tutto

# Disable IPV6
net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1 
salva ed esci dall'editor di testo.

Un altro controllo che puoi fare è andare su Firefox: Preferenze > Avanzate > Rete > Impostazioni; controlla che sia impostato su Nessun proxy, poi clicca in basso a destra su OK.

Chiudi firefox e riavvialo.

______________________________________________
[ 22.639190] rtl8821ae: unknown parameter 'ant_sel' ignored
[ 22.656237] rtl8821ae: Using firmware rtlwifi/rtl8821aefw.bin
[ 22.656242] rtl8821ae: Using firmware rtlwifi/rtl8821aefw_wowlan.bin
[ 23.135118] rtl8821ae 0000:02:00.0 wlp2s0: renamed from wlan0
è come se ci fosse un file di configurazione configurato male; da terminale postami questo comando:

Codice: Seleziona tutto

ls -l /etc/modprobe.d/
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

ho provato i comandi che mi hai consigliato , ma non andava .
ho rimesso tutto sul pulito compresa la home, adesso si collega va per 5 minuti e poi , pur rimando l icona che da quando e collegata, si scollega
devo ridare i com,andi che mi hai consigliato ?
questo e quello che mi restituisce dando il comando che mi hai consigliato
ls -l /etc/modprobe.d/
totale 44
-rw-r--r-- 1 root root 2507 lug 31 2015 alsa-base.conf
-rw-r--r-- 1 root root 325 mar 13 2016 blacklist-ath_pci.conf
-rw-r--r-- 1 root root 1603 mar 13 2016 blacklist.conf
-rw-r--r-- 1 root root 210 mar 13 2016 blacklist-firewire.conf
-rw-r--r-- 1 root root 697 mar 13 2016 blacklist-framebuffer.conf
-rw-r--r-- 1 root root 156 lug 31 2015 blacklist-modem.conf
lrwxrwxrwx 1 root root 41 dic 7 18:45 blacklist-oss.conf -> /lib/linux-sound-base/noOSS.modprobe.conf
-rw-r--r-- 1 root root 583 mar 13 2016 blacklist-rare-network.conf
-rw-r--r-- 1 root root 1077 mar 13 2016 blacklist-watchdog.conf
-rw-r--r-- 1 root root 390 apr 12 2016 fbdev-blacklist.conf
-rw-r--r-- 1 root root 347 mar 13 2016 iwlwifi.conf
-rw-r--r-- 1 root root 104 mar 13 2016 mlx4.conf


ho anche messo ignora su ipv6
ma non credo che sia un problema di firefox , perche quando si blocca la connessione lo fa anche con synaptic ,youtube ecc
Ultima modifica di albepancio il giovedì 7 dicembre 2017, 19:50, modificato 1 volta in totale.
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

Da terminale postami questo comando:

Codice: Seleziona tutto

modinfo rtl8821ae
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

filename: /lib/modules/4.10.0-28-generic/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko
firmware: rtlwifi/rtl8821aefw.bin
description: Realtek 8821ae 802.11ac PCI wireless
license: GPL
author: Realtek WlanFAE <wlanfae@realtek.com>
srcversion: 7035D4BEF647A4E63CBD578
alias: pci:v000010ECd00008821sv*sd*bc*sc*i*
alias: pci:v000010ECd00008812sv*sd*bc*sc*i*
depends: rtlwifi,rtl_pci,btcoexist,mac80211
intree: Y
vermagic: 4.10.0-28-generic SMP mod_unload
parm: swenc:Set to 1 for software crypto (default 0)
(bool)
parm: ips:Set to 0 to not use link power save (default 1)
(bool)
parm: swlps:Set to 1 to use SW control power save (default 0)
(bool)
parm: fwlps:Set to 1 to use FW control power save (default 1)
(bool)
parm: msi:Set to 1 to use MSI interrupts mode (default 1)
(bool)
parm: debug:Set debug level (0-5) (default 0) (int)
parm: disable_watchdog:Set to 1 to disable the watchdog (default 0)
(bool)
parm: int_clear:Set to 0 to disable interrupt clear before set (default 1)
(bool)
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

Da terminale dai questi comandi connesso ad Internet:

Codice: Seleziona tutto

sudo -s

Codice: Seleziona tutto

apt-get install linux-headers-generic build-essential git

Codice: Seleziona tutto

cd /usr/src

Codice: Seleziona tutto

git clone http://github.com/lwfinger/rtlwifi_new.git

Codice: Seleziona tutto

cd rtlwifi_new

Codice: Seleziona tutto

make

Codice: Seleziona tutto

make install
chiudi il terminale e riavvia il PC
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

questa l ho gia provata , e dopo questo comando e sparita la rete dal NM

p.s. ho provato gli ultimi comandi che mi ha suggerito .
pero continua a collegarsi e dopo poco si scollega , se collego la rete e la ricollego ( ma la procedura non e istantanea) riprende per un po e poi si riscollega
:(
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

Connesso in wifi da terminale postami questi comandi:

Codice: Seleziona tutto

dmesg | grep rtl8821ae

Codice: Seleziona tutto

dmesg | grep wlp2s0

Codice: Seleziona tutto

iwlist wlp2s0 scan

Codice: Seleziona tutto

iwlist wlp2s0 channel

quando si scollega da terminale dai questo comando:

Codice: Seleziona tutto

cat /var/log/syslog | grep NetworkMananger
per vedere se si riesce a vedere cosa interrompe la connessione.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

Codice: Seleziona tutto

 dmesg | grep rtl8821ae
[   19.158604] rtl8821ae: Using firmware rtlwifi/rtl8821aefw.bin
[   19.158609] rtl8821ae: Using firmware rtlwifi/rtl8821aefw_wowlan.bin
[   20.208945] rtl8821ae 0000:02:00.0 wlp2s0: renamed from wlan0

Codice: Seleziona tutto

dmesg | grep wlp2s0
[   20.208945] rtl8821ae 0000:02:00.0 wlp2s0: renamed from wlan0
[   25.914490] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   26.141480] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   26.664686] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[   33.022604] wlp2s0: authenticate with f0:7d:68:71:dd:86
[   33.047714] wlp2s0: send auth to f0:7d:68:71:dd:86 (try 1/3)
[   33.052727] wlp2s0: authenticated
[   33.056034] wlp2s0: associate with f0:7d:68:71:dd:86 (try 1/3)
[   33.076578] wlp2s0: RX AssocResp from f0:7d:68:71:dd:86 (capab=0x411 status=0 aid=1)
[   33.439032] wlp2s0: associated
[   33.439047] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready

Codice: Seleziona tutto

wlist wlp2s0 scan
wlp2s0    Scan completed :
          Cell 01 - Address: F0:7D:68:71:DD:86
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=70/70  Signal level=-34 dBm  
                    Encryption key:on
                    ESSID:"dlink"
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 9 Mb/s
                              18 Mb/s; 36 Mb/s; 54 Mb/s
                    Bit Rates:6 Mb/s; 12 Mb/s; 24 Mb/s; 48 Mb/s
                    Mode:Master
                    Extra:tsf=0000009e0687fd28
                    Extra: Last beacon: 44688ms ago
                    IE: Unknown: 0005646C696E6B
                    IE: Unknown: 010882848B961224486C
                    IE: Unknown: 030106
                    IE: Unknown: 2A0104
                    IE: Unknown: 32040C183060
                    IE: Unknown: 2D1A0E1017FFFF0000010000000000000000000000000C0000000000
                    IE: Unknown: 3D1606000600000000000000000000000000000000000000
                    IE: Unknown: 3E0100
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : TKIP CCMP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    IE: Unknown: 0B05030008127A
                    IE: Unknown: 7F0101
                    IE: Unknown: DD07000C4304000000
                    IE: Unknown: 0706545720010D10
                    IE: Unknown: DD1E00904C330E1017FFFF0000010000000000000000000000000C0000000000
                    IE: Unknown: DD1A00904C3406000600000000000000000000000000000000000000
                    IE: Unknown: DDA40050F204104A0001101044000102103B00010310470010BC329E001DD811B28601F07D6871DD861021001852616C696E6B20546563686E6F6C6F67792C20436F72702E1023001C52616C696E6B20576972656C6573732041636365737320506F696E74102400065254323836301042000831323334353637381054000800060050F2040001101100105472656E64636869702031316E204150100800020084103C000101

Codice: Seleziona tutto

iwlist wlp2s0 channel
wlp2s0    27 channels in total; available frequencies :
          Channel 01 : 2.412 GHz
          Channel 02 : 2.417 GHz
          Channel 03 : 2.422 GHz
          Channel 04 : 2.427 GHz
          Channel 05 : 2.432 GHz
          Channel 06 : 2.437 GHz
          Channel 07 : 2.442 GHz
          Channel 08 : 2.447 GHz
          Channel 09 : 2.452 GHz
          Channel 10 : 2.457 GHz
          Channel 11 : 2.462 GHz
          Channel 56 : 5.28 GHz
          Channel 60 : 5.3 GHz
          Channel 64 : 5.32 GHz
          Channel 100 : 5.5 GHz
          Channel 104 : 5.52 GHz
          Channel 108 : 5.54 GHz
          Channel 112 : 5.56 GHz
          Channel 116 : 5.58 GHz
          Channel 132 : 5.66 GHz
          Channel 136 : 5.68 GHz
          Channel 140 : 5.7 GHz
          Channel 149 : 5.745 GHz
          Channel 153 : 5.765 GHz
          Channel 157 : 5.785 GHz
          Channel 161 : 5.805 GHz
          Channel 165 : 5.825 GHz
          Current Frequency:2.437 GHz (Channel 6)
adesso sembra andare meglio , non so il perchde, a volte si blocca per qualche secondo e poi ricarica regolarmente ,
ora provo con un torrent per vedere come va nella media la connessione
grazie mille dell aiuto
p.s.adesso si e scollegata ho dato il comando che mi ahai consigliiato , ma non restituisce nulla.
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

adesso non funzionava piu ho provato a scollegarla e ricollegarla e mi è apparso questo
Attivazione della connessione non riuscita
Attivazione della connessione non riuscita

2) La connessione attiva è stata rimossa prima di essere inizializzata
ora rifunziona ma al posto dell icona del wifi cè l icona con le due frecce , quella del collegamento cavo per intenderci :(
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

dmesg | grep wlp2s0
[ 20.208945] rtl8821ae 0000:02:00.0 wlp2s0: renamed from wlan0
[ 25.914490] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 26.141480] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 26.664686] IPv6: ADDRCONF(NETDEV_UP): wlp2s0: link is not ready
[ 33.022604] wlp2s0: authenticate with f0:7d:68:71:dd:86
[ 33.047714] wlp2s0: send auth to f0:7d:68:71:dd:86 (try 1/3)
[ 33.052727] wlp2s0: authenticated
[ 33.056034] wlp2s0: associate with f0:7d:68:71:dd:86 (try 1/3)
[ 33.076578] wlp2s0: RX AssocResp from f0:7d:68:71:dd:86 (capab=0x411 status=0 aid=1)
[ 33.439032] wlp2s0: associated
[ 33.439047] IPv6: ADDRCONF(NETDEV_CHANGE): wlp2s0: link becomes ready
Hai ancora l'IPv6 attivo,
clicca in alto a dx sull'icona di NM, vai in basso su Modifica connessioni...; clicca su Senza fili, seleziona la tua rete wireless, clicca su Modifica, vai su Impostazioni IPv6, dal menu a tendina mettilo su Ignora e clicca in basso a dx su Salva.

Disconnettiti e riconnettti; prova la connessione.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

e su ignora o posso scegliere automatico, auto soloi indirizzi , manuale o solo link locali
io ho impostato su ignora
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

albepancio [url=https://forum.ubuntu-it.org/viewtopic.php?p=5027408#p5027408][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:e su ignora o posso scegliere automatico, auto soloi indirizzi , manuale o solo link locali
io ho impostato su ignora
OK! prova ad entrare nel modem/router e cambiare canale da 6 a 11; poi salvi le impostazioni e riavvia il modem/router.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

nel router se cambio il canale da auto a 11 non riesco piu neanche ad entrare nel router , ho dovuto usare il cavo .
:(
il network manager c entra qualcosa? perche tutte le volte che disconetto e riconetto , il pc va un po in palla
Avatar utente
magozurlinux
Accecante Asceta
Accecante Asceta
Messaggi: 24913
Iscrizione: mercoledì 17 marzo 2010, 17:44
Desktop: ubuntu
Distribuzione: Ubuntu 22.04.3 LTS x86_64
Sesso: Maschile
Località: Pisa

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da magozurlinux »

albepancio [url=https://forum.ubuntu-it.org/viewtopic.php?p=5027454#p5027454][img]https://forum.ubuntu-it.org/images/icons/icona-cita.gif[/img][/url] ha scritto:nel router se cambio il canale da auto a 11 non riesco piu neanche ad entrare nel router , ho dovuto usare il cavo .
:(
il network manager c entra qualcosa? perche tutte le volte che disconetto e riconetto , il pc va un po in palla
Quando cade la connessione, da terminale postami questo comando:

Codice: Seleziona tutto

cat /var/log/syslog | grep NetworkMananger
io sono connesso ad Internet con chiavetta Internet; qualche volta cade anche a me la connessione, il mio amico mi ha detto che sono i provider che abbassano la banda per favorire tutti gli utenti al traffico dati.
Ubuntu 22.04 LTS - saluti da magozurlinux a tutti gli utenti del forum :ciao:
albepancio
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 436
Iscrizione: venerdì 16 marzo 2007, 21:25

Re: Realtek Semiconductor Co., Ltd. RTL8821AE si scollega

Messaggio da albepancio »

con l ultimo comNDO CHE MI hai consiglito lA non restituisce niente.
non è un problwema di provaider, per he col cavo va alla grande e neanche di router perche con l altro pc il wifi non smette mai.
prima che reiinstallassi tutto , ero riuscito a risolvere la cosa , installando wicd e eliminando la connessione dal network ,
adesso se installo wicd mi si collega al router ma se cerco un sito mi da connessione inesistente , pero se digito 192.168.1.1 mi carica la pagina del router regolarmente
Scrivi risposta

Ritorna a “Connessione e configurazione delle reti”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 13 ospiti