Re: how to config wireless card
On Fri, Jan 13, 2017 at 07:32:05PM +0800, Long Wind wrote:
> Thank Jan-Peter Rühmann!
>
> iw has already been installed.
> the command "iw dev" return nothing.
> i use twm
>
> i think wifi is mature, so connecting XP or cell phone is easy
> i wish in Linux connecting wireless is as easy as connecting ethernet
That cannot be, because wireless needs to be set up to figure
out which "wire" you want to connect to.
> (in debian i usually config ethernet by a simple command like "dhclient eth0")
You can do that, as soon as you connect to an access-point.
Try:
iwlist wlan0 scan
to show what access-points are available
iwconfig wlan0 essid "NETWORK NAME"
to connect to an access-point called "NETWORK NAME"
and then you can do
dhclient wlan0
to get an IP address and probably a default route.
-dsr-
Reply to: