> On Wed, Sep 18, 2002 at 09:39:35AM +0900, Jonathan Khoo wrote: > > Is there anyway I can detect or differentiate between a wired and > > wireless connections?? Although this is not a perfect solution, you can see if the wireless statistics (iw_statistics) are defined for the device you are looking at (look at struct net_device in /usr/include/linux/netdevice.h). Of course not all drivers support wireless statistics (used for wireless extenstions). Also, since the 802.11 MAC is supposed to look like 'ethernet' to above layers, you would think that hte MTU would still be 1518 (1500 data)? If its different, that may give you a better idea (also let us know if it is). Regards, Mazhar Memon -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/