On Friday 05 November 2004 10:33 pm, Suihong Liang wrote: > Hi, > > I have a question, how does Linux recognize that it has entered a 802.11 > network? and how does it acquire an IP address via DHCP automatically? > Well, the tools and driver hide the fact that you are communicating over 802.11 and dhcpclient and other programs use it like a normal interface. Once the driver has setup the interface scripts can bring it up and get an IP over dhcp like they would an ethernet interface. In fact, in my machine my wireless's ifname is eth2. If you want to know more about the scan/authentication part of 802.11 I would reasearch your driver, WEP, or the specifications for that 802.11 protocall(a/b/g)..etc. -- -EB - : send the line "unsubscribe linux-net" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html