please help on dhcp configuration, (fc2, acx111 wireless pci)
hi,
i am a newbie on dhcp.i managed to install my acx111 based wireless pci in fc2, kernel-2.6.7-1.
when i run the start_net script included in acx100's script directory, i had this output:
.................
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
i used dhclient wlan0 to bring up the dhcp service but seems got no response from the dhcp server. i have one line in /etc/resolv.conf:
nameserver 192.168.0.1
i do not know if this can be set to any number started with 192.168, and does this number
really mean? my wireless router's real IP or the ip inside the network? if i should provide
the real IP the router gets from the ISP, how can i get the ip address?
i also have /etc/dhcpd.conf copied from dhcpd.conf.sample, but i have no idea how to
acctually configure it to let the wlan0 interface work with the dhcp server.
first, how to specify the ip address for each subnet?
i mean subnet 192.168.?.? followed by netmask 255.255.255.0
second, to configure a "host", what should be the name for the host? the essid of the router,
or the name of my computer, or just wlan0? i know the hardware ethernet standards for
the wlan0, but what is the fixed-address after the hardware address? can i decide it myself?
btw, i also have /etc/sysconfig/network-scripts/ifcfg-wlan0 shown below:
DEVICE=wlan0
IPADDR=192.168.0.2
NETMASK=255.255.255.0
NETWORK=192.168.0.0
BROADCAST=192.168.0.255
USERCTL=yes
BOOTPROTO=dhcp
TYPE=Wireless
ESSID=homerouter
CHANNEL=1
MODE=Auto
RATE=Auto
GATEWAY=192.168.0.1
is this necessary and correct configured?
i am very sorry that i have so many doubts so thanks so much for your help.
|