Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

isp help

0 views
Skip to first unread message

Blair Wilson

unread,
Jul 6, 1997, 3:00:00 AM7/6/97
to

I dial isp us "cu phone# - You, enter in username and password. The
next thing I get is establishing PPP, then garbage. After the garbage,
I get "no carrier". I am clueless on what to do. If anyone has had
this problem, please explain you resolved it. Your help will be greatly
appreciated. Thanks in advance.
Blair Wilson
bwi...@mail.microserve.net

ps: I am running Solaris X86 2.5.1 with a USR 56K sportster modem.

Deepti Agarwal

unread,
Jul 6, 1997, 3:00:00 AM7/6/97
to

In article <33BF3CC1...@mail.microserve.net>,

Setting the debug_level 8 in /etc/asppp.cf and then restarting asppd
and connecting should give you some information about the PPP
connection in the /var/adm/log/asppp.log file.


--
Deepti Agarwal
dee...@kuwait.net

Peter J Naylor

unread,
Jul 6, 1997, 3:00:00 AM7/6/97
to

Blair Wilson (bwi...@mail.microserve.net) wrote:

: I dial isp us "cu phone# - You, enter in username and password. The
: next thing I get is establishing PPP, then garbage.

There's your hint. Your login shell has been setup to offer a PPP link -
you need to either start configuring your system to connect via PPP (man
aspppd) or ask your ISP about shell access.

--
/*-------------------------------------------------------------*
* Peter James Naylor ## SysAdmin, Supernal Technologies, Inc. *
*-------------------------------------------------------------*
* pe...@supernal.net ## <http://www.supernal.net> *
*------------------------------------------------*/

Gary Masters

unread,
Jul 6, 1997, 3:00:00 AM7/6/97
to

Blair Wilson (bwi...@mail.microserve.net) wrote:
: I dial isp us "cu phone# - You, enter in username and password. The
: next thing I get is establishing PPP, then garbage. After the garbage,

: I get "no carrier". I am clueless on what to do. If anyone has had
: this problem, please explain you resolved it. Your help will be greatly
: appreciated. Thanks in advance.

This is because you are dialing into a PPP annex at your ISP. Ask them
if they support dialup terminals, or get a PPP daemon for your system
and make a PPP connection.

--

Gary Masters
gmas...@devcg.denver.co.us


Alan J. Lucero

unread,
Jul 26, 1997, 3:00:00 AM7/26/97
to

Blair Wilson wrote:

> I dial isp us "cu phone# - You, enter in username and password. The
> next thing I get is establishing PPP, then garbage. After the
> garbage,
> I get "no carrier". I am clueless on what to do. If anyone has had
> this problem, please explain you resolved it. Your help will be
> greatly
> appreciated. Thanks in advance.

> Blair Wilson
> bwi...@mail.microserve.net
>
> ps: I am running Solaris X86 2.5.1 with a USR 56K sportster modem.

Don't use cu. Get asppp running then ping a machine on the other
side
of the gateway. Here's some cookbook detail that addresses CHAP and
PAP setup differences. There's plenty of good sites (Stokely, for
instance)
that give the broader generic setup.
Hope the mailer window size doesn't make this too confusing; I pasted in

from an old letter.
good luck.
...
I've sent these out before. These are working config files for two
different
ISPs, one using CHAP and one using PAP, both with dynamic IP
addressing. In
both cases I'm replacing uppercase USERNAME and PASSWORD in place of my
actuals. Ditto for the PPP_ServerName at a corporate firewall.
The first example is for AT&T's Worldnet using CHAP, the second is
for Lucent Technologies server (for employees) using PAP. In both
cases, the
phone numbers in the /etc/uucp/Systems file are replaced here by XXs.
Ditto for the relevant IP addresses.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
CHAP configuration:

/etc/asppp.cf:
ifconfig ipdptp0 plumb MyMachineName www up
path
inactivity_timeout 600 # Approx. 10 minutes
interface ipdptp0
peer_system_name www # The name in /etc/uucp/Systems and
/etc/hosts
negotiate_address on
will_do_authentication chap
chap_name USERNAME
chap_secret PASSWORD
ipcp_async_map 0
debug_level 1
default_route

/etc/hosts:
127.0.0.1 localhost loghost MyMachineName
# DNS 1:
XXX.XX.XXX.X ns1 ns1.worldnet.att.net
# DNS 2:
XXX.XX.XX.X ns2 ns2.worldnet.att.net
XXX.XX.XXX.X www www.worldnet.att.net

/etc/resolv.conf:
domain worldnet.att.net
nameserver XXX.XX.XXX.X
nameserver XXX.XXX.XX.X

/etc/inet/networks:
ppp XXX.XX.XXX #The *domain* address of your
ISP.

/etc/uucp/Dialers:
hayes =,-, "" \dA\pTME1V1X1Q0S2=255S12=255\r\c OK\r
\EATDT\T\r\c CONNECT

/etc/uucp/Systems:
www Any ACU X38400 *70,1212PhoneNumber "" \r\n\c
# X38400: see note below.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
PAP configuration:

/etc/asppp.cf:
ifconfig ipdptp0 plumb MyMachineName PPP_ServerName up mtu 8232
path
interface ipdptp0
negotiate_address on
peer_system_name PPP_ServerName
will_do_authentication pap
pap_id USERNAME
pap_password PASSWORD
debug_level 1
ipcp_async_map 0
lcp_mru 8232
inactivity_timeout 600

/etc/hosts:
127.0.0.1 localhost loghost MyMachineName
XXX.XX.XXX.X PPP_ServerName.lucent.com PPP_ServerName
#Domain Name Server 1
XXX.XX.XXX.X server1 server1.dns.lucent.com # bogus, obviously.
#Domain Name Server 2
XXX.XX.XXX.X server2 server2.dns.lucent.com

/etc/resolv.conf
domain wh.lucent.com
nameserver XXX.XX.XXX.X
nameserver XXX.XX.XXX.X
# these addresses correspond to servers 1 and 2 in /etc/hosts.

/etc/inet/networks:
ppp XXX.XX.XX #The *domain* address of your ISP.

/etc/uucp/dialers:
hayes =,-, "" \dA\pTME1V1X1Q0S2=255S12=255\Q3\r\c OK\r \EATDT\T\r\c
CONNECT
# you might want to add after CONNECT STTY=crtscts to enforce

# hardware flow control.

/etc/uucp/Systems:
PPP_ServerName Any ACU X38400 *70,1800PhoneNumber "" \r\n\c

Common to both systems:
/etc/uucp/Devices:
ACU cua/a - X38400 hayes

In conjuction with this line, you need to add to your /etc/ttydefs file:

X38400:38400 hupcl crtscts:38400 hupcl::X38400
to enforce higher rate transfer between bus and modem.

See that you have an up-to-date uart if you use a serial port modem.
For both protocols there should be no /etc/defaultrouter
or /etc/gateways, and /etc/nodename should contain your
machinename (MyMachineName above).

Don't forget to stop,start the asppp daemon after you make these
changes!
Depending on your previous configuration you may need to reboot.
Occassionally, if you let the aspppd time out, dynamic IP addressing
fails
when you try to access the outside. I combined start, stop functions of

/etc/inet/asppp in one file I put into /usr/bin/asppprestart, which
fixes
that:
/usr/bin/asppprestart:
#!/bin/sh
#
#ident "@(#)asppp 1.14 94/02/01 SMI"
#
# Copyright (c) 1993 by Sun Microsystems, Inc.
#
# Asynchronous PPP start/stop script
#
PATH=/sbin:/usr/bin:/usr/sbin
export PATH
set `id`
if [ $1 != "uid=0(root)" ]; then
echo "$0: this script must be run as root ... fatal error"
exit 1
fi
# Stop aspppd
psid=`ps -e | grep aspppd | awk '{print $1}'`
if test -n "$psid"
then
kill $psid
fi
# use ifconfig to make the interfaces down just in case
nawk '/^[ \t]*ifconfig/ { system("ifconfig " $2 " down")

}' < /etc/asppp.cf
defrouters=`netstat -rn | grep default | awk '{print $1} {print $2}' `
route delete $defrouters

# Start aspppd
if test -f /etc/asppp.cf
then
# execute the ifconfig lines.
nawk '/^[ \t]*ifconfig/ { system($0) }' < /etc/asppp.cf

/usr/sbin/aspppd -d 1
if [ $? -ne 0 ]; then
echo "aspppd not started, see
/var/adm/log/asppp.log"
fi
fi
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

That's it. This runs consistently on Solaris 2.5.1.

a.l.


0 new messages