Amahi overwriting ifcfg-enp1s0 and smb.conf

dagunnyeyes
Posts: 9
Joined: Thu Jan 14, 2016 6:51 am

Amahi overwriting ifcfg-enp1s0 and smb.conf

Postby dagunnyeyes » Tue Jan 26, 2016 9:44 am

I'm running a Supermicro box and I configure the first Ethernet port (enp1so) to have DHCP_HOSTNAME="hda". I am using DHCP with a reserved address to the MAC layer address of the Ethernet port. I need the name in there so it will announce to my network who the box is and I can map to the drives from Windows clients.

Also, Amahi is overwritting the smb.conf file - I need to place a Windows workgroup in there as well.

# This file is automatically generated for WORKGROUP setup.
# Any manual changes MAY BE OVERWRITTEN
# Amahi configuration, generated on 2016-01-26 05:42:54 -0500
[global]
workgroup = WORKGROUP
How can I prevent them being overwritten without impeding functionality of Amahi? Is there a "master" conf file that amahi uses to generate these?
I set these up in Fedora prior to installing amahi.
Thx!

User avatar
bigfoot65
Project Manager
Posts: 11397
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi overwriting ifcfg-enp1s0 and smb.conf

Postby bigfoot65 » Tue Jan 26, 2016 2:36 pm

You cannot prevent this from happening without hacking the code.

As for the Workgroup name, that is in the Dashboard under Shares. Look for Settings. See the Setup page in the wiki.

BTW, the wiki holds a lot of guidance and tutorials for Amahi. Recommend you search there before modifying system files. This may save you countless hours of diagnosing a broken machine.
ßîgƒσστ65
Applications Manager

dagunnyeyes
Posts: 9
Joined: Thu Jan 14, 2016 6:51 am

Re: Amahi overwriting ifcfg-enp1s0 and smb.conf

Postby dagunnyeyes » Wed Jan 27, 2016 9:50 pm

Excellent - the workgroup box is checked off.
May I ask that for the next release a parameter be added for the DHCP_HOSTNAME?

User avatar
bigfoot65
Project Manager
Posts: 11397
Joined: Mon May 25, 2009 4:31 pm

Re: Amahi overwriting ifcfg-enp1s0 and smb.conf

Postby bigfoot65 » Thu Jan 28, 2016 7:02 am

Please submit a Feature Request via the bug tracker.

Login to the site using amahi.org credentials. Select Projects, then Platform followed by New Issue.
ßîgƒσστ65
Applications Manager

Who is online

Users browsing this forum: No registered users and 1 guest