LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.


  Search this Thread
Old 01-30-2005, 04:37 AM   #1
Registered: Jan 2003
Location: UK
Distribution: Slackware 9.0
Posts: 34

Rep: Reputation: 15
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless)

I'm trying to use my linux desktop machine to allow my wireless laptop to connect to the internet, check mails and otherwise use the wired network (which the linux pc is connected to) over a wireless connection the laptop also needs to be able to access ssh and other services on the desktop machine so i dont want all traffic passed over just that not for the specific ip.

The Linux Desktop has:
Wired Ethernet (eth0) - Some realtek cheapo card
Wireless Ethernet (wlan0) - ndiswrapper using a Netgear WG121 USB adapter
The Wired Ethernet uses DHCP to get its ip and the correct gateway settings to get out onto the internet from this PC. IP:
The Wireless connection is set to use ip and Ad-Hoc mode

I can connect using the laptop to the linux desktop over wireless in Ad-Hoc mode and access anything on the desktop as usual however the desktop will not route traffic to other ip's or via the gateway to the internet on the wired side of its connection.

I think i need to tell the machine to pass any traffic from the wireless card that is not destined for the desktops ip address over onto the wired ethernet and let the gateway decide what to do with it but i dont know how to do this.

I think im making an ethernet bridge or some kind of routing system but im not entirely sure that will do what i want or how to acheive it.

Apologies for the long winded explanation but this is starting to drive me insane and so i'm hoping someone will be able to provide some clues as to how i can get this working.

Many Thanks,


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
Wireless vs wired connection on same laptop rps63ifid Fedora 7 02-02-2005 09:38 PM
Laptop-net on wired/wireless interface blueplazma Linux - Wireless Networking 2 12-24-2004 02:29 PM
Wired to Wireless back to Wired The_Nerd Linux - Hardware 5 09-15-2004 09:20 PM
robust wireless/wired networking on laptop? JohnnyBravo Linux - Wireless Networking 0 04-10-2004 05:05 PM
Wired Ethernet convert Wireless? tarballedtux General 9 01-15-2004 09:58 PM

All times are GMT -5. The time now is 11:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration