[Koha] How to get dynamic IP for my koha server

Cajetan Onyeneke cajetanonyeneke at gmail.com
Wed Nov 18 23:48:26 NZDT 2015


Please how can I create a static IP address on my mikrotic router board
1100? Then apply the same IP address on my local server. I tried the steps
given previously and typed ifconfig yet the IP address didn't show. Thanks.

On Tuesday, 17 November 2015, Cajetan Onyeneke <cajetanonyeneke at gmail.com>
wrote:

> I will try this. Thanks.
>
> On Tuesday, 17 November 2015, Chris Cormack <chrisc at catalyst.net.nz
> <javascript:_e(%7B%7D,'cvml','chrisc at catalyst.net.nz');>> wrote:
>
>> * Cajetan Onyeneke (cajetanonyeneke at gmail.com) wrote:
>> > Yes
>> >
>> In that case, have a look at your /etc/network/interfaces file
>>
>> And if eth0 is the one you want to set
>>
>> comment out what is currently there for eth0 (change for eth1 etc if
>> that makes sense)
>>
>> and add
>>
>> auto eth0
>> iface eth0 inet dhcp
>>
>>
>> (Do this from the console, because you dont want to lock yourself out)
>>
>> Then do
>>
>> sudo /etc/init.d/networking restart
>>
>> or
>>
>> sudo service networking restart
>>
>> Then if you look at ifconfig you should have received an address from
>> the dhcp server
>>
>> Chris
>>
>> --
>> Chris Cormack
>> Catalyst IT Ltd.
>> +64 4 803 2238
>> PO Box 11-053, Manners St, Wellington 6142, New Zealand
>>
>


More information about the Koha mailing list