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.
Running Slackware 9.1 and having trouble communicating with a Belkin router. A Belkin model # F5D7231-4 version 1001. I've been reading through posts of people with similar problems, but it doesn't seem to be helping me get anywhere. The set-up utility on the router should be at 198.162.2.1, that last 2 seems odd to me. That is what the Belkin manual says. From similar posts I've learned that what may assist someone in helping me is posting the follow output from ifconfig and dhclient:
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
No broadcast interfaces found - exiting.
What I've done was run netconfig as root and set it up to use a DHCP. At first, I thought the router was my issue, because I did the exact same thing on another machine and connected fine by being connected directly to the cable modem. Trying that on this machine doesn't work though.
Sounds like Linux isn't recognizing your network card, if you are lucky then 'ifconfig eth0 up' will work, post the message that returns and the results of 'ifconfig -a' and also what info you have on the type of network card. If you don't know about the network card you can look for an 'Ethernet controller' line after typing 'lspci' and post that as well.
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
00:13.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169 (rev 10)
dhclient now returns:
Code:
Internet Software Consortium DHCP Client V3.0pl2
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
No broadcast interfaces found - exiting.
ifconfig -a:
Code:
eth0 Link encap:Ethernet HWaddr 00:0D:61:4A:69:8B
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
eth1 Link encap:Ethernet HWaddr 00:0D:61:4E:5F:40
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10 errors:0 dropped:0 overruns:0 frame:0
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0
collisions:0
RX bytes:812 (812.0 b) TX bytes:812 (812.0 b)
Last edited by ToothlessRebel; 11-13-2004 at 03:09 AM.
192.168.2.2 is the right address, DavidPhillips just did a little typo no biggie. If your router is at 192.168.2.1 then you want a different address like 192.168.2.2. Also, on the ifconfig from above you have this:
Is that a dialup modem on your Linux box because if not then your Internet connection is probably PPPoE which means that the 'router' just bridges the PPP through to you and doesn't need or use a seperate IP address?
edit - why doesn't it surprise me that the address was a cut-n-paste and not really a typo? Go David
I was actually getting the address from your post above...
Quote:
The set-up utility on the router should be at 198.162.2.1
however the main thing is that you are on the same network as the router with a different ip address.
The 192.168.?.? is a pretty common local address, so it was a good guess.
To be on the same network look at the netmask of the ip, if the first three sets of numbers are 255 then the ip address is the last set of numbers and the first three sets of numbers is the network.
It gets a little more complicated if the network is divided into subnets but with that type of local address the network is normally going to be 192.168.2.0
Last edited by DavidPhillips; 11-15-2004 at 07:05 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.