LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 02-27-2010, 11:36 PM   #1
cgrande
LQ Newbie
 
Registered: Sep 2007
Location: Buffalo NY USA
Distribution: I'm playing with a few, but most likely Ubuntu
Posts: 8

Rep: Reputation: 0
Question How do I set up Knoppix as a wireless bridge?


I have a Windows 7 machine which is having issues with a Linksys Rangeplus wireless card, specifically kernel dumps every couple of hours. I have an old (really old) tower sitting in my room which I would like to turn into a wireless bridge so that I could connect the windows box to the internet without dealing with the blue screens.

I plan on using Knoppix as I have it available already, but if it would be easier with another distro I can always download it.

Any help, guides, suggestions, etc would be appreciated. If this doesn't work I'm going to have to buy an old WRT54G offline and convert that with DD-WRT...
 
Old 02-28-2010, 01:18 AM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Well you could certainly do that, but frankly it would be cheaper and easier to either:

A. Get a supported WiFi device for your Windows 7 machine, the cost of USB WiFi adapters is ridiculously low anymore; even for high-powered ones with large antennas.

B. Get a commercial wireless bridge, which are often marketed as "wireless gaming adapters" (which were a niche market before game consoles had their own WiFi hardware).

In either case, the whole thing shouldn't cost more than $30 if you are looking in the right places. Compared to setting up the computer as a bridge, which would take much longer and in the end would be much more expensive considering the energy consumption of old PC hardware compared to a USB device or small wireless bridge.

Now if you wanted to do something else with the computer, like serve media files or something like that, I could see it. But as it is I don't see the logic personally.
 
Old 02-28-2010, 11:50 PM   #3
redss
Member
 
Registered: Jun 2003
Posts: 165

Rep: Reputation: 16
If you want to use knoppix as a wireless bridge between a wireless interface (ath0/wifi0/rausb0) and a hardware interface (eth0), you can do the following but the catch is that the hardware port eth0 will be NAD'd (behind a firewall):

echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE

then:
set eth0 to a new subnet.
set your win7 client (connected to LAN interface)
static IP on that subnet
gateway to the IP of LAN interface
DNS to IP of gateway of WAN interface

I do this and it works great.

More details at http://lindesk.com/2007/04/internet-...sing-iptables/
 
1 members found this post helpful.
Old 03-01-2010, 12:16 AM   #4
cgrande
LQ Newbie
 
Registered: Sep 2007
Location: Buffalo NY USA
Distribution: I'm playing with a few, but most likely Ubuntu
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks, I'll try that tonight.
 
  


Reply

Tags
bridge, knoppix, networking


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Howto set up a Wireless Bridge in Debian LXer Syndicated Linux News 0 12-18-2008 03:03 AM
How to set up a bridge? Royle Linux - Networking 10 10-30-2004 09:26 PM
how to set up bridge? munkeevegetable Linux - Networking 8 10-10-2004 10:59 AM
When using Knoppix, I need to bridge the 2 nics together! p4ocer Linux - Networking 0 06-22-2004 03:59 PM
Best way to set up a wireless to ethernet bridge? Electrode Linux - Wireless Networking 1 10-12-2002 12:52 AM


All times are GMT -5. The time now is 04:13 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration