LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 12-01-2002, 09:39 AM   #1
nostrings
LQ Newbie
 
Registered: Dec 2002
Distribution: SuSE 8.1
Posts: 2

Rep: Reputation: 0
wireless routing problem


I'm having a bit of a routing problem with my wireless linux laptop.
I have a small network comprised of:
linksys router
pc
Linksys Access point
Linux laptop with WPC11 wireless card.

With the help of finegan's postings I've fianlly been able to get the wireless card to work. I am now able to ping any machine within my local network (192.168.1.x). However I can not reach anything outside my network (internet). The cabled PC works just fine.


If I try to ping a host outside my local network I immediately get a "connect: Network is unreachable" message.

My routing table has two entries:

Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0


As you can see the use column always shows 0. I can't seem to figure out why the mcahine is not directing traffic to this gateway.

if I run tcpdump -i eth0 I can see network activity when I ping a local host but if I attempt to ping a host outside my network I get no traffic at all. So I guess that my machine is just immediately assuming that it doesn't know how to reach the destination address and not bothering to hand it off to the router.
Weird huh?

Any help, insight or suggestions would be greatly appreciated.


Thanks,
-nostrings

btw: my access point (linksys WAP11) is configured for a gateway of 192.168.1.1 (the same as my local netwotk gateway)
 
Old 12-01-2002, 11:07 AM   #2
clavius
Member
 
Registered: Dec 2002
Location: Romania, Tg-Jiu City
Distribution: Slackware
Posts: 35

Rep: Reputation: 15
Re: wireless routing problem

Quote:
Originally posted by nostrings

My routing table has two entries:

Destination Gateway Genmask Flags Metric Ref Use Iface
default 192.168.1.1 255.255.255.0 UG 0 0 0 eth0
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
# route del -net 0.0.0.0 netmask 255.255.255.0 gw 192.168.1.1
# route add default gw 192.168.1.1

Now it have to work. A default route NEVER have another netmask than 0.0.0.0. Check out your configuration.
 
Old 12-01-2002, 11:26 AM   #3
nostrings
LQ Newbie
 
Registered: Dec 2002
Distribution: SuSE 8.1
Posts: 2

Original Poster
Rep: Reputation: 0
Claudiu,


You were absolutely right. I made the change you suggested and now I'm up and running.

Fantastic.

Thanks for the help.

-nostrings
 
  


Reply



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
Linux Wireless Network Config - Routing Problem? xprezons Linux - Wireless Networking 1 07-17-2005 10:22 AM
Perplexing wireless routing problem Gerr Linux - Wireless Networking 8 03-30-2004 08:55 AM
Wireless Routing to laptop optix Linux - Wireless Networking 10 02-29-2004 09:28 PM
routing between wireless and ethernet puppetmaster Linux - Wireless Networking 1 07-24-2003 07:22 PM
Wireless/Routing question gfk60 Linux - Wireless Networking 1 08-05-2002 06:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 09:12 AM.

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