Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wireless Internet > Obtaining wireless through adjacent laptop

Forgot Password?
 Wireless Internet   Anything related to getting wireless set up in Linux. WLAN, WiFi, etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-16-2008   #1 (permalink)
Just Joined!
 
TuxXin's Avatar
 
Join Date: Apr 2008
Posts: 23
Send a message via AIM to TuxXin Send a message via MSN to TuxXin
Question Obtaining wireless through adjacent laptop

I recently bought a wireless card for my desktop computer, and after finally getting it to work the range is so short, I could just as well hook up an ethernet cable. I was wondering how I could use my laptop to obtain a wireless connection on my desktop. I asked this question before, but I wasn't given a clear answer. I was only told I could do this, but wasn't told how. I've set a static ip on both the laptop and desktop, and I have wirelessly connected the laptop to the local router. What else do I need to do? :/
TuxXin is offline  


Reply With Quote
Old 06-16-2008   #2 (permalink)
Linux Engineer
 
Join Date: Nov 2007
Posts: 1,120
You are using your laptop as a "router" for your desktop. You need to enable IP forwarding and then configure iptables to pass packets back and forth to your desktop machine.

You can Google "iptables home router" for many examples => Linky
HROAdmin26 is offline   Reply With Quote
Old 06-16-2008   #3 (permalink)
Just Joined!
 
TuxXin's Avatar
 
Join Date: Apr 2008
Posts: 23
Send a message via AIM to TuxXin Send a message via MSN to TuxXin
I want to use my laptop as a wireless bridge/access point. I have a router setup, and I'm trying to get wireless from it. I also have a few extra routers, but I was told on the linksys forums that I couldn't use them as an access point.
TuxXin is offline   Reply With Quote
Old 06-16-2008   #4 (permalink)
Trusted Penguin
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 3,934
If the wireless card supports it, you would need to change the wireless mode. The three that are most commonly used are these:

managed - node connects to a network composed of many Access Points, with roaming
ad-hoc - network composed of only one cell and without Access Point
master - the node is the synchronisation master or acts as an Access Point

The mode can changed using the iwconfig command. For a list of iwconfig options use the --help option:
Code:
/sbin/iwconfig --help
Also, read the man pages for iwconfig, there are more mode options available if your card supports it:
Code:
man iwconfig
Use enter or page up/down to view the entire document, use q to quit (exit) the man page.
__________________
Paul

Please do not PM me with requests for help. I will not reply.
waterhead is offline   Reply With Quote
Old 06-17-2008   #5 (permalink)
Just Joined!
 
TuxXin's Avatar
 
Join Date: Apr 2008
Posts: 23
Send a message via AIM to TuxXin Send a message via MSN to TuxXin
Thanks, I think I have an idea on what to do now.
TuxXin is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:48 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2