Find the answer to your Linux question:
Results 1 to 5 of 5
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! TuxXin's Avatar
    Join Date
    Apr 2008
    Posts
    23

    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? :/

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,755
    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

  3. #3
    Just Joined! TuxXin's Avatar
    Join Date
    Apr 2008
    Posts
    23
    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.

  4. #4
    Linux Guru
    Join Date
    Jul 2004
    Posts
    4,593
    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.
    Please do not send Private Messages to me with requests for help. I will not reply.

  5. #5
    Just Joined! TuxXin's Avatar
    Join Date
    Apr 2008
    Posts
    23
    Thanks, I think I have an idea on what to do now.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •