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.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Wireless Internet
Reload this Page Obtaining wireless through adjacent laptop
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

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

Reply
 
Thread Tools Display Modes
Old 06-16-2008   #1 (permalink)
TuxXin
Just Joined!
 
Join Date: Apr 2008
Posts: 17
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)
HROAdmin26
Linux User
 
Join Date: Nov 2007
Posts: 487
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)
TuxXin
Just Joined!
 
Join Date: Apr 2008
Posts: 17
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)
waterhead
Linux Engineer
 
waterhead's Avatar
 
Join Date: Jul 2004
Location: Franklin, Wisconsin
Posts: 1,107
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
waterhead is offline   Reply With Quote
Old 06-17-2008   #5 (permalink)
TuxXin
Just Joined!
 
Join Date: Apr 2008
Posts: 17
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




All times are GMT. The time now is 05:14 AM.




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

Content Relevant URLs by vBSEO 3.0.0