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.
Okay, so I'm going to admit my networking ignorance here. I have two computers that each have wireless cards working with linux. Both use ndiswrapper. Ideally, this is what I would like:
Desktop plugs into wired network for internet.
Laptop (and maybe and n800 come Christmas) get internet wirelessly from Desktop.
Both (or maybe all three) can share files via nfs.
So I'd like to set up the Desktop as an access point. Trouble is, it can't be done. The ndiswrapper driver doesn't support going into master mode for the desktop wireless card.
So my question is, can I do this with an ad-hoc network? Can I just create an ad-hoc network and assign each of the devices a static IP so they all know where to find each other?
The simplest method is bite the bullet and get a wireless router. Your internet connection plugs into it, and the computers connect via wireless.
Linux kernel supports bridging multiple network interfaces, but not sure it can be done with ndiswrapper. But it will be a big pain in the neck, and will be slower than using a standard wireless router. Good routers can be had for $40.
An alternate plan (which also involves bullet biting) is to go out and get a PCI wireless card which supports master mode in linux (perhaps 20USD).
As for using ad-hoc wireless networking, I think what you described is the correct setup (i.e., put all devices in ad-hoc mode, assign them static IPs, assign appropriate routes, etc.). Have you already tried out this process?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.