On Wed, Jul 20, 2011 at 9:51 PM, J C <span dir="ltr"><<a href="mailto:c7aff@yahoo.com">c7aff@yahoo.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit"><div>Thanks for your response. I think I've successfully used gPXE with an http cloud boot on the 8139 NIC before.</div>
<div> </div>
<div>Attached is a pic of the screen when running the commands you sent. It's not of good quality. 2 of the important but fuzzy lines read like so:</div>
<div> </div>
<div>...Operation cancelled (0x0b4e40a0)</div>
<div>...Packet decryption error (0x1c1f6602)</div>
<div> </div>
<div>My Wifi AP has WPA-PSK TKIP. I'd like to know more of what file this refers to: "DHCP server responded but didn't specify a filename to boot". I'm guessing it it's the pxe menu file. I play around with this.</div>
</td></tr></tbody></table></blockquote><div><br></div><div>Please keep the list in the CC (your attachment included on this message for their benefit).</div><div><br></div><div>None of the error lines you indicated are problematic - DHCP succeeds and obtains an IP address (10.0.0.5; is that correct for your network?)</div>
<div><br></div><div>Your DHCP server needs to be providing a "filename" option specifying which file gPXE should boot. It's not. That's the cause of your troubles here; you need to reconfigure your DHCP server so that gPXE knows what to do once it has its IP address. This is not wireless-specific; it's the same as for any PXE boot. Maybe your wireless network has a DHCP server that's separate from your wired network, and you've only configured the one on your wired network?</div>
<div><br></div><div>Josh</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td valign="top" style="font:inherit">
<div> </div>
<div>JC</div>
<div> </div>
<div><br><br>--- On <b>Thu, 7/21/11, Joshua Oreman <i><<a href="mailto:oremanj@rwcr.net" target="_blank">oremanj@rwcr.net</a>></i></b> wrote:<br></div>
<blockquote style="padding-left:5px;margin-left:5px;border-left:rgb(16,16,255) 2px solid"><br>From: Joshua Oreman <<a href="mailto:oremanj@rwcr.net" target="_blank">oremanj@rwcr.net</a>><br>Subject: Re: [gPXE] RTL8185L desktop wifi PCI card: "No filename...No network devices" error<br>
To: "J C" <<a href="mailto:c7aff@yahoo.com" target="_blank">c7aff@yahoo.com</a>><br>Cc: "gpxe" <<a href="mailto:gpxe@etherboot.org" target="_blank">gpxe@etherboot.org</a>><br>Date: Thursday, July 21, 2011, 3:15 AM<div>
<div></div><div class="h5"><br><br>
<div>On Wed, Jul 20, 2011 at 7:49 PM, J C <span dir="ltr"><<a href="http://us.mc1207.mail.yahoo.com/mc/compose?to=c7aff@yahoo.com" rel="nofollow" target="_blank">c7aff@yahoo.com</a>></span> wrote:<br>
<div>
<blockquote style="padding-left:1ex;margin:0px 0px 0px 0.8ex;border-left:#ccc 1px solid">
<table cellspacing="0" cellpadding="0" border="0">
<tbody>
<tr>
<td valign="top">
<div>I'm using an RTL8185L desktop wireless PCI card (lspci says: rev 20), 10ec:8185. I used a rom-o-matic ISO, selected rtl8185, and placed this script in the "Embedded Script" field at the bottom:</div>
<div> </div>
<div>#!gpxe<br>set net0/ssid MYAP<br>set net0/key MYPSWORD<br>autoboot</div>
<div> </div>
<div>I tried many rom-o-matic combos, some with all drivers, some with no embedded script, but this seems to work the best. IWLIST shows my AP. IWSTAT shows my AP and connection quality. In IRC I did this:</div>
<div> </div>
<div><me1user> gpxebot: lspci 10ec:8185<br><gpxebot> rtl8185</div>
<div> </div>
<div>I also used the command line (ctrl-B) and typed:</div>
<div> </div>
<div>set net0/ssid MYAP<br>set net0/key MYPSWORD<br>dhcp net0<br>autoboot</div>
<div> </div>
<div>However, I keep getting the below text with the cmd line and the ISO files. B and C always show up and A only shows up sometimes and I don't recall the order used when it doesn't show:</div>
<div> </div>
<div>A) Link status: The socket is not connected (0x38086001)<br>B) No filename or root path specified<br>C) No more network devices</div>
<div> </div>
<div>The other thing I should note is that I'm booting via PXE using a wireless router in client bridge mode (makes my 8139 NIC 'seem' like a wifi card) - I haven't yet tried it with a CD:</div>
<div> </div>
<div>label gPXE8185<br> menu label gPXE8185<br> kernel boot/gpxe8185/RTL8185.KRN<br> append initrd=boot/gpxe8185/ISOLINUX.BIN</div>
<div> </div>
<div>Any ideas on a solution? Do I need try a different card? I bought 2 for this purpose so far. Thanks, --c7aff</div>
<div> </div>
<div>(I have another RTL8185L that says rev B1 on the card but it said 'Not Supported' when I tried it in gPXE command line)</div></td></tr></tbody></table></blockquote>
<div><br></div>
<div>Hi JC,</div>
<div><br></div>
<div>I'm the original author of the rtl8185 driver, but this doesn't sound like a driver-specific problem. Specifically, "No filename or root path specified" usually indicates that the DHCP server responded but didn't specify a filename to boot, and "No more network devices" just means a boot has been attempted off of every supported network card in the system. "The socket is not connected" message is normal on wireless before the interface is opened (which occurs when you type "ifopen netX" or automatically when you try to perform DHCP).</div>
<div><br></div>
<div>Note that the rtl8139 card in your machine is also supported, so you should be sure you're using the correct network interface for the wireless if you're using an all-drivers build. (The ordering will depend on which card has the lower PCI device number in your system, but it should be consistent between boots.)</div>
<div><br></div>
<div>It's very difficult to diagnose exactly what's going on when you're giving such vague impressions of the output. Could you please run the following commands and transcribe or take a screenshot (using e.g. a digital camera) of the results?</div>
<div><br></div>
<div>iwstat</div>
<div>[note which network device is listed, and replace "netX" with it in the below]</div>
<div>set netX/ssid yournetworkname</div>
<div>set netX/key yourpassword</div>
<div>iwstat</div>
<div>dhcp netX</div>
<div>iwstat</div>
<div>autoboot</div>
<div><br></div>
<div>Josh</div>
<div> <br>_______________________________________________<br>gPXE mailing list<br><a href="http://us.mc1207.mail.yahoo.com/mc/compose?to=gPXE@etherboot.org" rel="nofollow" target="_blank">gPXE@etherboot.org</a><br><a href="http://etherboot.org/mailman/listinfo/gpxe" rel="nofollow" target="_blank">http://etherboot.org/mailman/listinfo/gpxe</a><br>
<br></div></div><br></div></div></div></blockquote></td></tr></tbody></table></blockquote></div><br>