Community discussions

MikroTik App
 
kenryan123
just joined
Topic Author
Posts: 5
Joined: Fri Jun 28, 2013 6:35 am

RB912 WiFi Problem

Thu Jul 25, 2013 2:07 pm

I'm trying to get connected on the WiFi (2.4Ghz) and get internet access through my LTE connection.
Right now I only get access from the wired port.

Is there a basic or default config I can load to accomplish this? Winbox has a different window for each individual component but nothing to configure it all in one place. Perhaps CLI would be easier?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26964
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: RB912 WiFi Problem

Thu Jul 25, 2013 2:11 pm

Sounds like you need the correct SRC-NAT rule.

Post output of this command from console:

ros code

/export compact
 
Rudios
Forum Veteran
Forum Veteran
Posts: 977
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: RB912 WiFi Problem

Thu Jul 25, 2013 2:24 pm

Or maybe you are missing a bridge port membership?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26964
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: RB912 WiFi Problem

Thu Jul 25, 2013 2:29 pm

Yes, could be. Depends on how device is confgured, therefore we need output of the above command. /
 
kenryan123
just joined
Topic Author
Posts: 5
Joined: Fri Jun 28, 2013 6:35 am

Re: RB912 WiFi Problem

Fri Jul 26, 2013 11:31 am

I'll run the export when I get into the lab this morning.
Thanks for the quick response!
 
kenryan123
just joined
Topic Author
Posts: 5
Joined: Fri Jun 28, 2013 6:35 am

Re: RB912 WiFi Problem

Fri Jul 26, 2013 4:09 pm

See output below:

[admin@Maxxwave3G] > /export compact
# jan/02/1970 00:31:58 by RouterOS 5.25
# software id = KCEW-JLRK
#
/interface bridge
add name=bridge1
/interface wireless
set 0 band=2ghz-b/g/n country="united states" default-authentication=no \
disabled=no distance=indoors frequency=2437 l2mtu=2290 mode=ap-bridge ssid=\
"WgenLab Y" wireless-protocol=802.11
/interface lte
set 0 apn="" mac-address=F2:CE:7F:03:01:07 modem-init="" name=lte1 network-mode=\
auto password="" pin="" user=""
/interface wireless security-profiles
set [ find default=yes ] eap-methods=passthrough mode=static-keys-optional
/ip dhcp-server
add add-arp=yes disabled=no interface=wlan1 lease-time=12h name=server1
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/port
set 0 name=usb1
/interface ppp-client
add apn=internet name=ppp-out1 port=usb1
/ip address
add address=172.16.201.1/32 interface=wlan1 network=172.16.201.0
/ip dhcp-client
add add-default-route=no disabled=no host-name=mk2.4ghz interface=ether1
/ip dhcp-server network
add address=172.16.201.0/24 dns-server=4.2.2.2,4.2.2.1 gateway=172.16.201.1 \
netmask=24
/ip neighbor discovery
set lte1 disabled=yes
set wlan1 disabled=yes
/system identity
set name=Maxxwave3G
/system leds
set 0 interface=wlan1
/system routerboard settings
set cpu-frequency=600MHz
[admin@Maxxwave3G] >
 
kenryan123
just joined
Topic Author
Posts: 5
Joined: Fri Jun 28, 2013 6:35 am

Re: RB912 WiFi Problem

Fri Jul 26, 2013 4:28 pm

/export compact output below:

[admin@Maxxwave3G] > /export compact
# jan/02/1970 00:31:58 by RouterOS 5.25
# software id = KCEW-JLRK
#
/interface bridge
add name=bridge1
/interface wireless
set 0 band=2ghz-b/g/n country="united states" default-authentication=no \
disabled=no distance=indoors frequency=2437 l2mtu=2290 mode=ap-bridge ssid=\
"WgenLab Y" wireless-protocol=802.11
/interface lte
set 0 apn="" mac-address=F2:CE:7F:03:01:07 modem-init="" name=lte1 network-mode=\
auto password="" pin="" user=""
/interface wireless security-profiles
set [ find default=yes ] eap-methods=passthrough mode=static-keys-optional
/ip dhcp-server
add add-arp=yes disabled=no interface=wlan1 lease-time=12h name=server1
/ip hotspot user profile
set [ find default=yes ] idle-timeout=none keepalive-timeout=2m
/port
set 0 name=usb1
/interface ppp-client
add apn=internet name=ppp-out1 port=usb1
/ip address
add address=172.16.201.1/32 interface=wlan1 network=172.16.201.0
/ip dhcp-client
add add-default-route=no disabled=no host-name=mk2.4ghz interface=ether1
/ip dhcp-server network
add address=172.16.201.0/24 dns-server=4.2.2.2,4.2.2.1 gateway=172.16.201.1 \
netmask=24
/ip neighbor discovery
set lte1 disabled=yes
set wlan1 disabled=yes
/system identity
set name=Maxxwave3G
/system leds
set 0 interface=wlan1
/system routerboard settings
set cpu-frequency=600MHz
[admin@Maxxwave3G] >
 
Rudios
Forum Veteran
Forum Veteran
Posts: 977
Joined: Mon Mar 11, 2013 12:58 pm
Location: The Netherlands

Re: RB912 WiFi Problem

Wed Jul 31, 2013 10:51 pm

You should configure your IP address on your bridge, and make both our ether ports and wlan port member of that bridge.
Also configure your DHCP server on the brdige.
If you do that, all devices connected to the bridge, either via wlan or cable, will get a valid IP and will be able to reach the internet.
Maybe you also shoud configure a NAT masquerade rule