Eu fiz o upgrade para o Ubuntu 12.04 esta semana. Eu tive alguns problemas com o meu cartão sem fio. Depois de seguir alguns posts aqui no askubuntu eu consegui que funcionasse de uma maneira peculiar:
Quando eu inicio meu laptop sem o cabo ethernet, fico preso na tela de "carregamento" do Ubuntu enquanto o sistema está inicializando. Diz "Esperando pela configuração de rede". Então fica assim por cerca de 2 minutos e quando ele finalmente inicia, eu não tenho conexão de rede.
No entanto, se eu inicializo com meu cabo ethernet conectado , ele carrega rapidamente e meu wireless funciona bem!
Não sei mais o que fazer, quero que a placa sem fio funcione apesar do cabo Ethernet estar ou não. Então estou pedindo sua ajuda.
Aqui estão os resultados de alguns comandos que podem ser úteis, se você precisar de mais informações, por favor.
sudo lshw -C network
*-network
description: Ethernet interface
product: RTL8111/8168B PCI Express Gigabit Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 03
serial: c8:0a:a9:df:ff:ad
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8168 driverversion=8.032.00-NAPI duplex=half ip=192.168.0.167 latency=0 link=no multicast=yes port=twisted pair
resources: irq:43 ioport:3000(size=256) memory:d0004000-d0004fff memory:d0000000-d0003fff memory:d0020000-d003ffff
*-network
description: Wireless interface
product: BCM4313 802.11b/g/n Wireless LAN Controller
vendor: Broadcom Corporation
physical id: 0
bus info: pci@0000:06:00.0
logical name: wlan0
version: 01
serial: 00:26:82:93:d6:c4
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=brcmsmac driverversion=3.2.0-29-generic-pae firmware=N/A ip=192.168.0.103 latency=0 link=yes multicast=yes wireless=IEEE 802.11bgn
resources: irq:17 memory:d2100000-d2103fff
rfkill list
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: hp-wifi: Wireless LAN
Soft blocked: no
Hard blocked: no
2: hp-bluetooth: Bluetooth
Soft blocked: no
Hard blocked: no
3: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
sudo lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
00:01.0 PCI bridge: Hewlett-Packard Company Device 9602
00:04.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
00:07.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 3)
00:09.0 PCI bridge: Advanced Micro Devices [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 4)
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 41)
00:14.2 Audio device: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) (rev 40)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series]
01:05.1 Audio device: Advanced Micro Devices [AMD] nee ATI RS880 HDMI Audio [Radeon HD 4200 Series]
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
06:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Eu rodei "nmcli dev list" em ambos os casos.
Aqui está o que eu obtive quando o executei sem ter o cabo ethernet (ou seja, o wireless não funciona)
Error: NetworkManager is not running.
Isso é o que eu recebi quando o executei quando a conexão sem fio estava OK:
GENERAL.DEVICE: wlan0
GENERAL.TYPE: 802-11-wireless
GENERAL.VENDOR: Broadcom Corporation
GENERAL.PRODUCT: BCM4313 802.11b/g/n Wireless LAN Controller
GENERAL.DRIVER: brcmsmac
GENERAL.HWADDR: 00:26:82:93:D6:C4
GENERAL.STATE: 100 (connected)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:09.0/0000:06:00.0/net/wlan0
GENERAL.IP-IFACE: wlan0
GENERAL.NM-MANAGED: yes
GENERAL.FIRMWARE-MISSING: no
GENERAL.CONNECTION: /org/freedesktop/NetworkManager/ActiveConnection/0
CAPABILITIES.CARRIER-DETECT: no
CAPABILITIES.SPEED: 72 Mb/s
WIFI-PROPERTIES.WEP: yes
WIFI-PROPERTIES.WPA: yes
WIFI-PROPERTIES.WPA2: yes
WIFI-PROPERTIES.TKIP: yes
WIFI-PROPERTIES.CCMP: yes
AP1.SSID: 'Rep Kaxota'
AP1.BSSID: 00:19:5B:B4:F6:21
AP1.MODE: Infrastructure
AP1.FREQ: 2437 MHz
AP1.RATE: 54 MB/s
AP1.SIGNAL: 45
AP1.SECURITY: WPA WPA2
AP1.ACTIVE: no
AP2.SSID: 'RepAmnesia'
AP2.BSSID: C8:3A:35:08:88:D8
AP2.MODE: Infrastructure
AP2.FREQ: 2412 MHz
AP2.RATE: 54 MB/s
AP2.SIGNAL: 75
AP2.SECURITY: WEP
AP2.ACTIVE: no
AP3.SSID: 'Amnesia'
AP3.BSSID: 1C:7E:E5:C2:B6:B8
AP3.MODE: Infrastructure
AP3.FREQ: 2437 MHz
AP3.RATE: 54 MB/s
AP3.SIGNAL: 79
AP3.SECURITY: WEP
AP3.ACTIVE: yes
IP4.ADDRESS[1]: ip = 192.168.xxx.xxx/24, gw = 192.168.xxx.xxx
IP4.DNS[1]: 200.204.xxx.xxx
IP4.DNS[2]: 200.204.xxx.xxx
IP4.DNS[3]: 192.168.xxx.xxx
DHCP4.OPTION[1]: expiry = 1345748643
DHCP4.OPTION[2]: broadcast_address = 192.168.xxx.xxx
DHCP4.OPTION[3]: dhcp_message_type = 5
DHCP4.OPTION[4]: routers = 192.168.xxx.xxx
DHCP4.OPTION[5]: dhcp_lease_time = 604800
DHCP4.OPTION[6]: ip_address = 192.168.xxx.xxx
DHCP4.OPTION[7]: subnet_mask = 255.255.255.0
DHCP4.OPTION[8]: dhcp_renewal_time = 604780
DHCP4.OPTION[9]: domain_name_servers = 200.204.xxx.xxx 200.204.xxx.xxx 192.168.xxx.xxx
DHCP4.OPTION[10]: dhcp_rebinding_time = 604780
DHCP4.OPTION[11]: network_number = 192.168.0.0
DHCP4.OPTION[12]: dhcp_server_identifier = 192.168.xxx.xxx
GENERAL.DEVICE: eth0
GENERAL.TYPE: 802-3-ethernet
GENERAL.VENDOR: Realtek Semiconductor Co., Ltd.
GENERAL.PRODUCT: RTL8111/8168B PCI Express Gigabit Ethernet controller
GENERAL.DRIVER: r8168
GENERAL.HWADDR: C8:0A:A9:DF:FF:AD
GENERAL.STATE: 10 (unmanaged)
GENERAL.REASON: 0 (No reason given)
GENERAL.UDI: /sys/devices/pci0000:00/0000:00:04.0/0000:02:00.0/net/eth0
GENERAL.IP-IFACE:
GENERAL.NM-MANAGED: no
GENERAL.FIRMWARE-MISSING: no
GENERAL.CONNECTION: not connected
CAPABILITIES.CARRIER-DETECT: yes
CAPABILITIES.SPEED: 100 Mb/s
WIRED-PROPERTIES.CARRIER: off
Adicionando mais informações (isso foi feito durante a inicialização normalmente, ou seja, sem cabo):
Conteúdo de / etc / network / interfaces
auto eth0
iface eth0 inet dhcp
(com a última linha vazia)
Conteúdo do if-down.d (não sei como verificar a versão. Suponho que seja a v143 na primeira linha):
" ============================================================================
" Netrw Directory Listing (netrw v143)
" /etc/network/if-down.d
" Sorted by name
" Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:exec
" ============================================================================
../
avahi-autoipd*
resolvconf*
upstart*
wpasupplicant@
Conteúdo do if-up.d: "================================================= =========================== "Listagem de Diretórios Netrw (netrw v143) "/etc/network/if-up.d "Ordenado por nome "Sequência de classificação: [/] $, \ ,. h $, c $, cpp $, \ ~ \ = * $, , o $, \ "Ajuda rápida:: ajuda -: subir dir D: excluir R: renomear s: ordenar por x: exec "================================================= =========================== ../ 000resolvconf avahi-autoipd * avahi-daemon * ntpdate * upstart * wpasupplicant @
Conteúdo do diretório / run / network:
matheus@matheus-laptop:/run/network$ ls -la
total 0
drwxr-xr-x 2 root root 60 Sep 5 19:54 .
drwxr-xr-x 21 root root 720 Sep 5 19:54 ..
-rw-r--r-- 1 root root 0 Sep 5 19:54 ifstate
Conteúdo do ifstate: vazio
Muito obrigado antecipadamente! Matheus