- Z-Com, Inc. Network Card User Manual

9
Or inactivate it.
Or get its current state
3.5 Set up IP address
If you use the RedHat distribution Linux, you can edit the
/etc/sysconfig/network-scripts/ifcfg-ethX or edit the /etc/network/interfaces under the
Debian to set up the IP address on booting process. Or one can use the netconfig
command for ip address setting.
We provide two types setting in the following examples. One is to assign a fix IP address,
netmask, and default gateway. Another is to get IP configuration from a DHCP server.
3.5.1 Fixed Setting
# This is an example of fixed IP setting
3.5.2 Get IP setting from DHCP
# This is an example of getting ip from DHCP server.
3.5.3 Setting Access Point
3.5.3.1 The typical setting procedure:
DEVICE=¡¯et h0¡¯
BOOTPROTO=¡¯dhcp¡¯
ONBOOT='yes'
DEVICE=¡¯et h0'
IPADDR='192.168.2.98'
NETMASK='255.255.255.0'
NETWORK='192.168.2.0'
BROADCAST='192.168.2.255'
ONBOOT='yes'
GATEWAY='192.168.2.254'
apdbg ethX g_mic_cnt 0 0
apdbg ethX s_mic_cnt 0 0