However although it takes 106 as IP I cannot ping it if I do not log in first. Using ethernet cable it is possible to connect to network even if I do not log in.
Anybody has an answer why this problem occurs with wifi?
I think this should be easy to fix.
Modify your /etc/network/interfaces
file so it looks like this:
iface ath0 inet static
wpa-driver wired (I am not sure of this but I tried everything else)
The changes are in red
is "weird stuff"
Your dns-nameservers 192.168.2.2
is a new one for me - Are you running a local nameserver? I just have a gateway address-of-my-router
line (same as you).
you can probably remove (I don't have it and all is sweet)
Anyway, make the changes to rc.local
Reboot, do not login.
Is the interface up?
If not, you may have a problem that I have had with a couple of installations, and the wireless interface needs to be brought down and up again,
by a couple of commands in the file /etc/rc.local
Put these before
the final exit 0
# Stupid wireless needs to be restarted,
# I do not know why, so just do it:
Reboot, and let us know what happens.