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 08-05-2007, 03:44 PM   #16
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849

Have you got another system you can connect, and get to the router settings?
 
Old 08-06-2007, 09:46 AM   #17
shevek
LQ Newbie
 
Registered: Aug 2007
Distribution: Slackware, Slackware and Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Sorry for the delay

Yes i can see the router's settings from the system that im currently sending this message.

This is the status output :

Device Information
Model Name FBR-1461A ADSL2+ Modem Router
Host Name home.gateway
System Up-Time 2 day(s), 5 hour(s) 09 min(s)
Current Time Mon Aug 6 14:33:52 2007
Hardware Version TRENDCHIP TC3162
Software Version 1.35-RC24-180-80.3_sso_levelone
Bootrom Version 1.06
MAC Address 00:11:6b:52:9b:88
Home URL LevelOne
LAN
IP Address 192.168.1.254
SubNetmask 255.255.255.0
DHCP Server DHCP Server Running

Another part indicating ethernet and lan options has this output :

Primary IP Address
IP Address 192.168.1.254
SubnetNetmask 255.255.255.0
RIP Disable

Do you think that Routing Information Protocol in addition with sth else causes all this trouble ?

The options are RIP v1,v2,v1+v2,v2 multicast ..




Any ideas ?
 
Old 08-06-2007, 10:23 AM   #18
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
In an earlier post you said you did ifconfig eth0 192.168.1.254 up
auxsvr pointed out in post #10 that that set your PC to have the same IP as your router. So when you tried pinging 192.168.1.254, you weren't pinging your router, you were pinging yourself. No wonder it "worked".

Your dhcp server is running on your router. That's good. It is unlikely that you have told your dhcp server only to offer leases to particular MACs as you would remember having done this. But you could chek its config pages just in case.

So, first bring down whatever is(n't) happening on eth0 :
sudo ifdown eth0
Then try and contact your dhcp server
sudo dhclient eth0
If no result, maybe a socket on your router is bad: try plugging your PC into a different socket on your router, and trying again.

If no result, have you got a spare NIC card you could try instead of the eth0 you are using?

When I mentioned crossover cables, the situation I was envisaging was this (you say "the cables are OK")
-You have a cable connected to a machine, and it is working.
-It happens to be a crossover cable, but the machine that it was working on detected this, and managed to compensate for it (Only some NICs will do this, but you were in luck with that machine's hardware).
-You plug this "working" cable into your linux PC. It is still a crossover cable though. And the NIC in your linux PC is perhaps of a model that cannot compensate for a crossover cable. So the "working" cable doesn't work. Cables are cheap. Beg, Borrow, or buy a straight-through ethernet cable, and try it.
 
Old 08-06-2007, 02:06 PM   #19
shevek
LQ Newbie
 
Registered: Aug 2007
Distribution: Slackware, Slackware and Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Everyone: thank you for your replies and time.

When i said that my cables are ok i didn't explain what i did. My mistake. I tried with 3 different straight through cables, *just to be sure* ;0p

Quote:
Your dhcp server is running on your router. That's good. It is unlikely that you have told your dhcp server only to offer leases to particular MACs as you would remember having done this. But you could chek its config pages just in case.
You are correct. I would remember having done sth like that.

Quote:
So, first bring down whatever is(n't) happening on eth0 :
sudo ifdown eth0
Then try and contact your dhcp server
sudo dhclient eth0
If no result, maybe a socket on your router is bad: try plugging your PC into a different socket on your router, and trying again.

If no result, have you got a spare NIC card you could try instead of the eth0 you are using?
Already done

I dont think that there's a hardware problem.

I read in a post in slackwarehelp i think, that a driver (linuxant) blocked the user's attempts to log.
I tried stoping modules but im not sure i followed the correct path. Do you think that ipv6 might be the cause for all this ? Tried stoping it with modprobe -r ipv6 but it is in use. Bringing down the ethernet and lo, havent shown any light.



*Sigh*
 
Old 08-07-2007, 05:13 AM   #20
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Do you think that Routing Information Protocol in addition with sth else causes all this trouble ?
No I don't think RIP has anything to do with the problem. RIP is a protocol routers can use to update routing tables, so routers in a network know where to forward packets to, so a destination can be reached.

Quote:
Do you think that ipv6 might be the cause for all this ?
No again, it can cause problems, in my experience mostly timeouts. IPv4 and IPv6 can co-exist, and do on many systems. It won't hurt to remove it, if you are not using it. I disabled it on my system, it was causing timeouts, and long delays loading web pages. The day will come when we can no longer live without it, but we are not there yet.

As I understand the problem, the hardware from your point of view is O.K. Your system does not get an IP address from your router, other systems are O.K. that are connected to the same router.

You swapped router ports, and the port in use is know to be working.

I would suggest one of two things. If the hardware is really working, you should be able to take a live CD, like Knoppix, or PCLinux and boot your system from the CD drive, and verify that works. I would expect either to work with very little effort. If either works, no dought the hardware is good.

The other thing would be to try and trace the activity on eth0. I would try Nmap for that. We need to know if your system is sending a DHCP request, and if it ever sees a response. I worked in networking for years, and traces were a life saver more than once. They don't always fix problems, but they always are direction pointers and show what works and what doesn't.

I think Knoppix has Nmap as part of the CD. You may be able to install it from your installation media, on your existing system. Have a look for that.

Hope this helps.

Last edited by camorri; 08-07-2007 at 05:16 AM.
 
Old 08-08-2007, 10:25 AM   #21
shevek
LQ Newbie
 
Registered: Aug 2007
Distribution: Slackware, Slackware and Slackware
Posts: 13

Original Poster
Rep: Reputation: 0
Ok guys i found the darn solution.
The router was aware of the existence of a network adapter but there was no talking. So i guessed that my nic was just rude ;0p

The problem was in the Network adapter module.

All i had to do was unload the tulip module and load dmfe.

modprobe -r tulip

modprobe dmfe

Thank you all for your time and patience :0))
 
Old 08-08-2007, 12:20 PM   #22
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Glad you found the fix...
 
  


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
networking with router+hub mithereal Linux - Networking 3 10-30-2005 05:22 PM
Windows Networking Router Issue Daniel Linux - Wireless Networking 1 02-13-2004 06:04 PM
Windows Networking Router or Firewall Issue? Daniel Linux - Networking 1 02-13-2004 01:29 PM
Networking through a router tranquil222 Linux - Networking 3 11-10-2003 11:49 AM
Networking with router face_master Linux - Networking 7 07-18-2003 07:41 AM

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

All times are GMT -5. The time now is 01:49 AM.

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