huawei_e303

Raspberry Pi wireless hotspot

Run your own wireless hotspot from a Raspberry Pi.

What you’ll need:

Raspberry Pi
Power Brick 700 mA or higher recommended
SD Card, 8 GB, Class 10 recommended
Edimax EW-7811UN wifi dongle
Huawei E303 3g cellular dongle
Rasbian Operating System

And you’re going to need some basic Linux skills.

I’d love to go through this with you step by step but there is a fantastic guide and no reason to duplicate the work. You can find it
here. This will set your Raspberry Pi up and configure it as a wifi hotspot. If you can carefully follow directions and cut and paste commands into a terminal you can do this. You can.

Once you get it Rasbian configured as a hotspot plug in the 3g dongle and open a terminal and type:

lsusb

If one of the lines says this:

Bus 001 Device 010: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard

You’re good to go. Pop in a SIM card and enjoy your own personal wifi hotspot.

If you see this:

Bus 001 Device 010: ID 12d1:14d1 Huawei Technologies Co., Ltd.

Things didn’t go so well. The hexadecimal value may be slightly different but if it doesn’t look like the first example you have a little work to do.

Go back to your terminal and type:

sudo apt-get install usb-modeswitch

This installs USB Modeswitch

Now open your configuration file. Type the following in the terminal:

sudo nano /etc/usb_modeswitch.conf

Copy this text and paste it to the bottom of the file and save it and reboot.

DefaultVendor = 0x12d1
DefaultProduct = 0x1506
MessageEndPoint = "0x01"
MessageContent = "55534243000000000000000000000011060000000000000000 000000000000"

After you reboot then type:

lsusb

again and you should get the return of this:

Bus 001 Device 010: ID 12d1:1506 Huawei Technologies Co., Ltd. E398 LTE/UMTS/GSM Modem/Networkcard

Congrats! Yer doing it. You’re running your own wi-fi hotspot. (once you install a SIM card that works.)


NOTE:

When you are configured hostpad on your initial configuration of setting up the hot spot they have you open this file:

sudo nano /etc/hostapd/hostapd.conf

interface=wlan0
driver=rtl871xdrv
bridge=br0
ssid=THE_NAME_YOU_WANT_TO_GIVE_YOUR_WIFI
channel=1
wmm_enabled=0
wpa=1
wpa_passphrase=YOUR_PASSWORD_THAT_YOU_SET
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0


Note the line that says “wpa=1”

I recommend that you change it to

wpa=2

That will give you WPA2 which is more secure.

FOLLOW THE DIRECTIONS CAREFULLY REGARDING
pppd, UMTSKeeper and Sakis3g

Just to make sure I can do this on the road I made sure it worked in Japan first. Had to plunk down $40 for a 1Gig Data Card for Japan to test. Got the card from here And by the way if you travel to Japan this may be the cheapest SIM card to get with the best coverage. If you have an unlocked phone or modem give it a try. Works for 14 days.

Enjoy!