Traduisez - Übersetzen - Traduzca - Traduza - Tradurre - Translate

VanLUG Email Archive

VanLUG Mailing List
Attached file "rc.inet" Gave tried to get network up

New Message Reply About this list Date view Thread view Subject view Author view

Ya`akov N Miles (ynmiles@ibm.net)
Sat, 22 May 1999 13:15:24 -0700


Can anyone tell me what is wrong with this file? I can't telnet to it,
even on the machine on which it resides. How do I alter the MTU?

-- 
Linux - it isn't just for breakfast anymore... mailto:ynmiles@ibm.net
Note	http://www.cheapbytes.com for (almost) free Linux & freeBSD CD-ROMs
and	http://www.mit.edu/afs/sipb/user/xiphmont/cdparanoia for CD ripper
Lookie  http://www.bigbrotherinside.org/ Intel will code unique ID on PIII

#!/bin/sh # # rc.inet1 This shell script boots up the base INET system. # # Version: @(#)/etc/rc.d/rc.inet1 1.01 05/27/93 #

HOSTNAME=`hostname`

# Attach the loopback device. /sbin/ifconfig lo 127.0.0.1 /sbin/route add -net 127.0.0.0 netmask 255.0.0.0 lo

# IF YOU HAVE AN ETHERNET CONNECTION, use these lines below to configure the # eth0 interface. If you're only using loopback or SLIP, don't include the # rest of the lines in this file.

# Edit for your setup. IPADDR="192.168.2.2" # REPLACE with YOUR IP address! NETMASK="255.255.255.0" # REPLACE with YOUR netmask! NETWORK="192.168.2.0" # REPLACE with YOUR network address! BROADCAST="192.168.2.255" # REPLACE with YOUR broadcast address, if you # have one. If not, leave blank and edit below. GATEWAY="192.168.2.2" # REPLACE with YOUR gateway address!

# Uncomment the line below to initialize the ethernet device. /sbin/ifconfig eth0 ${IPADDR} broadcast ${BROADCAST} netmask ${NETMASK}

# Uncomment these to set up your IP routing table. /sbin/route add -net ${NETWORK} netmask ${NETMASK} eth0 /sbin/route add default gw ${GATEWAY} netmask 0.0.0.0 metric 1

# End of rc.inet1


New Message Reply About this list Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b3 on Sat 22 May 1999 - 13:20:47 PDT