aldev updates

This commit is contained in:
alavoor 2002-06-25 18:13:45 +00:00
parent 2a75a628a4
commit 8a1254ce34
2 changed files with 177 additions and 2633 deletions

File diff suppressed because it is too large Load Diff

View File

@ -46,7 +46,7 @@ Modem-Dialup-NT HOW-TO
alavoor[AT]yahoo.com"
name="
alavoor[AT]yahoo.com">
<date>v1.5, 01 June 2002
<date>v1.7, 22 June 2002
<abstract>
This document will help you to setup the Modem to do
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 -->
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt>Introduction
-->
<sect>Introduction
<p>
<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.
First, see if your modem is supported by linux.
Internal Modems (WinModems) do not work with linux. Some WinModems
require special tweaking to make it work in linux.
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
Internal Modems (WinModems) may work with Linux because they need extra
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.
<sect1> Preparations <label id="preparations">
<p>
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
directory or <bf>man isapnp</bf> or <bf>man isapnp.conf</bf>.
</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
<p>
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>
</enum>
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Troubleshooting<label id="troubleshoot">
<p>
In case you have problems:
@ -459,12 +518,6 @@ to check which route is being used, do:
bash# traceroute www.yahoo.com
bash# traceroute remotehostname
</code>
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Graphical Tools <label id="graphictools">
<p>
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-config &
</code>
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt> Remote connection with VNC
-->
<sect> Remote connection with VNC
<p>
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:
You should put unsigned long before arg in usleep()
usleep((unsigned long) 10000)
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Microsoft "MS Outlook" Email from PPP <label id="msoutlook">
<p>
Method 1 :
@ -569,16 +610,10 @@ Method 3 : Web based
<item><url url="http://www.netmania.org" name="Netmania mail">
<item><url url="http://nocc.sourceforge.net" name="NOCC">
</itemize>
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt>Setup RAS server
-->
<sect>Setup RAS server
<p>
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
server-based solution.
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt>Related URLs
-->
<sect>Related URLs
<p>
<itemize>
@ -686,16 +715,10 @@ Mirror sites are at -
<url name="Tripod" url="http://members.tripod.lycos.com/aldev">,
<url name="101xs" url="http://www.101xs.com/101xs/aldev">,
<url name="50megs" url="http://aldev0.50megs.com">,
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt change> Other Formats of this Document
-->
<sect> Other Formats of this Document
<p>
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>sgml2latex xxxxhowto.sgml (to generate latex file)
</itemize>
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Acrobat PDF format <label id="acrobatpdf">
<p>
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
device must be included in the makefile when Ghostscript was compiled;
see the documentation on building Ghostscript for details.
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Convert Linuxdoc to Docbook format <label id="linuxdoc2docbook">
<p>
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 <
/Para> for each <
Listitem>
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Convert to MS WinHelp format <label id="mswinhelp">
<p>
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>
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.
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
<sect1> Reading various formats <label id="readformats">
<p>
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.
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">
<p>
To convert any HTML document to Linuxdoc SGML use the tool 'html2sgml'
from <url url="http://www.abc.se/~m9339/prog/html2sgml.html">.
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt> Copyright
-->
<sect> Copyright
<p>
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
or additions to this document then you should
intimate all the authors of this document.
<!--
*******************************************
************ End of Section ***************
*******************************************
<chapt> Appendix A Connecting Linux + PPP - NT + RAS...
-->
<sect> Appendix A Connecting Linux + PPP &lt -- &gt NT + RAS...
<p>
This section is written by
@ -1018,13 +999,4 @@ John Newbigin (
jn@it.swin.edu.au">
).
</itemize>
<!--
*******************************************
************ End of Section ***************
*******************************************
-->
</article>