Hi guys,

I have a diskless workstation setup (which I had working fine) and am
having trouble incorporating 100Mbps NICs into the picture.

I have 10Mbps NICs and 100Mbps NICs, but netboot and etherboot only
support the 10Mbps NICs I have.

However there are ways around this - just have the workstation use the
10Mbps NIC to get an IP, grab its kernel, mount root via NFS and begin
booting.  While booting, it configures its 100Mbps NIC and remounts root
over the 100Mbps line.

The problem is that when trying to mount root via the 100Mbps line I keep
getting permission denied error messages.  So it is failing at literally
the very last step.

I became very familiar with all the config files and such while getting it
to work with just 10Mbps NICs, and from what I can tell everythig seems
configured correctly.  I am not sure what to try next.

here are the relevant details:

The network is setup such the 10Mbps and 100Mbps networks are entirely
sepparate.  Physically, there are no connectiosn between the two, and it
is configured so that 192.168.0.* is 10Mbps and 192.168.1.* is 100Mbps.

----------------------------------------------------
Server: (seele)

-----------------------------------------------------
/etc/hosts

127.0.0.1       seele   localhost
192.168.0.1     seele   localhost
192.168.1.1     seele   localhost
192.168.0.2     casper
192.168.1.2     casper

----------------------------------------------------
/etc/network/interfaces

auto lo
iface lo inet loopback

# internet 100Mbit connection (top card)
auto eth2
iface eth2 inet static
        address 192.168.1.1
        netmask 255.255.255.0

# internet 10Mbit connection (middle card)
auto eth0
iface eth0 inet static
        address 192.168.0.1
        netmask 255.255.255.0

# external 10Mbit connection (bottom card)
auto eth1
iface eth1 inet dhcp

------------------------------------------------------
/etc/bootptab

default:ds=192.168.0.1:\
    sm=255.255.255.0:\
    gw=192.168.0.1:\
    ds=66.245.60.4

casper:ht=ethernet:\
    sa=192.168.0.1:\
    ha=0x52544c1d2fb1:\
    ip=192.168.0.2:\
    tc=default:\
    hd=/tftpboot/casper:\
    bf=kernel:\
    rp=/nfsroot/casper:

------------------------------------------------------
/etc/exports

/nfsroot/casper/        192.168.0.2(rw,no_root_squash)
/nfsroot/casper/        192.168.1.2(rw,no_root_squash)
/root/                  192.168.1.2(rw,no_root_squash)
/home/jason/            192.168.1.2(rw,no_root_squash)
/boot/                  192.168.1.2(rw,no_root_squash)
/usr/src/               192.168.1.2(rw,no_root_squash)
/usr/audio/             192.168.1.2(rw,no_root_squash)
/usr/video/             192.168.1.2(rw,no_root_squash)

---------------------------------------------------
Client: (casper)

---------------------------------------------------
/etc/fstab

# <file system> <mount point>   <type>  <options>       <dump>  <pass>
none            /proc           proc    defaults        1       0

# 192.168.0.1 is 10Mbps
# 192.168.1.1 is 100Mbps

# first mount at 10Mbps
# <file system>                 <mount point>   <type>  <options>               
        <dump>  <pass>
192.168.0.1:/nfsroot/casper/    /               nfs     
rsize=8192,wsize=8192,nolock    0       1

# then remount at 100Mbps
# <file system>                 <mount point>   <type>  <options>               
        <dump>  <pass>
192.168.1.1:/nfsroot/casper/    /               nfs     
rsize=8192,wsize=8192,nolock    0       1
192.168.1.1:/root/              /root           nfs     
rsize=8192,wsize=8192,nolock    0       1
192.168.1.1:/home/jason/        /home/jason     nfs     
rsize=8192,wsize=8192,nolock    0       1
192.168.1.1:/boot/              /boot           nfs     
rsize=8192,wsize=8192,nolock    0       1
192.168.1.1:/usr/src/           /usr/src        nfs     
rsize=8192,wsize=8192,nolock    0       1
192.168.1.1:/usr/audio/         /usr/audio      nfs     
rsize=8192,wsize=8192,nolock    0       1
192.168.1.1:/usr/video/         /usr/video      nfs     
rsize=8192,wsize=8192,nolock    0       1

# <file system> <mount point>   <type>  <options>               <dump>  <pass>
/dev/cdrom      /cdrom          iso9660 defaults,ro,user,noauto 0       0
/dev/dvd        /cdrom          iso9660 defaults,ro,user,noauto 0       0
/dev/fd0        /mnt/floppy     auto    defaults,user,noauto    0       0

-------------------------------------------------------

If you guys can think of anything I might be missing, or if there are any
pertinent config files I have left out, please let me know.

by the way, if you could please reply to [EMAIL PROTECTED], as I am not
currently subscribed to the list.

thanks,
jason pepas
[EMAIL PROTECTED]

Reply via email to