OTG Micro-B plug and Standard A receptacle for USB modem
[i=s] 本帖最後由 角色 於 2013-1-5 14:56 編輯 [/i]如果你的USB Modem能在MikroTik的OS认可,那么你可以通过OTG Micro-B plug to Standard-A receptacle,再加上适当配置,那么你的USB 3G在routerboadrd就可以上网。
[attach]2106[/attach]
然后插上我的modem在RB2011UAS-2HnD-IN,只能做到[code][admin@MikroTik] /system resource usb> print
# DEVICE VENDOR NAME SPEED
0 1:1 RB400 EHCI 480 Mbps
1 1:6 HUAWEI Technology HUAWEI Mobile 480 Mbps
[/code]不能再下一步:[code][admin@MikroTik] /system resource usb> /port print
Flags: I - inactive
# NAME CHANNELS USED-BY BAUD-RATE
0 serial0 1 Serial Console auto
[/code] Huawei E1550 modem on MikroTik RouterBoard
[url]http://voffka.livejournal.com/1749171.html[/url] [b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=29589&ptid=5162]2#[/url] [i]角色[/i] [/b]
Suck at the port. Mikrotik cannot recognize the huawei modem.
The given link is broken:Q
Do C-hing remember how to solve the problem? I know whether the problem came from the Modem that I used or I did not know how to make it work. Seeking help from Mikrotik support as the modem is on the hardware compatible list. Finally got it work:
1. Power-off mikrotik's router.
2. Plug in USB modem.
3. Power on.
Bingo![code][admin@MikroTik] > /port print
Flags: I - inactive
# NAME CHANNELS USED-BY BAUD-RATE
0 serial0 1 Serial Console auto
1 usb2 2 9600 [/code] [b]回復 [url=http://www.telecom-cafe.com/forum/redirect.php?goto=findpost&pid=35721&ptid=5162]6#[/url] [i]Qnewbie[/i] [/b]
Did you insert any SiM card into the USB modem? What kind of modem that you used? Yes, SIM card is inserted.
Huawei E173. Were you able to connect the Internet via the modem? [i=s] 本帖最後由 角色 於 2013-10-25 22:24 編輯 [/i]
My E1550 modem is also able to give the same results as Qnewbie did
/system resource usb print[code]
[admin@MikroTik] > /system resource usb print
# DEVICE VENDOR NAME SPEED
0 1:1 RB400 EHCI 480 Mbps
1 1:3 HUAWEI Technology HUAWEI Mobile 480 Mbps
[admin@MikroTik] >
[/code]/port print[code]
[admin@MikroTik] > /port print
Flags: I - inactive
# NAME CHANNELS USED-BY BAUD-RATE
0 serial0 1 Serial Console auto
1 usb2 2 PPP <ppp-out1> 9600
[admin@MikroTik] >
[/code] 现在modem可以用console连上internet,但是在其他etherX不能上网。 Now I am able to use the 3G modem to connect internet and write this message. The most important issue to add a router from the 3G modem to the current network by[code]
/ip firewall nat> add chain=srcnat action=masquerade to-address es=0.0.0.0 out-interface=ppp-out1
[/code]After adding, I moved the above rules to a suitable line. For completeness, I included all the rules in my RB for your interest as follows:[code]
[admin@MikroTik] > /ip firewall nat
[admin@MikroTik] /ip firewall nat> add chain=srcnat action=masquerade to-address es=0.0.0.0 out-interface=ppp-out1
[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; default configuration
chain=srcnat action=masquerade out-interface=sfp1-gateway
1 ;;; default configuration
chain=srcnat action=masquerade to-addresses=0.0.0.0
out-interface=ether1-gateway
2 chain=dstnat action=dst-nat to-addresses=192.168.88.100 to-ports=5060
protocol=udp dst-port=5060
3 chain=dstnat action=dst-nat to-addresses=192.168.88.100
to-ports=10000-20000 protocol=udp dst-port=10000-20000
4 chain=dstnat action=dst-nat to-addresses=192.168.88.100 to-ports=8088
protocol=tcp dst-port=8088
5 chain=srcnat action=masquerade to-addresses=0.0.0.0 out-interface=ppp-out1
[admin@MikroTik] /ip firewall nat> move 5 2
[admin@MikroTik] /ip firewall nat> print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; default configuration
chain=srcnat action=masquerade out-interface=sfp1-gateway
1 ;;; default configuration
chain=srcnat action=masquerade to-addresses=0.0.0.0
out-interface=ether1-gateway
2 chain=srcnat action=masquerade to-addresses=0.0.0.0 out-interface=ppp-out1
3 chain=dstnat action=dst-nat to-addresses=192.168.88.100 to-ports=5060
protocol=udp dst-port=5060
4 chain=dstnat action=dst-nat to-addresses=192.168.88.100
to-ports=10000-20000 protocol=udp dst-port=10000-20000
5 chain=dstnat action=dst-nat to-addresses=192.168.88.100 to-ports=8088
protocol=tcp dst-port=8088
[admin@MikroTik] /ip firewall nat>
[/code] Maybe you forget the NAT rule:[code]/ip firewall nat
add chain=srcnat action=masquerade out-interface=ppp-out1 [/code]If it doesn't work after adding the nat rule. Check add-default-route option[code]/interface ppp-client print
[/code]set [b]add-default-route=yes[/b] if not. Thanks!
Now I am able to access the Internet via my Huawei E1550 3G modem which was a gift when I renewed the PCCW broadband contract. You might need watchdog for your 3G connection too:
[url]http://forum.mikrotik.com/viewtopic.php?f=9&t=69807[/url]
I set the 3G modem as failover internet connection and use dial-on-demand but in your case you might need the watchdog. Thanks you for your advice.
By the way, what the lowest and best offer of the data plan in your area? I have been using mobile phone+surf(speed<1Mb/s) plan(~HK$70) per month for more than one year now.
There was a free data plan(1G/month), which I missed the promotion.:'( The plan is very good and not expansive. How comes the mobile phone charge is so high?With the low price data plan, you could make and receive voip calls via the data plan, right? Yes, I am using its data plan to make calls.:lol The major issue using data plan to make phone calls is the delay! However it will be much cheaper then ordinary mobile operators. When the same data card was moved to another 3G modem which is specifically used for China Union network, I was not able to access the broadband internet.
頁:
[1]