Setting up a Huawei E3131 to work with a Raspberry Pi

Here's what we need to do:

  1. Instruct the system that the Huawei E3131 should be in network controller mode
  2. Configure the network interface to access the Huawei E3131

Setting the Huawei E3131 to network controller mode

Configuring the networking interface

Edit /etc/network/interfaces and add the following:

iface eth1 inet static
address 192.1.1.2
netmask 255.255.255.0
gateway 192.168.1.1

Then restart the network /etc/init.d/networking restart and now you should be able to reach the Huawei web server on http://192.168.1.1 as well as the internet.

Note: You may have to set the E3131 network controller mode again if you reboot the Raspberry Pi, although the 2nd time I rebooted it, I noticed the setting was already in network controller mode.

Resources

Tags:
Source:
1428hrs.txt
Published:
24-06-2014 14:28