Edit: I have two copies of this card and when I try to make it work on an other computer with Debian 8 (freshly installed), I have exactly the same problem.
I'm trying to install a wireless network card (Asus PCE-N15) on an Gigabyte motherboard, my wire connection is working correctly, but with the wireless, I can connect to my Internet box but I have no Internet connection.
I run on Debian 8 Jessie and I have the package network-manager installed.
Firstly, the card has two LEDs but this is the orange one and not the green one which is lit. Nothing can be done physically on the wireless card (there is no button).
The card is detected as it is shown by the following command:
lspci | grep Network
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192CE PCIe Wireless Network Adapter (rev 01)
Here is the result of ifconfig:
docker0 Link encap:Ethernet HWaddr 56:84:7a:fe:97:99
inet addr:172.17.42.1 Bcast:0.0.0.0 Mask:255.255.0.0
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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
eth0 Link encap:Ethernet HWaddr fc:aa:14:21:31:56
inet addr:192.168.0.110 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::feaa:14ff:fe21:3156/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:16042 errors:0 dropped:0 overruns:0 frame:0
TX packets:9325 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22390273 (21.3 MiB) TX bytes:865780 (845.4 KiB)
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:230 errors:0 dropped:0 overruns:0 frame:0
TX packets:230 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:37350 (36.4 KiB) TX bytes:37350 (36.4 KiB)
wlan1 Link encap:Ethernet HWaddr 14:dd:a9:2e:1d:74
inet addr:192.168.0.112 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::16dd:a9ff:fe2e:1d74/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:120 errors:0 dropped:0 overruns:0 frame:0
TX packets:153 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:18113 (17.6 KiB) TX bytes:20839 (20.3 KiB)
Is it a problem that the wireless is on wlan1 instead of wlan0?
Here is the file /etc/network/interfaces
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
auto wlan1
As shown bellow, I think that the gateway is correctly configured, isn't it?
ip route show
default via 192.168.0.1 dev wlan1 proto static metric 1024
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.42.1
192.168.0.0/24 dev wlan1 proto kernel scope link src 192.168.0.23
If I try to ping any address on my subnet I receive this:
From 192.168.0.17 icmp_seq=1 Destination Host Unreachable
If I try to ping an address outside of my subnet it seems to take an infinite time without any response.
I have now no idea of what to do in order to make it work...
wlan1
rather thaneth0
. If you aren't actually wired-connected, theeth0
routes will create confusion. (If you are wired-connected, you probably want to yank the wire in order to test wireless, at least.)route
command, not the newerip route
. Using that, you wouldroute del
every route that refers to eth0, thenroute add
(at least) one route for 192.168.0.0/24 through wlan1 and a default route using 192.168.0.1 as a gateway. See the man page for specific syntax.sudo iptables -F
) and try to ping your default gateway (192.168.0.1
).