Matteo for Bill Staehle

Matteo for Bill Staehle

Post by Matteo Montanar » Mon, 25 Dec 2000 18:58:08



Quote:> Hi Bill Staehle

> On Wed, 20 Dec 2000 19:44:55 GMT, you posted to comp.os.linux.networking:

> >I didn't succeed to send you this mail to the address that you gave me so
I
> >thought to write here while hoping to have another your e-mail address.

> This is the only address that I use publically. What sort of problem did
you
> have?

This following is the problem that I found while sending mail to you.

------Transcript of session follows -------
Connection to netvalue.net with Ip Address 12.22.194.7 failed from
galactica.it-192.168.0.18

Server received Winsock error Connection timed out.

> >My modem is connected on the serial port numer 1 ( Com 1 ) ( not USB )

> Great!

> >The modem works ! I can see it while dialing and when it has finished to
> >make the work, the error appears subsequently and that is ( the pppd
daemon
> >died unexpectedly)

> OK. This probably means that you have an authentication problem. I would
> like you to try to follow the web page I had mentioned.

> >I have naturally given those commands, these are the following answers.

> >crw-r--r--   1 root     uucp  4 , 64 ago 24 11:00 /dev/ttyS0
> >crw-r--r--   1 root     uucp  4 , 65 ago 24 11:00 /dev/ttyS1

> These look fine, although my Italian does not exist. ago = needle ??? ;-)

> >crw-r--r--   1 root     uucp  4 , 74 ago 24 11:00 /dev/ttyS100
> >crw-r--r--   1 root     uucp  4 , 164 ago 24 11:00 /dev/ttyS101

> But these do not look good. Device 4,74 would be /dev/ttyS10 I think, but
> 4,164 is wrong, because there are only 64 devices (ttyS0 to ttyS63). This
> should not be the problem, as you are not using this device.  Hmmm...

You are right , I made a mistake . the corrected command answers succession
is this
crw-r--r--   1 root     uucp  4 , 64 ago 24 11:00 /dev/ttyS0
crw-r--r--   1 root     uucp  4 , 65 ago 24 11:00 /dev/ttyS1
crw-r--r--   1 root     uucp  4 , 74 ago 24 11:00 /dev/ttyS10
crw-r--r--   1 root     uucp  4 , 164 ago 24 11:00 /dev/ttyS100

- Show quoted text -

> [atlantis ~]$ ls -l /dev/* | grep 164
> crw-------   1 root     root      45, 164 May  5  1998 /dev/ippp36
> crw-rw-rw-   1 root     tty        2, 164 May  5  1998 /dev/ptyz4
> crw-rw-rw-   1 root     tty        3, 164 May  5  1998 /dev/ttyz4
> crw--w----   1 root     tty        7, 164 May  5  1998 /dev/vcsa36
> [atlantis ~]$

> I don't even have a 4, 164. /usr/src/linux/Documentation/devices.txt says
> that would be an obsolete reference to /dev/ptyr4


> >lrwxrwxrwx   1 root     root       5       Dic 9 14:20 /dev/modem ->
> >/dev/ttyS0

> This is good.

> >Unfortunately I cannot precisely say you what appears during the boot
cause
> >it is quick and I don't know how stop it. I tried to observe that script
> >for 3 times still I cannot report the contained.
> >Excuse me I only know that is similar that you have written over here.

> I am sorry, I should have explained that better. You should look in
> /var/log/messages to see the lines that I showed. The file /var/log/dmesg
> should also have them, but lacks the time stamps:

> Serial driver version 4.13 with no serial options enabled
> tty00 at 0x03f8 (irq = 4) is a 16550A
> tty01 at 0x02f8 (irq = 3) is a 16550A
> tty02 at 0x03e8 (irq = 4) is a 16550A

This following is what happears inside the dmesg file:
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A

- Show quoted text -


> >/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4

> >/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3

> This is good! You do not need to look in the /var/log/messages file. The
> informaiton is here.

> >Excuse me if I haven't been sufficienly exhaustive but if this happend it
> >was verified cause I am not an expert. I put all my desire. I really want
> >to solve my problem !

> OK, have you gotten the web page?
Yes

> htpp://www.theory.physics.ubc.ca/ppp-linux.html
> http://axion.physics.ubc.ca/ppp-linux.html

> As regards pico (part of pine) or mc (Midnight Commander), these are
> normally installed on a workstation class of install. Try this

> [atlantis ~]$ which pico
> /usr/bin/pico
> [atlantis ~]$ which mc
> /usr/bin/mc
> [atlantis ~]$

> Try typing the word  pico and press Enter. Across the bottom of the
> resulting screen are comcmands to use, like this:

> ^G Get Help  ^O WriteOut  ^R Read File ^Y Prev Pg   ^K Cut Text  ^C Cur
Pos
> ^X Exit      ^J Justify   ^W Where is  ^V Next Pg   ^U UnCut Text^T To
Spell

> The first one, ^G   means to press the left Ctrl key, and the letter g

> To edit a file, I would call pico like this

> [atlantis ~]$ pico -w name_of_file

> Use the arrow keys to move the curser, and just type what you wish to
enter.
> When you are done, press the left Ctrl key and the letter o  to save it,
> then press the left Crtl key and the letter x to exit.

> For mc, enter the command mc which will start this program.  Use the arrow
> keys to highlight the name of the file that you wish to edit, then press
the
> F4 key.  The menu on the bottom of the screen  will change from this:

> 1Help   2Menu   3View   4Edit   5Copy   6RenMov 7Mkdir  8Delete 9PullDn
> 10Quit

> to this:

> 1Help   2Save   3Mark   4Replac 5Copy   6Move   7Search 8Delete 9PullDn
> 10Quit

> Again, the 1 to 10 refer to the function keys, not the number keys.
Pressing
> F10 will quit the program.

> One of the files that you will need to edit is /etc/syslog.conf   This is
a
> system file, and you should _always_ have a backup copy of this file. From
> the command line, give the following command

> cp /etc/syslog.conf /etc/syslog.conf.original

> This will _copy_ the file to /etc/syslog.conf.original. Now, if you have
> made a mistake when editing the file, you can always issue the command

> cp /etc/syslog.conf.original  /etc/syslog.conf

> and the file will be back to where you started from. Another file that you
> will be working with is the log file /var/log/ppp.  To view this file, you
> can use the less command, or you can make a copy of the log, and use pico
or
> mc to view the _copy_ of the log. You must never try to edit the actual
log
> file, or you will make the computer unhappy.

> As I mentioned, I do not use kppp, and it not installed on my systems. You
> may want to look at the kppp setup, and see if you can figure out how to
set
> it to "Let ppp handle authentication" and look for an option called
"stupid
> mode". The two may set kppp into a windoze emulation mode, which may be
all
> that you need.

I thank you a lot cause I saw that you was interested about my problem.
I tried Pico and it is working even if I have a problem on the keyboard

No problem for now. I will try to solve this problem later.
You kindly gave me good information about how use PICO, I used only ( VI )
and maybe it will be useful still I hoped that you teached me what
specifically change on those files to finally use the internet connection.
I imagine now that you suggest me to go to read the web-page that you
recommended me.
I don't think that I will be able to let's work my internet connection cause
I am a beginner still If you believe that it is clever to do so I have trust
in you and I will do it.
Do you really think that there is a specific suggest about how solve my
specific problem?
Thanks for the help
Do you need other informations to solve my problem !
Thanks again and have an happy Xmass
 
 
 

Matteo for Bill Staehle

Post by Bill Unr » Tue, 26 Dec 2000 08:36:20



Quote:>> htpp://www.theory.physics.ubc.ca/ppp-linux.html
>> http://axion.physics.ubc.ca/ppp-linux.html

These are both the same machine. I am trying to push the www.theory
address as being easier to update if in future I have to move the server
again, but since axion is so prevelant out there, I had to also move
that name as an alias for the new server (moving it off an ancient Sparc
5 to a Linux box). Note sure what to do, but I suspect I will just cave
in and maintain axion as an alias for  the web site. The joys of backward
compatibility (or insufficient thought when setting things up).