[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 254
  • Last Modified:

3c509, Digi Xem & Buslogic

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
jredner
Asked:
jredner
1 Solution
 
cokCommented:
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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now