Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Unable to connect to network after hardware change
New Posts  All Forums:Forum Nav:

Unable to connect to network after hardware change

post #1 of 45
Thread Starter 
After going on 9 hours of trying to fix this, I've finally decided to ask some of the more experienced Linux users on here for help.

I have a server that runs Debian Weezy headless that has been chugging along for months now. First it was in an old 1U Dell server, then I got a hold of an AsRock E350M1 that i simply moved the hard drive over to. It worked fine, all I had to do was change eth1 to eth2 in the /etc/network/interfaces config.

However now I've moved the drive to a more powerful system and simply cannot get it to connect to the network.

Current specs:

Gigabyte GA-970A-D3P
AMD FX-6300
Nvidia GTX 680 FTW (borrowed from my main rig, don't have a secondary card)
16gb G.Skill Ripjaws DDR3-1600

It booted up just fine save for some issues with remounting some of the media drives, and I went in and changed the interfaces file to use eth3 (as I guess whenever it senses a new ethernet port it adds a new name).

I use static IP in the interface file:
Code:
auto eth3
iface eth3 inet static
address 192.168.1.148
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

I also have this IP reserved in the router using the MAC address of the machine.

Here is the output of netstat -nr:
Code:
Destination Gateway Gnmask                Flags MSS Window irtt Iface
0.0.0.0         192.168.1.1  0.0.0.0               UG      0         0          0     eth3
192.168.1.0  0.0.0.0          255.255.255.0 U         0       0            0     eth3

if i ping the router it drops 100% of the packets
Code:
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.148 icmp_seq=2 Destination Host Unreachable
From 192.168.1.148 icmp_seq=3 Destination Host Unreachable
From 192.168.1.148 icmp_seq=6 Destination Host Unreachable
95 packets transmitted, 0 received, +55 errors, 100% packet loss, time 93439ms pipe3


Please let me know if any other commands or output would be helpful.

I have no idea how to fix this and have tried DHCP which also gives me some type of error as well.

Thanks for any help.
Edited by Callist0 - 12/15/13 at 2:09pm
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
post #2 of 45
Thread Starter 
Bump
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
post #3 of 45
Does that interface match in ifconfig? What kind of error do you get with DHCP, does it just time out?
Das Rig, Ja?
(12 items)
 
  
CPUMotherboardGraphicsRAM
AMD Ryzen 1700 Asus Crosshair VI EVGA 1080Ti SC2 2x16G GSkill RGB 3200 
Hard DriveCoolingOSMonitor
500 GB 960 EVO Enermax T50A-BVT Windows 10 Pro 27" Asus 
KeyboardPowerCaseMouse
Logitech K350 EVGA 1600G2 Fractal Define C Rosewill M55 RGB 
  hide details  
Reply
Das Rig, Ja?
(12 items)
 
  
CPUMotherboardGraphicsRAM
AMD Ryzen 1700 Asus Crosshair VI EVGA 1080Ti SC2 2x16G GSkill RGB 3200 
Hard DriveCoolingOSMonitor
500 GB 960 EVO Enermax T50A-BVT Windows 10 Pro 27" Asus 
KeyboardPowerCaseMouse
Logitech K350 EVGA 1600G2 Fractal Define C Rosewill M55 RGB 
  hide details  
Reply
post #4 of 45
What's the output of ifconfig -a ?
post #5 of 45
Thread Starter 
Well I deleted the 70-persistent* files and rebooted which changed my eth port from eth3 to eth0, but i changed that in the interface file to reflect it.

Here is the current interface:
Code:
auto eth0
iface eth0 inet static
address 192.168.1.148
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.1.1

and the ifconfig:
Code:
eth0      Link encap:Ethernet   HWaddr 74:d4:35:0b:66:3b
inet addr: 192.168.1.148          Bcast:  192.168.1.255    Mask:  255.255.255.0
inet6 addr:  fe80::76d4:35ff:fe0b:663b/64   Scope: Link
UP BROADCAST RUNNING MULTICAST MTU:1500   Metric:1
Rx packets:416  errors:0  dropped:0  overruns:0  frame:0
TX packets:0  errors:0       dropped:874 overruns:0  carrier:0
collisions:0  txqueuelen:1000
RX bytes:68719 (67.1KiB)    TX bytes:0  (0.0 B)

If i use DHCP, it gives me some error about not being able to get a DCHP lease.

Let me know if anything else will help...
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
post #6 of 45
what's your routing (the output of route)?
post #7 of 45
Thread Starter 
Code:
sudo route 
Kernel IP routing table
Destination         Gateway       Genmask          Flags    Metric     Ref     Use    Iface
default                    192.168.1.1   0.0.0.0              UG          0           0         0         eth0
192.168.1.0          *                        255.255.255.0 U             0           0        0         eth0

Let me know if any other information would be beneficial.
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
post #8 of 45
Thread Starter 
Bump. Nothing I do seems to have any effect...

Thanks for any help
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
post #9 of 45
Can you attempt to connect via DHCP via the command line and post the output (dhcpcd should give you some decent output, but Debian might have it's own CLI tools)
post #10 of 45
Thread Starter 
enabling dhcp in interfaces and restarting network:
Code:
Listening on LPF/eth0/74:d4:35:0b:66:3b
sending on LPF/eth0/75:d4:35:0b:66:3b
sending on socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval  13
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
no DHCPOFFERS received.
No working leases in persisten database - sleeping
ifup: interface eth0 already configured
done.


and if i run dhclient -v
Code:
No broadcast interfaces found - exiting.
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
Hyperion
(8 items)
 
Crouton
(11 items)
 
 
CPUMotherboardGraphicsRAM
i5-4670k Gigabyte Z87X-UD5H GTX 680 FTW G.Skill Ripjaws  
Hard DriveHard DriveHard DriveOptical Drive
Hitachi Western Digital HGST None 
CoolingOSCase
Stock Fan Linux Debian Jessie Bitfenix Prodigy 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Unable to connect to network after hardware change