Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Internet, Networking, and Wireless
Renew DHCP lease script
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="scathe" data-source="post: 839056" data-attributes="member: 81672"><p>you could run an AppleScript, it has a function built in, called do shell script:</p><p>do shell script "ipconfig set en0 BOOTP" with administrator privileges </p><p>do shell script "ipconfig set en0 DHCP" with administrator privileges </p><p>(just copy the above 2 lines into Script Editor)</p><p></p><p>basically, you will run the same thing you would run from Terminal, but you can compile it and sava as a .app and run that with spotlight or anything .. this will run and just ask you for a password</p></blockquote><p></p>
[QUOTE="scathe, post: 839056, member: 81672"] you could run an AppleScript, it has a function built in, called do shell script: do shell script "ipconfig set en0 BOOTP" with administrator privileges do shell script "ipconfig set en0 DHCP" with administrator privileges (just copy the above 2 lines into Script Editor) basically, you will run the same thing you would run from Terminal, but you can compile it and sava as a .app and run that with spotlight or anything .. this will run and just ask you for a password [/QUOTE]
Verification
Post reply
Forums
Digital Lifestyle
Internet, Networking, and Wireless
Renew DHCP lease script
Top