Diskless Workstation with Etherboot

2000-02-12 Thread Dan Diephouse

I have been trying to turn a 486 that I have into a diskless workstation
and have not gotten very far.  I have compiled Etherboot, and set up the
server with tftp and bootp.  I have both daemons enabled.  When I boot
up the 486 machine tcpdump yields this:

[root:dragon]# tcpdump -i de0 -e
tcpdump: listening on de0
11:34:14.767283 0:0:b2:0:0:be Broadcast ip 342: 0.0.0.0.0 
255.255.255.255.bootps: (request) xid:0x52850a00 secs:9 [|bootp]
11:34:24.653629 0:0:b2:0:0:be Broadcast ip 342: 0.0.0.0.0 
255.255.255.255.bootps: (request) xid:0x52850a00 secs:18 [|bootp]
.
.
.
and so on.

Bootp then complains, "bootpd[350]: sendto: Can't assign requested
address"

As you can see, I'm not getting very far.  Below are my configuration
files, please EMail back if you need other ones.

Thank You,

Dan Diephouse

bootptab:

.default:\
:hn:\

:sm=255.255.255.0:\
:ds=199.182.120.203:\
:gw=192.168.2.1:\
:hd=/usr/data/exports/tftpboot:\
:bf=null:\
:vm=rfc1048:\
:to=auto:\
:ra=255.255.255.255:

nebula:\
:tc=.default:\
:ha=b2be:\
#:ha=02026767
:bf=kernel:\
:ip=192.168.2.3:

The DISKLESS machine:

machine "i386"
cpu "I386_CPU"
cpu "I486_CPU"
ident   DISKLESS
maxusers32

options MATH_EMULATE#Support for x87 emulation
options INET#InterNETworking
options FFS #Berkeley Fast Filesystem
options FFS_ROOT#FFS usable as root device [keep
this!]options MFS #Memory Filesystem
options MFS_ROOT#MFS usable as root device,
"MFS" req'ed
options NFS #Network Filesystem
options NFS_ROOT#NFS usable as root device,
"NFS" req'ed
options MSDOSFS #MSDOS Filesystem
options "CD9660"#ISO 9660 Filesystem
options "CD9660_ROOT"   #CD-ROM usable as root. "CD9660"
req'edoptions PROCFS  #Process filesystem
options "COMPAT_43" #Compatible with BSD 4.3 [KEEP
THIS!]
options SCSI_DELAY=15000#Be pessimistic about Joe SCSI
device
options UCONSOLE#Allow users to grab the console

options FAILSAFE#Be conservative
options USERCONFIG  #boot -c editor
options VISUAL_USERCONFIG   #visual boot -c editor
options KTRACE  #ktrace(1) syscall trace support

options SYSVSHM #SYSV-style shared memory
options SYSVMSG #SYSV-style message queues
options SYSVSEM #SYSV-style semaphores

options BOOTP   # Use BOOTP to obtain IP
address/hostname
options BOOTP_NFSROOT   # NFS mount root filesystem using BOOTP
info
#options BOOTP_NFSV3 # Use NFS v3 to NFS mount root
options BOOTP_COMPAT# Workaround for broken bootp daemons.


config  kernel  root on wd0

controller  isa0
controller  pnp0# PnP support for ISA
controller  eisa0
controller  pci0

# Floppy drives
controller  fdc0at isa? port "IO_FD1" bio irq 6 drq 2
diskfd0 at fdc0 drive 0
diskfd1 at fdc0 drive 1

# IDE controller and disks
options "CMD640"# work around CMD640 chip deficiency
controller  wdc0at isa? port "IO_WD1" bio irq 14
diskwd0 at wdc0 drive 0
diskwd1 at wdc0 drive 1

controller  wdc1at isa? port "IO_WD2" bio irq 15
diskwd2 at wdc1 drive 0
diskwd3 at wdc1 drive 1

# ATAPI devices
options ATAPI   #Enable ATAPI support for IDE bus
options ATAPI_STATIC#Don't do it as an LKM
device  acd0#IDE CD-ROM
device  wfd0#IDE Floppy (e.g. LS-120)

# atkbdc0 controls both the keyboard and the PS/2 mouse
controller  atkbdc0 at isa? port IO_KBD tty
device  atkbd0  at isa? tty irq 1
device  psm0at isa? tty irq 12

device  vga0at isa? port ? conflicts

# splash screen/screen saver
pseudo-device   splash

# syscons is the default console driver, resembling an SCO console
device  sc0 at isa? tty

# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
#device vt0 at isa? tty
#optionsXSERVER # support for X server
#optionsFAT_CURSOR  # start with block cursor
# If you have a ThinkPAD, uncomment this along with the rest of the PCVT
lines
#optionsPCVT_SCANSET=2  # IBM keyboards are non-std

# Floating point support - do not disable.
device  npx0at isa? port IO_NPX irq 13

# Serial (COM) ports
device  sio0at isa? port "IO_COM1" flags 0x10 tty 

Re: Diskless Workstation with Etherboot

2000-02-12 Thread Dan Diephouse

This is a leftover from me trying a different Ethernet card.  It does not
work without that lineI still get the same symptoms.

Thanks,

Dan Diephouse

Parag Patel wrote:

 On Sat, 12 Feb 2000 11:40:29 EST, Dan Diephouse wrote:

 nebula:\
 :tc=.default:\
 :ha=b2be:\
 #:ha=02026767
  ^ ^^^
 :bf=kernel:\
 :ip=192.168.2.3:

 I hope this isn't what's in your file.  bootpd won't parse past the
 comment and see the subsequent two lines.  All lines must be connected
 with a backslash-newline without any intervening comments.

 Hope this helps.

 -- Parag Patel



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message