Community discussions

MikroTik App
 
pedja
Long time Member
Long time Member
Topic Author
Posts: 684
Joined: Sat Feb 26, 2005 5:37 am

GIve us a WGET

Sat Dec 02, 2006 9:04 am

Can you please, please, please, please add wget into MT?

Please?
 
ngds
just joined
Posts: 20
Joined: Fri Sep 15, 2006 3:41 am

Sun Dec 03, 2006 8:13 pm

Yeah, please wget would help a lot.
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Mon Dec 04, 2006 2:12 am

please please please for 3.x.

Sam
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Mon Dec 04, 2006 9:43 am

and some torrent client too. :roll: and iTunes music sharing (DAAP) :roll:
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Mon Dec 04, 2006 12:39 pm

Well, wget would have its' justifications, opposed to the others.

Imagine a scheduled script (once a day) downloading a RouterOS script file (.rsc) using wget and executing that.
So you could do a pull-style update of firewall chains, queues, ... opposed to having to do it push-style right now, i.e. putting the script on the RouterOS machine via FTP/SCP, login there and run the command to execute it...

Best regards,
Christian Meis
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26379
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Mon Dec 04, 2006 12:43 pm

why do you want to configure all your routers to do something, that can be done on one PC that does the `push` thing.

scenario one: you configure 100 routers to connect to your FTP server and download something from there. then the FTP server's IP changes ...

scenario two: you configure your FTP server to connect to your 100 routers and put something there. then make it easier by making a script that can not only FTP, but also SSH and execute some commands. And THEN you make good use of the API and make a nice GUI for it.
 
User avatar
bjohns
Member Candidate
Member Candidate
Posts: 271
Joined: Sat May 29, 2004 4:11 am
Location: Sippy Downs, Australia
Contact:

Mon Dec 04, 2006 1:03 pm

why do you want to configure all your routers to do something, that can be done on one PC that does the `push` thing.
A combination of the two is used by other hotspot access controllers.

Set up a radius user for the access controller that contains a bunch of AVPair attibs with values like login-url=http://remote.login.serv/login.php. Assign them to a usergroup if you want. Access controller logs in using this account, picks up its configuration and then caches pages locally and/or sets up the redirect rules.

Using this method you could give the router a bare bones config and it will pick up the rest from radius.
 
User avatar
jp
Long time Member
Long time Member
Posts: 609
Joined: Wed Mar 02, 2005 5:06 am
Location: Maine
Contact:

Mon Dec 04, 2006 2:14 pm

Well the MT wouldn't need to operate as a FTP server in order to receive files. FTP server == security hazard in many people's security education.

I don't use Dude because we're an "avoid MS Windows" operation on the server side. It didn't work right in wine on my box when it first came out and I haven't tried it since. It may work fine for me now.
 
User avatar
sergejs
MikroTik Support
MikroTik Support
Posts: 6695
Joined: Thu Mar 31, 2005 3:33 pm
Location: Riga, Latvia
Contact:

Mon Dec 04, 2006 2:23 pm

JP, you need to try Dude on wine.
I'm running Dude server and client without any problems.
1) you need to use connect to 'remote' 127.0.0.1 instead of 'local', if server is running on your Linux machine.
2) run Dude from root account or set permissions to your users, as tools ping might now work.
All other features should work as on M$.
 
changeip
Forum Guru
Forum Guru
Posts: 3830
Joined: Fri May 28, 2004 5:22 pm

Mon Dec 04, 2006 5:56 pm

why do you want to configure all your routers to do something, that can be done on one PC that does the `push` thing.
1. Remote data / scripts / blacklists / whitelists / rules can be pulled without giving someone access to your router.

2. Info can now be pushed out to collectors rather than be polled. For values you cannot get at using SNMP you can call a web service URL to post the data.

3. Why poll every so often to query a value when you could push when the value changes.

4. Self contained. Sure, we use a PC with SSH now to do what we need, but it's another PC that really doesn't need be there if we had wget on the router.

wget is only like 1k right? There has been push back for years now on this subject, if there is a reason why wget cannot be used with MT then just say so and stop people wondering. Even if wont be added, how about a 'telnet xyz.abc 80' with an initial string to xmit on connect : )

Sam
 
User avatar
janisk
MikroTik Support
MikroTik Support
Posts: 6263
Joined: Tue Feb 14, 2006 9:46 am
Location: Riga, Latvia

Tue Dec 05, 2006 9:10 am

IMHO wget could be useful. it does not have to be as an integrated tool for everyone, but as additional package that can or cannot be installed, which you could download separately f you really need it. :roll:

it could come with additional disclaimer that no functionality will be available to winbox, just command line (scripting) utility.

all it has to do is to download file and place in so that file can be seen afterwards using /file print command

think - thats would be enough

EDIT:

and no mention of that in manual, as usual :wink:
 
freebird
Frequent Visitor
Frequent Visitor
Posts: 98
Joined: Sun Feb 20, 2005 1:16 pm

Tue Dec 05, 2006 10:41 am

wget would help integrating different DynDNS providers. Every 30$ SOHO
router has at least 3-5 differnt DynDNS provider to choose from ...
Nearly every one offers a HTTP GET interface ...

You can even write your own PHP or other webserver scripts that accepts
individual GET requests/data send via wget.

seandsl
--

P.S. changeip, you are running a wonderful service, this would just bring
some more flexibility ...

Who is online

Users browsing this forum: aTan, gene, jaclaz and 141 guests