CFE> flash -noheader 192.168.60.70:openwrt-wgt634u-2.6-jffs2.bin flash0.os
setenv kernel_args "console=ttyS1,115200 root=/dev/nfs nfsroot=192.168.60.70:/openwrt init=/etc/preinit syst_size=8M"
original: kernel_args console=ttyS1,115200 root=/dev/ram0 init=/linuxrc rw syst_size=8M
original: STARTUP ifconfig eth0 -addr=192.168.60.60 -mask=255.255.255.0;boot -elf flash0.os:
CFE> ifconfig eth0 -addr=192.168.60.60 -mask=255.255.255.0 -gw=192.168.60.1 -dns=192.168.60.1
CFE> boot -elf -tftp 192.168.60.70:openwrt-wgt634u-2.6-jffs2.bin
mount -t nfs 192.168.60.70:/openwrt /mnt -o nolock
Sunday, June 15, 2008
WGT634U open wrt notes
Friday, June 06, 2008
Stop vista from automatically deciding which columns to show for a folder
To make Vista not auto-detect and decide for you which columns to show for folders in explorer, you can do this:
--- LeaveMyColumnsAlone.reg ---
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell]
"FolderType"="NotSpecified"
------------------------------------
Disable ZIP folders in Vista
To stop ZIP files showing up in the folder tree in Explorer, the registry keys to remove are here.
--- FixZip.reg ---
Windows Registry Editor Version 5.00
[-HKEY_CLASSES_ROOT\CLSID\{E88DCCE0-B7B3-11d1-A9F0-00AA0060FA31}]
[-HKEY_CLASSES_ROOT\CLSID\{0CD7A5C0-9F37-11CE-AE65-08002B2E1262}]
------------------
Running .NET applications from a Windows fileshare.
If you're trying to run a .NET application that's living on a remote fileshare, you need to do something like this to allow it to work:
caspol -m -ag 1.2 -url file:w:\* FullTrust
or
caspol -m -ag 1.2 -url file:\\server\path\blah\* FullTrust
caspol.exe is in the .NET SDK, installed to "C:\Windows\Microsoft .NET\Framework". I don't know if it is part of the standard .NET install. caspol.exe has to be copied locally to the machine too, it won't work from a remote share either.
Symptoms and times this'll cause you trouble:
- Remote debugging from one PC (XP or Vista) to another
- Error mesage: "[Program] failed to start, application configuration is incorrect."
- Error mesage: "Error while trying to run project: Unable to start debugging."
- Error mesage: "Access is denied"
- Error mesage: " [Program] has encountered a problem and needs to close."
- Event log: Event ID 1000, Faulting Application.
If you use something like dependency walker on it, and find a missing reference to a DWMAPI.DLL, then that's a red herring. That DLL is conditionally loaded, and the condition isn't met on a machine that is missing it, so its not a problem.
Those caspol command lines are telling Windows to trust everything on that specified path, so beware!
caspol -m -ag 1.2 -url file:w:\* FullTrust
or
caspol -m -ag 1.2 -url file:\\server\path\blah\* FullTrust
caspol.exe is in the .NET SDK, installed to "C:\Windows\Microsoft .NET\Framework". I don't know if it is part of the standard .NET install. caspol.exe has to be copied locally to the machine too, it won't work from a remote share either.
Symptoms and times this'll cause you trouble:
- Remote debugging from one PC (XP or Vista) to another
- Error mesage: "
- Error mesage: "Error while trying to run project: Unable to start debugging."
- Error mesage: "Access is denied"
- Error mesage: "
- Event log: Event ID 1000, Faulting Application.
If you use something like dependency walker on it, and find a missing reference to a DWMAPI.DLL, then that's a red herring. That DLL is conditionally loaded, and the condition isn't met on a machine that is missing it, so its not a problem.
Those caspol command lines are telling Windows to trust everything on that specified path, so beware!
Subscribe to:
Posts (Atom)