LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-16-2008, 06:30 AM   #1
mopu
LQ Newbie
 
Registered: Aug 2008
Posts: 29

Rep: Reputation: 15
making wireless router using the wireless NIC


hi, i've converted a PC to work as a router. Now I want to make it work as wireless router . I want to make a ad-hoc network of 3 wireless routers, is it is possible by only adding the wireless interface cards or i have to buy the wireless router adapter/
 
Old 10-16-2008, 07:47 AM   #2
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by mopu View Post
is it is possible by only adding the wireless interface cards or i have to buy the wireless router adapter
Could you provide a description of your desired network setup? A diagram would help. You can use text for the diagram, like this
Code:
               ----------------------        ---------------------- 
               | PC1                |        | PC2                | 
Internet <---->| eth0:  192.168.1.1 |        | eth0:  192.168.1.2 | 
               | wlan0: 192.168.2.1 |<------>| wlan0: 192.168.2.2 | 
               ----------------------        ----------------------
Also, any scripts or iptables configuration you are using would help us.
 
Old 10-21-2008, 03:01 AM   #3
mopu
LQ Newbie
 
Registered: Aug 2008
Posts: 29

Original Poster
Rep: Reputation: 15
------------- -------------- ---------------
| PC1 |<-->|PC2 |<-->| PC3 |
|E0:192.168.1.1 | |E0:192.168.3.1 | |E0:192.168.4.1|
|S0:192.168.2.1 | |S0:192.168.2.2 | |S0:192.168.3.2|
---------------- --------------- ---------------

Now my configuration is like this and it is working as wired router, using the Slackware OS and the quagga software and connecting 2 NIC with each PC. Now i want to make it work as wireless router.
Is it is possible to do by connecting the Wireless NIC only or something else is also required.
Please help.Thank you.

Last edited by mopu; 10-21-2008 at 03:03 AM.
 
Old 10-21-2008, 08:23 AM   #4
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
It helps us a lot if you put things like this inside CODE tags:

Code:
  -----------------    -----------------    ----------------
  | PC1           |<-->|PC2            |<-->|PC3           | 
  |E0:192.168.1.1 |    |E0:192.168.3.1 |    |E0:192.168.4.1|
  |S0:192.168.2.1 |    |S0:192.168.2.2 |    |S0:192.168.3.2|
  ----------------      ---------------      ---------------
That being said, I do not understand your explanation:

Quote:
Originally Posted by mopu View Post
Now my configuration is like this and it is working as wired router, using the Slackware OS and the quagga software and connecting 2 NIC with each PC. Now i want to make it work as wireless router.
Is it is possible to do by connecting the Wireless NIC only or something else is also required.
Please help.Thank you.
You are leaving out a lot of detail. For example, what are E0 and S0? Are they both wired adapters? Which adapters are connected? How are they connected? Are all the E0s connected to a switch? Or are they ganged together somehow?
 
Old 10-21-2008, 11:18 PM   #5
mopu
LQ Newbie
 
Registered: Aug 2008
Posts: 29

Original Poster
Rep: Reputation: 15
The PC will have the provision for both the wired and the wireless network. The communication between two PCs working as router should happen wirelessly and the LAN may be wired. Suppose from the picture the PC1s 192.168.1.1 want to send something to the PC3 192.168.4.1 then it should go through the PC2 wirelessly and the routing should take place as it happen in general wired link.
 
Old 10-22-2008, 08:41 AM   #6
David1357
Senior Member
 
Registered: Aug 2007
Location: South Carolina, U.S.A.
Distribution: Ubuntu, Fedora Core, Red Hat, SUSE, Gentoo, DSL, coLinux, uClinux
Posts: 1,302
Blog Entries: 1

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by mopu View Post
Suppose from the picture the PC1s 192.168.1.1 want to send something to the PC3 192.168.4.1 then it should go through the PC2 wirelessly and the routing should take place as it happen in general wired link.
Well, until you give us the information we need to help you, all I can say is that you cannot do what you are trying to do without VPN software running on PC2. And even then, if everything is connected in ad-hoc networks, you may not be able to get it working.
 
  


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
Intel Wireless 3945ABG Wireless NIC card not working after 8.04 clean install creature124 Linux - Hardware 4 05-03-2008 11:58 AM
Wireless Router NIC Card brianthegreat Linux - Wireless Networking 1 02-02-2006 09:43 AM
Making my linux box a wireless router? jon_k Linux - Wireless Networking 1 12-26-2004 04:48 PM
wireless router to wireless router connection questions mister_math Linux - Wireless Networking 0 08-06-2003 01:50 PM
making a wireless router box yocompia Linux - Wireless Networking 0 08-05-2003 04:31 PM

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

All times are GMT -5. The time now is 02:24 AM.

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