jrmosier in:
https://sourceforge.net/forum/message.php?msg_id=4786276
at SourceForge.net wrote:
> Thanks so much for the response.  I have had several private responses with
> things to try and after about 10 hours of trial and error, it boots.
> 
> This is an older hardware version and turns out that the key was to enable the
> alternate boot host on the routers dhcp server with the following option:
> 
> boot_file dongle.bin
> siaddr 192.168.0.200
> ...
> However, no matter what I name the file, it will not read the config file. 
> I've even tried different version of mvpmc with the same results.

The easiest way to definitively determine what file name it is trying to 
retrieve is to look at the TFTP server logs.


> ...I would like to include a config something like this..
> 
> # Setup time, date, hostname
> TZ='EST+5EDT,M3.2.0/2,M11.1.0/2'
> export TZ

The typically recommended construct is:

# set time zone
echo "TZ=EST+5EDT,M4.1.0/2,M10.5.0/2; export TZ" > /etc/shell.config
. /etc/shell.config


Though I'm not sure why, as I don't know if anything actually uses 
/etc/shell.config. I would think it is only relevant that TZ is set in 
the environment where mvpmc gets launched.


> rdate -s clock.unc.edu

If you're going to use a remote server for time, might as well use NTP. 
You can do that with:

NTP=pool.ntp.org

or substitute a more geographically specific server. See 
http://www.pool.ntp.org/  and http://mvpmc.wikispaces.com/timeserver

But note this trick won't work if your startup script is loaded from an 
SMB share or the fallback TFTP server address. Probably an oversight in 
the design of the rcS script. It should work fine in the typical case 
where the config is loaded from a TFTP server.


> HNAME=`MyMVP` ; export HNAME

I don't think you want to use back-ticks instead of single quotes there.

You can set this via DHCP. The Dnsmasq examples previously posted will 
accomplish setting the host name.


> # Mount NAS SMB Share
> mkdir /music
> mount.cifs //192.168.0.200/store/Music /music

Or better...

mkdir /music && mount.cifs //192.168.0.200/store/Music /music

...not that it matters much.


I take it you're satisfied with the command line options passed to mvpmc 
in the default startup script:

mvpmc -c ${TFTP} --startup setup --emulate ? &

as you didn't include one in your script.

  -Tom


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mvpmc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mvpmc-users
mvpmc wiki: http://mvpmc.wikispaces.com/

Reply via email to