Community discussions

 
Askey307
newbie
Topic Author
Posts: 49
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

Winbox on Linux Problems

Thu Mar 08, 2018 11:40 am

Good Morning

I'm currently running Linux Mint 18.3 with Winbox 3.12 however my problem is that Winbox (Wine) does not discover devices and cannot use mac address. So I can only use Winbox with IP addressing if I know what the address is and I cannot risk resetting the unit because I won't be able to log into the unit again with 0.0.0.0.

Do any of you have some success stories?

Kind Regards
 
User avatar
Steveocee
Forum Guru
Forum Guru
Posts: 1110
Joined: Tue Jul 21, 2015 10:09 pm
Location: UK
Contact:

Re: Winbox on Linux Problems

Thu Mar 08, 2018 1:44 pm

I ran Winbox on Ubuntu for a long time with no issues. MAC discovery would only work though if I had a gateway set on the interface so maybe that could be something to try.
Steve "Steveocee" Carter
PC Gamer, Airsofter, MikroTik Nerd
My Website - My MikroTik Tutorials
 
Askey307
newbie
Topic Author
Posts: 49
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

Re: Winbox on Linux Problems

Thu Mar 08, 2018 3:46 pm

I ran Winbox on Ubuntu for a long time with no issues. MAC discovery would only work though if I had a gateway set on the interface so maybe that could be something to try.

Tried that, still doesn't discover anything. Tried it on a Ubuntu machine also no luck. Still can only use the unit's IP address.
 
User avatar
null31
Member Candidate
Member Candidate
Posts: 177
Joined: Fri Dec 23, 2016 6:07 pm
Location: Brazil

Re: Winbox on Linux Problems

Thu Mar 08, 2018 4:15 pm

I don't have problems since wine-1.8.0 on Arch Linux. To access via MAC address, I need to set-up at least a IPv4 link-local address on interface.

MAC discovery would only work though if I had a gateway set on the interface [...]
Same here.
 
BRMateus2
Frequent Visitor
Frequent Visitor
Posts: 70
Joined: Thu Oct 26, 2017 11:18 pm

Re: Winbox on Linux Problems

Thu Mar 08, 2018 4:39 pm

Winbox officially doesn't support MAC at Linux, and the default settings from the MikroTik starts IP at 192.168.88.1.
 
User avatar
strods
MikroTik Support
MikroTik Support
Posts: 1407
Joined: Wed Jul 16, 2014 7:22 am
Location: Riga, Latvia

Re: Winbox on Linux Problems

Thu Mar 08, 2018 4:47 pm

Have you actually connected Windows device instead of Linux machine and tested this? Maybe simply ND is disabled on RouterBOARDs in your network. We are not aware about any issues with Winbox discovery neither on Windows, Linux or Mac.
 
sid5632
Member
Member
Posts: 352
Joined: Fri Feb 17, 2017 6:05 pm

Re: Winbox on Linux Problems

Thu Mar 08, 2018 6:28 pm

Have you actually connected Windows device instead of Linux machine and tested this? Maybe simply ND is disabled on RouterBOARDs in your network.
I'm running Mint 17.3 and discovery does NOT work with 3.11 or 3.12. Using a Windows machine on the same network, it all discovers as you would expect (with the usual weirdness of the unreliability of CHRs of course).
 
User avatar
Steveocee
Forum Guru
Forum Guru
Posts: 1110
Joined: Tue Jul 21, 2015 10:09 pm
Location: UK
Contact:

Re: Winbox on Linux Problems

Thu Mar 08, 2018 6:51 pm

Have you actually connected Windows device instead of Linux machine and tested this? Maybe simply ND is disabled on RouterBOARDs in your network.
I'm running Mint 17.3 and discovery does NOT work with 3.11 or 3.12. Using a Windows machine on the same network, it all discovers as you would expect (with the usual weirdness of the unreliability of CHRs of course).
If Windows works and Linux doesn't then maybe it could be something to do with a recent change in the emulator? Any chance of trying a Ubuntu machine as that has always previously worked for me.
Steve "Steveocee" Carter
PC Gamer, Airsofter, MikroTik Nerd
My Website - My MikroTik Tutorials
 
sid5632
Member
Member
Posts: 352
Joined: Fri Feb 17, 2017 6:05 pm

Re: Winbox on Linux Problems

Fri Mar 09, 2018 2:39 am

I'm running Mint 17.3 and discovery does NOT work with 3.11 or 3.12. Using a Windows machine on the same network, it all discovers as you would expect (with the usual weirdness of the unreliability of CHRs of course).
If Windows works and Linux doesn't then maybe it could be something to do with a recent change in the emulator? Any chance of trying a Ubuntu machine as that has always previously worked for me.
I tried it on another machine running 17.3 and it works there, so it's not clear cut as to what my problem is. The non-working machine has multiple network interfaces, whereas the working one only has one. I guess I need to Wireshark it to see what's going on. I presume Winbox sends MNDP packets out on all interfaces...
 
Askey307
newbie
Topic Author
Posts: 49
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

Re: Winbox on Linux Problems

Wed Mar 14, 2018 1:18 pm

On Windows and Mac and Fedora but Mint and Ubuntu no luck. Was there a specific Winbox version you guys used that actually worked? I don't want to go back to Winbox 2 due to the Malware on it's dll files.

Can't always have static addressing but going to try it tomorrow when i'm back at work.
 
Askey307
newbie
Topic Author
Posts: 49
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

Re: Winbox on Linux Problems

Tue Apr 17, 2018 11:50 am

Have you actually connected Windows device instead of Linux machine and tested this? Maybe simply ND is disabled on RouterBOARDs in your network. We are not aware about any issues with Winbox discovery neither on Windows, Linux or Mac.
Mikrotik's work great. I've tested with Arch, Mint and Ubuntu. No discovery or Mac address use available on winbox. Can only use the Ip to login if I know what the IP is.
 
User avatar
ErfanDL
Member Candidate
Member Candidate
Posts: 276
Joined: Thu Sep 29, 2016 9:13 am
Location: IRAN
Contact:

Re: Winbox on Linux Problems

Tue Apr 17, 2018 12:51 pm

Thats funny! RouterOS is linux based but management software ( winbox) available only for windows. :))

Sent from my C6833 using Tapatalk

 
Askey307
newbie
Topic Author
Posts: 49
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

Re: Winbox on Linux Problems

Mon Apr 30, 2018 10:08 am

Thats funny! RouterOS is linux based but management software ( winbox) available only for windows. :))

Sent from my C6833 using Tapatalk

I've just had a big LOL on your comment. Same with a lot of brands. Controllers and software are linux based and the discovery tools etc are windows. Why can't they just build it in java that is supported by all platforms haha.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24206
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Winbox on Linux Problems

Mon Apr 30, 2018 10:12 am

Why can't they just build it in java that is supported by all platforms haha.
Winbox was pure JAVA app until v2.4 actually.
We ourselves use Winbox in Wine, it works great.
No answer to your question? How to write posts
 
Askey307
newbie
Topic Author
Posts: 49
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

Re: Winbox on Linux Problems

Mon Apr 30, 2018 10:16 am

Why can't they just build it in java that is supported by all platforms haha.
Winbox was pure JAVA app until v2.4 actually.
We ourselves use Winbox in Wine, it works great.
It works great when using the IP but it does not discover any devices and layer 2 login does not work. Both my Arc and Ubuntu machines. What did you do differently on your machine to get it to work @Normis.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 24206
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: Winbox on Linux Problems

Mon Apr 30, 2018 10:23 am

Maybe you have this feature turned off on the particular interface?

Post results of:

"/tool mac-server mac-winbox export"
"/ip neighbor export"

Does this computer interface have an IP address set on it or not ?
No answer to your question? How to write posts
 
antonsb
MikroTik Support
MikroTik Support
Posts: 195
Joined: Sun Jul 24, 2016 3:12 pm
Location: Riga, Latvia

Re: Winbox on Linux Problems

Mon Apr 30, 2018 10:32 am

With static addresses on Arch Linux KERNEL: Linux 4.16.4-1, No issues at all.
You can try to launch wine under different wine prefix:
WINEPREFIX=~/.winbox wine winbox.exe
 
Askey307
newbie
Topic Author
Posts: 49
Joined: Fri Sep 29, 2017 10:20 am
Location: South Africa
Contact:

Re: Winbox on Linux Problems

Mon Apr 30, 2018 12:06 pm

Maybe you have this feature turned off on the particular interface?

Post results of:

"/tool mac-server mac-winbox export"
"/ip neighbor export"

Does this computer interface have an IP address set on it or not ?

Will post the results to you asap. Thank you.
 
g3726480
just joined
Posts: 8
Joined: Sun Apr 29, 2018 9:33 pm

Re: Winbox on Linux Problems

Mon Apr 30, 2018 10:27 pm

Winbox 3.13 also works fine for me under Linux.
If in doubt, you can always manually scan for mac-addresses in your network.
Using arp-scan for example:
arp-scan -I eth0 192.168.88.0/24
"eth0" has to be replaced with your network card. If your Network is different "192.168.88.0/24" also have to be changed.
"arp-scan" is available for most Linux distros or can be installed easily.
 
Barones
just joined
Posts: 2
Joined: Tue Apr 17, 2018 11:07 pm

Re: Winbox on Linux Problems

Fri Feb 22, 2019 4:51 pm

I don't have problems since wine-1.8.0 on Arch Linux. To access via MAC address, I need to set-up at least a IPv4 link-local address on interface.

MAC discovery would only work though if I had a gateway set on the interface [...]
Same here.
I tested it confirm as well in linux mint 19.1 tessa, I could only acces through mac-access if I had an IP setup on interface
 
tlaguz
just joined
Posts: 2
Joined: Fri Jul 19, 2019 3:31 pm

Re: Winbox on Linux Problems

Mon Jul 22, 2019 3:30 pm

Winbox MAC discovery and connect using MAC address works for me.
Ubuntu 19.04
Kernel: 5.0.0-20-generic
Wine: wine-4.12.1 (Staging)
Winbox: v3.19

It didn't work because I had ufw enabled. After disabling and clearing iptables it worked.

The only issue I am having now is with DPI scaling, everything else works great.
 
bhb
just joined
Posts: 1
Joined: Thu Dec 06, 2018 5:01 pm

Re: Winbox on Linux Problems

Sun Sep 01, 2019 1:07 am

Winbox MAC discovery and connect using MAC address works for me.
Ubuntu 19.04
Kernel: 5.0.0-20-generic
Wine: wine-4.12.1 (Staging)
Winbox: v3.19

It didn't work because I had ufw enabled. After disabling and clearing iptables it worked.

The only issue I am having now is with DPI scaling, everything else works great.
With OpenSUSE Leap 15.1 was the same issue - firewall!

Who is online

Users browsing this forum: No registered users and 16 guests