LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-11-2004, 11:32 PM   #1
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Rep: Reputation: 30
Lost in Networking


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:

ifconfig:
Code:
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:138 errors:0 dropped:0 overruns:0 frame:0
          TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:31098 (30.3 Kb)  TX bytes:31098 (30.3 Kb)
dhclient
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.
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.
 
Old 11-12-2004, 02:11 AM   #2
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
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.
 
Old 11-12-2004, 06:34 PM   #3
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
OK, here ya go:

ifconfig eth0 up:
Code:
ethO: unknown interface: No such device
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: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)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:4.183.236.159  P-t-P:209.244.30.135  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
          RX packets:1047 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1151 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:482240 (470.9 Kb)  TX bytes:181641 (177.3 Kb)
Excerpt from lspci:
Code:
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)

Hope ye can help, hope this helps.
-TR
 
Old 11-12-2004, 11:06 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
You typed ethO instead of eth0 unless I'm seeing things again.
 
Old 11-13-2004, 03:04 AM   #5
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
OK, ifconfig eth0 up returned nothing

lspci still has these ethernet controllers:
Code:
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.
 
Old 11-13-2004, 03:10 AM   #6
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
Could there be a driver problem for the ethernet controller?
 
Old 11-13-2004, 08:17 PM   #7
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
try this

ifconfig eth0 192.162.2.2

then try to communicate with the router.


You can also try to run tcpdump and see if it sending anything out.

Last edited by DavidPhillips; 11-13-2004 at 08:19 PM.
 
Old 11-13-2004, 09:01 PM   #8
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
Umm, gunna try 192.168.2.2 like ye said... but perhaps should it be 192.168.2.1? or 192.168.2.2?
 
Old 11-14-2004, 05:45 AM   #9
Darin
Senior Member
 
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
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:
Code:
ppp0      Link encap:Point-to-Point Protocol
          inet addr:4.183.236.159  P-t-P:209.244.30.135  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1524  Metric:1
          RX packets:1047 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1151 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0
          RX bytes:482240 (470.9 Kb)  TX bytes:181641 (177.3 Kb)
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

Last edited by Darin; 11-16-2004 at 12:05 AM.
 
Old 11-14-2004, 11:52 AM   #10
ToothlessRebel
Member
 
Registered: Jun 2004
Location: FL, USA
Distribution: Slackware 9.1
Posts: 190

Original Poster
Rep: Reputation: 30
I used 192.168.2.2 and it worked. Sometimes it amazes me how simple you folks make things seem. Many thanks.
 
Old 11-15-2004, 06:55 AM   #11
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Cool!

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.
 
  


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
Also Lost in Networking Okie2003 Linux - Networking 19 05-30-2006 10:43 AM
Lost panel in Gnome -- now I'm completely lost! webwench Linux - Newbie 3 04-30-2005 01:38 AM
power lost from cable modem, interface lost a10392 Linux - Networking 4 11-16-2004 09:01 AM
C++ templates + linked lists... lost.. very lost.. exodist Programming 2 05-12-2004 11:04 PM
Lost in Debian networking. gboutwel Linux - Networking 1 05-31-2001 04:37 AM

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

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