Page 1 of 1
RB912 WiFi Problem
Posted: Thu Jul 25, 2013 2:07 pm
by kenryan123
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?
Re: RB912 WiFi Problem
Posted: Thu Jul 25, 2013 2:11 pm
by normis
Sounds like you need the correct SRC-NAT rule.
Post output of this command from console:
ros code
/export compact
Re: RB912 WiFi Problem
Posted: Thu Jul 25, 2013 2:24 pm
by Rudios
Or maybe you are missing a bridge port membership?
Re: RB912 WiFi Problem
Posted: Thu Jul 25, 2013 2:29 pm
by normis
Yes, could be. Depends on how device is confgured, therefore we need output of the above command. /
Re: RB912 WiFi Problem
Posted: Fri Jul 26, 2013 11:31 am
by kenryan123
I'll run the export when I get into the lab this morning.
Thanks for the quick response!
Re: RB912 WiFi Problem
Posted: Fri Jul 26, 2013 4:09 pm
by kenryan123
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] >
Re: RB912 WiFi Problem
Posted: Fri Jul 26, 2013 4:28 pm
by kenryan123
/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] >
Re: RB912 WiFi Problem
Posted: Wed Jul 31, 2013 10:51 pm
by Rudios
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