wifi only works on LAN but can’t access internet?


after bringing up ath0 driver for wifi on acer notebook, it can only access wireless AP, but cannot access internet.

Guess that it is because hostname unknown issue.


  1. create a file /etc/nodename
  2. add one line: [hostname] (in this case: acersolaris)


Unlike Linux, can’t just modify /etc/hosts file. /etc/nodename must be created and reboot, then file: hosts will read the hostname stated in file: nodename