Skip to Content.
Sympa Menu

sm-users - [SM-Users] Re: [SM-Discuss] networking.sh busted.

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: Eric Schabell <eschabell AT sourcemage.org>
  • To: Jeremy Kolb <jkolb AT brandeis.edu>
  • Cc: sm-users AT lists.ibiblio.org
  • Subject: [SM-Users] Re: [SM-Discuss] networking.sh busted.
  • Date: Fri, 17 Jan 2003 15:11:27 +0100

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> On Friday January 17 2003 14:57, Jeremy Kolb wrote:
> For some reason the networking script does not run dhcpcd. All of my
> info is correct, i've recast the spell but it didn't fix it. now on
> bootup i have to run dhcpcd manually and it picks up eth0. (im on devel)
>
First off, this belongs in the sm-users list, so I have moved the response
over there....

Second, I believe the section in the networking.sh script you are refering to
is:

if [ `echo $MODE` = dynamic ]; then
echo "$1ing dhcpcd on $DEVICE ..."
if [ -e $DHCPD_PATH$DEVICE.pid ]; then
dhcpcPid=`cat $DHCPD_PATH$DEVICE.pid`
this line:>>>> dhcpcd -k $DEVICE 1>/dev/null 2>&1 <<<<

if you have a file called /etc/sysconfig/network/eth0.dev:

# config file for eth0
# MODE=dynamic if you use dhcp, static otherwise
# dynamic and static both require
# MODULE= (kernel module for eth0)
# if your eth0 driver is built into kernel then leave blank
# static requires the following in addition:
# IP= ip address of eth0
# BROADCAST= broadcast address
# NETMASK= netmask address
# GATEWAY= gateway address (leave blank if gateway is set by other program)
MODULE=8139too
MODE=dynamic

with your own module in there, then it should run
dhcpcd -k eth0....

you can place an echo line in front of it if you want:

echo "dhcpcd -k $DEVICE"

and ./networking.sh restart to see what it is doing...

Good luck,

Eric
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+KA8SruUhvfIGbDIRAmGyAJ0RQ80Hm+nLfLYVJWxlF+Mz4PfiIwCfbe4A
s2ucySFWzCS+o6IAOuzdeRs=
=iodV
-----END PGP SIGNATURE-----





Archive powered by MHonArc 2.6.24.

Top of Page