LinuxQuestions.org
Visit Jeremy's Blog.
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 11-29-2012, 02:04 AM   #1
henrik9
LQ Newbie
 
Registered: Apr 2006
Location: Sweden
Distribution: Mandrake 10.1
Posts: 10

Rep: Reputation: 0
Lost network connection. Cannot bring it up.


Hi,

I have an embedded linux system (Foxboard G20) connected to my network (router with DHCP enabled). The connection spontainious goes up and down. Now I cannot reach the router, the eth0 port is up but I cannot see any error message. Is is any known bugs?
Running Linux version 2.6.38 (tanzilli@tanzonew) (gcc version 4.3.2 (Debian 4.3.2-1.1)).
If I connect a pc to router the pc get ip-address and
it works. (no problem with router).
Have test with static ip but no contact (ping) to my router.
Please help, what is the problem????? Can I reinstall any driver or samething?

Some printouts:

debarm:~# /etc/init.d/networking restart
Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces ... (warning).
Reconfiguring network interfaces...Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:04:25:18:b3:e2
Sending on LPF/eth0/00:04:25:18:b3:e2
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.254 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
Internet Systems Consortium DHCP Client 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

ADDRCONF(NETDEV_UP): eth0: link is not ready
Listening on LPF/eth0/00:04:25:18:b3:e2
Sending on LPF/eth0/00:04:25:18:b3:e2
Sending on Socket/fallback
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
debarm:~#

--------------------
debarm:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:25:18:b3:e2
inet6 addr: fe80::204:25ff:fe18:b3e2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:9360 (9.1 KiB)
Interrupt:21 Base address:0x4000
-------------
debarm:~# cat /etc/network/interfaces
# Used by ifup(8) and ifdown(8). See the interfaces(5) manpage or
# /usr/share/doc/ifupdown/examples for more information.

# We always want the loopback interface.
#
auto lo
iface lo inet loopback

#auto eth0
#iface eth0 inet static
# address 192.168.1.50
# netmask 255.255.255.0
# gateway 192.168.1.254

auto eth0
iface eth0 inet dhcp
debarm:~#
----------------
debarm:~# traceroute 192.168.1.254
traceroute to 192.168.1.254 (192.168.1.254), 30 hops max, 60 byte packets
connect: Network is unreachable
debarm:~#
----------------
debarm:# cat /var/log/messages
Nov 29 08:52:53 localhost dhclient: For info, please visit https://www.isc.org/software/dhcp/
Nov 29 08:52:53 localhost dhclient:
Nov 29 08:52:53 localhost kernel: ADDRCONF(NETDEV_UP): eth0: link is not ready
Nov 29 08:52:53 localhost dhclient: Listening on LPF/eth0/00:04:25:18:b3:e2
Nov 29 08:52:53 localhost dhclient: Sending on LPF/eth0/00:04:25:18:b3:e2
Nov 29 08:52:53 localhost dhclient: Sending on Socket/fallback
Nov 29 08:52:53 localhost kernel: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Nov 29 08:52:57 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
Nov 29 08:53:02 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
Nov 29 08:53:03 localhost kernel: eth0: no IPv6 routers present
Nov 29 08:53:10 localhost dhclient: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
Nov 29 08:56:48 localhost ntpd_intres[945]: host name not found: 0.debian.pool.ntp.org
Nov 29 08:56:48 localhost ntpd_intres[945]: host name not found: 1.debian.pool.n
 
Old 11-29-2012, 12:33 PM   #2
mmheera
Member
 
Registered: Oct 2012
Location: Germany
Distribution: Ubuntu, Debian, Fedora,Windows 7
Posts: 107

Rep: Reputation: 11
Your ifconfig output doesn't show any ip associated with the interface. If there is no ip address then it can not connect to the network.

You can try either to setup static ip:

http://www.acmesystems.it/set_static_ip

or try to get dhcp ip manually:

http://www.acmesystems.it/foxg20_lin...#getipaddrdhcp

Hope it helps.

Thanks!
 
Old 12-02-2012, 12:57 PM   #3
henrik9
LQ Newbie
 
Registered: Apr 2006
Location: Sweden
Distribution: Mandrake 10.1
Posts: 10

Original Poster
Rep: Reputation: 0
Hi,

I have found the problem! First I test a new kernel and rootfs to ensure that it was not software relation. No difference. I found a pin on the ethernet circuit on the board that not was soldered. It was very hard to find with magnifying glass. I soldered and it works.

/Henrik
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Network connection lost bfrank Linux - Networking 3 08-30-2007 10:13 AM
Lost network connection... szofiel Linux - Networking 0 05-24-2006 09:00 PM
PRO/wireless 2200BG rev. 5 on FC5, cannot bring up network connection Kryis Linux - Wireless Networking 4 04-02-2006 09:31 AM
Lost network connection nonno2005 Linux - Networking 7 06-11-2005 06:13 AM
Lost network connection omarcb Linux - Hardware 1 02-12-2004 12:27 PM


All times are GMT -5. The time now is 11:06 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration