Pagina 1 di 1
[Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: mercoledì 19 ottobre 2011, 14:46
da TESSERACT
Ciao a tutti!!
Ho un netbook con ubuntu 11.10 e due schede di rete(Wireless) una usb con antenna e l'altra integrata..premesso che con la combinazione di tasti fn+ecc del mio pc la scheda integrata non si spegne vorrei sapere come disattivarla da terminale perche con questa versione di ubuntu la scheda prova sempre a connettersi a tutte le reti!!e mi si apre continuamente il popup chiedendo l'immissione della chiave fastidiosissimo!!Qualcuno può aiutarmi grazie!!
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: mercoledì 19 ottobre 2011, 19:16
da magozurlinux
Da terminale postami questo comando senza l'adattatore di rete wireless usb:
così vedo il modulo driver della scheda di rete wireless integrata da blacklistare, così all'avvio non parte la connessione automatica.
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: giovedì 20 ottobre 2011, 8:00
da Pingue_pinguino
Ciao,
soluzione brutale: potresti provare a disattivarla dal bios (ammesso che il tuo bios te lo permetta)
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: venerdì 28 ottobre 2011, 12:21
da TESSERACT
Ciao grazie delle risposte!! e scusate il ritardo (sono stato impegnato in una lotta con Unity) Purtroppo sono al lavoro con windows
@ magozurlinux ora non posso postarti lsmod ma la procedura che dici tu è questa:
edito il file
sudo gedit /etc/modprobe.d/blacklist.conf
e alla fine aggiungo la riga con
blacklist Drivermiascheda
Niente di più?
Grazie!!
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: venerdì 28 ottobre 2011, 12:36
da magozurlinux
Prego, di nulla.
Esatto, mettere il modulo driver della tua scheda di rete wireless dentro il file /etc/modprobe.d/blacklist.conf; però per alcune schede di rete wireless bisogna blacklistare altri moduli driver che utilizza quella scheda.
Come ha detto Pingue_pinguino la sua soluzione sarebbe la migliore, però bisogna vedere se il tuo BIOS prevede la disabilitazione della scheda di rete wireless integrata.
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: venerdì 4 novembre 2011, 14:38
da TESSERACT
Purtroppo non sono riuscito a risolvere il problema!!
Dal bios metto always off ma ubuntu riattiva l'integrata!!
Mentre per backlistare ho il problema che entrambe le schede sia quella intefrata che quella USB hanno il chipset ATHEROS non riesco a capire i driver da backlistare!!
Questo e lsmod senza penna USB
Codice: Seleziona tutto
******lsmod senza USB
Module Size Used by
rfcomm 38408 10
bnep 17923 2
parport_pc 32114 0
ppdev 12849 0
joydev 17393 0
samsung_laptop 13287 0
snd_hda_codec_realtek 254125 1
snd_hda_intel 24262 2
snd_hda_codec 91754 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13276 1 snd_hda_codec
snd_pcm 80468 2 snd_hda_intel,snd_hda_codec
snd_seq_midi 13132 0
ath9k_htc 90775 0
ath9k_common 13599 1 ath9k_htc
ath9k_hw 293893 2 ath9k_htc,ath9k_common
uvcvideo 67271 0
videodev 85626 1 uvcvideo
cdc_acm 22305 0
snd_rawmidi 25241 1 snd_seq_midi
psmouse 73673 0
btusb 18160 2
serio_raw 12990 0
bluetooth 148839 23 rfcomm,bnep,btusb
snd_seq_midi_event 14475 1 snd_seq_midi
arc4 12473 2
snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event
binfmt_misc 17292 1
snd_timer 28932 2 snd_pcm,snd_seq
snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq
ath5k 145100 0
ath 19387 3 ath9k_htc,ath9k_hw,ath5k
snd 55902 13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i915 505108 3
mac80211 272785 2 ath9k_htc,ath5k
drm_kms_helper 32889 1 i915
drm 192226 4 i915,drm_kms_helper
cfg80211 172392 4 ath9k_htc,ath5k,ath,mac80211
i2c_algo_bit 13199 1 i915
video 18908 1 i915
soundcore 12600 1 snd
snd_page_alloc 14115 2 snd_hda_intel,snd_pcm
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
Mentre questo e con la scheda USB (a parer mio sono identici)
Codice: Seleziona tutto
******lsmod Con penna wireless USB
Module Size Used by
rfcomm 38408 10
bnep 17923 2
parport_pc 32114 0
ppdev 12849 0
joydev 17393 0
samsung_laptop 13287 0
snd_hda_codec_realtek 254125 1
snd_hda_intel 24262 2
snd_hda_codec 91754 2 snd_hda_codec_realtek,snd_hda_intel
snd_hwdep 13276 1 snd_hda_codec
snd_pcm 80468 2 snd_hda_intel,snd_hda_codec
snd_seq_midi 13132 0
ath9k_htc 90775 0
ath9k_common 13599 1 ath9k_htc
ath9k_hw 293893 2 ath9k_htc,ath9k_common
uvcvideo 67271 0
videodev 85626 1 uvcvideo
cdc_acm 22305 0
snd_rawmidi 25241 1 snd_seq_midi
psmouse 73673 0
btusb 18160 2
serio_raw 12990 0
bluetooth 148839 23 rfcomm,bnep,btusb
snd_seq_midi_event 14475 1 snd_seq_midi
arc4 12473 4
snd_seq 51567 2 snd_seq_midi,snd_seq_midi_event
binfmt_misc 17292 1
snd_timer 28932 2 snd_pcm,snd_seq
snd_seq_device 14172 3 snd_seq_midi,snd_rawmidi,snd_seq
ath5k 145100 0
ath 19387 3 ath9k_htc,ath9k_hw,ath5k
snd 55902 13 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i915 505108 3
mac80211 272785 2 ath9k_htc,ath5k
drm_kms_helper 32889 1 i915
drm 192226 4 i915,drm_kms_helper
cfg80211 172392 4 ath9k_htc,ath5k,ath,mac80211
i2c_algo_bit 13199 1 i915
video 18908 1 i915
soundcore 12600 1 snd
snd_page_alloc 14115 2 snd_hda_intel,snd_pcm
lp 17455 0
parport 40930 3 parport_pc,ppdev,lp
Comunque penso sia proprio un bug della 11.10 ho gnome shell ma anche su unity è lo stesso!!
Con la 11.04 mi connettevo con la usb annullavo la connessione con l'integrata e finiva là! con la 11.10 ogni 30 secondi si prova a connettere con tutte le wireless che sono presenti!!sto sempre a premere annulla!!
HELP HELP!!!..Ubuntu non lo lascio sono 6 anni che lo uso!!!
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: venerdì 4 novembre 2011, 18:49
da magozurlinux
I moduli driver usati dalla scheda integrata e da quella usb hanno come driver
ath5k e
ath9k_htc chiamati entrambi dal modulo driver
ath.
Codice: Seleziona tutto
ath9k_htc 90775 0
ath9k_common 13599 1 ath9k_htc
ath9k_hw 293893 2 ath9k_htc,ath9k_common
ath5k 145100 0
ath 19387 3 ath9k_htc,ath9k_hw,ath5k
mac80211 272785 2 ath9k_htc,ath5k
cfg80211 172392 4 ath9k_htc,ath5k,ath,mac80211
Da terminale postami coll'adattatore usb inserito questi comandi:
per vedere quale modulo driver carica la scheda di rete wireless integrata.
Sì, potrebbe essere un bug della 11.10; ancora non l'ho provata.
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: venerdì 4 novembre 2011, 18:52
da filo1234
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: lunedì 7 novembre 2011, 11:05
da TESSERACT
Con sudo ifconfig wlan0 down si spegne!!..Alla fine si forse è la soluzione migliore!!Tampono così!!
comunque posto i comandi
Codice: Seleziona tutto
sudo lshw -C network
*-network
description: Wireless interface
product: AR242x / AR542x Wireless Network Adapter (PCI-Express)
vendor: Atheros Communications Inc.
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlan0
version: 01
serial: 00:25:56:26:0d:e8
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=ath5k driverversion=3.0.0-12-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11bg
resources: irq:16 memory:f0100000-f010ffff
*-network
description: Wireless interface
physical id: 3
bus info: usb@1:6
logical name: wlan1
serial: 54:e6:fc:88:68:b4
capabilities: ethernet physical wireless
configuration: broadcast=yes driver=ath9k_htc driverversion=3.0.0-12-generic firmware=1.3 ip=192.168.1.9 link=yes multicast=yes wireless=IEEE 802.11bgn
e
Codice: Seleziona tutto
dmesg | grep ath
[ 25.483694] ath5k 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 25.483721] ath5k 0000:02:00.0: setting latency timer to 64
[ 25.486850] ath5k 0000:02:00.0: registered as 'phy0'
[ 25.994640] ath: EEPROM regdomain: 0x68
[ 25.994650] ath: EEPROM indicates we should expect a direct regpair map
[ 25.994662] ath: Country alpha2 being used: 00
[ 25.994668] ath: Regpair used: 0x68
[ 26.057539] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
[10866.161086] ath5k 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
[10866.161119] ath5k 0000:02:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf0100004)
[10866.161130] ath5k 0000:02:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[10866.161143] ath5k 0000:02:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[15236.508945] ath5k 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
[15236.508978] ath5k 0000:02:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf0100004)
[15236.508989] ath5k 0000:02:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[15236.509002] ath5k 0000:02:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[19132.656957] ath5k 0000:02:00.0: restoring config space at offset 0xf (was 0x100, writing 0x10b)
[19132.656991] ath5k 0000:02:00.0: restoring config space at offset 0x4 (was 0x4, writing 0xf0100004)
[19132.657002] ath5k 0000:02:00.0: restoring config space at offset 0x3 (was 0x0, writing 0x10)
[19132.657015] ath5k 0000:02:00.0: restoring config space at offset 0x1 (was 0x100000, writing 0x100007)
[19134.746883] usb 1-6: ath9k_htc: Transferred FW: htc_9271.fw, size: 51272
[19134.981976] ath9k_htc 1-6:1.0: ath9k_htc: HTC initialized with 33 credits
[19135.195736] ath9k_htc 1-6:1.0: ath9k_htc: FW Version: 1.3
[19135.195747] ath: EEPROM regdomain: 0x809c
[19135.195753] ath: EEPROM indicates we should expect a country code
[19135.195760] ath: doing EEPROM country->regdmn map search
[19135.195767] ath: country maps to regdmn code: 0x52
[19135.195774] ath: Country alpha2 being used: CN
[19135.195780] ath: Regpair used: 0x52
[19135.217230] Registered led device: ath9k_htc-phy1
[19135.217246] usb 1-6: ath9k_htc: USB layer initialized
[19135.221549] usbcore: registered new interface driver ath9k_htc
Grazie mille per gli aiuti!!Grandi!!!!!
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: lunedì 7 novembre 2011, 11:07
da filo1234
si può fare pure uno scriptino da mettere in avvio, così eviti di fare a mano ogni volta...
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: lunedì 7 novembre 2011, 11:22
da TESSERACT
Si avevo pensato allo scriptino(anche sul desktop spegni e accendi!!) Gnome shell ha gia i tasti on e of sulle schede wireless ma anche quà, se ne disattivo una si spengono entrambe!!forse agisce sul driver!!!
Alla fine faccio lo script grazie mille di nuovo
Re: [Wireless] Disabilitare scheda rete integrata!! ubuntu 11.10
Inviato: lunedì 7 novembre 2011, 11:27
da filo1234
Codice: Seleziona tutto
[quote="TESSERACT"]
Si avevo pensato allo scriptino(anche sul desktop spegni e accendi!!) Gnome shell ha gia i tasti on e of sulle schede wireless ma anche quà, se ne disattivo una si spengono entrambe!!forse agisce sul driver!!!
Alla fine faccio lo script grazie mille di nuovo
[/quote]
Si probabilmente disabilita il modulo... altrimenti puoi direttamente mettere [code]ifconfig wlan0 down
in /etc/rc.local[/code] prima di exit 0