Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Ethernet won't start automatically
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Thu Apr 03, 2014 10:05 pm    Post subject: Ethernet won't start automatically Reply with quote

I'm rsyncing / on my system to / on an identical remote system every night. I have it all scripted with certain exceptions built in and it works great except for one issue. After the rsync, the remote system reboots and when it comes back up, the USB ethernet interface doesn't start automatically. If I reboot it again after that, everything works perfectly.

Which files should I try not rsyncing to fix this?
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Apr 04, 2014 12:10 am    Post subject: Reply with quote

I'm going to guess (blindly) that it depends on something hardware-specific in /etc/udev or /lib/udev that's getting wiped out and regenerated in the wrong order.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21619

PostPosted: Fri Apr 04, 2014 1:39 am    Post subject: Reply with quote

Sync the systems, perform your double reboot, then run the rsync again with -vn to show changes without applying them. Examine the set of files that are scheduled for another update, which should be minimal since this is done right after a regular update. One of the files in that list is likely relevant to your problem.
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Fri Apr 04, 2014 10:42 pm    Post subject: Reply with quote

Many thanks for the excellent suggestions. I may have it narrowed down to something in /var/, /root/, or /lib64/rc/ but maybe I'm speaking too soon. The system is remote so I don't get to test as often as I'd like. I'll report back once I have more info.
Back to top
View user's profile Send private message
grant123
Veteran
Veteran


Joined: 23 Mar 2005
Posts: 1080

PostPosted: Sat Apr 12, 2014 3:04 pm    Post subject: Reply with quote

The culprit appears to have been /var/lib/ntp/ntp.drift. If this file is deleted, the system in question fails to start its network interfaces on boot unless it is rebooted a second time. Why would that happen?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum