- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Disable IPv6 via command?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Disable IPv6 via command?
Is there a simple command to disable ipv6? It seems to like to turn itself back on from time to time and I'd just like to set up a simple script to see if it's enabled, turn it off, then restart a process.
Thanks in advance for any help.
Cheers.Peet
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Disable IPv6 via command?
You just disable it from the network settings wheel in the web ui.
I've never seen it come back on.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Disable IPv6 via command?
@StephenB wrote:You just disable it from the network settings wheel in the web ui.
As @StephenB said, it's actually better to do this type of configuration via the Web UI. This is also because most config parameters are stored in a database and frequently reapplied to the actual configuration files. So your modifications via CLI may get overwritten by the values from the database (as defined in the Web UI).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Disable IPv6 via command?
What I am looking for is a way to call the same sub system that is called by frontview so that my settings don't get stomped on by ReasyNAS OS.
I'll keep poking a stick at it. If anyone has any advice to achieve this, it would be greatly appreciated.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Disable IPv6 via command?
It is possible that it's something I've done that turns it back on. But another part of what I need is a reproducable environment across multiple NAS's that doesn't require me to touch every one.
Thanks.Peet
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Disable IPv6 via command?
You could try
- sysctl -w net.ipv6.conf.all.disable_ipv6=1
- sysctl -w net.ipv6.conf.default.disable_ipv6=1