Huawei MT882a User Manual - Page 13
Step 5, Linux OS driver.
View all Huawei MT882a manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 13 highlights
The usb_driver_for_linux directory stores the source code file of the Linux OS driver. Step 5 Add the following two configuration command lines at the end of the rc.local file in the /etc/rc.d directory. insmod /usr/local/lib/trendchip/trendchip.o &>/dev/null & ifconfig eth1 192.168.1.2 up &>/dev/null & After you add the two configuration command lines, the system automatically loads the USB driver during start. Step 6 Create a file named ifcfg-eth1 in the /etc/sysconfig/networking/device/ directory. Add the following configuration information in this file: # Please read /usr/share/doc/initscripts-*/sysconfig.txt # for the documentation of these parameters. SERCTL=no EERDNS=yes ATEWAY=192.168.1.1 YPE=Ethernet DEVICE=eth1 HWADDR=00:aa:bb:cc:00:01 BOOTPROTO=none NETMASK=255.255.255.0 ONBOOT=no IPADDR=192.168.1.2 NETWORK=192.168.1.0 BROADCAST=192.168.1.255 Assume your PC already has an Ethernet interface eth0. In this step you create an Ethernet interface eth1 and configure the related properties of this Ethernet interface. Step 7 Find the resolv.conf file in the /etc/sysconfig/networking/profiles/default/ directory (Create this file if this file does not exist in this directory). Add the following configuration information in this file: nameserver nameserver In this step, you configure the domain name server (DNS). In the configuration command, is the real IP address of the DNS server provided by the network service provider. Step 8 Create a file named ifcfg-eth1 in the /etc/sysconfig/network-scripts/ directory. Add the following configuration information in this file: EVICE=eth1 8