LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-28-2013, 09:00 AM   #1
kukete
LQ Newbie
 
Registered: Sep 2013
Posts: 1

Rep: Reputation: Disabled
at91sam9g45 + kernel 3.11.2 - unable to get network going


First off - Hello to everyone

I am using linux for 1 year now but i am stuck here.

I have a sam9g45-based development-board and tried to build the most recent kernel for it, using buildroot. I managed to do that but can't get the network running. I am not sure wether its a configuration- or a driver-issue. Maybe i can get help here.

So here all the infos i have.

1 ) I know the hardware is set up correctly cause the network is working in u-boot.

2) dmesg shows the network-device is found

Code:
libphy: MACB_mii_bus: probed
macb macb eth0: Cadence MACB at 0xfffbc000 irq 41 (00:1f:e5:00:32:cc)
macb macb eth0: attached PHY driver [Davicom DM9161A] (mii_bus:phy_addr=macb-ffffffff:00, irq=149)
3) I added the following lines to /etc/network/interfaces

Code:
iface eth0 inet static
address 192.168.2.111
netmask 255.255.255.0
gateway 192.168.2.1
4) I bring the interface up using 'ifup eth0' and dmesg shows.

Code:
macb macb eth0: link up (10/Half)
5) But I can't ping.

Code:
# ping 192.168.2.113
PING 192.168.2.113 (192.168.2.113) 56(84) bytes of data.
From 192.168.2.111 icmp_seq=1 Destination Host Unreachable
From 192.168.2.111 icmp_seq=2 Destination Host Unreachable
6) lshw shows this

Code:
# lshw
  *-network
       description: Ethernet interface
       physical id: 1
       logical name: eth0
       serial: 00:1f:e5:00:32:cc
       size: 10Mbit/s
       capacity: 100Mbit/s
       capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=macb duplex=half ip=192.168.2.111 link=yes multicast=yes port=MII speed=10Mbit/s
7) ethtool eth0 shows


Code:
# ethtool eth0 
Settings for eth0:
        Supported ports: [ TP MII ]
        Supported link modes:   10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
        Supported pause frame use: No
        Supports auto-negotiation: Yes
        Advertised link modes:  10baseT/Half 10baseT/Full 
                                100baseT/Half 100baseT/Full 
        Advertised pause frame use: No
        Advertised auto-negotiation: Yes
        Speed: 10Mb/s
        Duplex: Half
        Port: MII
        PHYAD: 0
        Transceiver: external
        Auto-negotiation: on
        Link detected: yes
8) ifconfig eth0 shows


Code:
# ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:1F:E5:00:32:CC  
          inet addr:192.168.2.111  Bcast:0.0.0.0  Mask:255.255.255.0
          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 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:41 Base address:0xc000

Last edited by kukete; 09-28-2013 at 09:18 AM. Reason: add ifconfig eth0
 
Old 09-30-2013, 02:27 PM   #2
nini09
Senior Member
 
Registered: Apr 2009
Posts: 1,850

Rep: Reputation: 161Reputation: 161
What's peer link capability, 10M-half?
 
  


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
Unable to build kernel RPM with 'custom name'. (need not kernel but kernel-something) RattleSn@ke Linux - Kernel 1 01-12-2011 06:30 PM
Unable to connect to wifi network with network manager. Poss authorization issue openSauce Linux - Networking 14 12-13-2008 10:05 AM
Unable to configure the network card because the kernel device (eth0, wlan0) is not graham0008 Linux - Newbie 22 09-28-2008 08:46 PM
Unable to Build ELDK3.1 for kernel 2.4.25. On Booting Unable to mount root fs.. kannath Debian 0 05-11-2006 09:26 AM
Network card unable to work after compling kernel! daren Linux - Networking 16 05-13-2003 06:47 PM

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

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