Jump to content

Venezuelan 3G - Huawei E1756 - Movistar


Boba Fett

Recommended Posts

Hi,

Your question is a bit too wide. I suggest you read some post and then ask more specific things.

If I may suggest you will probably want to get the USB working first. meaning, try to make sure it is all functionning setup the FSTAB correct

do this:

http://forums.hak5.org/index.php?showtopic=25882

and then move on to the 3G.sh

so to start do a bit or reading:

start reading here:

http://cloud.wifipineapple.com/wiki/doku.php

then read here:

http://forums.hak5.org/index.php?/topic/28792-huawei-e1550-markiv-27-usb-internet-problem/

this also helped me:

https://forum.openwrt.org/viewtopic.php?id=30002

good reading :)

Edited by webdirector
Link to comment
Share on other sites

Ok, I read and research, so I got this:

*12d1:1406*)    echo "Huawei E1756 detected. Attempting mode switch"
                uci delete network.wan2
                uci set network.wan2=interface
                uci set network.wan2.ifname=ppp0
                uci set network.wan2.proto=3g
                uci set network.wan2.service=umts
                uci set network.wan2.device=/dev/ttyUSB0
                uci set network.wan2.apn=internet.movistar.ve
                uci set network.wan2.username=
                uci set network.wan2.password=
                uci set network.wan2.defaultroute=1
                uci commit network
                usb_modeswitch -v 12d1 -p 1406
                sleep 10; rmmod usbserial
                sleep 3; insmod usbserial vendor=0x12d1 product=0x1406
                sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop
                logger "3G: firewall stopped"
                iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE
                iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT
                iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT

I find the PID/VID, the apn and The Movistar 3G Service on Venezuela doesnt have pass or username.

Any help?

Link to comment
Share on other sites

It´s Works!!!!!!!!!!!!!!!!!!!! My first contribution yeahhhhh.


*12d1:1406*) echo "Huawei E1756 detected. Attempting mode switch"
uci delete network.wan2
uci set network.wan2=interface
uci set network.wan2.ifname=ppp0
uci set network.wan2.proto=3g
uci set network.wan2.service=umts
uci set network.wan2.device=/dev/ttyUSB0
uci set network.wan2.apn=internet.movistar.ve
uci set network.wan2.username=username
uci set network.wan2.password=password
uci set network.wan2.defaultroute=1
uci commit network
usb_modeswitch -v 12d1 -p 1406
sleep 10; rmmod usbserial
sleep 3; insmod usbserial vendor=0x12d1 product=0x1406
sleep 5; /etc/init.d/firewall disable; /etc/init.d/firewall stop
logger "3G: firewall stopped"
iptables -t nat -A POSTROUTING -s 172.16.42.0/24 -o 3g-wan2 -j MASQUERADE
iptables -A FORWARD -s 172.16.42.0/24 -o 3g-wan2 -j ACCEPT
iptables -A FORWARD -d 172.16.42.0/24 -m state --state ESTABLISHED,RELATED -i 3g-wan2 -j ACCEPT

Remember, this is for a Huawei E1756 in the Movistar Venezuela Service.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...