mirror of https://github.com/tLDP/LDP
aldev updates
This commit is contained in:
parent
2a75a628a4
commit
8a1254ce34
File diff suppressed because it is too large
Load Diff
|
@ -46,7 +46,7 @@ Modem-Dialup-NT HOW-TO
|
||||||
alavoor[AT]yahoo.com"
|
alavoor[AT]yahoo.com"
|
||||||
name="
|
name="
|
||||||
alavoor[AT]yahoo.com">
|
alavoor[AT]yahoo.com">
|
||||||
<date>v1.5, 01 June 2002
|
<date>v1.7, 22 June 2002
|
||||||
<abstract>
|
<abstract>
|
||||||
This document will help you to setup the Modem to do
|
This document will help you to setup the Modem to do
|
||||||
Dial-up Networking with remote server like Windows NT RAS or
|
Dial-up Networking with remote server like Windows NT RAS or
|
||||||
|
@ -59,16 +59,6 @@ do Dial-Up Networking on Linux very similar to that of MS Windows dialup network
|
||||||
|
|
||||||
<!-- Begin the document -->
|
<!-- Begin the document -->
|
||||||
|
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<chapt>Introduction
|
|
||||||
-->
|
|
||||||
<sect>Introduction
|
<sect>Introduction
|
||||||
<p>
|
<p>
|
||||||
<bf>
|
<bf>
|
||||||
|
@ -104,14 +94,10 @@ With PPP you can make a link between two hosts which understand the protocol. A
|
||||||
<bf>'Remote Access Service'</bf> (RAS) link.
|
<bf>'Remote Access Service'</bf> (RAS) link.
|
||||||
|
|
||||||
First, see if your modem is supported by linux.
|
First, see if your modem is supported by linux.
|
||||||
Internal Modems (WinModems) do not work with linux. Some WinModems
|
Internal Modems (WinModems) may work with Linux because they need extra
|
||||||
require special tweaking to make it work in linux.
|
software drivers to make it work with Linux.
|
||||||
<!--
|
Test your WinModem to see if it works under Linux.
|
||||||
*******************************************
|
Some WinModems require special tweaking to make it work in Linux.
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Preparations <label id="preparations">
|
<sect1> Preparations <label id="preparations">
|
||||||
<p>
|
<p>
|
||||||
Check if you have all the needed hardware, software and data and hand:
|
Check if you have all the needed hardware, software and data and hand:
|
||||||
|
@ -144,16 +130,95 @@ With an internal modem, use HardDrake to check if the system sees the modem. Or
|
||||||
ISA bus modem, check '/etc/isapnp.conf' if it is listed there. If you don't have that file, you'll have to generate it. Read isapnpfaq.txt in the isapnptools doc
|
ISA bus modem, check '/etc/isapnp.conf' if it is listed there. If you don't have that file, you'll have to generate it. Read isapnpfaq.txt in the isapnptools doc
|
||||||
directory or <bf>man isapnp</bf> or <bf>man isapnp.conf</bf>.
|
directory or <bf>man isapnp</bf> or <bf>man isapnp.conf</bf>.
|
||||||
</itemize>
|
</itemize>
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<sect> Dial-up ISP Internet Connection
|
||||||
|
<p>
|
||||||
|
Follow these steps to connect to your ISP via dial-up modem:
|
||||||
|
<itemize>
|
||||||
|
<item> You should have installed the packages kdenetwork-ppp*.rpm and ppp*.rpm
|
||||||
|
<item> At bash prompt type '/usr/bin/kppp'. This will bring up the KPPP dialog boxes.
|
||||||
|
<item> On 'Accounts' tab setup the 'New Connection', and click the following tabs:
|
||||||
|
<enum>
|
||||||
|
<item> On 'Dial' tab use Authentication='PAP/CHAP', yes to 'Store Password'
|
||||||
|
<item> On 'IP' tab select 'Dyanamic IP Address' and uncheck 'Auto-configure hostname'
|
||||||
|
<item> On 'Gateway' tab select 'Default Gateway' and check 'Assign the Default Route'
|
||||||
|
<item> On 'DNS' tab select 'Configuration Automatic' and check 'Disable existing DNS'
|
||||||
|
<item> On 'Login Script' tab - do nothing here
|
||||||
|
<item> On 'Execute' tab - do nothing here
|
||||||
|
<item> On 'Accounting' tab - do nothing here
|
||||||
|
</enum>
|
||||||
|
<item> On 'Device' tab select the proper modem device like ttyS1(com1), ttyS2 (com2)
|
||||||
|
<item> On 'Modem' tab 'Query Modem' to see the results. If no results come up, go to device
|
||||||
|
tab and pick the proper device.
|
||||||
|
<item> Enter login ID and password and connect.
|
||||||
|
</itemize>
|
||||||
|
After doing the above steps, you would have connected to internet. To test do:
|
||||||
|
<code>
|
||||||
|
bash$ ping www.yahoo.com
|
||||||
|
PING www.yahoo.com(66.218.71.83) from 64.152.245.119 : 56(84) bytes of data.
|
||||||
|
64 bytes from www.yahoo.com (66.218.71.83): icmp_seq=0 ttl=58 time=236.931 msec
|
||||||
|
64 bytes from www.yahoo.com (66.218.71.83): icmp_seq=1 ttl=58 time=229.074 msec
|
||||||
|
|
||||||
|
bash$ ping www.google.com
|
||||||
|
|
||||||
|
bash$ su - root
|
||||||
|
# ifconfig
|
||||||
|
lo Link encap:Local Loopback
|
||||||
|
inet addr:127.0.0.1 Mask:255.0.0.0
|
||||||
|
ppp0 Link encap:Point-to-Point Protocol
|
||||||
|
inet addr:64.158.37.63 P-t-P:209.244.43.188 Mask:255.255.255.255
|
||||||
|
|
||||||
|
# netstat -nr
|
||||||
|
Kernel IP routing table
|
||||||
|
Destination Gateway Genmask Flags MSS Window irtt Iface
|
||||||
|
209.244.43.183 0.0.0.0 255.255.255.255 UH 40 0 0 ppp0
|
||||||
|
127.0.0.0 0.0.0.0 255.0.0.0 U 40 0 0 lo
|
||||||
|
0.0.0.0 209.244.43.183 0.0.0.0 UG 40 0 0 ppp0
|
||||||
|
</code>
|
||||||
|
You will see the listing like above. If you are not able to do 'ping www.yahoo.com' or
|
||||||
|
'ping www.google.com' then there is some trouble. See the next section 'Troubleshooting'
|
||||||
|
|
||||||
|
<sect1> Troubleshooting ISP Connection
|
||||||
|
<p>
|
||||||
|
If you are getting the connection and getting the local IP address and Remote IP address
|
||||||
|
from KPPP dialer but you are not able to do ping on a remote host like 'ping www.yahoo.com'
|
||||||
|
then do:
|
||||||
|
<code>
|
||||||
|
bash$ su - root
|
||||||
|
# ifconfig
|
||||||
|
|
||||||
|
See the listing above and temporarily disable other interfaces like eth0, eth1
|
||||||
|
# ifconfig eth0 down
|
||||||
|
# ifconfig eth1 down
|
||||||
|
# ifconfig eth2 down
|
||||||
|
|
||||||
|
# ifconfig
|
||||||
|
This should list only ppp0 and lo
|
||||||
|
</code>
|
||||||
|
Once other interfaces like eth0, eth1, eth2 are disabled, now disconnect and reconnect
|
||||||
|
with KPPP dialer. After the connection to internet is successful, you can re-enable
|
||||||
|
other interfaces as below:
|
||||||
|
<code>
|
||||||
|
bash$ ping www.yahoo.com
|
||||||
|
If connection is okay, then do:
|
||||||
|
bash$ su - root
|
||||||
|
# ifconfig eth0 up
|
||||||
|
# ifconfig eth1 up
|
||||||
|
# ifconfig eth2 up
|
||||||
|
# ifconfig
|
||||||
|
</code>
|
||||||
|
|
||||||
|
If you still have problems then refer to the KPPP user guides and FAQs as below:
|
||||||
|
<code>
|
||||||
|
$ rpm -ql kdenetwork-ppp
|
||||||
|
$ cd /usr/share/doc/HTML/en/kppp
|
||||||
|
$ docbook2html kppp-faq.docbook 1> kppp-faq.html
|
||||||
|
$ docbook2html index.docbook 1> index.html
|
||||||
|
</code>
|
||||||
|
|
||||||
|
|
||||||
<chapt>
|
|
||||||
-->
|
|
||||||
<sect> Quick Steps to Dialup Networking
|
<sect> Quick Steps to Dialup Networking
|
||||||
<p>
|
<p>
|
||||||
These quick steps will enable you to setup dial-up networking on Linux in just five minutes.
|
These quick steps will enable you to setup dial-up networking on Linux in just five minutes.
|
||||||
|
@ -433,12 +498,6 @@ bash# route add default gw 172.28.36.3
|
||||||
</code>
|
</code>
|
||||||
|
|
||||||
</enum>
|
</enum>
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Troubleshooting<label id="troubleshoot">
|
<sect1> Troubleshooting<label id="troubleshoot">
|
||||||
<p>
|
<p>
|
||||||
In case you have problems:
|
In case you have problems:
|
||||||
|
@ -459,12 +518,6 @@ to check which route is being used, do:
|
||||||
bash# traceroute www.yahoo.com
|
bash# traceroute www.yahoo.com
|
||||||
bash# traceroute remotehostname
|
bash# traceroute remotehostname
|
||||||
</code>
|
</code>
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Graphical Tools <label id="graphictools">
|
<sect1> Graphical Tools <label id="graphictools">
|
||||||
<p>
|
<p>
|
||||||
Preference should be given the console line commands as in previous section, but
|
Preference should be given the console line commands as in previous section, but
|
||||||
|
@ -485,16 +538,10 @@ And select Networking->Client Tasks->Routing & Gateways->Set Other Routes to net
|
||||||
bash# rp3 &
|
bash# rp3 &
|
||||||
bash# rp3-config &
|
bash# rp3-config &
|
||||||
</code>
|
</code>
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<chapt> Remote connection with VNC
|
|
||||||
-->
|
|
||||||
<sect> Remote connection with VNC
|
<sect> Remote connection with VNC
|
||||||
<p>
|
<p>
|
||||||
Once you have connection through PPP to remote machines,
|
Once you have connection through PPP to remote machines,
|
||||||
|
@ -526,12 +573,6 @@ Or you can download the qvwm source for solaris from
|
||||||
Troubleshooting compile:
|
Troubleshooting compile:
|
||||||
You should put unsigned long before arg in usleep()
|
You should put unsigned long before arg in usleep()
|
||||||
usleep((unsigned long) 10000)
|
usleep((unsigned long) 10000)
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Microsoft "MS Outlook" Email from PPP <label id="msoutlook">
|
<sect1> Microsoft "MS Outlook" Email from PPP <label id="msoutlook">
|
||||||
<p>
|
<p>
|
||||||
Method 1 :
|
Method 1 :
|
||||||
|
@ -569,16 +610,10 @@ Method 3 : Web based
|
||||||
<item><url url="http://www.netmania.org" name="Netmania mail">
|
<item><url url="http://www.netmania.org" name="Netmania mail">
|
||||||
<item><url url="http://nocc.sourceforge.net" name="NOCC">
|
<item><url url="http://nocc.sourceforge.net" name="NOCC">
|
||||||
</itemize>
|
</itemize>
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<chapt>Setup RAS server
|
|
||||||
-->
|
|
||||||
<sect>Setup RAS server
|
<sect>Setup RAS server
|
||||||
<p>
|
<p>
|
||||||
For details on RAS please see <url url="http://www.cyclades.com/solutions/techtalk/techtalk03.php" name="RAS Buyer's Guide">
|
For details on RAS please see <url url="http://www.cyclades.com/solutions/techtalk/techtalk03.php" name="RAS Buyer's Guide">
|
||||||
|
@ -637,16 +672,10 @@ technical users who already have the PC and are willing to face the potential pr
|
||||||
components. But, the PCI adapters for RAS available in the market today still carry a price tag that makes it difficult to justify a
|
components. But, the PCI adapters for RAS available in the market today still carry a price tag that makes it difficult to justify a
|
||||||
server-based solution.
|
server-based solution.
|
||||||
|
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<chapt>Related URLs
|
|
||||||
-->
|
|
||||||
<sect>Related URLs
|
<sect>Related URLs
|
||||||
<p>
|
<p>
|
||||||
<itemize>
|
<itemize>
|
||||||
|
@ -686,16 +715,10 @@ Mirror sites are at -
|
||||||
<url name="Tripod" url="http://members.tripod.lycos.com/aldev">,
|
<url name="Tripod" url="http://members.tripod.lycos.com/aldev">,
|
||||||
<url name="101xs" url="http://www.101xs.com/101xs/aldev">,
|
<url name="101xs" url="http://www.101xs.com/101xs/aldev">,
|
||||||
<url name="50megs" url="http://aldev0.50megs.com">,
|
<url name="50megs" url="http://aldev0.50megs.com">,
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<chapt change> Other Formats of this Document
|
|
||||||
-->
|
|
||||||
<sect> Other Formats of this Document
|
<sect> Other Formats of this Document
|
||||||
<p>
|
<p>
|
||||||
This document is published in 14 different formats namely: DVI, Postscript,
|
This document is published in 14 different formats namely: DVI, Postscript,
|
||||||
|
@ -752,12 +775,6 @@ Compiling the source you will get the following commands like:
|
||||||
<item>sgml2rtf xxxxhowto.sgml (to generate RTF file)
|
<item>sgml2rtf xxxxhowto.sgml (to generate RTF file)
|
||||||
<item>sgml2latex xxxxhowto.sgml (to generate latex file)
|
<item>sgml2latex xxxxhowto.sgml (to generate latex file)
|
||||||
</itemize>
|
</itemize>
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Acrobat PDF format <label id="acrobatpdf">
|
<sect1> Acrobat PDF format <label id="acrobatpdf">
|
||||||
<p>
|
<p>
|
||||||
A PDF file can be generated from postscript file using
|
A PDF file can be generated from postscript file using
|
||||||
|
@ -789,12 +806,6 @@ converts PostScript files to Portable Document Format (PDF) files.
|
||||||
called <bf>pdfwrite</bf>. In order to use ps2pdf, the pdfwrite
|
called <bf>pdfwrite</bf>. In order to use ps2pdf, the pdfwrite
|
||||||
device must be included in the makefile when Ghostscript was compiled;
|
device must be included in the makefile when Ghostscript was compiled;
|
||||||
see the documentation on building Ghostscript for details.
|
see the documentation on building Ghostscript for details.
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Convert Linuxdoc to Docbook format <label id="linuxdoc2docbook">
|
<sect1> Convert Linuxdoc to Docbook format <label id="linuxdoc2docbook">
|
||||||
<p>
|
<p>
|
||||||
This document is written in linuxdoc SGML format. The Docbook SGML format
|
This document is written in linuxdoc SGML format. The Docbook SGML format
|
||||||
|
@ -820,12 +831,6 @@ And you may have to manually edit some of the minor errors after
|
||||||
running the Perl script. For example you may need to put closing tag <
|
running the Perl script. For example you may need to put closing tag <
|
||||||
/Para> for each <
|
/Para> for each <
|
||||||
Listitem>
|
Listitem>
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Convert to MS WinHelp format <label id="mswinhelp">
|
<sect1> Convert to MS WinHelp format <label id="mswinhelp">
|
||||||
<p>
|
<p>
|
||||||
You can convert the SGML howto document to a Microsoft Windows Help file,
|
You can convert the SGML howto document to a Microsoft Windows Help file,
|
||||||
|
@ -836,12 +841,6 @@ First convert the sgml to html using:
|
||||||
</code>
|
</code>
|
||||||
Then use the tool <url name="HtmlToHlp" url="http://javadocs.planetmirror.com/htmltohlpe.html">.
|
Then use the tool <url name="HtmlToHlp" url="http://javadocs.planetmirror.com/htmltohlpe.html">.
|
||||||
You can also use sgml2rtf and then use the RTF files for generating winhelp files.
|
You can also use sgml2rtf and then use the RTF files for generating winhelp files.
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Reading various formats <label id="readformats">
|
<sect1> Reading various formats <label id="readformats">
|
||||||
<p>
|
<p>
|
||||||
In order to view the document in dvi format, use the xdvi program. The xdvi
|
In order to view the document in dvi format, use the xdvi program. The xdvi
|
||||||
|
@ -882,26 +881,14 @@ You can read an HTML format document using Netscape Navigator, Microsoft Interne
|
||||||
explorer, Redhat Baron Web browser or any of the 10 other web browsers.
|
explorer, Redhat Baron Web browser or any of the 10 other web browsers.
|
||||||
|
|
||||||
You can read the latex, LyX output using LyX an X Window front end to LaTex.
|
You can read the latex, LyX output using LyX an X Window front end to LaTex.
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
-->
|
|
||||||
<sect1> Convert HTML to SGML html2sgml <label id="html2sgml">
|
<sect1> Convert HTML to SGML html2sgml <label id="html2sgml">
|
||||||
<p>
|
<p>
|
||||||
To convert any HTML document to Linuxdoc SGML use the tool 'html2sgml'
|
To convert any HTML document to Linuxdoc SGML use the tool 'html2sgml'
|
||||||
from <url url="http://www.abc.se/~m9339/prog/html2sgml.html">.
|
from <url url="http://www.abc.se/~m9339/prog/html2sgml.html">.
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<chapt> Copyright
|
|
||||||
-->
|
|
||||||
<sect> Copyright
|
<sect> Copyright
|
||||||
<p>
|
<p>
|
||||||
Copyright policy is GNU/GPL as per LDP (Linux Documentation project).
|
Copyright policy is GNU/GPL as per LDP (Linux Documentation project).
|
||||||
|
@ -910,16 +897,10 @@ Additional restrictions are - you must retain the author's name, email address
|
||||||
and this copyright notice on all the copies. If you make any changes
|
and this copyright notice on all the copies. If you make any changes
|
||||||
or additions to this document then you should
|
or additions to this document then you should
|
||||||
intimate all the authors of this document.
|
intimate all the authors of this document.
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<chapt> Appendix A Connecting Linux + PPP - NT + RAS...
|
|
||||||
-->
|
|
||||||
<sect> Appendix A Connecting Linux + PPP < -- > NT + RAS...
|
<sect> Appendix A Connecting Linux + PPP < -- > NT + RAS...
|
||||||
<p>
|
<p>
|
||||||
This section is written by
|
This section is written by
|
||||||
|
@ -1018,13 +999,4 @@ John Newbigin (
|
||||||
jn@it.swin.edu.au">
|
jn@it.swin.edu.au">
|
||||||
).
|
).
|
||||||
</itemize>
|
</itemize>
|
||||||
<!--
|
|
||||||
*******************************************
|
|
||||||
************ End of Section ***************
|
|
||||||
*******************************************
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
-->
|
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in New Issue