3

I recently bought a D-Link router and configured it.

From my Android, the access point is providing full internet access. My Ubuntu laptop gets internet access from other access points.

The problem is I cannot get internet access with just my router (I also had tried connecting to a router some time back and had this same problem, but I switched to ethernet then).

I can connect to the network, but if I try pinging the router I get a Destination Host Unreachable error.

I cannot discover my router with nmap either. nmap just gives my own computer (not even the Android device).

Ethernet connection to my router works perfectly fine.

Here are the configurations:

prakhar@aS4v4g3wOrld:~$ sudo iwconfig wlan0
wlan0     IEEE 802.11abg  ESSID:"aRM4g3ddOn-2.4GHz"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: C4:A8:1D:8C:99:AC   
          Bit Rate=52 Mb/s   Tx-Power=200 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=70/70  Signal level=-25 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

prakhar@aS4v4g3wOrld:~$ cat /etc/network/interfaces
# interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet loopback

prakhar@aS4v4g3wOrld:~$ sudo lshw -C network
  *-network               
       description: Wireless interface
       product: BCM4313 802.11bgn Wireless Network Adapter
       vendor: Broadcom Corporation
       physical id: 0
       bus info: pci@0000:0a:00.0
       logical name: wlan0
       version: 01
       serial: <removed>
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=wl0 driverversion=6.30.223.141 (r415941) ip=192.168.0.100 latency=0 multicast=yes wireless=IEEE 802.11abg
       resources: irq:19 memory:d4500000-d4503fff
  *-network
       description: Ethernet interface
       product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:0b:00.0
       logical name: eth0
       version: 07
       serial: <removed>
       size: 1Gbit/s
       capacity: 1Gbit/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 1000bt 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=rtl8168e-3_0.0.4 03/27/12 latency=0 link=yes multicast=yes port=MII speed=1Gbit/s
       resources: irq:43 ioport:2000(size=256) memory:d4404000-d4404fff memory:d4400000-d4403fff

prakhar@aS4v4g3wOrld:~$ sudo ifconfig -a
eth0      Link encap:Ethernet  HWaddr a0:b3:cc:46:93:05  
          inet addr:192.168.0.102  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::a2b3:ccff:fe46:9305/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3207 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4052 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1858395 (1.8 MB)  TX bytes:662320 (662.3 KB)

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:65536  Metric:1
          RX packets:6960 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6960 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:594878 (594.8 KB)  TX bytes:594878 (594.8 KB)

wlan0     Link encap:Ethernet  HWaddr 84:4b:f5:aa:01:bf  
          inet addr:192.168.0.4  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::864b:f5ff:feaa:1bf/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:68 errors:0 dropped:0 overruns:0 frame:9105
          TX packets:325 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:10677 (10.6 KB)  TX bytes:38468 (38.4 KB)
          Interrupt:19 

Detailed info is here.

I have run out of ideas. Any help?

EDIT: So I logged on to Windows 8.1 and still the same: connected but no internet.

I went to the HP website (I own a dv6) and downloaded this. It's Broadcom driver version 6.30.59.49, released in 2012! And voila it works. Sometimes I envy Windows support.

So I dug deeper and found this launchpad bug. It was confirmed in May 2014 and still no resolution :(.

I have tried broadcom-sta, brcmac, wl, even the proprietary driver listed in Additional Sources (it's STA I think). Nothing works.

Does anybody have a clue?

EDIT: Solved. Here's the new driver + configuration in case anyone else needs it.

xyz
  • 1,836

1 Answers1

3

Please do:

sudo apt-get purge bcmwl-kernel-source

sudo -i
echo "blacklist b43" >>  /etc/modprobe.d/blacklist.conf
echo "blacklist ssb" >>  /etc/modprobe.d/blacklist.conf
exit

Reboot

Wild Man
  • 8,327