Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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 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???
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
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.
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.
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.
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.
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.
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.