Community discussions

MikroTik App
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Invalid USB port after powerloss on 443U

Tue Sep 01, 2009 4:35 pm

USB HUAWEI hsdpa stick is in use.
After powerloss, USB port has 'invalid' state, a new usb port appears (USB2) and a new PPP client connection.
new PPP connection uses USB2 port and is disabled.
when i configure the new connection and simulate another powerloss, the same thing happens. Another USB port is created 'USB3', another PPP connection is created that uses the new usb port (PPP3) and since the apn, username and password is not in this connection and now i have two USB ports that have 'invalid' state.

i have contacted support regarding this bud received no help. The only answer was: see? it's working.
nothing about invalid usb ports was mentioned even when asked again.

New thing that happens is that rb433 reboots constantly when USB stick is inserted on powerup. if i insert the usb stick when the device is already runing, the device starts rebooting for a few times and when it finaly boots up, the USB prots problem is here again.

I have tryed 3.28 and beta 4... the same thing.


Does anyone have the same problem and have came up with a sollution of any kind?


thanks
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Invalid USB port after powerloss on 443U

Tue Sep 01, 2009 7:19 pm

are you providing enough power for the board and all peripherals, including quite a bit of power for the usb device? I know usb max is supposed to be 500ma, but some of those draw more and might need additional power.
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Invalid USB port after powerloss on 443U

Tue Sep 01, 2009 7:57 pm

It rebooted when i used non original power supply so that could be it...

but my bigger problem is with USB ports....
is that a bug in RouterOS or bug on this particular board model or bug in my board?
Support guy saw that there is one enabled PPP interface which uses one active USB port and said that it's all ok. but still, when i simulate powerloss, all hell breaks loose. At one point i had 27 invalid usb ports and 27 ppp interfaces and each interface was set up to use its particular usb port....
but only the interface i created was configured properly but its usb port is now invalid.

What to do?
 
changeip
Forum Guru
Forum Guru
Posts: 3833
Joined: Fri May 28, 2004 5:22 pm

Re: Invalid USB port after powerloss on 443U

Tue Sep 01, 2009 8:14 pm

send some supouts and screenshots. I have a friend with the same problem and I will try to get him to send some as well.
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Invalid USB port after powerloss on 443U

Tue Sep 01, 2009 8:42 pm

Now when i need it, i can't replicate the problem.... for no apperant reason.

All this would not suprize me but i made it work on the first attempt and now this.
Have just tryed a reset-configuration and start all over again and now it stops on initializing modem...

Still can't replicate the problem...
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Invalid USB port after powerloss on 443U

Wed Sep 02, 2009 2:27 pm

I managed to make Ericsson F3507g work http://wiki.mikrotik.com/wiki/Supported ... s.27.27.27
it needed minor tweaks - described on the link
But mikrotik cant read anything from the modem - you must connect via serial terminal and query the modem by at commands.


so i will not bother with the usb stick anymore. price of the ericsson module here is 100$ if bought one peace at the time so i consider this a very good price since it is not locked to a single provider.
 
ncmalan
just joined
Posts: 8
Joined: Tue Sep 08, 2009 11:06 pm

Re: Invalid USB port after powerloss on 443U

Tue Sep 08, 2009 11:11 pm

I managed to make Ericsson F3507g work http://wiki.mikrotik.com/wiki/Supported ... s.27.27.27
it needed minor tweaks - described on the link
But mikrotik cant read anything from the modem - you must connect via serial terminal and query the modem by at commands.


so i will not bother with the usb stick anymore. price of the ericsson module here is 100$ if bought one peace at the time so i consider this a very good price since it is not locked to a single provider.
tplecko

Could you please give some more detail as to how you got the Ericsson card to work?

I also have the Ericsson F3507g, on a MikroTik 411U with RouterOS 3.28.

If I change the settings to reflect your tweaks (Data & Info Channel to 3, and Modem Init String), the card still does nothing. I will really appreciate your help!
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Invalid USB port after powerloss on 443U

Sun Sep 13, 2009 7:29 pm

Have put that particular configuration to live testing.
Just bougth 6 more (Routerboards and modems) and will setup them tomorrow.
If everything works fine (at first attempt), i will backup the configuration and post it here so you can analyze what i did.
 
ncmalan
just joined
Posts: 8
Joined: Tue Sep 08, 2009 11:06 pm

Re: Invalid USB port after powerloss on 443U

Sun Sep 13, 2009 7:55 pm

Thanks! That would help a great deal! Appreciate it!
Have put that particular configuration to live testing.
Just bougth 6 more (Routerboards and modems) and will setup them tomorrow.
If everything works fine (at first attempt), i will backup the configuration and post it here so you can analyze what i did.
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Invalid USB port after powerloss on 443U

Mon Sep 14, 2009 6:44 pm

Apparently, .backup extension is not allowed, so just rename the file to .backup.

I left all the scripts.
Find the script ScrSettings, enter there your change ip account if you use it, please, change 'to' address to something yours (i am to lazy to change it, and i just realized that it's still mine)
There is a condition thet depending on connection APN, mail server and domain change so that when I restore the configuration the only thing i have to change is change ip domain and apn if other provider is used
PPP interface has comment with all init strings i found. The one used works fine so i haven't even tryed the rest but left them so i have them if problems occour.

regards
You do not have the required permissions to view the files attached to this post.
 
ncmalan
just joined
Posts: 8
Joined: Tue Sep 08, 2009 11:06 pm

Re: Invalid USB port after powerloss on 443U

Mon Sep 21, 2009 7:08 pm

Hi tplecko

Thanks for the trouble. I did a restore of the backup, only to find that I no longer know the password. Can you please tell me what the admin password is for the backup?

I you would rather not tell, can you upload another backup that has a blank password or "admin" as password...

Thanks!!
Apparently, .backup extension is not allowed, so just rename the file to .backup.

I left all the scripts.
Find the script ScrSettings, enter there your change ip account if you use it, please, change 'to' address to something yours (i am to lazy to change it, and i just realized that it's still mine)
There is a condition thet depending on connection APN, mail server and domain change so that when I restore the configuration the only thing i have to change is change ip domain and apn if other provider is used
PPP interface has comment with all init strings i found. The one used works fine so i haven't even tryed the rest but left them so i have them if problems occour.

regards
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Invalid USB port after powerloss on 443U

Tue Sep 22, 2009 1:36 pm

If only i could send you a private message....

I belive that ClarkKent would help you in this case.


Please tell me if it works for you.


Regards
 
ncmalan
just joined
Posts: 8
Joined: Tue Sep 08, 2009 11:06 pm

Re: Invalid USB port after powerloss on 443U

Wed Sep 23, 2009 9:02 am

Great Stuff

Thanks, Cloe Sullivan is extremely grateful! Although she agrees on the PM comment...

I might have some questions about the scripts, as it is some hard-core stuff you're doing. For instance, where do I change my APN name, username and Password? You have multiple APN setups, and I see global variables for APN names, but I cannot seem to find the place where I can make the changes. In my case it is simple, I only want connectivity and on either of the local operators the following settings work perfectly:

APN = internet
Username = <empty>
Password = <empty>
 
Repa
just joined
Posts: 5
Joined: Wed Nov 17, 2004 12:07 am

Re: Invalid USB port after powerloss on 443U

Wed Sep 30, 2009 10:16 am

Dear tplecko,

Could you send the admin password for the backup?

Regards
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Invalid USB port after powerloss on 443U

Wed Oct 14, 2009 5:22 pm

Great Stuff

Thanks, Cloe Sullivan is extremely grateful! Although she agrees on the PM comment...

I might have some questions about the scripts, as it is some hard-core stuff you're doing. For instance, where do I change my APN name, username and Password? You have multiple APN setups, and I see global variables for APN names, but I cannot seem to find the place where I can make the changes. In my case it is simple, I only want connectivity and on either of the local operators the following settings work perfectly:

APN = internet
Username = <empty>
Password = <empty>
Sorry for the long delay.
The image is attached (winbox example)


EDIT:
I just realized what you are asking.

The multiple apn setup here is meant to cut the work on changing scripts when i have to change my GSM provider. The APN itself you have to enter manualy in the PPP connection. The script reads which APN is in use and then changes mail server so the scripts can send mail.

Havent figuret out how to read the owner (provider) of the gsm card (if it can be done at all?). If i figure THAT out, my device will be wwan ap for dummys (just insert card and it will work)
You do not have the required permissions to view the files attached to this post.
Last edited by tplecko on Wed Oct 14, 2009 5:29 pm, edited 1 time in total.
 
User avatar
tplecko
Member Candidate
Member Candidate
Topic Author
Posts: 120
Joined: Mon Jun 11, 2007 12:18 pm
Location: Croatia
Contact:

Re: Invalid USB port after powerloss on 443U

Wed Oct 14, 2009 5:23 pm

I belive that ClarkKent would help you in this case.
it's here 8-)
 
egalan
just joined
Posts: 1
Joined: Thu Feb 18, 2010 2:31 am

Re: Invalid USB port after powerloss on 443U

Thu Feb 18, 2010 9:00 am

Hello tplecko, Can you send me a private msg. with the user and passw. por the backup file?

Thank you
 
ncmalan
just joined
Posts: 8
Joined: Tue Sep 08, 2009 11:06 pm

Re: Invalid USB port after powerloss on 443U

Fri Feb 19, 2010 9:38 am

egala

There are no PMs, all the info is in the thread, just read :)
If only i could send you a private message....

I belive that ClarkKent would help you in this case.


Please tell me if it works for you.


Regards
 
rayanah
just joined
Posts: 1
Joined: Fri Sep 27, 2013 10:53 am

Re: Invalid USB port after powerloss on 443U

Fri Sep 27, 2013 10:58 am

yesterday while working properly, i feel some sound and then saw USB was not working.

Who is online

Users browsing this forum: No registered users and 12 guests