Problems setting up HOTSPOT

First of all, I’m a completely newbie to networks so please do not shoot me :confused:

The reason for asking is that the system is delivered to me from a provider that claim they do not support hotspot.

I have a WLAN using RB600A and two wlan zones up running and everything is good. But now I want to add HOTSPOT.

I have followed the Hotspot server setup on the Wiki, but when I get to the last step I get the following error message:
setup failed to configure ip address: failed to add IP address: already have such address (6)

The DNS that I put in is the DNS that I can see doing a “ipconfig /all” on a computer connected to the wlan.

The hotspot address is set to 10.5.50.1/24

On the Route List I have the following:

0.0.0.0/0 194.68.219.145 reachable 530
10.5.50.0/24 bridgeclient reachable
192.168.88.0/24 ether1 unreachable
192.168.254.0/24 bridgeclient reachable
194.69.219.144/28 530 reachable

I would be grateful for any help.

The hotspot interface has two ip subnets assigned. Is this a bridge interface? Which physical interfaces are assigned to it? Which interface is your wan interface? What is ‘530’?
194.69.219.144/28 530 reachable

We would have to see your config to give you much information, but based off of the error, I’m guessing the IP you are trying to add to the hotspot already exists on an interface. Check your IP addresses and move the IP you are trying to add to the hotspot to the hotspot interface if it isn’t there already.

…as I said, I’m totally newbie when it comes to networks. Tell me what you want and how I can get it out of the router and I’ll provide it

See the attached picture. Does that help?

Thanks both for trying to help out.
pic1.jpg

It helps! I presume that the hotspot is assigned to the bridge bridgelienter. Which interfaces are assigned to that interface? How is the ip/subnet assigned?

The two hotspots will be assigned to sone1 and sone2. These are the two wireless zones we have.

The 530 is the VLAN (our uplink) where we are connected to the world of internet.

Please be a bit more specific on where in WinBox I can find the info you need. As I said I’m totally lost in networking…

Two hotspots? Best if you get one running first. Which interface is the most important?

Then what is bridgeleiter? It is a bridge. Which interfaces are assigned to it?
Please post “/ip address”.

Yes the plan was to start by setting up a hotspot on sone1 and get that to work before starting with sone2 but for the moment no hotspot is defined due to the error I get running the hotspot wizard.

The “Bridgeklienter” (or Bridge clients in English) is the bridge :open_mouth:

Here is the picture of ip address
pic2.jpg

What physical interfaces are assigned to the bridge? If there aren’t any physical interfaces assigned to a bridge it will not work.

I see that there is already an IP assigned to sone1, so if you are trying to add the same IP address again, that’s where the error is coming from. Try deleting it and going through the setup again.

Where can I see which physical interfaces that are assigned?
Remember both sone1 and sone2 are working perfectly without hotspot.

I removed the IP assignement for the hotspot network in the Adress List and tried to run the wizard again.

This time I get to the last step and get the following error message:
setup failed to add ip pool: pool with such name exist

So where do I start looking now?

After playing around with the system I saw that the ether1 was having the same network addresses as I was trying to assign to the hotspot. I’m not sure what ether1 is or if it is just a default interface that can be deleted.

Well anyhow I tried one more time now setting the network pool to 192.168.89.1/24 instead and now the wizard went the whole way and no error messages.

So now I have a hotspot server showing up but it’s red and marked as Invalid.
The same with DHCP servers it’s there but marked as Invalid.

Can I just delete these?

If they are showing invalid, the interface has been disabled or removed if it was a bridge. You can remove them and start over if you wish.

You can view what physical interfaces are assigned to the bridge by going to /interface bridge port export.

Since you have apparently used the the wizard before or you are trying to reuse what has already been set up, that is where the errors are coming in. The wizard is trying to remake stuff that already exists with the same information/names and that is where your errors happen.

At this point:
1.) You can wipe the config and start over and see what you can do. If it’s live and people are using it and relying on it, I would not recommend this.
2.) Run export from the top level of the CLI and read over your current config and get a feel for it and see what you can change and move around to get a feel for the MikroTik and how it works. Once again if it’s live and people are using it and relying on it, I would not recommend making too many changes.
3.) Get a test box set up in your office run through the wizards and take a look at the config after they have been run, and compare it to your working config and see what changes you need to make.

All the wizards do is run built in scripts that write the relevant configuration parts for you based off of the information you feed them. You don’t need to use them to get these things set up if you know what it writes and where it writes it, you can do it manually.

jul/04/2010 11:24:51 by RouterOS 4.10

software id = N2AB-9GLX

/interface bridge port
add bridge=bridgeklienter comment=“” disabled=no edge=auto external-fdb=auto horizon=none
interface=sone1 path-cost=10 point-to-point=auto priority=0x80
add bridge=bridgeklienter comment=“” disabled=no edge=auto external-fdb=auto horizon=none
interface=sone2 path-cost=10 point-to-point=auto priority=0x80


This is what I discovered after some time too. The wizards puts in information in a lot of places. I have to admit that I managed to destroy the settings so totally that I had to contact the company that sold us this solution and get them to reset everything back to the start again. No, I had not taken a local backup before I started :frowning: I have now :smiley:

This is exactly why I was so stressed earlier in the week. The system is going live today…

I have totally abounded the thought of using hotspot for the time being. I’ll have to relay on the wpa2 code for giving people access to the network and then just change this quite often.

The hotspot functionality has to wait until the end of the camping season ie a couple of months. Then I’ll try again.

…in the mean time I’ll start to read the documentation regarding queuing and see if I can get one specific IP-address to have pri1 while the rest have pri8, but that is another thread…

I would recommend picking up a 450 for a 750 to use as a test box, the 450 is nice since it has a console port so you can always get into it if you screw up the config royally. Either of these boxes will have more than enough horsepower to deal with anything you throw at them in the office, and are cheap enough for it to be a good investment. This way you can do whatever you want to it in a lab environment and figure most everything out without breaking anything critical, and save you a lot of stress and lost hair :smiley: .

Another thing you may want to consider is sending yourself a backup on a schedule with the router. These come in very handy to get something back up and running when it breaks. You’ll need to set up the e-mail tool to bounce the e-mails off of a relay server, but that’s not very hard.

add comment="" disabled=no interval=1w name=sched_backup on-event=backup policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive start-date=jan/01/1970 \
    start-time=07:30:00
add name=backup policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive source="/export file=([/system identity get name] . \"-\" . \\\
    \n[:pick [/system clock get date] 7 11] . [:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4 6]); \\\
    \n/tool e-mail send to=\"backups@domain.com\" subject=([/system identity get name] . \" Backup \" . \\\
    \n[/system clock get date]) file=([/system identity get name] . \"-\" . [:pick [/system clock get date] 7 11] . \\\
    \n[:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4 6] . \".rsc\"); :delay 10; \\\
    \n/file rem [/file find name=([/system identity get name] . \"-\" . [:pick [/system clock get date] 7 11] . \\\
    \n[:pick [/system clock get date] 0 3] . [:pick [/system clock get date] 4 6] . \".rsc\")]; \\\
    \n:log info (\"System Backup emailed at \" . [/sys cl get time] . \" \" . [/sys cl get date])"

If I was in to networking I would definitely look into this, but the truth is I’m just a user that was given the responsibility to get the WLAN to work a week ago since the company that has delivered the system claims that they do not give any support on hotspot/wlan. But it’s always fun to try to learn something new :smiley:

Hey, hey, hey take it easy remember I’m a total newbie :laughing:

I have made sure that I have several copies of the existing setup and I’m not going to play around with anything more (- I think -) until most customers disappear in a two months time.

…but it would be interesting to know how I set up the email…

It’s very easy to set up. Go to Tools and E-mail in Winbox or the CLI and set up your server, port number is almost always port 25, the From field can be from anything you want it to be, and if your relay server requires a user name and pass to send e-mails enter in those. After that you can send out e-mails.

You can also specify these options from the CLI when you are sending out the e-mail instead of having it pre-setup.