FreeBSD重启网卡
FreeBSD重启网卡
# 本地重启:
ifconfig le0 down #stop网卡
ifconfig le0 up #start网卡
# 远程重启:
/etc/netstart
sh /etc/rc
/etc/rc.d/netif restart
# 重新获取dhcp地址:
/sbin/dhclient interface
Keep it simple, stupid
# 本地重启:
ifconfig le0 down #stop网卡
ifconfig le0 up #start网卡
# 远程重启:
/etc/netstart
sh /etc/rc
/etc/rc.d/netif restart
# 重新获取dhcp地址:
/sbin/dhclient interface
Copyright © 2010-2024 4Aiur All rights reserved.
This site is using the Desk Mess Mirrored theme, v2.5, from BuyNowShop.com.