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.
Hi everyone this is my first post to this group. I have come back to Linux after a long lay off - so I could be called an old newbie I suppose.
Having looked at a couple of posts regarding my 'challenge' - I can't make a connection between my Linux box and my ADSL modem/router/firewall - This connection is via CAT6. I have included the type of information asked for in these posts.
1. My box was working fine up until recently - I moved the CAT 6 cable and to put it into final position (we are doing up the house) is this a coincidence or is there something in this (my next move is to plug linux straight into the router)
2. Windows has no problem accessing the network now using the same wall socket (my machine is duel boot).
3. I have reinstalled linux (Fedora core 4) to see if this would help and have included all the required network info:
I.P. of machine 192.168.0.2
I.P of gateway (router) 192.168.0.1
Subnet mask 255.255.255.0
DNS. 192.168.0.1 (i.e the router) - I have tried putting in the real DNS info i.e. DNS on the other side of the router no joy with this though.
this is the same IP info as on Windows.
4. Opening up the 'Network Device Control' the info in here is as follows:
I have set IP address as static with the relevant IP's above included.
In the network adaptor section it shows the IRQ to be unknown (is this significant?)
5. I ran the following commands and have included the output from these.
[root@localhost etc]# ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
[root@localhost ~]# ip route ls
192.168.0.0/24 dev eth0 proto kernel scope link src 192.168.0.2
169.254.0.0/16 dev eth0 scope link
default via 192.168.0.1 dev eth0
Well thats about it if you could help that would be great.
I have set IP address as static with the relevant IP's above included.
In the network adaptor section it shows the IRQ to be unknown (is this significant?)
Please visit this link so you will understand how to use code tags. It makes reading the results of your postings much easier. Having said that could you post the results of these two commands:
p.s I plugged my linux box straight into the router with the same results and windows works fine when plugged into the wall socket - i.e. there is nothing wrong with my CAT6 cabling.
Thanks
Clive
Last edited by clivecorner; 12-03-2006 at 02:44 PM.
Clive you can see that somehow you did got those 13 RX packets at your box & the other thing noticable is that the errors you have got are at TX. Just for the testing purpose can you fix a laptop or any OS across this box of yours with the a cross cable & then try to ping this box from that box & repost the ifconfig's output ?
And stay assured as those RX packets are not being generated by your own box, as even the replies(destination unreachable - icmp type 3) get counted in localhost RX & TX packet figures.
I am still smelling it as a broken or incorrect driver or a bug's issue.
What is rather bizarre about this whole thing is that linux was working fine in conecting to the network and then it wasn't I'm not aware that I made any changes to the system.
I'm afraid I don't have a laptop to do the above Amit.
What about the idea of obtaining a cheap ethernet card and seeing if I can get on the network with this, I prefer not to spend the money but if it means getting past this problem it might be worth it?
Below is the output to the command netstat -s
Code:
[root@localhost ~]# netstat -s
Ip:
1591 total packets received
0 forwarded
0 incoming packets discarded
1584 incoming packets delivered
1603 requests sent out
Icmp:
39 ICMP messages received
0 input ICMP message failed.
ICMP input histogram:
destination unreachable: 15
echo requests: 12
echo replies: 12
27 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
destination unreachable: 15
echo replies: 12
Tcp:
2 active connections openings
2 passive connection openings
0 failed connection attempts
0 connection resets received
0 connections established
1525 segments received
1525 segments send out
0 segments retransmited
0 bad segments received.
0 resets sent
Udp:
20 packets received
0 packets to unknown port received.
0 packet receive errors
20 packets sent
TcpExt:
2 TCP sockets finished time wait in fast timer
180 delayed acks sent
2 packets directly queued to recvmsg prequeue.
72 packets directly received from backlog
221 packets directly received from prequeue
588 packets header predicted
4 packets header predicted and directly queued to user
39 acknowledgments not containing data received
730 predicted acknowledgments
0 TCP data loss events
Last edited by clivecorner; 12-03-2006 at 06:04 PM.
Hi clive,
Sorry, i was out of my office for some work. And about the o/p of netstat -s, no i dont see anything substantial but still it gives the idea that you did get packets at RX.
Quote:
Originally Posted by clivecorner
What about the idea of obtaining a cheap ethernet card and seeing if I can get on the network with this, I prefer not to spend the money but if it means getting past this problem it might be worth it?
But that defeats the idea of sorting out this problem. Anyhow thats gonna work as its a new hardware.
Quote:
Originally Posted by clivecorner
I'm afraid I don't have a laptop to do the above Amit.
Do you have any desktop of any OS ?
Clive is this an onboard PCI ethernet or a PNP PCI ethernet card ? If its a plug n play pci, can you try it with changing pci slots ?
Clive you can see that somehow you did got those 13 RX packets at your box & the other thing noticable is that the errors you have got are at TX. Just for the testing purpose can you fix a laptop or any OS across this box of yours with the a cross cable & then try to ping this box from that box & repost the ifconfig's output ?
from Amit
I do have access to XP home computer - I will have to dismantle it etc
If you can explain what I need to do apart from connecting them ethernet port to ethernet port I will do it.
I am at present downloading Fedora 6. If a broken driver is the problem perhaps this will fix it.
What anout idea that it is the ethernet card that is broken in some way - if this was the case then how come windows XP works fine with it?
Clive you got to connect your XP-HOME with this linux box with a cross-cable & then from windows box, ping(-t) this box's ip. Though you'll only get RTO(request timed out) messages probably but during the same time, at linux box you can use any packet logger, like tcpdump, iptraf, wireshark etc or with
Code:
iptables -A INPUT -j LOG --log-prefix "RX packets :"
we are going to see whether we see any activity at this ethernet interface or not.
With the above we just want to get assure that do you recieve any packets at this box or not. We are just doing this for testing purpose.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.