Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2000 00:12:57 +0800
From:      "Alex Kwan" <alexkwan@pacific.net.hk>
To:        "Mitsuru IWASAKI" <iwasaki@jp.FreeBSD.org>
Cc:        <freebsd-mobile@FreeBSD.ORG>
Subject:   Re: Is pccard_ether a shell script (another question)
Message-ID:  <003a01bfca51$ec162820$9d1d40ca@alexkwan>
References:  <000f01bfca4c$9d8493e0$9d1d40ca@alexkwan><20000531003815T.iwasaki@jp.FreeBSD.org><002501bfca4e$978ca520$9d1d40ca@alexkwan> <20000531010048C.iwasaki@jp.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi! Mitsuru,

I am sorry that I asked this question too much times,
but where to state the ip and netmask of
ep0_alias0 and ep0_alias1, is rc.conf?

thanks
  
> > Hi! Mitsuru,
> > 
> > How to add following rc.conf entries to pccard_ether:
> > ifconfig_ep0_alias0="inet 192.168.1.10 netmask 255.255.255.0"
> > ifconfig_ep0_alais0="inet 192.168.1.11 netmask 255.255.255.0"
> 
> Like this?
> 
> --- etc/pccard_ether- Sun May 14 19:53:18 2000
> +++ etc/pccard_ether Wed May 31 00:57:03 2000
> @@ -41,6 +41,18 @@
>   ;;
>  *)
>   ifconfig ${interface} ${pccard_ifconfig} $*
> + # Check to see if aliases need to be added
> + alias=0
> + while :
> + do
> + eval ifx_args=\$ifconfig_${interface}_alias${alias}
> + if [ -n "$ifx_args" ]; then
> + ifconfig $interface $ifx_args alias
> + alias=`expr ${alias} + 1`
> + else
> + break;
> + fi
> + done
>   ;;
>  esac
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?003a01bfca51$ec162820$9d1d40ca>