DaemonForums  

Go Back   DaemonForums > NetBSD > NetBSD General

NetBSD General Other questions regarding NetBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd September 2020
dnslc's Avatar
dnslc dnslc is offline
Port Guard
 
Join Date: Jun 2020
Location: Australia
Posts: 24
Default restart network

I ran the command
Code:
# ifconfig mue0 down
to take the computer offline, but how do I now bring it back up?
When I try
Code:
# ifconfig mue0 up
I get
Code:
exec_matches: No buffer space available
error

What is the NetBSD equivalent of the FreeBSD command
Code:
# /etc/rc.d/netif restart
or OpenBSD equivalent
Code:
# /etc/netstart
I want to be able to restart all network services
Reply With Quote
  #2   (View Single Post)  
Old 2nd September 2020
frcc frcc is offline
Don't Worry Be Happy!
 
Join Date: Jul 2011
Location: hot,dry,dusty,rainy,windy,straight winds, tornado,puts the fear of God in you-Texas
Posts: 335
Default

I use OpenBsd so I am not sure if this works on your OS

As Root - restarts interfaces

# sh /etc/netstart

or for a particular interface

# sh /etc/netstart foo0

above line from netstart man page NETSTART(8)

Last edited by frcc; 2nd September 2020 at 10:55 AM. Reason: added from OpenBSD manpage example for particular interface
Reply With Quote
  #3   (View Single Post)  
Old 2nd September 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

According to the NetBSD FAQ, # sh /etc/netstart went away with NetBSD 1.5, replaced with # sh /etc/rc.d/network start.
Reply With Quote
Reply

Tags
netbsd


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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/rc.d/nsd and rcctl doesn't stop or restart beiroot OpenBSD General 2 1st November 2016 02:12 AM
Dual network help bforest FreeBSD General 2 1st November 2014 12:23 AM
modem network. ros2468 OpenBSD General 12 15th March 2010 12:06 PM
Network Sniffing jleal FreeBSD Security 5 25th January 2010 07:11 PM
auto restart an app within wine hamba General software and network 3 25th November 2008 11:56 AM


All times are GMT. The time now is 09:45 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick