Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

3c509, Digi Xem & Buslogic

Posted on 1997-03-03
1
Medium Priority
?
253 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 200 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
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.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

926 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