03-09-2006
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
9 More Discussions You Might Find Interesting
1. IP Networking
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
2. Slackware
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
3. UNIX for Dummies Questions & Answers
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
4. 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
5. Solaris
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. Linux
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
7. Ubuntu
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
8. Solaris
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
9. Solaris
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
LEARN ABOUT CENTOS
dialups
dialups(4) File Formats dialups(4)
NAME
dialups - list of terminal devices requiring a dial-up password
SYNOPSIS
/etc/dialups
DESCRIPTION
dialups is an ASCII file which contains a list of terminal devices that require a dial-up password. A dial-up password is an additional
password required of users who access the computer through a modem or dial-up port. The correct password must be entered before the user
is granted access to the computer. The set of ports that require a dial-up password are listed in the dialups file.
Each entry in the dialups file is a single line of the form:
terminal-device
where
terminal-device The full path name of the terminal device that will require a dial-up password for users accessing the computer
through a modem or dial-up port.
The dialups file should be owned by the root user and the root group. The file should have read and write permissions for the owner (root)
only.
EXAMPLES
Example 1: A sample dialups file.
Here is a sample dialups file:
/dev/term/a
/dev/term/b
/dev/term/c
FILES
/etc/d_passwd dial-up password file
/etc/dialups list of dial-up ports requiring dial-up passwords
SEE ALSO
d_passwd(4)
SunOS 5.10 4 May 1994 dialups(4)