12
…
[Wibro connection]
autoconnection_enable=YES
dhcp_enable=YES
…
[DM command]
wb_ru
…
2.3.2. Connection with static IP allocation
If some base station may not support dynamic IP address allocation, you should set your IP address manually.
You can, then, turn off dhcp_enable with NO, to make WiMax connection manager not try to connect.
WiMax connection manager set the IP address of WiMax device(wb0) with the value of IP variable in
/etc/WM.conf, if dhcp_enable in /etc/wcm.conf is defined as NO.
>
cat /etc/WM.conf
…
IP=192.168.2.1
NETMASK=255.255.255.0
DEFAULTGW=192.168.2.254
DNS1=192.168.20.2
DNS2=192.168.20.3
DOMAIN=gctsemi.com
…
In this example, the IP address of WiMax device will be 192.168.2.1 with 255.255.255.0 of netmask.
WiMax connection manager also tries to set default gateway and name server with the predefined values in
/etc/WM.conf, so you can modify the file for your own purpose. Some base stations need to know the MAC
address of your mobile station before connection, and they maintain ARP list with the IP and MAC address of
mobile, so your IP address should be allocated in advance by base stations or service providers.
2.3.3. Enabling authentication mode
To enable authentication process while in WiMAX connecting, the variable, “
Authentication_pkm_enable
”,
should be “YES”. Then, WiMAX connection manager tries authentication processing. You can choose the
kind of authentication by setting the variable, “
Authentication_pkm_type
”, which can be “EAP-AKA”,
“EAP-TLS”, “EAP-TTLS-CHAP”, and “EAP-TTLS-MSCHAPV2”, etc. After changing the variables, you
should reboot the CPE.
While EAP-AKA type uses external USIM card which should be distributed by a wireless service provider,
other authentication methods uses id/password’s and certificates. Those can be set like as set-param sections
in wcm.conf. You can see sections whose name is [EAPTLS setparam], [EAPTTLSCHAP setparam], and
[EAPTTLSMSCHAPV2 setparam]. You should write down correct strings which you get from operators in
your authentication section.
>> cat /etc/wcm.conf
…
[WiBro authentication]
authentication_pkm_enable=YES
authentication_alpha_delimiter_enable=YES
#authentication_pkm_type=EAP-AKA
#authentication_pkm_type=EAP-MD5