论坛风格切换切换到宽版
  • 2605阅读
  • 2回复

[问题求助]能否用两个调制解调器直接连接两台电脑? [复制链接]

上一主题 下一主题
离线samoolee.
 
发帖
2075
C币
-235466
威望
382
贡献值
1
银元
-2
铜钱
4745
人人网人气币
0
只看楼主 正序阅读 使用道具 楼主  发表于: 2009-05-01
我现在有两台电脑,两个modem,因为..其中一台超轻薄老笔记本电脑除了有一个modem以外,没有任何与外界联系的渠道, 螺丝已经锈死,.硬盘不可能拆下来,(已经尝试过),串口是非标准的,连接线已经丢失,USB口没有..
有PC卡槽,但是没有PC卡的光驱,软驱或者网卡,现在唯一的联系方式就只有那个PC卡的modem,经过测试可以正常使用.另一台台式样机器也有一个modem,可以正常使用. 我现.在要网这个笔记本.电脑上传一个大约50M的文件, 我想不通.过公网拨号,直接将这两台电脑通过modem相.连接,应该如何连接.怎么设置.教育

拨好的电话号码等如何设置 ?

请有过类似经验的同志帮忙回答. 因为只用一次,所以我也不.想再多花100多块钱买一个.PC卡的光驱,而且现在也很难买到.. 如果两台电脑都通过公网分别拨上去,那太费时间,上网费也贵,请问如何实现直接连接?.

[ 本帖最后由 gucuiwen 于 2006-9.-22 14:10 编辑. ]           建材

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
2087
C币
-235584
威望
384
贡献值
2
银元
-2
铜钱
4678
人人网人气币
0
只看该作者 板凳  发表于: 2010-04-13
找到了一些资料,不过太复杂,需要改造电话线:


Connecting two computers using their modems, without a telephone line



This Tutorial Courtesy of John Meshkoff
(ohnm@imatron.com)

One method for connecting two computers together to transfer files is by a direct modem to modem connection. Some reasons to do so: the two computers may not have diskette compatibility; one computer may have a modem, but no free serial port; a serial port may be free, but (especially on some modern PC's with Asian made motherboards) the back panel connector may be wired incorrectly; getting two different computers to communicate correctly via serial port connection (i.e., "null-modem") may be difficult; getting files other than text files to transfer via rs-232 may be tricky. A direct modem connection has the advantage that standard terminal programs are designed primarily to work with a modem. Another possibility is that of printing via a fax machine; some PC printers are multi-function: fax/scanner/copier/printer. This is another way an old Mac might access such devices. I have seen this mentioned, but haven't been able to try it yet (I don't yet have a compatible Mac fax program). It might also be possible to use a fax machine as a scanner this way; connect one computer modem to the fax machine.



One necessity for a reliable connection of this type is a "line simulator", a device to provide simulation of a telephone line, supplying the line current that modems are designed to work with. For our purposes, a very simple home-made circuit will do the job (you should be able to find most, if not all, of the parts at a Radio Shack store). This connects between two telephone modular jacks, and the two modems plug into the jacks:





Basic Circuit:



                             +  | | -
                   GREEN----------+---||||---/\/\/--+-------------RED
                            |   | |     R     |          
                            |  9 to 24V       |            
                            |                 |          
                            +---||------------+          
                                C .47uF    

             RED-----------------------------------------------GREEN








Note that the resistor value depends on the actual voltage used. For 24V about 1K Ohms max will give at most 24mA (12V @ 500 Ohms, 9V @ 380 Ohms); the resistance of the modem circuit will reduce this slightly (you may need to reduce the resistor value, but if it works with the values mentioned, leave it at that; I'm using 380 Ohms with a voltage input of 14V). The telephone company guarantees about 20mA minimum in an actual phone line, and we want to be about the same minimum. Note also that the battery shown can be replaced by a "wall wart" power supply; most of these are un-regulated (my "9V @ 130mA" plug in DC supply gives about 14V on this circuit when connected to a telepone for testing) and consequently will need an electrolytic capacitor of about 2200 uF across the power supply + and - terminals to reduce the "ripple" voltage (i.e., AC "noise"); be sure to match the polarity of the Electrolytic to the polarity of the power supply.



A more elegant solution when using an unregulated power supply is to add a 12 volt regulator such as a 78L12 (or a 7812 if you can't find the low power "L" version) as shown here:



                                  78L12           380 Ohm 1/2 Watt
                                  _________
                                 |         |
               +VDC IN >--------+-----|IN     + |----+--/\/\/\/--+--------GREEN
                         +_|_    |___GND___|   _|_         _|_
          -DC  IN >--+    _ _         |        _ _ .1uF    _ _ .47uF
                     |     |  10uF    |         |           |
        RED----------+-----+----------+---------+-----------+
        

        GREEN----------------------------------------------------------RED
In the circuits above, the 10uF is a Tantalum, but you can substitute electrolytic. The 0.1uF is ceramic, and the 0.47uF should be an audio grade bypass; I used a polypropelene capacitor here. Make sure the capacitors have voltage rating at least equal to the power supply you use; a voltage regulator needs at least two volts more at its input than its output, so the above needs at least 14 volts in. Most regulators will take up to about 30 volts max on their input, but the greater the differential, the greater the power loss and subsequent heat dissipation in the regulator. The 78L12 is designed for 200mA max, whereas the 7812 is about 1 to 1.5 A max (when used with an adequate heat sink (an aluminum "radiator" designed for this purpose).



Once the modems are connected and the terminal programs are up, type AT to be sure you get back "OK" response. Next, type ATX3&C0 (that's C-Zero). C0 may not actually be needed on a PC, but is needed on the Mac; I type the same string at both my PC and Mac without any problems, though. Now, type ATD (the dial command) and enter on one computer; next type ATA and enter on the other. The two computers will connect, and you may now use the terminal to transfer any files. The Mac 68000 faq says Macs can use modem rates up to 56000; I use 19600 on my Plus and PC because it's the fastest available on the Windows 3.1 terminal program I use on my Win95 PC (Hyperterminal would allow faster rates, but is a little more trouble to use; see the link below "issuing Modem AT commands in Windows 95" for how to use it). Use your favorite terminal program on the Mac. I have downloaded Mac programs (in .hqx or .sit format) and transferred to my Plus with this method without any problem.



References:

Powerbook Notes: "In a DOS and Windows World" By Cary Lu, contributing editor, Macworld August 1995 page: 153-154 (available at http://macworld.zdnet.com/ -- Search text: Mac+to+PC+data+transfer)



"Use old phones as an intercom"

"aITs Help Desk FAQs: Communications: issuing Modem AT commands in Windows 95"

Power Systems Group Phone: (650)742-8887 IMATRON, INC., 389 Oyster Point Blvd. Fax: (650)742-1009 So. San Francisco, CA 94080, USA
http://www.imatron.com
离线baiyuvii.
发帖
2056
C币
-152556
威望
344
贡献值
1
银元
-4
铜钱
4523
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-13
可以考虑,modem是 /dev/ttyS0,然后你可以跑个SLIP.
或者再费点事建个拨号服务器也成

快速回复
限100 字节
批量上传需要先选择文件,再选择上传
 
上一个 下一个