LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   MDK 9, ethernet issue (https://www.linuxquestions.org/questions/linux-newbie-8/mdk-9-ethernet-issue-50798/)

RedGimli 03-20-2003 01:59 AM

MDK 9, ethernet issue
 
I require some advice/help. Mandrake 9 is being unsociable with my lynksys router. And I swear I hear it laughing at me when I turn my back (but thats another matter)

it finds the nic just fine & correctly. but refuses to talk to the router even after several alternations between setting things static & dynamic. (I even did the ID10T checks like make sure the cables are pluged in & the card works/connects fine under windows )

Any words of wisdom are much welcome.




thanks for any help you can spare

D--

tcaptain 03-20-2003 09:24 AM

I'm not familiar with routers like linksys that do everything for you but I can always try to help...

Does your router hand out network IPs using DHCP? Does it masq? Or does it get a bunch of real addresses?

What sort of errors do you get when you "talk to the router?" That's kind of vague.

More info is always better do diagnose a problem....

RedGimli 03-20-2003 09:40 AM

standard 4 port router, it grabs a a real IP from the isp, then generates its own IP's & distrobutes them to the computers connected to it.

when trying to ping the router (192.168.1.1) I get "Network unreachable"


====edit====

Ok, for some reason it started working after I set everything to 'cable' settings.

Theoreticly it should have worked on the 'LAN' setting, right?

tcaptain 03-20-2003 09:42 AM

Hmmm...

Ok, what do you see when you type:

ifconfig eth0

as root?

Network unreachable tells me the problem might be more on your PC side then on the router side...

edit:

woops sorry, didn't finish reading your post....glad to see it all works.

I don't know what difference there would be between 'LAN' and 'Cable' settings....

Not familiar with what you're talking about there...but then I never really went into the drake tools to set up networking stuff much..

Usually did it from the command line

aherm 03-20-2003 09:42 AM

Try as root:


ifconfig

ping localhost

ping -b your.router.ip.address


That should give you some clues to address the problem.

RedGimli 03-21-2003 03:09 PM

ran this after setting things to LAN/Ethernet

[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:33:A6:87:3A
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:24 dropped:0 overruns:0 frame:0
TX packets:226 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:34700 (33.8 Kb)
Interrupt:5 Base address:0xa000

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:863 errors:0 dropped:0 overruns:0 frame:0
TX packets:863 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:76196 (74.4 Kb) TX bytes:76196 (74.4 Kb)

[root@localhost root]# ping -c 10 localhost
PING localhost.localdomain (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.141 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.116 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.127 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=4 ttl=64 time=0.115 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=5 ttl=64 time=0.120 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=6 ttl=64 time=0.118 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=7 ttl=64 time=0.130 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=8 ttl=64 time=0.121 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=9 ttl=64 time=0.117 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=10 ttl=64 time=0.118 ms

--- localhost.localdomain ping statistics ---
10 packets transmitted, 10 received, 0% loss, time 8996ms
rtt min/avg/max/mdev = 0.115/0.122/0.141/0.011 ms
[root@localhost root]# ping -c 10 192.168.1.1
connect: Network is unreachable
[root@localhost root]# ping -b 192.167.1.1
connect: Network is unreachable
[root@localhost root]#

RedGimli 03-21-2003 03:10 PM

ran this after switching setting to "Cable" using DHCPcd

[root@localhost root]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:40:33:A6:87:3A
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:20 dropped:0 overruns:0 frame:0
TX packets:217 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:0 (0.0 b) TX bytes:29390 (28.7 Kb)
Interrupt:5 Base address:0xa000

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:801 errors:0 dropped:0 overruns:0 frame:0
TX packets:801 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:70988 (69.3 Kb) TX bytes:70988 (69.3 Kb)

[root@localhost root]# ping 127.0.0.1
PING 127.0.0.1 (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data.
64 bytes from 127.0.0.1: icmp_seq=1 ttl=64 time=0.188 ms
64 bytes from 127.0.0.1: icmp_seq=2 ttl=64 time=0.132 ms
64 bytes from 127.0.0.1: icmp_seq=3 ttl=64 time=0.128 ms
64 bytes from 127.0.0.1: icmp_seq=4 ttl=64 time=0.134 ms
64 bytes from 127.0.0.1: icmp_seq=5 ttl=64 time=0.127 ms
64 bytes from 127.0.0.1: icmp_seq=6 ttl=64 time=0.131 ms
64 bytes from 127.0.0.1: icmp_seq=7 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=8 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=9 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=10 ttl=64 time=0.126 ms
64 bytes from 127.0.0.1: icmp_seq=11 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=12 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=13 ttl=64 time=0.131 ms
64 bytes from 127.0.0.1: icmp_seq=14 ttl=64 time=0.134 ms
64 bytes from 127.0.0.1: icmp_seq=15 ttl=64 time=0.127 ms
64 bytes from 127.0.0.1: icmp_seq=16 ttl=64 time=0.127 ms
64 bytes from 127.0.0.1: icmp_seq=17 ttl=64 time=0.127 ms
64 bytes from 127.0.0.1: icmp_seq=18 ttl=64 time=0.128 ms
64 bytes from 127.0.0.1: icmp_seq=19 ttl=64 time=0.127 ms
64 bytes from 127.0.0.1: icmp_seq=20 ttl=64 time=0.130 ms
64 bytes from 127.0.0.1: icmp_seq=21 ttl=64 time=0.133 ms

--- 127.0.0.1 ping statistics ---
21 packets transmitted, 21 received, 0% loss, time 19998ms
rtt min/avg/max/mdev = 0.126/0.132/0.188/0.016 ms
[root@localhost root]#
[root@localhost root]# ping 192.167.1.1
connect: Network is unreachable
[root@localhost root]# ping -b 192.167.1.1
connect: Network is unreachable
[root@localhost root]# ping -c 10 localhost
PING localhost.localdomain (127.0.0.1) from 127.0.0.1 : 56(84) bytes of data.
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=1 ttl=64 time=0.138 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=2 ttl=64 time=0.129 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=3 ttl=64 time=0.129 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=4 ttl=64 time=0.139 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=5 ttl=64 time=0.125 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=6 ttl=64 time=0.123 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=7 ttl=64 time=0.131 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=8 ttl=64 time=0.134 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=9 ttl=64 time=0.131 ms
64 bytes from localhost.localdomain (127.0.0.1): icmp_seq=10 ttl=64 time=0.134 ms

--- localhost.localdomain ping statistics ---
10 packets transmitted, 10 received, 0% loss, time 8993ms
rtt min/avg/max/mdev = 0.123/0.131/0.139/0.010 ms
[root@localhost root]#

RedGimli 03-21-2003 03:19 PM

Quote:

Originally posted by tcaptain
Hmmm...
edit:

woops sorry, didn't finish reading your post....glad to see it all works.

I don't know what difference there would be between 'LAN' and 'Cable' settings....

Not familiar with what you're talking about there...but then I never really went into the drake tools to set up networking stuff much..

Usually did it from the command line

actually about 10 min after it started working, I installed the latest version of netscape, did some surfing to make sure it worked, logged out, then logged in under GUEST to set up the links & such so they'd be ready to go when/if a friend needed to hop on & do something. Poped up NS, and it couldn't connect. Poped up the console ran ifconfig and lo & behold the bugger wasn't wanting to talk to the router anymore. Tried running the wizard from MCC, and no dice. switched back to root, same deal. I have no doubts about it most likely being an issue some where in my sys and not the router since my power Mac, XP, and pen-pad are all connected fine.


All times are GMT -5. The time now is 04:17 PM.