On Tuesday 01 November 2005 15:43, Ilker wrote:
> Hi,
> Thanks but i just want my connection started every boot time.The command is
> this:
>
> dhpcpd wlan0
>
> Where to put it ? Also, if i try to configure my card with Yast, system
> screws up and never connect ot the net again, thanks again to Cisco
> systems.
Hello,
Here is what I did:
- Create a new file /etc/init.d/dhcp with the following content
#! /bin/sh
# Copyright (c)
#
# Author: Norbert Mueller
#
#
### BEGIN INIT INFO
# Description: My attempt on starting dhcpcd, needed because initialization
# of wlan at startup did not work for me
### END INIT INFO
dhcpcd_BIN=/sbin/dhcpcd
dhcpcd_PARAMS="-H eth1"
test -x $dhcpcd_BIN || exit 5
. /etc/rc.status
rc_reset
case "$1" in
start)
echo -n "Starting dhcpcd"
$dhcpcd_BIN $dhcpcd_PARAMS
rc_status -v
;;
stop)
echo -n "Shutting down dhcpcd "
killproc -TERM $dhcpcd_BIN
rc_status -v
;;
*)
echo "Usage: $0 {start|stop}"
exit 1
;;
esac
rc_exit
#--------------end-----------------
- Make symbolic link
cd /etc/init.d/rc2.d
ln -s ../dhcp S12dhcp
cd /etc/init.d/rc3.d
ln -s ../dhcp S12dhcp
cd /etc/init.d/rc5.d
ln -s ../dhcp S12dhcp
HTH
Norbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]