Koozali.org: home of the SME Server

Edit interfaces information

Offline jonaskellens

  • *
  • 5
  • +0/-0
Edit interfaces information
« on: August 12, 2009, 11:09:00 AM »
My WAN-interface does not automatically obtain an IP-address so I need to launch the command 'dhclient' to obtain an IP-address from my ISP.

I want to edit ifcfg-eth1 and change the bootproto-parameter but in the file itself manual editing is discouraged.

Where then can I change these parameters ? In the webGUI I have not found this option.
Why should I not hand-edit it ?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Edit interfaces information
« Reply #1 on: August 12, 2009, 11:23:11 AM »
it should work uot of the box, so I suggest you to open a bug in bugzilla: you will steered in the right direction.

I suggest you to read the documentation too: you'll find the reason why you should not edit config files.

ciao
Stefano

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Edit interfaces information
« Reply #2 on: August 12, 2009, 02:58:53 PM »
My WAN-interface does not automatically obtain an IP-address so I need to launch the command 'dhclient' to obtain an IP-address from my ISP.

SME server already launches dhclient, if you have selected DHCP in the configuration console.

If the interface is not obtaining an address, you need to determine why it isn't. Start with log files /var/log/wan/current and /var/log/messages.

Open a bug report in the bug tracker if you cannot identify the problem.