What's new

DNSmasq PXE Boot

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Krusty_47

New Around Here
I am running Merlin build 3.0.0.4.374.34_2

I am attempting to setup PXE boot to Windows deployment services.

I am having issues accessing jffs. when I try to go to the /jffs directory I get permission denied.

I have turned on jffs, formatted upon reboot and rebooted twice. No change.

I've done a decent amount of searching but haven't found anything. Is there a quick walk through on how to set this up?

Any help would be greatly appreciated.
 
What router model? Any error message in syslog after the reboot regarding the JFFS partition?

Post the output of this command after a reboot:

Code:
nvram show | grep jffs
 
N66R

jffs2_on=1
jffs2_exec=
jffs2_size=6291456
jffs2_format=0
size: 42652 bytes (22884 left)


No errors that I can see in the sys log.
 
I am running Merlin build 3.0.0.4.374.34_2

I am attempting to setup PXE boot to Windows deployment services.
Won't work. dnsmasq's TFTP server can't remap some symbols. Please use tftpd-hpa from Entware with following remapping file:
Code:
$ cat /opt/etc/tftpd/remap
r       ^\\             # Remove first double backslashes
rg      \\      /       # Convert backslashes to slashes
#e      pxeboot.n12      # Do not proces subsequent rules

Full Win7 network deployment guide is available in russian only. May be I should to post it here (in english of course)?
 
Last edited:
I'm just trying to put in the DHCP option IE dhcp-boot=pxelinux.0,,192.168.1.10

Just for my particular setup. Although I can't access jffs or the dnsmasq.conf file to add it.
 
N66R

jffs2_on=1
jffs2_exec=
jffs2_size=6291456
jffs2_format=0
size: 42652 bytes (22884 left)


No errors that I can see in the sys log.

Try the following:

Code:
nvram unset jffs2_size
nvram set jffs2_format=1
nvram commit
reboot
 
Still getting the same permission denied with the following

jffs2_on=1
jffs2_exec=
jffs2_size=6291456
jffs2_format=0
size: 42652 bytes (22884 left)
 
Still getting the same permission denied with the following

jffs2_on=1
jffs2_exec=
jffs2_size=6291456
jffs2_format=0
size: 42652 bytes (22884 left)

Are these the result after you ran the commands I gave you?
 
Yes I ran what you gave me then rebooted. Getting the exact same info and error as before.

Then it means the router did reformat the jffs partition properly. If it's not mounted and there is nothing in the system log then I have no idea what would be going on.
 

Similar threads

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!

Staff online

Top