I've just installed Debian Wheezy on my PC using netinstall.

I can only use its wifi. My interface has been recognize by the system, and I've used:

iwconfig wlan0 essid MY_HOME_AP

(I've switched off router's security in order to ease the pain of getting a first connection to the internet)

then I used:

dhclient wlan0 -v 

to get an IP address. I now have a valid local IP. I can also see it on my router DHCP clients list.

However, I can't ping anywhere, not even the default gateway.

My routing tables is:

default       UG 0 0 0 wlan0
localnet *  U  0 0 0 wlan0

where do I have it wrong?

ADDED: 1. The entire output of 'netstat -rn' is attached above. 2. the output of 'ifconfig' (copied by hand..):

wlan0 Link  encap:Ethernet HWaddr 00:1f:1f:a6:29:ba
      inet  addr: Bcast: Mask:
      inet6 addr: fe80::21f:1fff:fea6:32da/64 Scope:Link
      RX packets:53 errors:0 dropped:0 overruns:0 frame:0
      TX packets:37 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0  txquelen:1000
      RX bytes:18334 (17.9 KiB) TX bytes:4172 (4.0 KiB)
  • Please provide the complete output of netstat -rn and ifconfig. – Kyle Jones Mar 8 '14 at 18:48
  • @KyleJones added. – koko Mar 8 '14 at 19:03
  • I've switched off router's security - it sounds like maybe the router has more switched off than that, like maybe it's not doing any routing, or it has no route to . Can you use another computer to check this - try one that was previously working with your router. – Bruce Ediger Mar 8 '14 at 19:21
  • I have many other devices using this router as gateway , both windows and linux variants @BruceEdiger – koko Mar 8 '14 at 19:29
  • @BruceEdiger btw, by switching off security I meant not using WEP/WPA . – koko Mar 8 '14 at 19:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.