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 12-03-2006, 09:06 AM   #1
clivecorner
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Rep: Reputation: 0
Problems getting on home network


Dear All

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 ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0B:6A:CF:9D:10
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:fecf:9d10/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:6 dropped:0 overruns:0 carrier:6
collisions:0 txqueuelen:1000
RX bytes:1025 (1.0 KiB) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0x4c00


[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.


All the best


Clive Corner
 
Old 12-03-2006, 09:33 AM   #2
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
Please use code tags to place this information in.

Could you post the results of the following command:

Code:
route -n
show the contents of the following files:

/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
 
Old 12-03-2006, 10:26 AM   #3
clivecorner
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Dear Fordeck

In response to the below:

----------------------------------------------------------
Could you post the results of the following command:

route -n

show the contents of the following files:

/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0

---------------------------------------------------

Thanks

Clive Corner


See Below

------------------------------------------------

Contents of:

/etc/sysconfig/network

NETWORKING=yes
HOSTNAME=localhost


Contents of:

/etc/sysconfig/network-scripts/ifcfg-eth0


DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.0.255
HWADDR=00:0b:6a:cf:9d:10
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes
TYPE=Ethernet
GATEWAY=192.168.0.1
USERCTL=yes
PEERDNS=yes
IPV6INIT=yes

Command

[root@localhost ~]# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0



------------------------------------------------------------------------------

Last edited by clivecorner; 12-03-2006 at 10:29 AM.
 
Old 12-03-2006, 11:13 AM   #4
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by clivecorner
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?)

[root@localhost ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0B:6A:CF:9D:10
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:fecf:9d10/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:6 dropped:0 overruns:0 carrier:6
collisions:0 txqueuelen:1000
RX bytes:1025 (1.0 KiB) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0x4c00

Clive Corner
Clive at one point you say tht network adaptor reports IRQ unknown but on the same side you can see it under ifconfig eth0 output(highlighted).

Maybe a broken driver could be the case of problem. Your configuration looks OK to me.
 
Old 12-03-2006, 11:46 AM   #5
fordeck
Member
 
Registered: Oct 2006
Location: Utah
Posts: 520

Rep: Reputation: 61
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:

Code:
dmesg | grep MAC

/sbin/lspci | grep -i ethernet
 
Old 12-03-2006, 02:39 PM   #6
clivecorner
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Please find this response to the previous message

N.B. There was no output from the first command

Code:
[root@localhost ~]# dmesg | grep MAC
[root@localhost ~]#
[root@localhost ~]# /sbin/lspci | grep -i ethernet
00:0d.0 Ethernet controller: ALi Corporation M5263 Ethernet Controller (rev 40)
[root@localhost ~]#
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.
 
Old 12-03-2006, 04:49 PM   #7
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
Quote:
Originally Posted by clivecorner
[root@localhost ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0B:6A:CF:9D:10
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:fecf:9d10/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:6 dropped:0 overruns:0 carrier:6
collisions:0 txqueuelen:1000
RX bytes:1025 (1.0 KiB) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0x4c00
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.
 
Old 12-03-2006, 05:04 PM   #8
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
and can you please also check the output of
Code:
 netstat -s
 
Old 12-03-2006, 06:02 PM   #9
clivecorner
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
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.
 
Old 12-04-2006, 06:15 AM   #10
clivecorner
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Any further comments on this one?
 
Old 12-04-2006, 09:51 AM   #11
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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 ?
 
Old 12-04-2006, 11:33 AM   #12
clivecorner
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Hi Amit

I'm a long way from being hard core could you explain the significance of the below.


Code:
[root@localhost ~]# ifconfig eth0
eth0 Link encap:Ethernet HWaddr 00:0B:6A:CF:9D:10
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::20b:6aff:fecf:9d10/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:13 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:6 dropped:0 overruns:0 carrier:6
collisions:0 txqueuelen:1000
RX bytes:1025 (1.0 KiB) TX bytes:0 (0.0 b)
Interrupt:177 Base address:0x4c00

Quote:
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?

Anyway thanks for your interest

All the best Clive Corner
 
Old 12-04-2006, 11:50 AM   #13
amitsharma_26
Member
 
Registered: Sep 2005
Location: New delhi
Distribution: RHEL 3.0/4.0
Posts: 777

Rep: Reputation: 31
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.
 
Old 12-04-2006, 01:38 PM   #14
clivecorner
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Amit

I will get to the above tomorow.

'Speak to you then'

Cheers

Clive Corner
 
Old 12-05-2006, 05:10 PM   #15
clivecorner
LQ Newbie
 
Registered: Dec 2006
Posts: 8

Original Poster
Rep: Reputation: 0
Sorted

Installed the latest version of operating system and now my system is fine.

Thanks for your interest.

Clive Corner
 
  


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
Problems connecting to home network and internet christhepenguin Linux - Newbie 13 07-27-2006 01:42 PM
Hostname/Routing problems with home network robintw SUSE / openSUSE 15 01-08-2005 07:55 AM
XP - SuSE 9.1 home network problems tardigrade Linux - Networking 18 07-10-2004 01:25 AM
2 PC Home samba network, One way transmits fine, the other way has problems.... gamebeavis Linux - Networking 2 09-14-2003 04:37 PM
Redhat 8 Home network Problems bandit12 Linux - Newbie 4 03-03-2003 06:41 AM

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

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