http://qs1969.pair.com?node_id=1030236


in reply to x.25 with perl

A google search for X.25 comes up with lots of information. There are many variations of this protocol since it's been around for decades.

Are you using a hardware PAD or are you looking to develop a Perl software PAD using something like Device::SerialPort? How many circuits do you need to support? What circuit types are you using?

Update1: Search also for "IP over X.25". X.25 is a transport protocol and you will still need a higher level protocol to support the file transfer i.e. FTP. So, are you planning to tunnel IP via X.25? Cisco supports X.25 tunnels.

James

There's never enough time to do it right, but always enough time to do it over...

Replies are listed 'Best First'.
Re^2: x.25 with perl
by bh_perl (Monk) on Apr 24, 2013 at 12:01 UTC

    hi

    Thanks for your reply.

    Yes, I am plan to tunnel IP via X.25. As your info, our server will connect into cisco router and the cisco router will connect into X.25 protocol to communicate with the swicthes. So, I plan to develop a perl program to collect files from the swicthes to our server via the connection.

    I have found this package :-

    UCP.pm

    is it work with X.25 ?

    Please guide me...

    Thank you

      Assuming your network guys get the X.25 tunneling set up correctly on the Cisco routers, the packet transport should be transparent to your application. You just need an FTP client. TCP/IP hides the hardware layers from your application which is it's purpose after all.

      Search PerlMonks for FTP. SuperSearch PerlMonks for FTP. Search CPAN for FTP and SFTP. Looks like Net::FTP, Net::FTP::File, or Net::SFTP should do what you need. I have no direct experience with any of these packages.

      These modules should make your application pretty straight forward. There are many posts on this topic and I'm sure this task has been solved many times.

      James

      There's never enough time to do it right, but always enough time to do it over...

        hi..

        is it i can used FTP to collect files from swicthes via X.25 protocol ?

        There are no ip address on the swicthes side. But i have ip address on the cisco route.

        So how could i collect files from the swicthes to our server ?