LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   network settings "your system is not supported" at system settings (https://www.linuxquestions.org/questions/linux-newbie-8/network-settings-your-system-is-not-supported-at-system-settings-915244/)

windstory 11-23-2011 11:00 PM

network settings "your system is not supported" at system settings
 
1 Attachment(s)
I have a problem - network settings "your system is not supported" at system settings.

My box is scientific linux 6.1 x64.

I could not start dhcpd.

Quote:

[root@RedLeoWebDev Documents]# service dhcpd start
Starting dhcpd: [FAILED]
So I opened system settins - network settings, but there is another problem as you can see attatched photo.

How to solve this problem?

Thanks in advance.

fukawi1 11-23-2011 11:25 PM

I am unfamiliar with Scientific linux, or the settings dialog you are using.

The dialog appears to be for configuring a network interface.
"dhcpd" is for running a DHCP server. Is this what you are trying to do?

Perhaps you want "dhclient" instead?

windstory 11-23-2011 11:40 PM

fukawi1/ I want to start dhcpd.

fukawi1 11-23-2011 11:46 PM

Code:

tail /var/log/messages | grep dhcpd
should give some more info as to why dhcpd isn't starting.

windstory 11-23-2011 11:47 PM

Te result is here.

Quote:

[root@RedLeoWebDev Documents]# tail /var/log/messages | grep dhcpd
Nov 25 06:57:04 RedLeoWebDev dhcpd: exiting.
[root@RedLeoWebDev Documents]#

jmc1987 11-23-2011 11:48 PM

# cat /var/log/messages |grep dhcpd

fukawi1 11-23-2011 11:56 PM

Instead of using the init scripts, try starting it from the command line with
Code:

dhcpd -f

windstory 11-24-2011 12:10 AM

The resukt is here.

Quote:

[root@RedLeoWebDev Documents]# dhcpd -f
Internet Systems Consortium DHCP Server 4.1.1-P1
Copyright 2004-2010 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Wrote 0 leases to leases file.

No subnet declaration for eth0 (192.168.0.4).
** Ignoring requests on eth0. If this is not what
you want, please write a subnet declaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **


Not configured to listen on any interfaces!

This version of ISC DHCP is based on the release available
on ftp.isc.org. Features have been added and other changes
have been made to the base software release in order to make
it work better with this distribution.

Please report for this software via the Red Hat Bugzilla site:
http://bugzilla.redhat.com

exiting.

fukawi1 11-24-2011 12:19 AM

Well there in lies your problem...

Your dhcpd.conf isn't set up correctly.

windstory 11-24-2011 12:21 AM

This is dhcpd.conf.

Quote:

authoritative;
include "/etc/rndc.key";

server-identifier server;
ddns-domainname "myserver.dyndns.org";
ddns-rev-domainname "in-addr.arpa.";
ddns-update-style interim;
ddns-updates on;
ignore client-updates;

zone myserver.dyndns.org {
primary 127.0.0.1;
key rndckey;

default-lease-time 21600;
max-lease-time 43200;

option domain-name "myserver.dyndns.org.";
option ip-forwarding off;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option domain-name-servers 192.168.0.1
zone 0.168.192.in-addr.arpa. {
primary 192.168.0.4;
key rndckey;
}
zone localdomain. {
primary 192.168.4;
key rndckey;
}
}
Please let me know what's wrong.

fukawi1 11-24-2011 12:31 AM

How can I tell you what is wrong, when you havent told me what you are trying to do? (other than start dhcpd, which really tells me nothing).

From your config, it would seem you are trying to use dyndns, something I have no experience with. Read "man dhcpd" for info on dynamic dns.

to configure the interfaces dhcpd will listen on, you need to look in /etc/sysconfig

windstory 11-24-2011 01:10 AM

fukawi1/ Thanks for your help.

I'll study man page.

tollingalong 11-24-2011 12:57 PM

There is an extra "{" in the file I believe to being with.

chrism01 11-24-2011 08:03 PM

Looks like he's right about mismatched '{'.
Next time please post using code tags instead of quote tags; that will preserve whitespace and make things line up.

windstory 11-29-2011 01:14 AM

Thanks a lot.


All times are GMT -5. The time now is 04:19 PM.