Kermit- dialup and network connection


 
Thread Tools Search this Thread
Special Forums IP Networking Kermit- dialup and network connection
# 1  
Old 03-09-2006
Lightbulb Kermit- dialup and network connection

hi all,
Using kermit, i made serial dialup connetion between two PCs through telephone line and transfered files trough this line. The code appears as like this,

set modem type generic #Setting the modem type.
set modem data-compression on #Data compression on to speed up transfer.
set line /dev/ttyS0 #Modem is connected to COM1 which is in /dev/ttyS0.
set flow rts/cts #Setting the flow control to rts/cts.
take /usr/local/App/Out/ #opening file
set dial method tone #Tone dialing.
set dial ignore-dialtone on #Don't wait for dial tone (only for D-Link modems).
clear device-and-input #Clearing the device buffers.
set file collision discard #If the same file is received again, discard it.

And now I need to change this code for network connection. (As the telephone line connection is to be replaced with MAN)
Is it possible to migrate code from dialup to network connection?
Can I use socket programming for achieve this?
Is there any other protocol to transfer a file through leased line in linux platform?

Expecting a detailed favourable reply,
Thanks & rgds,
PC Saji
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Solaris Network Connection

Hi, Recently we faced awkward situation where we cannot connect to Oracle DB that hosted in Solaris server intermittently and it timeout eventually. The server seems fine. We can putty to server like normal but when try do prstat, it takes time and come out Please Wait.. for a while. When we go... (1 Reply)
Discussion started by: tharmendran
1 Replies

2. Solaris

network connection failing

hi, I'm setting up a home lab and I am having problems keeping my connection open on putty. every time i leave it for about 10 seconds and come back I keep having to re-connect. I'm more of a AIX person and trying to get more fimilar with Sun but some of the commands I am trying to run to diag... (2 Replies)
Discussion started by: vpundit
2 Replies

3. Ubuntu

establishing connection with e-kermit running on LINUX from my operating system

we designed a primitive operating system for learning basics fundamentals and we created process switching, interrupt/polled IO for device drivers like UART and printers. We accomplish this by using our own tools called SPEDE (for downloading compiled elf image from host ubuntu system that have... (0 Replies)
Discussion started by: bicepjai
0 Replies

4. Linux

Network connection

Hi, I installed linux Fedora on a virtual machine, but the network connection is not working. All firewalls are off. Any ideas what is the problem? I am using WiFi. Thanks in advance! Regards, Atanas (2 Replies)
Discussion started by: apenkov
2 Replies

5. Solaris

Why network connection is down?

Hello colleague, Development department is deploying some applications on solaris machine but hence all connection goes down. Our all network connection files are correct but we can't connect with our gw. Only we can ping localhost and assigned ip address. I don't want to reboot for... (4 Replies)
Discussion started by: getrue
4 Replies

6. Ubuntu

network connection on ubuntu

Hi, I am using ubuntu 8.x. I am not not able connect to internet through broadband. i'm also using windows xp, there i don't have any problems. Please tell me how access the internet on ubuntu 8.x through broadband. Thanks, Achhayya:) (4 Replies)
Discussion started by: achhayya
4 Replies

7. UNIX for Dummies Questions & Answers

unable to browse internet in linux (railwire dialup connection)

Hi Gurus, Good morning . I have a railwire internet connection(dial up).I am able to access internet in windows xp .but in windows xp every time i restart my pc i have to manually right click the "railwire"icon and then click "connect, after this i am just getting connected to the internet. But... (4 Replies)
Discussion started by: sanjay.login
4 Replies

8. Slackware

activating network connection in linux

Hi all, I've just installed redhat linux 7.3 and everything is good so far except my network connection. When I use the wizard to activate it gives me an error 'cannot activate' but no reason. Using the wizard I can see the device Eth0 and under the hardware tab it seems to recognize the card... (13 Replies)
Discussion started by: Mace
13 Replies

9. IP Networking

new office - no network connection!

We have just moved offices and in the same week recieved a SUN box from another company site. I'm attemting to connect this SUN box to the network, but i can't see it on the network. I have modified the /etc/host file with the IP i want to attribute to the box, rebooted, but still nothing.... (1 Reply)
Discussion started by: colesy
1 Replies
Login or Register to Ask a Question
ttys(5) 							File Formats Manual							   ttys(5)

Name
       ttys - terminal initialization data

Description
       The  file  contains information used by various routines to initialize and control the use of terminal special files.  This file is created
       when the system is installed and can be updated at any time.

       Each terminal special file ( ) has a line in the file.  Each line contains several fields.  Fields are separated  by  tabs  or  spaces.	 A
       field with more than one word should be enclosed in quotes.  Blank lines and comments can appear anywhere in the file.  Comments begin with
       a number sign (#) and are terminated by a newline character.  Unspecified fields default to the empty string or zero, as appropriate.

       The format of each line is as follows:
       name command type flag1 flag2 ...

       name	 Is the name of the special file for the terminal in the directory. Some examples are:
		 console
		 ttyd0
		 ttyd1

       command	 Is the command to be executed each time the terminal is initialized.  This can happen when the system	is  booted,  or  when  the
		 superuser  adds new terminals to the file and initializes the new terminals.  The command is usually which performs such tasks as
		 baud-rate recognition, reading the login name, and calling It can be any command you wish, such as the startup command for a win-
		 dow system terminal emulator or a command to maintain other daemon processes.

       type	 Is  the  type of terminal normally connected to the terminal special file.  You can find the possible types by examining the file
		 on your system.  The types available are given as the third field in entries in that file.  Some examples are:
		 vt100
		 vt200
		 dialup

       flags	 Are the flags to be set in the or fields of the structure returned by the routine.  If the line ends in a comment, the comment is
		 included in the field of this structure.

		 These fields are used by the command that is executed when terminals are initialized.

		 The flags are:

		 on	   Sets the TTY_ON bit in the field.  This enables logins for this terminal.

			   The default if this flag is not set is that logins are disabled for the terminal.

		 off	   Clears the TTY_ON bit in the field.	This disables logins for this terminal.

		 secure    Sets  the TTY_SECURE bit in the field.  This allows the root user to log in on this terminal.  (The on flag should also
			   be set.)

			   The default if this flag is not set is that the root user cannot log in on this terminal.

		 su	   Sets the TTY_SU bit in the field, to allow a user to su to root.

			   The default if this flag is not set is that users cannot su to root on this terminal.

		 nomodem   Sets the TTY_LOCAL bit in the field.  The line ignores modem signals.  This is the default if  neither  the	modem  nor
			   nomodem flag is set.

		 modem	   Clears the TTY_LOCAL bit in the field.  The line recognizes modem signals.

			   The default if this flag is not set is nomodem.  That is, the line does not recognize modem signals.

		 shared    Sets the TTY_SHARED bit in the field.  The line can be used for both incoming and outgoing connections.

			   The default if this flag is not set is that the line cannot be used for incoming and outgoing connections.

		 termio    Sets  the  TTY_TERMIO  bit  in  the	field.	This flag causes the terminal line to open with System Five default termio
			   attributes. If the termio flag is not set, Berkeley compliant default terminal attributes are used.

		 The flag is:

		 window="string"
			   The quoted string is a window system process that maintains for the terminal line.

Examples
       The following example permits the root user to log in on the console at 1200 baud:
       console "/etc/getty std.1200" vt100 on secure
       This example allows dialup at 1200 baud without root login:
       ttyd0 "/etc/getty d1200" dialup on
       These two examples allow login at 9600 baud with two different terminal types:  hp2621-nl and vt100.  In this example, the terminals should
       be set up to operate in 7-bit mode, because the std.9600 entry is specified:
       tty00 "/etc/getty std.9600" hp2621-nl on
       tty01 "/etc/getty std.9600" vt100 on
       This example shows the same two terminals as the previous example operating in full 8-bit mode.	Note the use of a different entry:
       tty00 "/etc/getty 8bit.9600" hp2621-nl on
       tty01 "/etc/getty 8bit.9600" vt100 on
       These two examples show network pseudoterminals, which should not have enabled:
       ttyp0 none network
       ttyp1 none network off
       This example shows a terminal emulator and window-system startup entry and should be typed all on one line:
       :0 "/usr/bin/login -P /usr/bin/Xprompter -C  /usr/bin/dxsession -e" none
       on secure  window="/usr/bin/Xcfb"
       This example shows an example of an entry for an lta device:
       tty01 "/etc/getty 8bit.9600" vt100 on modem secure # LAT
       Any  terminal configured to run in 8-bit mode should specify a entry that declares 8-bit operation.  The command field of the entry is used
       to specify the entry.  If the terminal device is set up to operate in 8-bit mode and the command field does not	specify  an  8-bit  entry,
       output  to  the	terminal appears as multinational characters.  These characters are the result of the program using the eighth bit of each
       character to represent parity attributes.  By using an 8-bit entry, the high order bit of each character is unaffected by the program.  The
       examples presented demonstrate the use of both 7- and 8-bit terminals.

Files
       The full pathname for the file

See Also
       login(1), getttyent(3), gettytab(5), getty(8), init(8)
       Guide to System Environment Setup

																	   ttys(5)