Community discussions

MikroTik App
 
minfrin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat May 09, 2009 2:20 am

Setting the initial IP address - how?

Wed May 13, 2009 12:35 am

Hi all,

I have a brand new routerboard, and I need to set its initial address. I tried to Google for details of what the default IP address might be, and came back with hits to say there isn't one (???).

I found the page below, describing how I might run winbox.exe through the Darwine emulator for MacOSX. Unfortunately winbox.exe crashes immediately on startup, and so doesn't work.

http://wiki.mikrotik.com/wiki/Initial_M ... Connection

Attempting a tcpdump shows no traffic from the routerboard to reveal an initial IP address. I attempted a quick-and-dirty DHCP server setup in the hope that the routerboard would auto-assign itself an address and reveal its address via either tcpdump or the dhcp leases file, but no joy.

Until I give this thing an IP address, the routerboard is a brick, is there no way to get this system to obtain some kind of default setup from which it can be bootstrapped?

Regards,
Graham
--
 
minfrin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat May 09, 2009 2:20 am

Re: Setting the initial IP address - how?

Wed May 13, 2009 1:21 am

Some brief success with Darwine, the most recent development version (1.1.20) won't work, you need to use the latest stable version (1.0.1) for winbox to start.

The success is short lived - winbox cannot find the routerboard, with one exception - if an attempt is made to leave the search window open, and the routerboard is power cycled, at the point of the second beep, it's mac address appears.

An attempt to connect to this mac address fails however, with the message "timed out". It looks like this message is broken though, because the message shows instantly, there is no (little) time that has passed between the time you click connect and the time the error message appears.

Is there another way I should be doing this, or is the board faulty?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26916
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia
Contact:

Re: Setting the initial IP address - how?

Wed May 13, 2009 2:18 pm

MAC connection can't work in Wine, you will need to use Serial Console to configure your device. This page is better: http://wiki.mikrotik.com/wiki/First_time_startup
 
minfrin
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 66
Joined: Sat May 09, 2009 2:20 am

Re: Setting the initial IP address - how?

Sun May 17, 2009 4:15 am

This directly contradicts the advice given on the Miktrotik wiki here:

http://wiki.mikrotik.com/wiki/Initial_M ... Connection

Would it be possible to take this wiki page down, as it no longer seems accurate?

I had no luck with a serial cable either, what eventually worked was to hard reset the routerboard by shorting out the reset pins during startup. At this point, the routerboard had an assigned IP address, and I was able to connect to it.

It is not yet clear why the board I was sold did not have an IP address, I suspect I might have been sold a second hand or returned board as new.
 
cas3ter01
just joined
Posts: 18
Joined: Mon Jun 08, 2009 9:21 pm

Re: Setting the initial IP address - how?

Mon Jun 08, 2009 9:47 pm

Who is online

Users browsing this forum: No registered users and 37 guests