I just received 2 CRS326, and I’m having issues with them. I have a Ubuntu laptop without ethernet and the CRS326 doesn’t have a default config.
Winbox under wine doesn’t see it when plugged via USB ethernet. A PC with a true ethernet port is able to recognize it via MAC discovery.
Is there a way to enable MAC discovery in Wine+Winbox, via the USB ethernet adapter? I tried several ones and no one works.
Is there a way to connect via MAC-TELNET in linux, via USB ethernet adapters?
Some USB ethernet adapters are not even capable of getting an IP, while they normally works on other devices (WRT-3200, TP-LINK switches). Is this normal?
Which Serial to USB adapter works? This one works with linux?
Moreover one is working fine, the other one had a power supply failure as soon as connected. I bought a new PSU but it’s acting strange.
When I try to configure it via winbox, it doesn’t want to keep the IP address. As soon as I save the config it reverts to 0.0.0.0, thus I can’t use WebFig. I already tried to reset it. Am I doing something wrong? Could the power supply have damaged the memory? Is there a way to overwrite the firmware?
Get another mikrotik with wlan and set it on a bridge! Then connect the laptop with it and you can connect with winbox on the 2 level - mac address ! We are waiting for Woobm “Plug into a device to have a new management AP” !
Set yourself a static IP on the USB-ethernet interface and as silly as this may sound, ensure it has a gateway IP set. It doesn’t have to be in the same range as the CRS but for some reason I’ve found that I can’t L2 discover from my Ubuntu laptop (even via real ethernet port) unless a gateway and IP are set on that interface.
the best feature of it is that it also can connect to device based on “name” (read: system identity) not just based on mac-address. for this feature to work the device must run “ip neighbor discovery” on the connecting interface. and you can “listen” to mndp advertisements:
cy-bear:~ bat$ ./mactelnet -l
Searching for MikroTik routers... Abort with CTRL+C.
MAC-Address Identity (platform version hardware) uptime
0:c:42:d1:41:a9 batswitch (MikroTik 6.40.1 (stable) RB750GL) up 0 days 14 hours
6c:3b:6b:66:eb:77 mflexhub (MikroTik 6.41rc6 (testing) RB952Ui-5ac2nD) up 0 days 4 hours
d4:ca:6d:fd:4d:ed ipfk-router (MikroTik 6.39.2 (stable) CRS125-24G-1S) up 63 days 0 hours
thank you, mactelnet -l is much more practical than linux device enumeration.
Anyhow it is not working alone, I can’t connect to the router, the connection fails.
Thank you very much for pointing me toward the right direction.
To connect I had to:
Set a random manual ip.
set a fake gateway
try different adapters
Some USB adapters works, some don’t. What’s strange is that an adapter who can’t connect on an already configured router, instead works via mactelnet. And viceversa.
Why is that? anyone else experienced compatibility issues with USB ethernet adapters?
Why is this process not documented anywhere? Am I the first one to experience this?
Is it normal for the CRS216 to not have a default configuration? How can I modify the default config, so that when I manually reset it, it reverts to a functioning state?
with the manual ip setting you will solve some issues. normally if you have dhcp enabled on your ethernet, after it fails to get an ip address with DHCP it will default to an IPv4 link local address (also known as zeroconf) from 169.254.0.0/16, which is again “fake” but at least an address.
btw, mactelnet operates with 0.0.0.0 and 255.255.255.255 addresses for communication, and is unencrypted. this being broadcast traffic will be seen in every point of your LAN, so be vary
you don’t need no gateway entry for it to function.
some mactelnet implementations have issues with multiple active interfaces (like ethernet and wifi) and may try to talk on the “other” interface, but you can fix that with a command line argument. the same is true for multiple usb ethernets.
all-in-all it does not matter, what kind of ethernet adapter you are using, it is not device dependent - it must be ethernet or wlan.
no, it is not normal, but i faced this situation multiple times with a wide range of devices which ought to have defconf: hap, hex, rb450, rb850 and also crs125
if you do a /system reset-configuration no-defaults=no
it should fix it.
i think it can happen accidentally during tests as the device boots and a keystroke is received on the console (r for revert) and on the next boot you have an empty config…
Maybe this is because it works on Win but not Linux.
you don’t need no gateway entry for it to function.
anyhow if I don’t set it, it doesn’t work. Very strange
some mactelnet implementations have issues with multiple active interfaces (like ethernet and wifi) and may try to talk on the “other” interface, but you can fix that with a command line argument. the same is true for multiple usb ethernets.
how can I force to use a given adapter? I couldn’t find it with a quick search.
all-in-all it does not matter, what kind of ethernet adapter you are using, it is not device dependent - it must be ethernet or wlan.
That’s what bugs me the most!!! Should I open a bug with mikrotik?
BTW the situation with Winbox is even worse. I can’t make it to works, it doesn’t find any device.
Parameters:
ifname Network interface that the RouterOS resides on. (ex: eth0)
MAC MAC-Address of the RouterOS device. Use mndp to discover them.
username Your username.
password Your password.
if you set "ifname" to "eth0" or whatever your network device is on linux, mactelnet should be only talking through this interface only
if i have some time i will make a patch for the recent version to be able to bind it to a specific interface. i just looked at the code of 2 Star 4 Fork 2 haakonnessjoen to see how it works. it basically skips loopback, and looks for the first interface with mac-address (e.g. ethernet or wifi) then it starts to talk on this.
well, if you do this via “quickset” then this may be true. i don’t really (never ever) use quickset as it is only good if you have blank config - if you have anything set up manually before, it will just screw it up.
when the box is in bridge mode, it acts as a L2 device. and by default it does not have no ip address. so you need to run “dhcp-client” on the bridge interface. then it will request from the DHCP server. but obviously in this case it will not be routing anything. but as far as i know, its a crs210, so essentially a switch, with very limited routing throughput. don’t set it up as a bridge, as it currently uses the CPU to do bridging instead of the hw switch chip, so your throughput will be terrible.
indeed you need an experienced network engineer, familiar with mikrotik switches to have an optimal config.
if the box is in router mode, then i guess it will have an “external” interface, say ether1, and the rest is bridged together as internal network. at least in this case you’d need
dhcp client running on the external interface
firewall nat rule to do masquerading
but don’t do this on the crs2xx series switches. they are absolutely not meant for this.
you can check the installation with the following command:
[bat@hgw2] /ip firewall nat> /system check-installation
status: installation is ok
it will go from 0% to 100% and say whether you are ok. but this checks only the operating system (routerOS) and will not reveal no hw issues.
so far i think you do not have any…
you may check /system resource print for bad blocks on the flash maybe.