Solved

3c509, Digi Xem & Buslogic

Posted on 1997-03-03
1
244 Views
Last Modified: 2013-12-15
I just installed the latest Redhat from ftp.digital.com
on an IDE drive, and I am having a hell of a time configuring it to recognize the following hardware:

BusLogic 9466 PCI SCSI Card  - i/o 0x330
2 Digiboards Xem's -
1 at - 0x104 and irq 15
1 at - 0x204 and irq 3 (com2 is already disabled)
2 3COM 3c509 adapters
1 at - 0x250 - irq 10
1 at - 0x300 - irq 9

I worked 37 hours this past weekend, read the Serial-HOWTOS, Ethernet* HOWTOS, installed the
Digiboard patch from ftp.dgii.com, ran digiconfig,
rebuilt the kernal about 40 times, would have drank
about 100 cups of coffee (but I dont drink coffee) -
you get the idea -

Also - since I have 2 network cards, I will be setting
up dial-up PPP to use dynamic ips from each of these
networks - is this possible?  Is there any change
in the ppp/options, or options.cudXX files, or
can I just put    cards ips:port assigned ip
in these options.cudXX files???

Also - how do I configure slip for the same type
of setup.  i.e. at the prompt, the user types slip,
and gets a dynamic ip - I couldn't find this anywhere
in the HOWTO's.


Thank you ever so much.

I will much happier when this is all over!  Im tired! :(


Jordan

0
Comment
Question by:jredner
1 Comment
 

Accepted Solution

by:
cok earned 100 total points
ID: 1626889
You can use one of these solutions :
1/ put ips:port in each /etc/ppp/options.cudXX

2/ My prefered way : use a connexion script like this :

# pppconnect.cud file
-----------------------------------
# !/bin/sh

term=vt100
TERM=vt100
export term TERM

MYNAME="tty"
MYIP="202.84.250.66"

case $LOGNAME in

# The following login names receive a static IP
"~M~I~K~E") MYIP="202.84.250.121" ;;

*)
MYPORT=`who am i | /usr/bin/awk -f /etc/ppp/pppport.awk`

# The following ports assign IP dynamically based on the login port
case $MYPORT in

  "cud0") MYIP="202.84.250.97" ; MYNAME="ppp1" ;;
  "cud1") MYIP="202.84.250.98" ; MYNAME="ppp2" ;;
  "cud2") MYIP="202.84.250.99" ; MYNAME="ppp3" ;;
  "cud3") MYIP="202.84.250.100" ; MYNAME="ppp4" ;;
  "cud4") MYIP="202.84.250.101" ; MYNAME="ppp5" ;;
  "cud5") MYIP="202.84.250.102" ; MYNAME="ppp6" ;;
  "cud6") MYIP="202.84.250.103" ; MYNAME="ppp7" ;;
  "cud7") MYIP="202.84.250.104" ; MYNAME="ppp8" ;;
  "cud8") MYIP="202.84.250.105" ; MYNAME="ppp9" ;;
  "cud9") MYIP="202.84.250.106" ; MYNAME="ppp10" ;;
  "cud10") MYIP="202.84.250.107" ; MYNAME="ppp11" ;;
  "cud11") MYIP="202.84.250.108" ; MYNAME="ppp12" ;;
  "cud12") MYIP="202.84.250.109" ; MYNAME="ppp13" ;;
  "cud13") MYIP="202.84.250.110" ; MYNAME="ppp14" ;;
  "cud14") MYIP="202.84.250.111" ; MYNAME="ppp15" ;;
  "cud15") MYIP="202.84.250.112" ; MYNAME="ppp16" ;;

esac
;;

esac

echo
echo "Welkam long INTERNET services blong TVL!!!"
echo "IP Address blong yu hemi : $MYIP"
echo "Name blong yu hemi : $MYNAME.vanuatu.com.vu"
echo

# Change the line below to the IP address of this server
# or the default gateway you wish to extend to the user.
# Mine is set up with the IP of the dial-up box this file is installed on.
if [ ! "$MYNAME" = "tty" ] ;
  then
    /usr/sbin/pppd remotename $MYNAME 202.84.250.66:$MYIP  
  fi

if [ "$MYNAME" = "tty" ] ;
  then
    /bin/bash -login
  fi

--------------------------------------------
This is the pppport.awk file :

BEGIN { }
{
printf("%s",$2)
}

-------------------------

For slip connexion you can do the same with this script.

At last you ave to read the README.linux file in ppp 2.2.0f distribution.

If this can help you.

Alan

0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
Fine Tune your automatic Updates for Ubuntu / Debian
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question