LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-09-2006, 08:30 AM   #1
wildcat06
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Rep: Reputation: 0
Wirless connection but unable to access internet


I have seen similar post and have tried to resolve my problem. But haven't been able to.
I have Linksys router which is connected to a DSL Modem. I have connected my windows 2000 PC to the router using the ethernet card. This machine can access internet fine. I have a fedora core 3 labtop with intel wireless card. I can connect to the router fine and an ip address gets assigned to the labtop. But I am unable to ping yahoo.com or its IP address. Here is some command output

resolv.conf

; generated by /sbin/dhclient-script
search domain_not_set.invalid
nameserver 68.94.156.1
nameserver 68.94.157.1

route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

ifconfig

eth1 Link encap:Ethernet HWaddr 00:0E:35:3A:FD:91
inet addr:192.168.2.101 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::20e:35ff:fe3a:fd91/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3614 errors:0 dropped:0 overruns:0 frame:0
TX packets:1008 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:130432 (127.3 KiB) TX bytes:63490 (62.0 KiB)
Interrupt:11 Base address:0x2000 Memory:c0210000-c0210fff

I have tried adding a default gateway by
route add gw 192.168.2.1 dev eth1.
But that does not seem to solve the problem. Any advice would be appricated. Thank you for taking the time and reading the post.
 
Old 03-09-2006, 09:11 AM   #2
ralvez
Member
 
Registered: Oct 2003
Location: Canada
Distribution: ArchLinux && Slackware 10.1
Posts: 298

Rep: Reputation: 30
OK. Your routing table shows the problem, it reads:
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
but should read:
192.168.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
0.0.0.0 192.168.2.1 0.0.0.0 UG 0 0 0 eth1

I think that the reason it did not get added is because there is an error in the command to add it, it should read:
route add default gw 192.168.2.1 eth1

Try it, see if it works.

R
 
Old 03-09-2006, 09:51 AM   #3
wildcat06
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I will try it this evening and share the results. Thank You.
 
Old 03-09-2006, 06:34 PM   #4
wildcat06
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I ran the command. It did not give me any error. But I am still unable to ping yahoo.com. Also when run the command route, it just shows the one entry. I am logged in as root. Is there any other way to add a gateway.
 
Old 03-09-2006, 06:36 PM   #5
wildcat06
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
Here is the output of route
192.168.2.0 * 255.255.255.0 U 0 0 0 eth1 .
 
Old 03-27-2006, 09:08 AM   #6
wildcat06
LQ Newbie
 
Registered: Mar 2006
Posts: 7

Original Poster
Rep: Reputation: 0
OK. I figured out my problem. It is the Network Manager that is overwriting my routing information. I am not sure why. But once I shut down the process, I have a wireless connection....finally!!!...
 
  


Reply


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
Solaris 10 - Unable to access Internet msmapper Linux - Networking 0 01-06-2006 04:20 PM
Connection to access point OK, but cannot access the network/internet Nymphetamine Linux - Wireless Networking 29 01-13-2005 02:59 PM
Unable to get internet connection working piraya Linux - Networking 5 10-26-2004 06:13 AM
Unable to access internet TBomb Linux - Networking 4 08-11-2004 10:29 AM
Unable to Access the Internet - not sure why zensufi Linux - Hardware 9 07-20-2004 06:14 PM

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

All times are GMT -5. The time now is 06:21 PM.

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