LinuxQuestions.org
Review your favorite Linux distribution.
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-22-2012, 03:12 PM   #16
Wyresider
LQ Newbie
 
Registered: Aug 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled

1. Check ('pgrep dhcpcd' or 'ps -C dhcpcd') if /sbin/dhcpcd is running (should since you have USE_DHCP[1]="yes") -- got
Code:
root: pgrep dhcpcd
root: ps -C dhcpcd
  PID TTY          TIME CMD
root:
2. else restart inet1 service -- not sure about this, but I did this:
Code:
root: ifconfig eth1 up
root:
3. Now check ifconfig, route, lease file, /etc/resolv.conf contents and syslog -- made a few fumbles at first:
Code:
root: ifconfig eth1 up
root: ifconfig eth1     
eth1      Link encap:Ethernet  HWaddr 30:85:a9:eb:72:a5  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:1 errors:0 dropped:1 overruns:0 frame:1
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:60 (60.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17 Base address:0xa000 

root: ifconfig     
eth1      Link encap:Ethernet  HWaddr 30:85:a9:eb:72:a5  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:2 errors:0 dropped:2 overruns:0 frame:2
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:120 (120.0 B)  TX bytes:0 (0.0 B)
          Interrupt:17 Base address:0xa000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  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:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root:
root: 
root: route 
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
loopback        *               255.0.0.0       U     0      0        0 lo
root: route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
root: 
root: cat /etc/resolv.conf
# Generated by dhcpcd for interface eth0
nameserver 217.32.171.21
root:
4. Else you could run dhcpcd manually with messages saved and on stdout: '/sbin/dhcpcd -k; /sbin/dhcpcd -d eth1 2>&1 | tee /flash/dhcpc.log'
Code:
root: /sbin/dhcpcd -k; /sbin/dhcpcd -d eth1 2>&1 | tee /flash/dhcpc.log
/sbin/dhcpcd: not running
Broadcasting DHCP_DISCOVER
timed out waiting for a valid DHCP server response
root:
Didn't know where to find syslog (man syslog and it's "see also"s didn't help) but I found what I think you meant in /var/log/syslog. Nothing that was obviously (to me) related to ethernet except what had already shown in boot messages or other screen messages (and given in earlier posts).

5. Else try reconfiguring with 'netconfig'. Wish I'd known about that one years ago! ... but it didn't help this time. It put rc.inet1.conf exactly back to where it was originally except for the "yes" in USE_DHCP[0]="yes" that was USE_DHCP[0]="" on the original installation (and that I didn't know back then to change) and many minor changes in comments, but only in comments.

However, in case netconfig had corrected other files that I didn't know about, I moved the "yes" back to USE_DHCP[1] and rebooted. No good. Everything was as before running netconfig. Maybe some other file(s) assume eth0? Wonder why it renamed it eth1?

So, as the hardware's OK (Windows can use it), I guess it must be one of
-- my drivers are too old for the new hardware, or
-- something was configured at install time (rather than copied from the installation disc and finalised at boot time) that's wrong for the new box, but would be fixed by re-installing, or
-- the Slack 12.2 installation disc as a whole is too old for the new box.
Just had a thought re re-installation -- it's a 32-bit system copied from a 32-bit box to a 64-bit box. There are various mismatch messages in the log files, and although the other devices seem to work (keyboard, mouse, monitor, USB, DVD), bulk copy from my USB HDD is sometimes fast and sometimes very slow.

Would it be worth installing from scratch to see what happens?
 
Old 11-23-2012, 05:10 AM   #17
Wyresider
LQ Newbie
 
Registered: Aug 2011
Posts: 15

Original Poster
Rep: Reputation: Disabled
Further to that last question, I have done a fresh installation in a new partition on the new box and the behaviour is exactly the same as on the copied system, so I guess I'll have to install a newer version.

But thank you both for your efforts, they were very much appreciated.
 
Old 11-23-2012, 06:24 AM   #18
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,999
Blog Entries: 54

Rep: Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745Reputation: 2745
You're welcome.
 
  


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
[SOLVED] Destination Host Unreachable kunsik Linux - Networking 2 03-08-2012 10:39 PM
Destination Host Unreachable haydn.storr Linux - Networking 6 09-23-2011 07:39 AM
Destination host unreachable hanifn9 Ubuntu 8 03-24-2008 07:18 AM
Destination Host Unreachable cherukuri Linux - Networking 9 04-23-2005 04:59 AM
destination host unreachable javpra Linux - Networking 1 03-30-2005 05:44 AM


All times are GMT -5. The time now is 09:46 PM.

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