All pastes #107020 Raw Edit

Someone

public text v1 · immutable
#107020 ·published 2006-07-30 19:40 UTC
rendered paste body
< Getting IP address >

After start up the nic, the network needs to obtain an IP address before

transmit/receive data.

This can be done by setting the static IP via "ifconfig wlan0 IP_ADDRESS"

command, or using DHCP.



If using DHCP, setting steps is as below:

	(1)connect to an AP via "iwconfig" settings

		iwconfig wlan0 essid [name]	or

		iwconfig wlan0 ap XX:XX:XX:XX:XX:XX



	(2)run the script which run the dhclient

		./wlan0dhcp

           or 

		dhcpcd wlan0

              	(Some network admins require that you use the

              	hostname and domainname provided by the DHCP server.

              	In that case, use 

		dhcpcd -HD wlan0)