LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-08-2003, 04:43 AM   #1
67bbc
LQ Newbie
 
Registered: Feb 2003
Location: MD
Distribution: suse 8.1 pro
Posts: 4

Rep: Reputation: 0
Connect through router


I have just installed suse 8.1 pro and can access the web from my nic through my linksys cable modem. However, I try and connect through my router (Other windows systems already on) to access the web it is a no go. I am new and must be missing something???
 
Old 02-08-2003, 04:55 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
presuambly you'll need to set the system to use the router as the gateway. either use some gui like netconfig, or just add a line saying "GATEWAY=a.b.c.d" to /etc/sysconfig/network
 
Old 02-08-2003, 07:38 AM   #3
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
Does the router provide a DHCP function? If so this will provide not only an IP address automatically but also gateway and DNS information.

You can check to see if the windows pc is using DHCP by running winipcfg (start, run, winipcfg)

if winipcfg lists a DHCP server and the release and renew buttons are not greyed out then you have a DHCP server on your network.
 
Old 02-08-2003, 07:55 PM   #4
67bbc
LQ Newbie
 
Registered: Feb 2003
Location: MD
Distribution: suse 8.1 pro
Posts: 4

Original Poster
Rep: Reputation: 0
Tried the suggestions, still can not get through the router. Again tested directly to cable modem and all is fine, just can't get it through the linksys router. Thanks.
 
Old 02-08-2003, 08:31 PM   #5
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
What kind of router is it? another PC, a modular layer 3 switch, two shoestrings tied to tin cans?

Could you elaborate on
Quote:
Tried the suggestions
 
Old 02-09-2003, 03:32 AM   #6
67bbc
LQ Newbie
 
Registered: Feb 2003
Location: MD
Distribution: suse 8.1 pro
Posts: 4

Original Poster
Rep: Reputation: 0
I am using a Linksys Cable Modem and Linksys Router (4 port, WRT51AB) Setup. Windows systems I have run through the router fine, just can not get the Linux box through. Thanks.
 
Old 02-11-2003, 12:52 AM   #7
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
Quote:
Originally posted by 67bbc
I am using a Linksys Cable Modem and Linksys Router (4 port, WRT51AB) Setup. Windows systems I have run through the router fine, just can not get the Linux box through. Thanks.
OK so the linksys (according to their webpage) is a wireless/ wired model. Are you using the wired or wireless connection?

It does has a DHCP server so your windows PC most likely is set to grab all it's details directly from that (that is IP address, gateway, DNS, etc.) your linux box may not be set up i such a way.

A DHCP client needs to be used to get this info (I run gentoo rather than Suse so I am not entirely sure how to do it on your system). Most likely there will be a config file somewhere like /etc/sysconfig/network-scripts/ifcfg-eth0 (this is from a Mandrake system here at work exact locations may differ on your machine).

Anyway in this file of mine there is an option as follows BOOTPROTO=dhcp this sorts out the setup of the card with no other fuss involved.

This, of course, assumes you have a DHCP client installed.

Let us know how you go

Rich
 
Old 02-12-2003, 06:33 PM   #8
67bbc
LQ Newbie
 
Registered: Feb 2003
Location: MD
Distribution: suse 8.1 pro
Posts: 4

Original Poster
Rep: Reputation: 0
It is wired. If connected directly to cable modem it will get outside, however, when connected to the router with the windows systems still nothing (can not even ping the router). It is acting like it is not even there. Any ideas? Thanks.
 
Old 02-12-2003, 08:28 PM   #9
vbp6us
Member
 
Registered: Sep 2002
Location: Redding, CA
Distribution: SuSE
Posts: 253

Rep: Reputation: 30
I dont like to do this but sometimes its the last option. Try this forum:

Click here
 
Old 02-13-2003, 02:13 AM   #10
tied2
Member
 
Registered: Jun 2002
Location: Florida
Distribution: Redhat, FreeBSD, FC 6
Posts: 220

Rep: Reputation: 30
Do you have it pluged into the uplink port on the router? If so change that. Also are you sure your not using a crossover cable? Try switching the cable from a windows box.
 
Old 02-14-2003, 12:25 AM   #11
Sutekh
Member
 
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
Quote:
Originally posted by 67bbc
It is wired. If connected directly to cable modem it will get outside, however, when connected to the router with the windows systems still nothing (can not even ping the router). It is acting like it is not even there. Any ideas? Thanks.
OK so maybe the router isn't doing the right thing. Have you set up the router correctly? I assume that somewhere in its setup you need to specify the type of connection (like PPPoE, PPPoA, Bridged, etc) and username/password and so on. Once this is done it should get an IP address, DNS settings etc. and hopefully it will tell you all these details somewhere in it's setup.

So make sure that the router is connected and has a valid ip address etc before trying to get the PC connected.

Now having said all that I am assuming you can even ping the router... Normally they have predefined IP addresses and run DHCP server to set up the rest of the network. So you connect your PC it's allocates an IP in it's range you then use it's web interface (if it has one) to do you internet setup and off you go. If you don't have your linux box setup to do with a DHCP client then you will never get an IP. maybe try from windows first get the router going and then get to the DHCP setup of the linux box.

The router will have two different sorts of connections, local (I think there are 4, didn't check the webpage this time :-)) and 1 WAN port. The WAN port is where your modem plugs in. As tied2 says everything should be straigt through cables.

So find the default IP of the router, run windows hit start, run, type winipcfg and hit enter. Check the IP it gives you and then run a web browser and enter the router IP address like http://192.168.1.1 or whatever. set up the router to access the net and then once that is going we need to get you DHCP client going on the linux box...

anyway 1st things 1st, see how you go

Rich
 
  


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
howto connect router to router? kvasarnomad Linux - Networking 4 09-04-2005 09:14 PM
i can't connect to my router... badweed Linux - Wireless Networking 8 08-23-2005 11:05 AM
connect through router.. mahamkali Linux - Networking 14 10-11-2004 01:28 PM
Want To Connect to my Router warnesey333 Linux - Networking 34 10-02-2004 11:41 AM
Can't connect to my linksys router Rotwang Linux - Networking 11 03-09-2004 09:42 PM

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

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