Skip to main content

MTU and file transfers

A note to self, but may benefit someone facing a similar problem.

Problem
SSH-ing to our server was working well. But, file transfers like scp, git push were failing.
Diagnosis
I had been thinking it was a problem with our campus network on the first night and was too sleepy to try and fix it. But things didn't improve even after one full day. Then I asked a friend of mine, and he confirmed that he has been facing the same problem for a couple of days. I then tried file transfers to another server and it was working fine. Then I tried file transfers between the two servers and even that worked fine!
Solution
After some googling, I figured that the problem was with a machine between me and the server. Changing the mtu to 1492 from 1500 on the server, fixed the problem. :)

Pandoc can now do Org

Pandoc is a haskell library and a command line tool, that can convert markup from one to another and it does it pretty well. Until now it supported quite a few markups, but not orgmode. But now, Orgmode support has been added! Yay!

But, it can only read from other formats and write to org-mode format. The other way around, is not possible, but you can do that straight from org-mode, right?

I've often felt the need for an org-importer and hence decided to do something about it. I stumbled upon Pandoc, when I was moving my blog, and found it pretty neat. After, yet another request for an importer, on the org-mode mailing list, I decided to look at Pandoc. I was somehow under the impression that it was written in Python. But it turned out, I had to learn Haskell! A good excuse to learn a new language, eh? I brushed through a tutorial for a couple of days (and was blown off by the paradigm of the language) and was able to port the RST writer in Pandoc, to an Org writer. :)

You can get the latest version from here

Bookmarks [2010/12/02]

Bookmarks [2010/12/01]