LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-05-2007, 02:21 PM   #1
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148
Blog Entries: 1

Rep: Reputation: 48
Ad-hoc networking


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?

Thanks.
 
Old 12-05-2007, 03:03 PM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
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.
 
Old 12-06-2007, 11:28 AM   #3
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
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?
 
Old 12-06-2007, 12:13 PM   #4
PatrickNew
Senior Member
 
Registered: Jan 2006
Location: Charleston, SC, USA
Distribution: Debian, Gentoo, Ubuntu, RHEL
Posts: 1,148

Original Poster
Blog Entries: 1

Rep: Reputation: 48
I'm still experimenting now, but I can't even get them to ping one another. I'll probably just bite the bullet and get a router. Thanks though.
 
Old 12-06-2007, 01:07 PM   #5
osor
HCL Maintainer
 
Registered: Jan 2006
Distribution: (H)LFS, Gentoo
Posts: 2,450

Rep: Reputation: 78
Quote:
Originally Posted by PatrickNew View Post
I'm still experimenting now, but I can't even get them to ping one another.
What do the routing tables say?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ad-hoc Question worldgnat Linux - Wireless Networking 2 06-01-2006 08:38 PM
Ad-hoc novis Linux - Wireless Networking 1 05-23-2006 01:07 PM
LXer: Three uses of RTLinux in next-generation ad hoc wireless networking LXer Syndicated Linux News 0 02-02-2006 05:01 AM
How to ad-hoc in linux? enigma_0Z Linux - Wireless Networking 3 06-01-2005 06:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:44 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration