Rede sem fio na máquina Ubuntu 12.04

2

Minha máquina é dual boot Windows 7 e Ubuntu 12.04. Um novo laptop com o Ubuntu 12.04 me fez reconfigurar o meu modem. Agora eu tenho conectividade com a Internet no Windows e no laptop, mas não no Ubuntu. Após a inicialização, a conexão sem fio é estabelecida automaticamente, mas não consigo fazer o ping 192.168.1.1.

O que eu fiz até agora.

  • Vi que os endereços IP no Windows e no Ubuntu são os mesmos
  • Adicionado servidor de nomes em /etc/resolv.conf e %código%
  • /etc/resolvconf/resolv.conf.d/head
  • sudo resolvconf -u

Ainda sem conexão.

sudo service network-manager restart output:

eth0      Link encap:Ethernet  HWaddr 70:71:bc:3c:3d:bc  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:20 Memory:fb100000-fb120000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:314 errors:0 dropped:0 overruns:0 frame:0
          TX packets:314 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:28913 (28.9 KB)  TX bytes:28913 (28.9 KB)

wlan0     Link encap:Ethernet  HWaddr 1c:bd:b9:81:3a:8f  
          inet addr:192.168.1.85  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::1ebd:b9ff:fe81:3a8f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:742 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:89112 (89.1 KB)

ifconfig -a output:

NetworkManager Tool

State: connected (global)

Device: wlan0 [www] --------------------------------------------------------- Type: 802.11 WiFi Driver: rt2800usb State: connected Default: yes HW Address: 1C:BD:B9:81:3A:8F

Capabilities: Speed: 36 Mb/s

Wireless Properties WEP Encryption: yes WPA Encryption: yes WPA2 Encryption: yes

Wireless Access Points (* = current AP) *www: Infra, 00:FD:07:9C:78:5B, Freq 2412 MHz, Rate 54 Mb/s, Strength 63 WEP

IPv4 Settings: Address: 192.168.1.85 Prefix: 24 (255.255.255.0) Gateway: 192.168.1.1

DNS: 59.185.0.23

Device: eth0 ----------------------------------------------------------------- Type: Wired Driver: e1000e State: unavailable Default: no HW Address: 70:71:1D:3C:3D:BC

Capabilities: Carrier Detect: yes

Wired Properties Carrier: off

nm-tool output:

Kernel IP routing table

Destination      Gateway       Genmask         Flags Metric Ref      Use  Iface


default         192.168.1.1     0.0.0.0         UG    0      0        0   wlan0

link-local      *               255.255.0.0     U     1000   0        0   wlan0

192.168.1.0     *               255.255.255.0   U     2      0        0   wlan0

route output:

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 006: ID 1c4f:0003 SiGma Micro HID controller
Bus 001 Device 004: ID 046d:c31d Logitech, Inc. 
Bus 001 Device 007: ID 07d1:3c16 D-Link System DWA-125 Wireless N 150 Adapter(rev.A2) [Ralink RT3070]    
Bus 002 Device 005: ID 0951:162d Kingston Technology 

Eu verifiquei lsusb e descobri que não havia pasta sem fio. Eu instalei o driver para o DWA-125, mas ainda não tenho conectividade.

    
por user146297 19.06.2013 / 13:24

0 respostas