Date: Mon, 07 Dec 1998 15:17:28 -0600 From: "David L. Vondrasek" <davidvon@airmail.net> To: ras@interaccess.com (Chris Silva), brian@worldcontrol.com Cc: freebsd-questions@FreeBSD.ORG, freebsd-isdn@FreeBSD.ORG, eric@mail.hail.net Subject: Re: ISDN Bitsurfr Pro EZ Message-ID: <m0zn82V-000l5nG@mail.airmail.net> In-Reply-To: <366bedac.285665895@mail.admis.com> References: <m0zmufZ-000klUF@mail.airmail.net> <m0zmufZ-000klUF@mail.airmail.net>
next in thread | previous in thread | raw e-mail | index | archive | help
( please CC dallas.tx@airmail.net)
Thanks for all you peoples help :)
Well Solved one of the problems. I can connect with PAP, and bring up both
channels.
That's a good thing :)
Now the problem. The server I call doesn't used DHCP. I have to SPECIFY all
address's.
Something I didn't have to do on the 56K dedicated.
I was given this information
MY IP
206.66.6.201
MASK
255.255.255.224
Gateway/their IP
206.66.6.193
Mask
255.255.255.224
My ppp.config now liiks like this.
david@ns1:/etc/ppp : more ppp.conf
dial-ia:
set log chat LCP IPCP CCP connect tun command
set device /dev/cuaa1
set speed 115200
set parity none
disable lqr
deny lqr
disable protocomp <----sysadmin said to disable,not used
set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \"\" AT&C1&D2@B0=2
OK-AT-OK \\dATDT\\T TIMEOUT 40 CONNECT"
set phone xxxxxxxxxx&xxxxxxxxxx <<------Gets 2 channels
set login <------ Left blank for PAP ( Worked !!!)
set authname xxxx
set authkey xxxxx
accept chap
set openmode active
set timeout 65000
* set ifaddr 127.1.1.1/0 127.2.2.2/0 255.255.255.0
* add 0 0 127.2.2.2
I assume from what I read in the FAQ these need to be
set ifaddr 206.66.6.201/0 206.66.6.193/0 255.255.255.224
add 0 0 206.66.6.193
BUT that didn't work. I still can't ping out of the box. And they can't
ping my IP from outside. I know it's down to a address problem. I just
don't know were I need to tell my box the information. I was spoiled with a
dedicated 33.6 that ran DHCP and didn't have to work about this.
My ppp.linkup
david@ns1:/etc/ppp : more ppp.linkup
dial-ia:
delete ALL
add 0 0 HISADDR
MYADDR:
add 0 0 HISADDR
Running in AUTO MODE
david@ns1:/etc : more start_if.tun0
ppp -auto -alias dial-ia
Any thing that would change in the /etc/rc.conf that I would have to also do ?
I run a internal lan also. The fbsd box is the gateway
RC.Conf
##############################################################
### Important initial Boot-time options #####################
##############################################################
swapfile="NO" # Set to name of swapfile if aux swapfile desired.
apm_enable="NO" # Set to YES if you want APM enabled.
pccard_enable="NO" # Set to YES if you want to configure PCCARD devices.
pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address.
pccard_ifconfig="NO" # Specialized pccard ethernet configuration (or NO).
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
##############################################################
### Network configuration sub-section ######################
##############################################################
### Basic network options: ###
hostname="ns1.davidv.net" # Set this!
nisdomainname="NO" # Set to NIS domain if using NIS (or NO).
firewall_enable="NO" # Set to YES to enable firewall functionality
firewall_type="UNKNOWN" # Firewall type (see /etc/rc.firewall)
firewall_quiet="NO" # Set to YES to suppress rule display
tcp_extensions="YES" # Allow RFC1323 & RFC1644 extensions (or NO).
network_interfaces="ed0 lo0" # List of network interfaces (lo0 is
loopback).
ifconfig_lo0="inet 127.0.0.1" # default loopback device configuration.
ifconfig_ed0="10.124.239.12 netmask 255.255.255.0"
#ifconfig_tun0=""
### Network daemon (miscellaneous) & NFS options: ###
syslogd_enable="YES" # Run syslog daemon (or NO).
syslogd_flags="" # Flags to syslogd (if enabled).
inetd_enable="YES" # Run the network daemon dispatcher (or NO).
inetd_flags="" # Optional flags to inetd.
named_enable="YES" # Run named, the DNS server (or NO).
named_program="/usr/sbin/named" # named program, in case we want bind8
instead.
named_flags="-b /etc/namedb/named.boot" # Flags to named (if enabled).
kerberos_server_enable="NO" # Run a kerberos master server (or NO).
kadmind_server_enable="NO" # Run kadmind (or NO) -- do not run on
# a slave kerberos server
kerberos_stash="" # Is the kerberos master key stashed?
rwhod_enable="NO" # Run the rwho daemon (or NO).
amd_enable="NO" # Run amd service with $amd_flags (or NO).
amd_flags="-a /net -c 1800 -k i386 -d my.domain -l syslog /host /etc/amd.map"
nfs_client_enable="NO" # This host is an NFS client (or NO).
nfs_client_flags="-n 4" # Flags to nfsiod (if enabled).
nfs_server_enable="NO" # This host is an NFS server (or NO).
nfs_server_flags="-u -t 4" # Flags to nfsd (if enabled).
mountd_flags="-r" # Flags to mountd (if NFS server enabled).
nfs_reserved_port_only="NO" # Provide NFS only on secure port (or NO).
rpc_lockd_enable="NO" # Run NFS rpc.lockd (*broken!*) if nfs_server.
rpc_statd_enable="YES" # Run NFS rpc.statd if nfs_server (or NO).
portmap_enable="YES" # Run the portmapper service (or NO).
portmap_flags="" # Flags to portmap (if enabled).
rarpd_enable="NO" # Run rarpd (or NO).
rarpd_flags="" # Flags to rarpd.
xtend_enable="NO" # Run the X-10 power controller daemon.
xtend_flags="" # Flags to xtend (if enabled).
### Network Time Services options: ###
timed_enable="YES" # Run the time daemon (or NO).
timed_flags="" # Flags to timed (if enabled).
ntpdate_enable="YES" # Run the ntpdate to sync time (or NO).
ntpdate_flags="eagle.tamu.edu" # Flags to ntpdate (if enabled).
xntpd_enable="NO" # Run xntpd Network Time Protocol (or NO).
xntpd_flags="" # Flags to xntpd (if enabled).
tickadj_enable="NO" # Run tickadj (or NO).
tickadj_flags="-Aq" # Flags to tickadj (if enabled).
# Network Information Services (NIS) options: ###
nis_client_enable="NO" # We're an NIS client (or NO).
nis_client_flags="" # Flags to ypbind (if enabled).
nis_ypset_enable="NO" # Run ypset at boot time (or NO).
nis_ypset_flags="" # Flags to ypset (if enabled).
nis_server_enable="NO" # We're an NIS server (or NO).
nis_server_flags="" # Flags to ypserv (if enabled).
nis_ypxfrd_enable="NO" # Run rpc.ypxfrd at boot time (or NO).
nis_ypxfrd_flags="" # Flags to rpc.ypxfrd (if enabled).
nis_yppasswdd_enable="NO" # Run rpc.yppasswdd at boot time (or NO).
nis_yppasswdd_flags="" # Flags to rpc.yppasswdd (if enabled).
### Network routing options: ###
defaultrouter="10.124.239.13" # Set to default gateway (or NO).
static_routes="" # Set to static route list (or leave empty).
gateway_enable="YES" # Set to YES if this host will be a gateway.
router_enable="NO" # Set to YES to enable a routing daemon.
router="routed" # Name of routing daemon to use if enabled.
router_flags="-q" # Flags for routing daemon.
mrouted_enable="NO" # Do multicast routing (see
/etc/mrouted.conf).
mrouted_flags="" # Flags for multicast routing daemon.
ipxgateway_enable="NO" # Set to YES to enable IPX routing.
ipxrouted_enable="NO" # Set to YES to run the IPX routing daemon.
ipxrouted_flags="" # Flags for IPX routing daemon.
arpproxy_all="" # replaces obsolete kernel option
ARP_PROXYALL.
forward_sourceroute="NO" # do source routing (only if gateway_enable
is set to "YES")
accept_sourceroute="NO" # accept source routed packets to us
##############################################################
### System console options #################################
##############################################################
keymap="NO" # keymap in /usr/share/syscons/keymaps/* (or NO).
keyrate="fast" # keyboard rate to: slow, normal, fast (or NO).
keybell="NO" # bell to duration.pitch or normal or visual (or NO).
keychange="NO" # function keys default values (or NO).
cursor="NO" # cursor type {normal|blink|destructive} (or NO).
scrnmap="NO" # screen map in /usr/share/syscons/scrnmaps/* (or NO).
font8x16="NO" # font 8x16 from /usr/share/syscons/fonts/* (or NO).
font8x14="NO" # font 8x14 from /usr/share/syscons/fonts/* (or NO).
font8x8="NO" # font 8x8 from /usr/share/syscons/fonts/* (or NO).
blanktime="600" # blank time (in seconds) or "NO" to turn it off.
saver="daemon" # screen saver: blank/daemon/green/snake/star/NO.
moused_enable="NO" # Run the mouse daemon.
moused_type="auto" # See man page for rc.conf(5) for available settings.
moused_port="/dev/cuaa0" # Set to your mouse port.
moused_flags="" # Any additional flags to moused.
##############################################################
### Miscellaneous administrative options ###################
##############################################################
cron_enable="YES" # Run the periodic job daemon.
lpd_enable="NO" # Run the line printer daemon.
lpd_flags="" # Flags to lpd (if enabled).
sendmail_enable="YES" # Run the sendmail daemon (or NO).
sendmail_flags="-bd -q30m" # -bd is pretty mandatory.
savecore_enable="NO"
dumpdev="NO" # Device name to crashdump to (if enabled).
check_quotas="NO" # Check quotas (or NO).
accounting_enable="NO" # Turn on process accounting (or NO).
ibcs2_enable="NO" # Ibcs2 (SCO) emulation loaded at startup (or NO).
linux_enable="YES" # Linux emulation loaded at startup (or NO).
rand_irqs="NO" # Stir the entropy pool (like "5 11" or NO).
clear_tmp_enable="yes" # Clear /tmp at startup.
ldconfig_paths="/usr/lib/compat /usr/X11R6/lib /usr/local/lib" # shared
library search paths
##############################################################
### Allow local configuration override at the very end here ##
##############################################################
if [ -f /etc/rc.conf.local ]; then
. /etc/rc.conf.local
PPP LOG after connection.
Dec 7 14:36:03 ns1 ppp[47]: tun0: Chat: deflink: Dial attempt 1 of 1
Dec 7 14:36:03 ns1 ppp[47]: tun0: Chat: Send: AT&C1&D2@B0=2^M
Dec 7 14:36:03 ns1 ppp[47]: tun0: Chat: Expect(5): OK
Dec 7 14:36:04 ns1 ppp[47]: tun0: Chat: Received: AT&C1&D2@B0=2^M^M
Dec 7 14:36:04 ns1 ppp[47]: tun0: Chat: Received: OK^M
Dec 7 14:36:04 ns1 ppp[47]: tun0: Chat: Send: ATDTxxxxxxxxxx&xxxxxxxxxx^M
Dec 7 14:36:06 ns1 ppp[47]: tun0: Chat: Expect(40): CONNECT
Dec 7 14:36:06 ns1 ppp[47]: tun0: Chat: Received:
ATDTxxxxxxxxxx&xxxxxxxxxx^M^M
Dec 7 14:36:06 ns1 ppp[47]: tun0: Chat: Received: CONNECT 115200^M
Dec 7 14:36:06 ns1 ppp[47]: tun0: LCP: FSM: Using "deflink" as a transport
Dec 7 14:36:06 ns1 ppp[47]: tun0: LCP: deflink: State change Initial -->
Closed
Dec 7 14:36:06 ns1 ppp[47]: tun0: LCP: deflink: State change Closed -->
Stopped
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: deflink: LayerStart
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: deflink: SendConfigReq(1) state =
Stopped
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: ACFCOMP[2]
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: MRU[4] 1500
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: MAGICNUM[6] 0x6fb56b32
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: deflink: State change Stopped -->
Req-Sent
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: deflink: RecvConfigRej(1) state =
Req-Sent
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: MAGICNUM[6] 0x6fb56b32
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: Magic 0x6fb56b32 is REJected!
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: deflink: SendConfigReq(2) state =
Req-Sent
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: ACFCOMP[2]
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: MRU[4] 1500
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: deflink: RecvConfigAck(2) state =
Req-Sent
Dec 7 14:36:07 ns1 ppp[47]: tun0: LCP: deflink: State change Req-Sent -->
Ack-Rcvd
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: deflink: RecvConfigReq(9) state =
Ack-Rcvd
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: MRU[4] 1600
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: PROTOCOMP[2]
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: ACFCOMP[2]
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: deflink: SendConfigAck(9) state =
Ack-Rcvd
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: MRU[4] 1600
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: ACCMAP[6] 0x00000000
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: AUTHPROTO[4] 0xc023 (PAP)
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: PROTOCOMP[2]
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: ACFCOMP[2]
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: deflink: State change Ack-Rcvd -->
Opened
Dec 7 14:36:08 ns1 ppp[47]: tun0: LCP: deflink: LayerUp
Dec 7 14:36:08 ns1 ppp[47]: tun0: CCP: FSM: Using "deflink" as a transport
Dec 7 14:36:08 ns1 ppp[47]: tun0: CCP: deflink: State change Initial -->
Closed
Dec 7 14:36:08 ns1 ppp[47]: tun0: CCP: deflink: LayerStart.
Dec 7 14:36:08 ns1 ppp[47]: tun0: CCP: deflink: SendConfigReq(1) state =
Closed
Dec 7 14:36:08 ns1 ppp[47]: tun0: CCP: DEFLATE[4] win 15
Dec 7 14:36:08 ns1 ppp[47]: tun0: CCP: PRED1[2]
Dec 7 14:36:08 ns1 ppp[47]: tun0: CCP: deflink: State change Closed -->
Req-Sent
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: FSM: Using "deflink" as a transport
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: deflink: State change Initial -->
Closed
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: deflink: LayerStart.
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: deflink: SendConfigReq(1) state =
Closed
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: IPADDR[6] 127.1.1.1
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: COMPPROTO[6] 14 VJ slots without
slot compression
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: deflink: State change Closed -->
Req-Sent
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: deflink: RecvConfigReq(1) state =
Req-Sent
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: IPADDR[6] 206.66.6.193
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: deflink: SendConfigAck(1) state =
Req-Sent
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: IPADDR[6] 206.66.6.193
Dec 7 14:36:08 ns1 ppp[47]: tun0: IPCP: deflink: State change Req-Sent -->
Ack-Sent
Dec 7 14:36:11 ns1 ppp[47]: tun0: CCP: deflink: SendConfigReq(1) state =
Req-Sent
Dec 7 14:36:11 ns1 ppp[47]: tun0: CCP: DEFLATE[4] win 15
Dec 7 14:36:11 ns1 ppp[47]: tun0: CCP: PRED1[2]
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: deflink: SendConfigReq(1) state =
Ack-Sent
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: IPADDR[6] 127.1.1.1
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: COMPPROTO[6] 14 VJ slots without
slot compression
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: deflink: RecvConfigRej(1) state =
Ack-Sent
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: COMPPROTO[6] 14 VJ slots without
slot compression
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: deflink: SendConfigReq(2) state =
Ack-Sent
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: IPADDR[6] 127.1.1.1
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: deflink: RecvConfigReq(2) state =
Ack-Sent
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: IPADDR[6] 206.66.6.193
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: deflink: SendConfigAck(2) state =
Ack-Sent
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: IPADDR[6] 206.66.6.193
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: deflink: RecvConfigAck(2) state =
Ack-Sent
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: deflink: State change Ack-Sent -->
Opened
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: deflink: LayerUp.
Dec 7 14:36:11 ns1 ppp[47]: tun0: IPCP: myaddr 127.1.1.1 hisaddr =
206.66.6.193
Dec 7 14:36:11 ns1 ppp[47]: tun0: Command: dial-ia: delete ALL
Dec 7 14:36:11 ns1 ppp[47]: tun0: Command: dial-ia: add 0 0 HISADDR
Dec 7 14:36:14 ns1 ppp[47]: tun0: CCP: deflink: SendConfigReq(1) state =
Req-Sent
Dec 7 14:36:14 ns1 ppp[47]: tun0: CCP: DEFLATE[4] win 15
Dec 7 14:36:14 ns1 ppp[47]: tun0: CCP: PRED1[2]
Dec 7 14:36:17 ns1 ppp[47]: tun0: CCP: deflink: SendConfigReq(1) state =
Req-Sent
Dec 7 14:36:17 ns1 ppp[47]: tun0: CCP: DEFLATE[4] win 15
Dec 7 14:36:17 ns1 ppp[47]: tun0: CCP: PRED1[2]
Dec 7 14:36:20 ns1 ppp[47]: tun0: CCP: deflink: SendConfigReq(1) state =
Req-Sent
Dec 7 14:36:20 ns1 ppp[47]: tun0: CCP: DEFLATE[4] win 15
Dec 7 14:36:20 ns1 ppp[47]: tun0: CCP: PRED1[2]
Dec 7 14:36:23 ns1 ppp[47]: tun0: CCP: deflink: LayerFinish.
Dec 7 14:36:23 ns1 ppp[47]: tun0: CCP: deflink: State change Req-Sent -->
Stopped
Dec 7 14:45:06 ns1 ppp[47]: tun0: LCP: deflink: SendProtocolRej(3) state =
Opened
Dec 7 14:45:14 ns1 last message repeated 4 times
root@ns1:/var/log :
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0zn82V-000l5nG>
