Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: ElFroggio on April 29, 2014, 06:34:03 AM

Title: dhcp screwup
Post by: ElFroggio on April 29, 2014, 06:34:03 AM
Hi,

I screwup my dhcp server on sme, configured at a standalone server. I disable DHCP by mistake. I thought that another server was providing the dhcp services.

Disabled with

Code: [Select]
config setprop dhcpd status disabled
service dhcpd stop

then when I realized my error, I tried:

Code: [Select]
config setprop dhcpd status enabled
service dhcpd start

Now I get the IP address with correct subnet mask but not the gateway nor the default route.

I also tried as 'admin' and the admin interface to enable the dhcp service, same.

Code: [Select]
show dhcpd status
dhcpd=service
  Bootp=deny
  end=192.168.1.192
  start=192.168.1.121
  status=enabled
Any suggestion on how to fix it.
Title: Re: dhcp screwup
Post by: TerryF on April 29, 2014, 07:14:20 AM
Go to the console, and reconfigure
Title: Re: dhcp screwup
Post by: stephdl on April 29, 2014, 08:32:08 AM
or use http://wiki.contribs.org/Dhcpmanager
Title: Re: dhcp screwup
Post by: Jáder on April 29, 2014, 12:02:26 PM
Here is my output:
Code: [Select]
root@leopardo ~]# config show dhcpd
dhcpd=service
    Bootp=allow
    end=192.168.13.99
    start=192.168.13.10
    status=enabled
[root@leopardo ~]#
I have a TFTP server running so I have Bootp.
Have you tried restart it:
Code: [Select]
root@leopardo ~]# /etc/init.d/dhcpd restart
Shutting down dhcpd:                                       [  OK  ]
Starting dhcpd:                                            [  OK  ]

And verify the logs using:
Code: [Select]
[root@leopardo ~]# cat /var/log/dhcpd/current |tai64nlocal
I'm not sure why you got a problem, but you should open a bug on bugzilla.