Two hours i trying to configure wireless interface without dhcp.
After adding two nameservers to /etc/resolv.conf i create /etc/mygate with ip address of router. With hostname.athn0 in etc nothing is happening.
Code:
ifconfig athn0 inet 192.168.0.2 netmask 255.255.255.0 nwid myssid wpa wpapsk 'password'
After this command network status is active, but when ping some ip i get the message "no route to host".
What I missed?