LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-01-2005, 07:02 PM   #1
gbogle
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: fedora core 2
Posts: 3

Rep: Reputation: 0
Connecting to my linksys router


Hi all,

I am still having a problem connecting my linux FC2 computer to the internet. I have verizon dsl modem connected to my linksys router, the main pc is W2k on port 1 of the router (which works fine). My FC2 pc is connected to port 2 of the router. My NIC card when setup with a static IP will activate with no problem but will not connect to internet. When NIC card is set to dhcp, card will not activate. When I go to mozilla I see the indicater at the bottom of the screen that indicates a connection to the internet, but I can not surf.

I read somewhere that I should setup my NIC card with the IP address of the router as the DNS and the gateway, which I did and still no Internet access.

Is there something missing somewhere? I have removed the ppp0 connection because the same person that advised to setup my NIC card as above also advised that I would not need ppp to connect using a router.

I have noticed some error messages from eth0 when I shutdown or restart linux pc - "NETDEV WATCHDOG; eth0: transmit timed out, eth0: transmit timed out, tx_status 00 status e00. diagnostics: net 0cc0 media 8802 dma 00000000 fifo 8800" and "eth0: transmit error, Tx status register 90, flags; bus-master 1, dirty 1(1), current 17(1), Transmit list 08800340 vs c88002a0"

Please Help.

Gil
 
Old 05-01-2005, 07:40 PM   #2
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
well foo, my last post did not take so i will try this again.

1. most Linksys routers are set as a DHCP server as a default.

2. the default IP on the router is 192.168.1.1

with those 2 things being said i will try to help.

1. when you have your NIC set to a static IP, is it on the 192.168.1.x subnet 255.255.255.0 gateway 192.168.1.1?

2. when set to obtain an IP via DHCP did you tell it were to look (give it the gateway IP) of 192.168.1.1

3. when you have a static IP can you ping the router? open a console (or go to a terminal) and type ping 192.168.1.1 you should get a responce. if not you are on the wrong IP scheme and need to figure out what the proper scheme needs to be.

you can do this by hitting start, run, type in cmd, then hit enter (or click the OK button) in your windows box.

this will bring up a DOS type screen. in there you need to type ipconfig (yes ipconfig, not ifconfig like in linux) and read the line that will look like the following:

Code:
C:\Documents and Settings\xxxxx>ipconfig

Windows IP Configuration


Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.2.100
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.2.1

C:\Documents and Settings\xxxxx>
as you can see i have changed my default gateway from 192.168.1.1 to 192.168.2.1.

then you can build either your DHCP in linux, or static IP in linux to match what is WORKING in your windows box.

hope that helps.
 
Old 05-01-2005, 09:23 PM   #3
gbogle
LQ Newbie
 
Registered: Apr 2005
Location: Brooklyn, NY
Distribution: fedora core 2
Posts: 3

Original Poster
Rep: Reputation: 0
Connecting to my linksys router

Thanks for the immediate reply.

I followed your instructions and compared my linux pc to the windows pc and the settings are identical, both computers are looking at the same gateway address and the linksys configuration status page also confirms the same thing. The windows pc is working fine on the router.

The answers to question 1 is yes static ip on 192.168.1.xxx subnet 255.255.255.0 and gateway 192.168.1.1.

question 2 yes - when ip via dhcp gave it gateway ip 192.168.1.1.

question 3 with static ip I am unable to ping the router, I get error "network unreachable"

I even have my static network address set to the same 192.168.1.1 with subnet 255.255.255.0 and gateway 192.168.1.1.

The thing that really concerns me are the errors from eth0 - I have noticed some error messages from eth0 when I shutdown or restart linux pc - "NETDEV WATCHDOG; eth0: transmit timed out, eth0: transmit timed out, tx_status 00 status e00. diagnostics: net 0cc0 media 8802 dma 00000000 fifo 8800" and "eth0: transmit error, Tx status register 90, flags; bus-master 1, dirty 1(1), current 17(1), Transmit list 08800340 vs c88002a0"

What does this error message mean?
http://www.linuxquestions.org/questi...eadid=319173&#

Gil
 
Old 05-02-2005, 09:47 PM   #4
Lleb_KCir
Senior Member
 
Registered: Nov 2003
Location: Orlando FL
Distribution: Debian
Posts: 1,765

Rep: Reputation: 45
when you are pulling an IP, do you get an IP? are you checking via ifconfig as root?

you might not even be pulling an IP. as for that error sounds like you might have some kind of firewall running and if so i can not help you. my linux knowledge is not all the great.
 
  


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
Home network: connecting to a Linksys router for DHCP IP address - no ping gunther Linux - Networking 28 05-20-2005 10:14 PM
Linksys WPC54G Network Card not connecting to the internet cheetahman Linux - Wireless Networking 11 05-16-2005 03:19 AM
Connecting to Net with Surecom Network card and Linksys Router? EpicLinux Linux - Newbie 0 10-28-2003 02:04 PM
router problem with linksys router scheiße_comp Linux - Networking 10 08-20-2002 10:18 AM
Connecting to I-net through Linksys router in Linux elgleon Linux - Networking 1 09-28-2001 09:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 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