Connection via telephone line (56k modem - LAN)
Stef
-
mourad-djellal -
mourad-djellal -
Bonjour,
I don't know much about networking and I need to connect two PCs together in a somewhat particular configuration:
the remote PC (Linux RHEL3) has a fixed telephone line but no ADSL.
My PC (XP or Linux, as I choose) is located in a LAN at the office with internet access.
I would like to occasionally connect the two PCs and establish an SSH session. I would like to avoid an access provider and connect directly since this will only be used a few times a year. I can't figure out how to implement this from either a technical perspective (what type of modem?) or a software perspective...
Any information is welcome,
Thank you,
Stef.
I don't know much about networking and I need to connect two PCs together in a somewhat particular configuration:
the remote PC (Linux RHEL3) has a fixed telephone line but no ADSL.
My PC (XP or Linux, as I choose) is located in a LAN at the office with internet access.
I would like to occasionally connect the two PCs and establish an SSH session. I would like to avoid an access provider and connect directly since this will only be used a few times a year. I can't figure out how to implement this from either a technical perspective (what type of modem?) or a software perspective...
Any information is welcome,
Thank you,
Stef.
10 answers
-
I'm not exactly sure I understand what you want:
1) If your desktop PC has a public IP address (visible on the internet), you can generally connect it (unless blocked by a firewall, etc.) by putting the other one with the 56K modem on the internet with any ISP and doing "ssh <number_ip_desktop_pc>", provided that the desktop PC is running Linux with an SSH server; I don’t know if it's easy on Windows, even advisable. So that's the obvious method.
However, if your desktop PC does not have a public IP but only a private IP like 192.168.blabla because your office is using a NAT router to share the connection, then SSH access to your desktop PC is not easily possible (it would be hidden behind the router). Technically, you would need to forward port 22 (for SSH) to your desktop PC, but I doubt that this is something feasible in your situation (it would require actions on the router by the office administrator, and they probably don’t want to hear about it, understandably). Even with a public IP, it is possible that the office administrator has set up a firewall that blocks SSH (and all other ports) to your desktop PC. In such a situation, you would need to SSH to another gateway machine (at the office) and then SSH to your desktop PC, but this would need to be set up at your office (probably not?).
2) So technically, you could also establish an SSH connection from the desktop PC to your PC with the 56K modem; that is always possible but not very practical, especially since the 56K connection must be established permanently, and I'm not sure you want to connect from the desktop PC to the 56K PC?? I have the impression it's rather the other way around?? If we do this, you also need to put a good firewall on the 56K PC (allowing SSH only from the IP of the desktop PC and nothing else).
3) Another possibility would be to set up a 56K modem in the office, connect it to a phone nearby, and make a direct PPP connection between the desktop PC and the other PC. This way, you wouldn’t go through the internet. In this case, you would need to configure a PC as a PPP server. It's possible but not easy, let's say not very obvious. You could use IP numbers like 192.168.0.x with x=1 and 2 (something very different from the office IPs to avoid conflicts). In terms of costs, you would just have to pay for the phone communication.
For details on how to do this (in Linux), you can look at different HOWTOs:
http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html#NETDIALUP
especially the sections: "call-back" and "ppp-HOWTO".
If you are looking for French translations of the HOWTOs, you can check here:
http://www.ibiblio.org/pub/Linux/docs/HOWTO/translations/fr/
(there are ps, pdf, html formats as you want, but you need to download, unpack and read at home).
But if you don't have experience with networking and/or Linux, it's not obvious.</number_ip_desktop_pc>-
Hello,
Personally, I wish to be able to connect to my personal computer from my laptop when I visit my family where there is no PC and even less of an Internet connection...
To do this, I want to call my Linux server to let it know that it can call me back wherever I am via a PSTN modem. Since I have an unlimited intercom plan and I'm away from home, why not take advantage of it! ;o)
Anyway, how can I make this work? I understood that with the provided links it could have been feasible. Is that correct?
Curiously, I am unable to reach those famous links:
- http://www.tldp.org/HOWTO/HOWTO-INDEX/networking.html#NETDIALUP
- http://www.ibiblio.org/pub/Linux/docs/HOWTO/translations/fr/
Thank you in advance for your help.
Sincerely,
Quadrax -
I believe so, particularly there is the thing "callback" which consists of calling the other PC and asking them to call you back. Typically, it's for people who work from home and want their company to call them back and pay for the connection.
However, for the configuration, it's not completely automatic, especially on Linux. I have no idea about Windows (it might be very easy, it might be impossible, probably somewhere in between). It's not ridiculously difficult either, but it requires some effort.
As for the links to the Howto, I just tested them and they work very well from my place. Perhaps there's a problem with IE and it works better with Firefox. In principle, these links should work and any problem would be specific: either temporary or due to internet access restrictions (maybe a firewall too strict for outgoing direction??).
Does at least this link work:
http://www.tldp.org/
From there you can access the other links ("HOWTOs, browse by category" -> 4.4.3 "Dial-up" and "Translated HOWTOS" -> "fr") -
Good evening,
It seems that I am really unlucky!
I tried with IE and FireFox without success: FireFox tells me "unable to contact www.tdlp.org, please check the name and try again"...
I imagine there is a ban by my ISP (Télé2) on these sites because when I do FTP, downloading the "IMZ" image of a software CD from my PC causes the connection to be systematically reset, even though I paid for the license of said software. I can state this with certainty because the same filename for a personal archive CD does not pose any problem...
On this subject, do they have the right to monitor the content of my exchanges? I haven't seen that mentioned anywhere in the Internet subscription contract.
Thanks again.
Quadrax -
It seems almost unbelievable what you are saying. Honestly, an ISP that would block certain websites like that is unacceptable (and for me, a reason to switch immediately if it is indeed certain). It may also be that you have to go through a proxy or, conversely, the problem arises if you put the Tele2 proxy in the browser. You need to try putting it in or taking it out, depending on the current case, but going through a proxy is not satisfactory for privacy. Perhaps there is also a technical problem, maybe with the Tele2 network. I recently heard that there was a "peering" issue between different ISPs in the United States but I thought that was resolved and it did not involve France.
However, there are also mirrors of the Linux Documentation Project (LDP), here is a copy-paste for mirrors in France and Germany, I hope at least one will work for you:
France
* http://mirrors.fastorama.com/ldp/
updated: DAILY location: Paris
* http://www.linuxpourtous.com/LDP/
updated: DAILY location: Marseille
* http://www.tuxfinder.com/LDP/
updated: DAILY location: Paris
* http://ftp.vthd-net.com/pub/documentation/LDP
ftp://ftp.vthd-net.com/pub/documentation/LDP
updated: DAILY location: Rocquencourt
* http://ldp.mirror.sdv.fr/
updated: DAILY location: Strasbourg
* http://ldp.cict.fr/
updated: DAILY location: Toulouse
Germany
* http://tldp.berlios.de/
updated: DAILY location: Berlin
* http://www.kernelnotes.de/LDP/
updated: DAILY location: Bonn
* http://web12.austria182.server4free.de/projekte/LDP
updated: DAILY location: Düsseldorf
* http://ldp.kgt.org/
updated: DAILY location: Frankfurt am Main
* http://tldp.tuxhilfe.de/
updated: DAILY location: Frankfurt am Main
* http://ldp.oslookup.org/
updated: DAILY location: Frankfurt am Main
* http://fresh.t-systems-sfr.com/linux/LDP/
updated: DAILY location: Göttingen
* http://ftp.gwdg.de/LDP/
updated: DAILY location: Göttingen
* http://www.ghks.de/LDP/
updated: DAILY location: Guntersblum
* http://www.linuxfaq.com/LDP/
updated: DAILY location: Gunzenhausen
* http://ldp.linuxsys.de/
updated: DAILY location: Karlsruhe
* http://gcwilhelm.dynalias.com/ldp/
updated: DAILY location: Kirschhausen
* http://ldp.mirrorplus.org
updated: DAILY location: Munchen
* http://ldp.bootet.net/
updated: DAILY location: Nuernberg
* http://tldp.freemirror.de
updated: DAILY location: Nuernberg
* http://fb1.hdm-stuttgart.de/mirror/LDP/
updated: DAILY location: Stuttgart
* http://www.asta.va.fh-ulm.de/LDP/
updated: DAILY location: Ulm
* http://xsteadfastx.is-a-geek.org/LDP/
updated: DAILY location: Wolfsburg
* http://ldp.unixag-zw.fh-kl.de/
updated: DAILY location: Zweibrücken
It seems that all these mirrors are identical for content (you will follow the same links as for the main site), for example with the first French mirror:
http://mirrors.fastorama.com/ldp/HOWTO/HOWTO-INDEX/networking.html#NETDIALUP
Unfortunately, the links for the "translated HOWTOs" always point to the same site:
http://www.ibiblio.org/pub/Linux/docs/HOWTO/translations/fr/
(it is not local on the mirror). So if this site does not work it seems inaccessible to you. -
Thank you for your help. :o)
http://mirrors.fastorama.com/ldp/HOWTO/HOWTO-INDEX/networking.html#NETDIALUP is accessible.
As for me, I also doubt the filtering of site addresses.
Regarding the Proxy, there is one on my Linux server (I don't know if there is one for Télé2 and how to avoid it) but usually, it is not the one that causes problems.
Regarding FTP, it's certain, I deliberately tested with files of the same size, name, attributes, etc... There is indeed filtering.
The problem is, to change ISPs, I would have to spend €96 and times are tough...
If you have already succeeded in this kind of manipulation, can we exchange our email addresses (how?) so we can conduct some tests?
Thank you in advance.
Quadrax
P.S.
For your information, I am still a beginner with Linux due to lack of free time because of CNAM. (Thanks to HR managers who only swear by degrees and professional experience...)
-
-
Hi,
I believe the request is rather what you (kmf31) indicate in point 3, the rest does not correspond.
Indeed, this is called remote access via PSTN modem.
On Windows, it's quite easy to do once the modem is installed.
Access can be done either in PPP or SLIP ;-) Serial IP.
Under Linux, there's probably a module for incoming connections pppd or slip on a ttysx.
Also, it's important to know that a V90 or V92 modem (56K) will only connect at 33.6 at best directly with another modem (V34bis).
--
And ... There you go! -
Thank you for this information.
Indeed, the solution of remote access via RTC modem suits me best.
However, I still have a small question.
Can I have an RTC modem on one side and an ADSL router modem on the other (the one that is installed at the office)? The admin can make changes if necessary, but before making a request, I want to be sure of the possibilities.
Thank you,
Stef. -
If you talk about a direct connection without going through the internet there is only RTC-RTC through the telephone line with the PPP protocol.
If you want to do it with an ADSL modem, it is technically impossible. You would need to have a DSLAM (the big cabinets of ISPs that are found in your NRA, the connection node) on the other side. Moreover, the ADSL signal with high frequencies only works for the first link: home-NRA but not further (and then in the NRA there are DSLAMs that transform ADSL into network stuff to put it on the internet).
On the other hand, with internet you can very well do:
PC1 internet with RTC
PC2 internet with ADSL
of course with ISPs for both connections. It also works like that with ADSL for both PCs.
Later, we can connect via SSH etc. as described in possibilities 1 and 2 of my first post. Here, you need to remember the IP numbers for both connections and also properly configure the firewalls. Apart from that and the fact that you need to be careful about security, it works very well and is relatively easy. -
-
Well, rest assured that both machines have a dial-up modem; then find remote access software to control your remote workstation. Then install the client and server application of the software.
In principle, if your firewalls are disabled on both machines, then you will be able to connect them. -
Hello,
I would like to share the internet between my Windows Vista computer which has a 56k modem and my little brother's computer which has a Windows 2000 that does not have a 56k modem. -_-
Thank you in advance for your response!!!-
Hello BlackManta,
If the two PCs are close enough to each other, a crossover network cable connection should suffice (distance ≤ 100m).
In this case, do a search on the site, there are things that should help you: https://forums.commentcamarche.net/forum/s/m/comment+relier+deux+pc+par+le+reseau?forum_num=themes&searchType=byDate
In the case of the 56k modem, you will need to adopt a solution that seems rather complicated based on a PPP server (if I'm not mistaken) as I would like to do to have Internet when I go to my family (...)
;-)
Good luck to you!
Quadrax
P.S.
If you can't find an answer to your problem, I invite you to open a brand new question in an appropriate forum. Here, only the 56k modem with a telephone line, no crossover cables and the like. ;-)
-
-
-
-
Hello BlackManta,
Forums are meant to help people who are willing to make an effort (= generally to search before calling for help, otherwise to be directed towards useful research) ;-)
Maybe next time!
;-)
Quadrax- Hello!
I am taking this opportunity to ask you a question. I need to connect 2 56k serial modems to establish a connection. Let me explain:
PC_Server <==> 56K-serial Modem <==> RJ11 Line <==> 56K-serial Modem <==> PC_Client
Initially, I would like to test without using a telephone line (i.e., without a phone number).
My PC_Server should be assigned the IP address: 192.168.1.100
My PC_Client should have the IP address: 192.168.1.101
In a second step, I will need to go through a telephone line using Hayes commands with: ATDT "phone_number_pc_server"
But for now, I don't have a telephone line, so how should I proceed? Do you have any ideas?
Thank you very much!
PS: I have looked at the HOW-TOs for configuring a PPP server and PPP client, but they are "dense" and involve a line number.
++
-
-
Il faut maîtriser correctement les commandes du système LINUX
et puis installer les packages nécessaires
mrsiiiiiiii.