Buongiorno a tutti,
normalmente per connettermi uso una connessione tethering usb, collegandomi allo smartphone android (samsung galaxy J6). La connessione e i cavi funzionano benissimo, li sto usando ora per scrivervi.
Per motivi che richiederebbero un post a parte, devo continuare a usare una connessione usb via tethering, no wi-fi.
Quando ho installato linux mint cinnamon sul portatile da cui sto scrivendo (aveva windows 10), ho poi semplicemente collegato la usb e la connessione ha immediatamente funzionato.
Ho da pochi giorni ricevuto un pc usato ma in ottime condizioni con su windows 10. Ho provato a collegarmi a internet con la stessa solita connessione e non sono riuscito. Ho fatto una partizione di 200 gb per linux mint (ho usato lo stesso file che ho usato per installarlo sul portatile) e anche qui la connessione non funziona.
Qui di seguito alcune info ottenute da terminale:
marco@marco-pc:~$ sudo dmesg -W
[sudo] password for marco:
[ 120.144376] usb 1-3: new high-speed USB device number 6 using xhci_hcd
[ 120.393470] usb 1-3: New USB device found, idVendor=04e8, idProduct=6860, bcdDevice= 4.00
[ 120.393480] usb 1-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 120.393484] usb 1-3: Product: SAMSUNG_Android
[ 120.393487] usb 1-3: Manufacturer: SAMSUNG
[ 120.393490] usb 1-3: SerialNumber: 42007ca0d8a8c400
[ 120.454502] cdc_acm 1-3:1.1: ttyACM0: USB ACM device
[ 120.455033] usbcore: registered new interface driver cdc_acm
[ 120.455038] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[ 122.482448] usb 1-3: USB disconnect, device number 6
[ 123.128413] usb 1-3: new high-speed USB device number 7 using xhci_hcd
[ 123.376517] usb 1-3: New USB device found, idVendor=04e8, idProduct=6863, bcdDevice= 4.00
[ 123.376527] usb 1-3: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 123.376531] usb 1-3: Product: SAMSUNG_Android
[ 123.376535] usb 1-3: Manufacturer: SAMSUNG
[ 123.376537] usb 1-3: SerialNumber: 42007ca0d8a8c400
[ 123.413857] usbcore: registered new interface driver cdc_ether
[ 123.448690] rndis_host 1-3:1.0 usb0: register 'rndis_host' at usb-0000:01:00.0-3, RNDIS device, ee:57:37:ce:81:85
[ 123.448727] usbcore: registered new interface driver rndis_host
[ 143.816129] ------------[ cut here ]------------
[ 143.816134] NETDEV WATCHDOG: usb0 (rndis_host): transmit queue 0 timed out
[ 143.816151] WARNING: CPU: 3 PID: 0 at net/sched/sch_generic.c:477 dev_watchdog+0x277/0x280
[ 143.816163] Modules linked in: rndis_host cdc_ether usbnet mii cdc_acm uas usb_storage binfmt_misc zfs(PO) zunicode(PO) zzstd(O) zlua(O) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) intel_rapl_msr snd_hda_codec_realtek snd_hda_codec_hdmi snd_hda_codec_generic ledtrig_audio intel_rapl_common snd_seq_midi snd_seq_midi_event snd_hda_intel edac_mce_amd snd_intel_dspcfg nls_iso8859_1 snd_intel_sdw_acpi snd_hda_codec kvm_amd kvm snd_hda_core snd_rawmidi rapl snd_seq snd_hwdep snd_pcm snd_seq_device k10temp input_leds snd_timer wmi_bmof joydev eeepc_wmi snd ccp soundcore mac_hid sch_fq_codel msr parport_pc ppdev lp parport efi_pstore ip_tables x_tables autofs4 btrfs blake2b_generic xor zstd_compress raid6_pq libcrc32c dm_mirror dm_region_hash dm_log amdgpu hid_generic iommu_v2 gpu_sched i2c_algo_bit drm_ttm_helper ttm usbhid drm_kms_helper hid mfd_aaeon syscopyarea sysfillrect asus_wmi sysimgblt sparse_keymap crct10dif_pclmul fb_sys_fops video crc32_pclmul ghash_clmulni_intel
[ 143.816275] platform_profile aesni_intel crypto_simd cryptd cec rc_core r8169 ahci gpio_amdpt xhci_pci i2c_piix4 drm realtek libahci xhci_pci_renesas wmi gpio_generic
[ 143.816298] CPU: 3 PID: 0 Comm: swapper/3 Tainted: P O 5.15.0-91-generic #101-Ubuntu
[ 143.816303] Hardware name: ITMediaConsult AG Pentino_H-Series A_MT_A320/PRIME A320M-E, BIOS 4021 08/03/2018
[ 143.816306] RIP: 0010:dev_watchdog+0x277/0x280
[ 143.816312] Code: eb 97 48 8b 5d d0 c6 05 2e e2 67 01 01 48 89 df e8 0e 5f f9 ff 44 89 e1 48 89 de 48 c7 c7 80 f7 cd a6 48 89 c2 e8 d8 de 19 00 <0f> 0b eb 80 e9 ea 75 23 00 0f 1f 44 00 00 55 48 89 e5 41 57 41 56
[ 143.816316] RSP: 0018:ffffae138025ce70 EFLAGS: 00010282
[ 143.816320] RAX: 0000000000000000 RBX: ffff9c10d0e40000 RCX: 0000000000000027
[ 143.816323] RDX: ffff9c11d6ee0588 RSI: 0000000000000001 RDI: ffff9c11d6ee0580
[ 143.816326] RBP: ffffae138025cea8 R08: 0000000000000003 R09: fffffffffffd47d8
[ 143.816328] R10: 6575712074696d73 R11: 6e617274203a2974 R12: 0000000000000000
[ 143.816331] R13: ffff9c10caf9e480 R14: 0000000000000001 R15: ffff9c10d0e404c0
[ 143.816334] FS: 0000000000000000(0000) GS:ffff9c11d6ec0000(0000) knlGS:0000000000000000
[ 143.816337] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 143.816340] CR2: 000055e63cee18a0 CR3: 0000000103fea000 CR4: 00000000003506e0
[ 143.816343] Call Trace:
[ 143.816345] <IRQ>
[ 143.816349] ? show_trace_log_lvl+0x1d6/0x2ea
[ 143.816357] ? show_trace_log_lvl+0x1d6/0x2ea
[ 143.816364] ? call_timer_fn+0x2c/0x120
[ 143.816371] ? show_regs.part.0+0x23/0x29
[ 143.816376] ? show_regs.cold+0x8/0xd
[ 143.816381] ? dev_watchdog+0x277/0x280
[ 143.816385] ? __warn+0x8c/0x100
[ 143.816390] ? dev_watchdog+0x277/0x280
[ 143.816396] ? report_bug+0xa4/0xd0
[ 143.816403] ? handle_bug+0x39/0x90
[ 143.816408] ? exc_invalid_op+0x19/0x70
[ 143.816412] ? asm_exc_invalid_op+0x1b/0x20
[ 143.816421] ? dev_watchdog+0x277/0x280
[ 143.816426] ? pfifo_fast_enqueue+0x160/0x160
[ 143.816431] call_timer_fn+0x2c/0x120
[ 143.816436] __run_timers.part.0+0x1e3/0x270
[ 143.816440] ? ktime_get+0x46/0xc0
[ 143.816446] ? native_x2apic_icr_read+0x20/0x20
[ 143.816451] ? lapic_next_event+0x20/0x30
[ 143.816456] ? clockevents_program_event+0xad/0x130
[ 143.816464] run_timer_softirq+0x2a/0x60
[ 143.816468] __do_softirq+0xd9/0x2e7
[ 143.816474] irq_exit_rcu+0x94/0xc0
[ 143.816479] sysvec_apic_timer_interrupt+0x80/0x90
[ 143.816484] </IRQ>
[ 143.816486] <TASK>
[ 143.816488] asm_sysvec_apic_timer_interrupt+0x1b/0x20
[ 143.816492] RIP: 0010:native_safe_halt+0xb/0x10
[ 143.816497] Code: 2b ff 5b 41 5c 41 5d 5d e9 52 8a 23 00 4c 89 ee 48 c7 c7 80 48 45 a7 e8 f3 92 8c ff eb ca cc eb 07 0f 00 2d f9 45 44 00 fb f4 <e9> 30 8a 23 00 eb 07 0f 00 2d e9 45 44 00 f4 e9 21 8a 23 00 cc 0f
[ 143.816500] RSP: 0018:ffffae1380157dd0 EFLAGS: 00000246
[ 143.816504] RAX: 0000000000004000 RBX: 000000000002e7c8 RCX: 0000000000000000
[ 143.816506] RDX: ffff9c11d6ec0000 RSI: ffff9c10c082e400 RDI: ffff9c10c082e464
[ 143.816509] RBP: ffffae1380157dd8 R08: 000000217c0466e2 R09: 00000000000c3500
[ 143.816511] R10: 0000000000000003 R11: 071c71c71c71c71c R12: 0000000000000001
[ 143.816513] R13: 0000000000000003 R14: ffff9c10c082e464 R15: ffffffffa76e9940
[ 143.816519] ? acpi_idle_do_entry+0x53/0x70
[ 143.816524] acpi_idle_enter+0xc0/0x160
[ 143.816530] cpuidle_enter_state+0x9a/0x620
[ 143.816537] cpuidle_enter+0x2e/0x50
[ 143.816541] cpuidle_idle_call+0x142/0x1e0
[ 143.816547] do_idle+0x83/0xf0
[ 143.816551] cpu_startup_entry+0x20/0x30
[ 143.816555] start_secondary+0x12a/0x180
[ 143.816560] secondary_startup_64_no_verify+0xc2/0xcb
[ 143.816569] </TASK>
[ 143.816571] ---[ end trace 833fb1b03755171f ]---
^C
marco@marco-pc:~$ nmcli
usb0: connected to tethering
"Samsung Galaxy series misc."
ethernet (rndis_host), EE:57:37:CE:81:85, hw, mtu 1500
ip4 default
inet4 192.168.42.171/24
route4 192.168.42.0/24 metric 100
route4 default via 192.168.42.129 metric 20100
route4 169.254.0.0/16 metric 1000
inet6 fe80::387:23:f876:bb9f/64
route6 fe80::/64 metric 1024
enp5s0: unavailable
"Realtek RTL8111/8168/8411"
ethernet (r8169), B0:6E:BF:C5:3D:13, hw, mtu 1500
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
DNS configuration:
servers: 192.168.42.129
interface: usb0
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.
marco@marco-pc:~$ nmcli general
STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
connected (site only) limited enabled enabled enabled enabled
marco@marco-pc:~$ ls -l /etc/resolv.conf
lrwxrwxrwx 1 root root 39 ott 14 23:51 /etc/resolv.conf -> ../run/systemd/resolve/stub-resolv.conf
marco@marco-pc:~$ cat /etc/resolv.conf
# This is /run/systemd/resolve/stub-resolv.conf managed by man:systemd-resolved(8).
# Do not edit.
#
# This file might be symlinked as /etc/resolv.conf. If you're looking at
# /etc/resolv.conf and seeing this text, you have followed the symlink.
#
# This is a dynamic resolv.conf file for connecting local clients to the
# internal DNS stub resolver of systemd-resolved. This file lists all
# configured search domains.
#
# Run "resolvectl status" to see details about the uplink DNS servers
# currently in use.
#
# Third party programs should typically not access this file directly, but only
# through the symlink at /etc/resolv.conf. To manage man:resolv.conf(5) in a
# different way, replace this symlink by a static file or a different symlink.
#
# See man:systemd-resolved.service(8) for details about the supported modes of
# operation for /etc/resolv.conf.
nameserver 127.0.0.53
options edns0 trust-ad
search .
marco@marco-pc:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enp5s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
link/ether b0:6e:bf:c5:3d:13 brd ff:ff:ff:ff:ff:ff
3: usb0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 1000
link/ether ee:57:37:ce:81:85 brd ff:ff:ff:ff:ff:ff
inet 192.168.42.171/24 brd 192.168.42.255 scope global dynamic noprefixroute usb0
valid_lft 3517sec preferred_lft 3517sec
inet6 fe80::387:23:f876:bb9f/64 scope link noprefixroute
valid_lft forever preferred_lft forever
marco@marco-pc:~$ ip r
default via 192.168.42.129 dev usb0 proto dhcp metric 20100
169.254.0.0/16 dev usb0 scope link metric 1000
192.168.42.0/24 dev usb0 proto kernel scope link src 192.168.42.171 metric 100
marco@marco-pc:~$ ping -c 4 192.168.42.129
PING 192.168.42.129 (192.168.42.129) 56(84) bytes of data.
From 192.168.42.171 icmp_seq=1 Destination Host Unreachable
From 192.168.42.171 icmp_seq=2 Destination Host Unreachable
From 192.168.42.171 icmp_seq=3 Destination Host Unreachable
From 192.168.42.171 icmp_seq=4 Destination Host Unreachable
--- 192.168.42.129 ping statistics ---
4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 3036ms
pipe 3
marco@marco-pc:~$ ping -c 4 93.184.216.34
PING 93.184.216.34 (93.184.216.34) 56(84) bytes of data.
From 192.168.42.171 icmp_seq=1 Destination Host Unreachable
From 192.168.42.171 icmp_seq=2 Destination Host Unreachable
From 192.168.42.171 icmp_seq=3 Destination Host Unreachable
64 bytes from 93.184.216.34: icmp_seq=4 ttl=52 time=3192 ms
--- 93.184.216.34 ping statistics ---
4 packets transmitted, 1 received, +3 errors, 75% packet loss, time 3063ms
rtt min/avg/max/mdev = 3192.459/3192.459/3192.459/0.000 ms, pipe 4
marco@marco-pc:~$ ping -c 4 example.com
PING example.com (93.184.215.14) 56(84) bytes of data.
64 bytes from 93.184.215.14 (93.184.215.14): icmp_seq=1 ttl=51 time=197 ms
64 bytes from 93.184.215.14 (93.184.215.14): icmp_seq=2 ttl=51 time=207 ms
64 bytes from 93.184.215.14 (93.184.215.14): icmp_seq=3 ttl=51 time=204 ms
--- example.com ping statistics ---
4 packets transmitted, 3 received, 25% packet loss, time 3004ms
rtt min/avg/max/mdev = 196.519/202.599/207.084/4.458 ms
marco@marco-pc:~$ nslookup example.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
Name: example.com
Address: 93.184.215.14
Name: example.com
Address: 2606:2800:21f:cb07:6820:80da:af6b:8b2c
marco@marco-pc:~$ nmcli radio all on
Avete idee?
Ho scritto qui e non su assistenza android perché sul portatile funziona benissimo, quindi ho pensato più probabile fosse un problema di linux sulla nuova macchina, ma ho sentito parlare di eventuali noie riguardo una whitelist di MAC address che autonomamente android sembrerebbe creare, a non so come trovarla.
Grazie a chiunque vorrà aiutarmi