Cant get access to my Internet Provider ! - HELP !!!!

Cant get access to my Internet Provider ! - HELP !!!!

Post by j.. » Fri, 18 Oct 1996 04:00:00



Can somebody help me to get access to my Internet Provider from
Linux ? I am using Slackware 3.1. When connecting from OS/2 and
Windows 3.1 I easy get a valid connection, but the connection
times out after 30 seconds when trying to connect via Linux's
ppp-on shell script quoted below. Also I list various log files
from the kernel. I hope somebody can help, my provider couldnt.
My hostname is the default: darkstar.frop.org and I connect by
modem on COM2. I think the remote server uses the PAP method to
get connection because I dont get a login/password prompt when
dialing the provider with a terminal program. I also tried to
send a break to force connection negotiation, but that didnt
help either - sigh ! I seems NOTHING is received from the server !
I also fixed the access rights of the file pap-secrets.

Below is the configuration files:

------------cut------------------------

/etc/ppp/options:

/dev/cua1 38400 modem crtscts debug defaultroute

------------cut------------------------

/etc/hosts:

#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.  Just add the names, addresses
#               and any aliases to this file...
#
# By the way, Arnt Gulbrandsen <agul...@nvg.unit.no> says that 127.0.0.1
# should NEVER be named with the name of the machine.  It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#
127.0.0.1       localhost
0.0.0.0         darkstar.frop.org

# End of hosts.

------------cut------------------------

/etc/resolv.conf:

domain frop.org
search dk-online.dk
nameserver 193.88.44.42

------------cut------------------------

/usr/sbin/ppp-on:

#!/bin/sh
#
# Script to initiate a ppp connection. This is the first part of the
# pair of scripts. This is not a secure pair of scripts as the codes
# are visible with the 'ps' command.  However, it is simple.
#
# These are the parameters. Change as needed.
TELEPHONE=38333133   # The telephone number for the connection
ACCOUNT=john         # The account name for logon (as in 'George Burns')
PASSWORD=xxxxxxx             # The password for this account (and 'Gracie Allen')
LOCAL_IP=0.0.0.0     # Local IP address if known. Dynamic = 0.0.0.0
#REMOTE_IP=193.88.44.42      # Remote IP address if desired. Normally 0.0.0.0
REMOTE_IP=0.0.0.0    # Remote IP address if desired. Normally 0.0.0.0
NETMASK=255.255.255.0        # The proper netmask if needed
#
# Export them so that they will be available at 'ppp-on-dialer' time.
export TELEPHONE ACCOUNT PASSWORD
#
# This is the location of the script which dials the phone and logs
# in.  Please use the absolute file name as the $PATH variable is not
# used on the connect option.  (To do so on a 'root' account would be
# a security hole so don't ask.)
#
DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
#
# Initiate the connection
#
# I put most of the common options on this command. Please, don't
# forget the 'lock' option or some programs such as mgetty will not
# work. The asyncmap and escape will permit the PPP link to work with
# a telnet or rlogin connection. You are welcome to make any changes
# as desired. Don't use the 'defaultroute' option if you currently
# have a default route to an ethernet gateway.
#
exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 38400 \
     asyncmap 20A0000 escape FF kdebug 1 $LOCAL_IP:$REMOTE_IP \
     noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT

------------cut------------------------

/etc/ppp/ppp-on-dialer:
#!/bin/sh
#
# This is part 2 of the ppp-on script. It will perform the connection
# protocol for the desired connection.
#
exec chat -v                                         \
     TIMEOUT         3                               \
     ABORT           '\nBUSY\r'                      \
     ABORT           '\nNO ANSWER\r'                 \
     ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
     ''              \rAT                            \
     'OK-+++\c-OK'   ATH0                            \
     TIMEOUT         30                              \
     OK              ATDT$TELEPHONE                  \
     CONNECT         ''                              \
     24000/ARQ       BREAK
#    ogin:--ogin:    $ACCOUNT                        \
#    assword:        $PASSWORD

/var/adm/syslog:
Oct  3 18:38:29 darkstar kernel: Console: 16 point font, 400 scans
Oct  3 18:38:29 darkstar kernel: Console: colour VGA+ 80x25, 1 virtual console (max 63)
Oct  3 18:38:29 darkstar kernel: pcibios_init : BIOS32 Service Directory structure at 0x000fad20
Oct  3 18:38:29 darkstar kernel: pcibios_init : BIOS32 Service Directory entry at 0xfb1e0
Oct  3 18:38:29 darkstar kernel: pcibios_init : PCI BIOS revision 2.10 entry at 0xfb210
Oct  3 18:38:29 darkstar kernel: Probing PCI hardware.
Oct  3 18:38:29 darkstar kernel: Calibrating delay loop.. ok - 66.15 BogoMIPS
Oct  3 18:38:29 darkstar kernel: Memory: 63332k/65536k available (668k kernel code, 384k reserved,
2k data)
Oct  3 18:38:29 darkstar kernel: Swansea University Computer Society TCP/IP for NET3.034
Oct  3 18:38:29 darkstar kernel: IP Protocols: ICMP, UDP, TCP
Oct  3 18:38:29 darkstar kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
Oct  3 18:38:29 darkstar kernel: Checking 'hlt' instruction... Ok.
Oct  3 18:38:29 darkstar kernel: Linux version 2.0.21 (root@darkstar) (gcc version 2.7.2) #1 Sat Sep 21
31:51 MET DST 1996
Oct  3 18:38:29 darkstar kernel: ide: i82371 PIIX (Triton) on PCI bus 0 function 57
Oct  3 18:38:29 darkstar kernel:     ide0: BM-DMA at 0x3000-0x3007
Oct  3 18:38:29 darkstar kernel:     ide1: BM-DMA at 0x3008-0x300f
Oct  3 18:38:29 darkstar kernel: hda: ST32140A, 2015MB w/128kB Cache, LBA, CHS=1023/64/63
Oct  3 18:38:29 darkstar kernel: hdb: HP 1600 A, 1554MB w/128kB Cache, LBA, CHS=789/64/63, DMA
Oct  3 18:38:29 darkstar kernel: hdc: CD-56E, ATAPI CDROM drive
Oct  3 18:38:29 darkstar kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Oct  3 18:38:29 darkstar kernel: ide1 at 0x170-0x177,0x376 on irq 15
Oct  3 18:38:29 darkstar kernel: Started kswapd v 1.4.2.2
Oct  3 18:38:29 darkstar kernel: aha152x: processing commandline: ok
Oct  3 18:38:29 darkstar kernel: aha152x: BIOS test: passed, detected 1 controller(s)
Oct  3 18:38:29 darkstar kernel: aha152x0: vital data: PORTBASE=0x340, IRQ=11, SCSI ID=7,
onnect=disabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
Oct  3 18:38:29 darkstar kernel: aha152x: trying software interrupt, ok.
Oct  3 18:38:29 darkstar kernel: scsi0 : Adaptec 152x SCSI driver; $Revision: 1.18 $
Oct  3 18:38:29 darkstar kernel: scsi : 1 host.
Oct  3 18:38:29 darkstar kernel:   Vendor: WANGTEK   Model: 6130-HS           Rev: 4B18
Oct  3 18:38:29 darkstar kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
Oct  3 18:38:29 darkstar kernel: scsi : detected 1 SCSI tape total.
Oct  3 18:38:29 darkstar kernel: Partition check:
Oct  3 18:38:29 darkstar kernel:  hda: hda1 < hda5 hda6 hda7 hda8 hda9 > hda2 hda3 hda4
Oct  3 18:38:29 darkstar kernel:  hdb: hdb1 < hdb5 hdb6 hdb7 > hdb2
Oct  3 18:38:29 darkstar kernel: VFS: Mounted root (ext2 filesystem) readonly.
Oct  3 18:38:29 darkstar kernel: Adding Swap: 34236k swap-space
Oct  3 18:38:29 darkstar kernel: hdc: media changed
Oct  3 18:38:29 darkstar kernel: hdc: media changed
Oct  3 18:38:36 darkstar sendmail[69]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 0: cannot open:
such file or directory
Oct  3 18:38:55 darkstar syslog: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
Oct  3 18:39:52 darkstar pppd[90]: LCP: timeout sending Config-Requests
Oct  3 18:39:52 darkstar pppd[90]: Receive serial link is not 8-bit clean:
Oct  3 18:39:52 darkstar pppd[90]: Problem: nothing was received

/var/adm/messages:
Oct  3 18:38:28 darkstar syslogd 1.3-0#: restart.
Oct  3 18:38:28 darkstar kernel: klogd 1.3-0, log source = /proc/kmsg started.
Oct  3 18:38:29 darkstar kernel: Loaded 3387 symbols from /System.map.
Oct  3 18:38:29 darkstar kernel: Symbols match kernel version.
Oct  3 18:38:29 darkstar kernel: Swansea University Computer Society NET3.035 for Linux 2.0
Oct  3 18:38:29 darkstar kernel: NET3: Unix domain sockets 0.12 for Linux NET3.035.
Oct  3 18:38:29 darkstar kernel: Serial driver version 4.13 with no serial options enabled
Oct  3 18:38:29 darkstar kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
Oct  3 18:38:29 darkstar kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
Oct  3 18:38:29 darkstar kernel: tty02 at 0x03e8 (irq = 4) is a 16550A
Oct  3 18:38:29 darkstar kernel: tty03 at 0x02e8 (irq = 3) is a 16550A
Oct  3 18:38:29 darkstar kernel: lp1 at 0x0378, (polling)
Oct  3 18:38:29 darkstar kernel: lp2 at 0x0278, (polling)
Oct  3 18:38:29 darkstar kernel: Floppy drive(s): fd0 is 1.44M, fd1 is 1.44M
Oct  3 18:38:29 darkstar kernel: FDC 0 is a post-1991 82077
Oct  3 18:38:29 darkstar kernel: Detected scsi tape st0 at scsi0, channel 0, id 2, lun 0
Oct  3 18:38:29 darkstar kernel: PPP: version 2.2.0 (dynamic channel allocation)
Oct  3 18:38:29 darkstar kernel: TCP compression code copyright 1989 Regents of the University of
ifornia
Oct  3 18:38:29 darkstar kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
Oct  3 18:38:29 darkstar kernel: PPP line discipline registered.
Oct  3 18:38:47 darkstar login: ROOT LOGIN ON tty1
Oct  3 18:38:55 darkstar kernel: registered device ppp0
Oct  3 18:38:55 darkstar pppd[90]: pppd 2.2.0 started by root, uid 0
Oct  3 18:38:56 darkstar chat[91]: timeout set to 3 seconds
Oct  3 18:38:56 darkstar chat[91]: abort on (\nBUSY\r)
Oct  3 18:38:56 darkstar chat[91]: abort on (\nNO ANSWER\r)
Oct  3 18:38:56 darkstar chat[91]: abort on (\nRINGING\r\n\r\nRINGING\r)
Oct  3 18:38:56 darkstar chat[91]: send (rAT^M)
Oct  3 18:38:56
...

read more »

 
 
 

Cant get access to my Internet Provider ! - HELP !!!!

Post by C. S. Alle » Sat, 19 Oct 1996 04:00:00


ASK you ISP if they use PAP or CHAP for authentication  if they do
then we are in the same boat  so someone out there help us both

j...@dk-online.dk wrote:
>Can somebody help me to get access to my Internet Provider from
>Linux ? I am using Slackware 3.1. When connecting from OS/2 and
>Windows 3.1 I easy get a valid connection, but the connection
>times out after 30 seconds when trying to connect via Linux's
>ppp-on shell script quoted below. Also I list various log files
>from the kernel. I hope somebody can help, my provider couldnt.
>My hostname is the default: darkstar.frop.org and I connect by
>modem on COM2. I think the remote server uses the PAP method to
>get connection because I dont get a login/password prompt when
>dialing the provider with a terminal program. I also tried to
>send a break to force connection negotiation, but that didnt
>help either - sigh ! I seems NOTHING is received from the server !
>I also fixed the access rights of the file pap-secrets.
>Below is the configuration files:
>------------cut------------------------
>/etc/ppp/options:
>/dev/cua1 38400 modem crtscts debug defaultroute
>------------cut------------------------
>/etc/hosts:
>#
># hosts         This file describes a number of hostname-to-address
>#               mappings for the TCP/IP subsystem.  It is mostly
>#               used at boot time, when no name servers are running.
>#               On small systems, this file can be used instead of a
>#               "named" name server.  Just add the names, addresses
>#               and any aliases to this file...
>#
># By the way, Arnt Gulbrandsen <agul...@nvg.unit.no> says that 127.0.0.1
># should NEVER be named with the name of the machine.  It causes problems
># for some (stupid) programs, irc and reputedly talk. :^)
>#
>127.0.0.1       localhost
>0.0.0.0         darkstar.frop.org
># End of hosts.
>------------cut------------------------
>/etc/resolv.conf:
>domain frop.org
>search dk-online.dk
>nameserver 193.88.44.42
>------------cut------------------------
>/usr/sbin/ppp-on:
>#!/bin/sh
>#
># Script to initiate a ppp connection. This is the first part of the
># pair of scripts. This is not a secure pair of scripts as the codes
># are visible with the 'ps' command.  However, it is simple.
>#
># These are the parameters. Change as needed.
>TELEPHONE=38333133   # The telephone number for the connection
>ACCOUNT=john         # The account name for logon (as in 'George Burns')
>PASSWORD=xxxxxxx             # The password for this account (and 'Gracie Allen')
>LOCAL_IP=0.0.0.0     # Local IP address if known. Dynamic = 0.0.0.0
>#REMOTE_IP=193.88.44.42      # Remote IP address if desired. Normally 0.0.0.0
>REMOTE_IP=0.0.0.0    # Remote IP address if desired. Normally 0.0.0.0
>NETMASK=255.255.255.0        # The proper netmask if needed
>#
># Export them so that they will be available at 'ppp-on-dialer' time.
>export TELEPHONE ACCOUNT PASSWORD
>#
># This is the location of the script which dials the phone and logs
># in.  Please use the absolute file name as the $PATH variable is not
># used on the connect option.  (To do so on a 'root' account would be
># a security hole so don't ask.)
>#
>DIALER_SCRIPT=/etc/ppp/ppp-on-dialer
>#
># Initiate the connection
>#
># I put most of the common options on this command. Please, don't
># forget the 'lock' option or some programs such as mgetty will not
># work. The asyncmap and escape will permit the PPP link to work with
># a telnet or rlogin connection. You are welcome to make any changes
># as desired. Don't use the 'defaultroute' option if you currently
># have a default route to an ethernet gateway.
>#
>exec /usr/sbin/pppd debug lock modem crtscts /dev/modem 38400 \
>     asyncmap 20A0000 escape FF kdebug 1 $LOCAL_IP:$REMOTE_IP \
>     noipdefault netmask $NETMASK defaultroute connect $DIALER_SCRIPT
>------------cut------------------------
>/etc/ppp/ppp-on-dialer:
>#!/bin/sh
>#
># This is part 2 of the ppp-on script. It will perform the connection
># protocol for the desired connection.
>#
>exec chat -v                                         \
>     TIMEOUT         3                               \
>     ABORT           '\nBUSY\r'                      \
>     ABORT           '\nNO ANSWER\r'                 \
>     ABORT           '\nRINGING\r\n\r\nRINGING\r'    \
>     ''              \rAT                            \
>     'OK-+++\c-OK'   ATH0                            \
>     TIMEOUT         30                              \
>     OK              ATDT$TELEPHONE                  \
>     CONNECT         ''                              \
>     24000/ARQ       BREAK
>#    ogin:--ogin:    $ACCOUNT                        \
>#    assword:        $PASSWORD
>/var/adm/syslog:
>Oct  3 18:38:29 darkstar kernel: Console: 16 point font, 400 scans
>Oct  3 18:38:29 darkstar kernel: Console: colour VGA+ 80x25, 1 virtual console (max 63)
>Oct  3 18:38:29 darkstar kernel: pcibios_init : BIOS32 Service Directory structure at 0x000fad20
>Oct  3 18:38:29 darkstar kernel: pcibios_init : BIOS32 Service Directory entry at 0xfb1e0
>Oct  3 18:38:29 darkstar kernel: pcibios_init : PCI BIOS revision 2.10 entry at 0xfb210
>Oct  3 18:38:29 darkstar kernel: Probing PCI hardware.
>Oct  3 18:38:29 darkstar kernel: Calibrating delay loop.. ok - 66.15 BogoMIPS
>Oct  3 18:38:29 darkstar kernel: Memory: 63332k/65536k available (668k kernel code, 384k reserved,
>2k data)
>Oct  3 18:38:29 darkstar kernel: Swansea University Computer Society TCP/IP for NET3.034
>Oct  3 18:38:29 darkstar kernel: IP Protocols: ICMP, UDP, TCP
>Oct  3 18:38:29 darkstar kernel: Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
>Oct  3 18:38:29 darkstar kernel: Checking 'hlt' instruction... Ok.
>Oct  3 18:38:29 darkstar kernel: Linux version 2.0.21 (root@darkstar) (gcc version 2.7.2) #1 Sat Sep 21
>31:51 MET DST 1996
>Oct  3 18:38:29 darkstar kernel: ide: i82371 PIIX (Triton) on PCI bus 0 function 57
>Oct  3 18:38:29 darkstar kernel:     ide0: BM-DMA at 0x3000-0x3007
>Oct  3 18:38:29 darkstar kernel:     ide1: BM-DMA at 0x3008-0x300f
>Oct  3 18:38:29 darkstar kernel: hda: ST32140A, 2015MB w/128kB Cache, LBA, CHS=1023/64/63
>Oct  3 18:38:29 darkstar kernel: hdb: HP 1600 A, 1554MB w/128kB Cache, LBA, CHS=789/64/63, DMA
>Oct  3 18:38:29 darkstar kernel: hdc: CD-56E, ATAPI CDROM drive
>Oct  3 18:38:29 darkstar kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>Oct  3 18:38:29 darkstar kernel: ide1 at 0x170-0x177,0x376 on irq 15
>Oct  3 18:38:29 darkstar kernel: Started kswapd v 1.4.2.2
>Oct  3 18:38:29 darkstar kernel: aha152x: processing commandline: ok
>Oct  3 18:38:29 darkstar kernel: aha152x: BIOS test: passed, detected 1 controller(s)
>Oct  3 18:38:29 darkstar kernel: aha152x0: vital data: PORTBASE=0x340, IRQ=11, SCSI ID=7,
>onnect=disabled, parity=enabled, synchronous=disabled, delay=100, extended translation=disabled
>Oct  3 18:38:29 darkstar kernel: aha152x: trying software interrupt, ok.
>Oct  3 18:38:29 darkstar kernel: scsi0 : Adaptec 152x SCSI driver; $Revision: 1.18 $
>Oct  3 18:38:29 darkstar kernel: scsi : 1 host.
>Oct  3 18:38:29 darkstar kernel:   Vendor: WANGTEK   Model: 6130-HS           Rev: 4B18
>Oct  3 18:38:29 darkstar kernel:   Type:   Sequential-Access                  ANSI SCSI revision: 02
>Oct  3 18:38:29 darkstar kernel: scsi : detected 1 SCSI tape total.
>Oct  3 18:38:29 darkstar kernel: Partition check:
>Oct  3 18:38:29 darkstar kernel:  hda: hda1 < hda5 hda6 hda7 hda8 hda9 > hda2 hda3 hda4
>Oct  3 18:38:29 darkstar kernel:  hdb: hdb1 < hdb5 hdb6 hdb7 > hdb2
>Oct  3 18:38:29 darkstar kernel: VFS: Mounted root (ext2 filesystem) readonly.
>Oct  3 18:38:29 darkstar kernel: Adding Swap: 34236k swap-space
>Oct  3 18:38:29 darkstar kernel: hdc: media changed
>Oct  3 18:38:29 darkstar kernel: hdc: media changed
>Oct  3 18:38:36 darkstar sendmail[69]: NOQUEUE: SYSERR(root): /etc/sendmail.cf: line 0: cannot open:
>such file or directory
>Oct  3 18:38:55 darkstar syslog: Warning - secret file /etc/ppp/pap-secrets has world and/or group access
>Oct  3 18:39:52 darkstar pppd[90]: LCP: timeout sending Config-Requests
>Oct  3 18:39:52 darkstar pppd[90]: Receive serial link is not 8-bit clean:
>Oct  3 18:39:52 darkstar pppd[90]: Problem: nothing was received
>/var/adm/messages:
>Oct  3 18:38:28 darkstar syslogd 1.3-0#: restart.
>Oct  3 18:38:28 darkstar kernel: klogd 1.3-0, log source = /proc/kmsg started.
>Oct  3 18:38:29 darkstar kernel: Loaded 3387 symbols from /System.map.
>Oct  3 18:38:29 darkstar kernel: Symbols match kernel version.
>Oct  3 18:38:29 darkstar kernel: Swansea University Computer Society NET3.035 for Linux 2.0
>Oct  3 18:38:29 darkstar kernel: NET3: Unix domain sockets 0.12 for Linux NET3.035.
>Oct  3 18:38:29 darkstar kernel: Serial driver version 4.13 with no serial options enabled
>Oct  3 18:38:29 darkstar kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
>Oct  3 18:38:29 darkstar kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
>Oct  3 18:38:29 darkstar kernel: tty02 at 0x03e8 (irq = 4) is a 16550A
>Oct  3 18:38:29 darkstar kernel: tty03 at 0x02e8 (irq = 3) is a 16550A
>Oct  3 18:38:29 darkstar kernel: lp1 at 0x0378, (polling)
>Oct  3 18:38:29 darkstar kernel: lp2 at 0x0278, (polling)
>Oct  3 18:38:29 darkstar kernel: Floppy drive(s): fd0 is 1.44M, fd1 is 1.44M
>Oct  3 18:38:29 darkstar kernel: FDC 0 is a post-1991 82077
>Oct  3 18:38:29 darkstar kernel: Detected scsi tape st0 at scsi0, channel 0, id 2, lun 0
>Oct  3 18:38:29 darkstar kernel: PPP: version 2.2.0 (dynamic channel allocation)
>Oct  3 18:38:29 darkstar kernel: TCP compression code copyright 1989 Regents of the University of
>ifornia
>Oct  3 18:38:29 darkstar kernel: PPP Dynamic channel allocation code copyright 1995 Caldera, Inc.
>Oct  3 18:38:29 darkstar kernel: PPP line discipline registered.
>Oct  3 18:38:47 darkstar login: ROOT LOGIN ON tty1
>Oct  3 18:38:55 darkstar kernel: registered device ppp0
>Oct  3 18:38:55 darkstar pppd[90]: pppd 2.2.0

...

read more »

 
 
 

Cant get access to my Internet Provider ! - HELP !!!!

Post by Nicolai P Gub » Sun, 20 Oct 1996 04:00:00



    j >  I easy get a valid connection, but the connection times out after 30
    j >  seconds when trying to connect via Linux's ppp-on shell script quoted

Could be that you haven't gotten any routeing at all...  Try pinging your
gateway for starters...

    j >  darkstar.frop.org
    j >  0.0.0.0 darkstar.frop.org

Are you sure these settings are right?

...[393 lines clipped].  

Might be a better idea in proposing to forward the logs, rather than posting
them on a newsgroup.

--
        nicolai