Solved

3c509, Digi Xem & Buslogic

Posted on 1997-03-03
1
233 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now