Connected to Wifi but not internet
You can use a static ip address and gateway address. It's also possible to edit the nameserver. You also need a route for the interface. You can use the route command to add a route. When you have a terminal emulation and root user you can type route -h to show a little help screen. To add a route try this: route add default gw xxx.xxx.xxx.xxx dev xxx.