Recently I tried to use Open Solaris on my laptop at home and found that the laptop is not able to get the IP Address from DHCP Server configured in my Wireless Router (Belkin and Netgear). While if am connecting same laptop on same router via Ethernet cable everything is working fine.
After a struggle of almost 6 Hrs problem identified was so funny.
1) Problem 1 --> Wireless adapter is not a primary interface.
2) Problem 2 --> When wireless adapter is sending a request to get the IP address it is expecting the Hostname and DNS Domain too.
Solutions to rectify problemare as .
Identify the wireless adapter interface id by using thedladm command
xyz@Laptop02: /etc$ dladm show-wifi
LINK STATUS ESSID SEC STRENGTH MODE SPEED
net1 connected keekar01wpa excellent n 1Mb
: /etc$ echo primary >/etc/dhcp.net1
Modify thedhcpagent configuration file at /etc/default/dhcpagent so that the request for Hostname and DNS Domain should not be sent
# By default, a parameter request list requesting a subnet mask (1),
# router (3), DNS server (6), hostname (12), DNS domain (15), broadcast
# address (28), and encapsulated vendor options (43), is sent to the DHCP
# server when the DHCP agent sends requests. However, if desired, this
# can be changed by altering the following parameter-value pair. The
# numbers correspond to the values defined in the IANAbootp -dhcp-parameters
# registry at the time of this writing. Site and standard option names from
# /etc/dhcp/inittab are also accepted.
#
# PARAM_REQUEST_LIST=1, 3,6,12,15,28,43
PARAM_REQUEST_LIST=1, 3,6,28,43
After a struggle of almost 6 Hrs problem identified was so funny.
1) Problem 1 --> Wireless adapter is not a primary interface.
2) Problem 2 --> When wireless adapter is sending a request to get the IP address it is expecting the Hostname and DNS Domain too.
Solutions to rectify problem
Identify the wireless adapter interface id by using the
xyz@Laptop02
LINK STATUS ESSID SEC STRENGTH MODE SPEED
net1 connected keekar01
Create the preferred primary interface by using following command
xyz@Laptop02Modify the
# By default, a parameter request list requesting a subnet mask (1),
# router (3), DNS server (6), hostname (12), DNS domain (15), broadcast
# address (28), and encapsulated vendor options (43), is sent to the DHCP
# server when the DHCP agent sends requests. However, if desired, this
# can be changed by altering the following parameter-value pair. The
# numbers correspond to the values defined in the IANA
# registry at the time of this writing. Site and standard option names from
# /etc/dhcp/
#
# PARAM_REQUEST_LIST=1
PARAM_REQUEST_LIST=1
1 comment:
do you really require vendor options 43
Post a Comment