Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a problem that I'm working with on a home brew router.
The machine is an 800MHz Duron PC with 512MB of RAM. I have a Realtek 8139 and a Tulip NIC installed and I have inserted a DLink DWL-G122 USB Wireless NIC into one of the USB socket. I've installed NDIS-Wrapper and the D-Link driver and gone through the commands but I can't get the machine to forward packets from the wireless NIC to the internal network or the internet. OS is Mandrake 10.1
The hardware is as follows:
eth0 - Local subnet - 192.168.3.0/255.255.255.0
eth1 - Internet via D-Link ADSL modem (DHCP IP Address)
wlan0 - Wireless subnet - 192.168.2.0/255.255.255.0
the routing table appears as follows:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
0.0.0.0 212.159.xxx.xxx 0.0.0.0 UG 0 0 0 eth1
(my xxx's replace the real numbers)
and I have configured shorewall to allow packets to go backward and forward between the LAN and the wireless. The LAN to Internet connection works fine so IP forwarding is on but I don't want to bridge the wireless to the LAN (with brctl) for various reasons.
Is there any reason why this shouldn't work? Both the wireless cards (router and Laptop light up and the dat lights flash when I ping AND.. the laptop detects the wireless LAN displaying the ESSID but I can't ping across the NICS. Is bridging essential or can I use clever routing to pull it off?
The internal interface, 192.168.3.1 is a static IP and is connected to an 8 port switch that leads off to the rest of the LAN. The internet interface is dynamic and is allocated by the ISP via my D-link ADSL modem and I have a staic IP on the wireless NIC of 192.168.32.1. The wireless NIC in the laptop is static on 192.168.3.2. Default gateway has been set to 192.168.3.1 and 192.168.2.1 (out of desperation ) with no luck. BTW All have netmasks of 255.255.255.0.
If I ping a LAN address from the wireless I get destination host unreachable and the same goes for wireless to internet. Traceroute returns !H which according to the man page means "Host unreachable. The router has no route to the target system".
It seems like the NICs are alive but even with the firewalls on both set to allow open traffic from them, they don't see each other.
It's around 2 am here so I'll do some more research and post the output from commands later today.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.