Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How do I reset network connection without rebooting?
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
Budoka
l33t
l33t


Joined: 03 Jun 2012
Posts: 667
Location: Tokyo, Japan

PostPosted: Thu Oct 09, 2014 4:53 am    Post subject: How do I reset network connection without rebooting? Reply with quote

Subject says it all. How do I do I reset or renew an ip lease at the command line. I have done some googling and found multiple references to
Code:
dhclient -r eth0
but Gentoo doesn't seem to have that command and I can't find it in portage.

I have a problem that when I suspend to RAM while on a LAN when waking up the network is not found nor is the etho interface. Even if I unplug the cable and re-plug it in Gentoo won't see it. Rebooting is the only thing that fixes it. Has anybody else had this problem?
Back to top
View user's profile Send private message
roki942
Apprentice
Apprentice


Joined: 18 Apr 2005
Posts: 283
Location: Seattle

PostPosted: Thu Oct 09, 2014 5:38 am    Post subject: Reply with quote

Have you tried '/etc/init.d/net.eth0 restart' as root?
or 'dhcpcd -k' follow ed by 'dhcpcd'
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