Oct 22, '03 10:37:00AM • Contributed by: Anonymous
% sudo /System/Library/StartupItems/NetworkExtensions/NetworkExtensions stop % sudo /System/Library/StartupItems/NetworkExtensions/NetworkExtensions startA tcsh "Network-restart" script can be easily put into ~/bin to make this easier. Make the script executable with chmod +x Network-restart. Here's the "Network-restart" script:
#!/bin/tcsh -f # # aim: restart network # usage: Network-restart sudo /System/Library/StartupItems/NetworkExtensions/NetworkExtensions stop sudo /System/Library/StartupItems/NetworkExtensions/NetworkExtensions start[robg adds: I haven't tested this one.]
