Dr. Sharukh K. R. Pavri. wrote:
On Sun, 01 Jul 2007, Rony wrote:
Dr. Sharukh K. R. Pavri. wrote:
Okay did that. I had to get the madwifi-tools to set the mode to adhoc on ath0.
but iwlist scan shows: No scan results.
now what ?
If it's of any use, iwlist wifi0 channel always shows channel 3, whereas iwlist ath0 channel shows a different channel everytime.
Both devices have to be set to use the same channel, essid and mode.
That's the problem, the channel on ath0 seems to be changing, seemingly of its own accord. Everytime I check w/ iwlist ath0 freq it shows a different channel/frequency. On wlan0 it stays at channel 3. I have set essid to any.
This could be a driver issue for your ath0 card. Also try other options in iwlist, like frequency. The man page says "freq[uency]/channel Give the list of available frequencies in the device and the number of defined channels. Please note that usually the driver returns the total number of channels and only the frequencies available in the present locale, so there is no one-to-one mapping between frequencies displayed and channel numbers."
Also, in /etc/networking/interfaces, the devices can be set to 3 different modes. Auto, static and manual. Manual means that the device is up but you set parameters later through commands, however it will last for that session only. After a reboot, it has to be re-done. For experimenting, that is a better mode.