Hello,

I am running Linuxconf 1.12r5, the version that came with RedHat Linux 5.2.

I am trying to set up a CSLIP connection to my ISP with Linuxconf.

In the past, I used to set up my connection with the dip script provided at

the end of this message (username and password replaced).

I would invoke the dip script with:

/usr/sbin/dip /path-to-script/my-script.dip

Now, I can't get Linuxconf to work with my CSLIP connection at all, whereas

my dip script still works, and to prove to you that I have been successful

with linuxconf before I will say that it works fine with a PPP connection I

have also set up on my system and works both with Linuxconf and RedHat's

netcfg utility.

The problem with my CSLIP connection not working is reported in 

/var/log/messages :

Feb  9 22:03:01 river ifup-sl: /etc/sysconfig/network-scripts/dip-sl0 
does not exist for sl0

Here is the list of files under /etc/sysconfig/network-scripts/ :

chat-ppp0          ifcfg-sl0          ifdown-sl          ifup-post
chat-sl0           ifdhcpc-done       ifup               ifup-ppp
ifcfg-eth0         ifdown             ifup-aliases       ifup-routes
ifcfg-lo           ifdown-post        ifup-ipx           ifup-sl
ifcfg-ppp0         ifdown-ppp         ifup-plip          network-functions

So, where did I go wrong?

Do I just copy my own dip script to 
/etc/sysconfig/network-scripts/dip-sl0 ?

There must be an easier way than that, isn't there?

My dip script follows:

############################################################
# This is a chat script for the dip program which users    #
# may use to dial up to the MUN SLIP server.               #
############################################################

############################################################
# Specify username, password, remote machine's IP address, #
# and name of terminal port to use. Set route to remote    #
# host to default.                                         #
############################################################

get $MYUSERNAME <my-username-here>
get $MYPASSWORD <my-password-here>
get $remote 134.153.98.254
port modem
default
sleep 1

############################################################
# Get the modem ready for dialing.                         #
############################################################

print
print Getting ready to dial...

reset
sleep 3

send ATS7=45S0=0L1V1X4&c1E1Q0\r
wait OK

send ATZ\r
wait OK

send ATM\r
wait OK

sleep 1

############################################################
# Dial.                                                    #
############################################################

print
print Dialing...

dial 7372168
sleep 3

############################################################
# Login.                                                   #
############################################################

print
print Logging in...

send \n

wait Memorial:
send login\n

wait Username:
send $MYUSERNAME
send \n

wait Password:
send $MYPASSWORD
send \n

############################################################
# Enter SLIP mode and enable header compression.           #
############################################################

print
print Enabling CSLIP mode...

wait Memorial:
send slip /compressed\n

############################################################
# Obtain the dynamically allocated IP address of the local #
# host as well as the maximum transfer unit (MTU) from the #
# remote host.                                             #
# Print the IP address of the remote host, the dynamically #
# allocated IP address of the local host, and the maximum  #
# transfer unit (MTU).                                     #
############################################################

wait Your
get $local remote
wait MTU
get $mtu remote

print
print Connected to remote host $remote
print
print Your local IP address is $local
print
print Maximum Transfer Unit is $mtu
print

mode CSLIP


---
You are currently subscribed to linuxconf as: [[email protected]]
To unsubscribe, forward this message to [EMAIL PROTECTED]

Reply via email to