Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Yes, it would be a good idea. Some drivers will automatically set a SSID based on the system hostname or the name of the chipset (like RTL818), but it is better to set your own.
Of course, you can also put those two commands together in the form of:
Code:
iwconfig eth1 essid MYNET mode Ad-Hoc
The reason it failed before was not because everything was in one command, but rather, that the specific option was not supported by the driver (or at least, not supported in that scenario; you might be able to change the channel while in monitor mode, for instance).
Possibly, but it could also be that your drivers don't have complete support for Ad-Hoc mode. One of my cards only partially supports Ad-Hoc, for instance.
The RTL8180 drivers I use only have tentative Ad-Hoc support. Generally it works alright, but sometimes it simply refuses to connect, or I will get lost packets. Occasionally the kernel will even crash, depending on the machine's mood, alignment of the planets, that sort of thing.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.