Re: [Soekris] net6501 pxe issues
On Sun, Mar 25, 2012 at 7:31 PM, Devon Gleeson devon.glee...@gmail.com wrote: On Sun, Mar 25, 2012 at 6:26 PM, Ulf Zimmermann u...@openlane.com wrote: -Original Message- From: soekris-tech-boun...@lists.soekris.com [mailto:soekris-tech- boun...@lists.soekris.com] On Behalf Of Devon Gleeson Sent: Sunday, March 25, 2012 6:21 PM To: Soekris-tech@lists.soekris.com Subject: [Soekris] net6501 pxe issues Hello everyone, I just bought the 6501 and I'm having problems getting the device to boot from pxe. The soekris is seeing my DHCP server and it's getting the right ip address from it. Here is the boot sequence on my net6501: Intel(R) Boot Agent GE v1.3.72 Copyright (C) 1997-2010, Intel Corporation CLIENT MAC ADDR: 00 00 24 CE 6E 04 CLIENT IP: 192.168.2.15 MASK: 255.255.255.0 DHCP IP: 192.168.2.1 GATEWAY IP: 192.168.2.1 TFTP.. PXE-M0F: Exiting Intel Boot Agent. Based on the output of TFTP.. and then existing, it seems not to find the file it is expecting on the TFTP server. I had the same issue today (the . was not readable by the tftpd server). Thanks for your help. It turns out that ubuntu has a default service that gets configured in /etc/default/tftp-hpa. Once I found that config I was able to get past the initial failure. So I'm getting further, at least past the tftp bit: CLIENT MAC ADDR: 00 00 24 CE 6E 04 CLIENT IP: 192.168.2.15 MASK: 255.255.255.0 DHCP IP: 192.168.2.1 GATEWAY IP: 192.168.2.1 PXELINUX 3.63 Debian-2008-07-15 Copyright (C) 1994-2008 H. Peter Anvin UNDI data segment at: 0008F970 UNDI data segment size: 63B0 UNDI code segment at: 00085D20 UNDI code segment size: 5210 PXE entry point found (we hope) at 95D2:0106 My IP address seems to be C0A8020F 192.168.2.15 ip=192.168.2.15:192.168.2.2:192.168.2.1:255.255.255.0 TFTP prefix: Trying to load: pxelinux.cfg/01-00-00-24-ce-6e-04 Trying to load: pxelinux.cfg/C0A8020F b ot: to load: pxelinux.cfg/default but then it starts spitting random bits into the console. Does this mean there is a problem with the pxelinux.cfg? --Devon ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net6501 pxe issues
-Original Message- From: soekris-tech-boun...@lists.soekris.com [mailto:soekris-tech- boun...@lists.soekris.com] On Behalf Of Devon Gleeson Sent: Sunday, March 25, 2012 6:21 PM To: Soekris-tech@lists.soekris.com Subject: [Soekris] net6501 pxe issues Hello everyone, I just bought the 6501 and I'm having problems getting the device to boot from pxe. The soekris is seeing my DHCP server and it's getting the right ip address from it. Here is the boot sequence on my net6501: Intel(R) Boot Agent GE v1.3.72 Copyright (C) 1997-2010, Intel Corporation CLIENT MAC ADDR: 00 00 24 CE 6E 04 CLIENT IP: 192.168.2.15 MASK: 255.255.255.0 DHCP IP: 192.168.2.1 GATEWAY IP: 192.168.2.1 TFTP.. PXE-M0F: Exiting Intel Boot Agent. Based on the output of TFTP.. and then existing, it seems not to find the file it is expecting on the TFTP server. I had the same issue today (the . was not readable by the tftpd server). No Boot device available, enter monitor. The server I have DHCP running on is Freebsd 8. The config looks like this: code subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.2 192.168.2.254; option routers 192.168.2.1; filename pxelinux.0; next-server 192.168.2.2; } host soekris { hardware ethernet 00:00:24:CE:6E:04 ; fixed-address 192.168.2.15; } /code The server running tftp(192.168.2.2) is ubuntu. Inetd configured like this: tftpdgram udpwaitroot/usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot my /var/lib/tftpboot/pxelinux.cfg/default looks like this: include ubuntu-installer/i386/boot-screens/menu.cfg default ubuntu-installer/i386/boot-screens/vesamenu.c32 prompt 1 timeout 300 my ubuntu-installer/i386/boot-screens/text.cfg: default cli label install menu label ^Install menu default kernel ubuntu-installer/i386/linux append ks=http://192.168.2.2/ks.cfg vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet label cli menu label ^Command-line install kernel ubuntu-installer/i386/linux append ks=http://192.168.2.2/ks.cfg tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet and finally my ks.cfg: install url --url http://192.168.2.2/ubuntu/ I've read 10 articles today trying to figure this out, and I think I've hit a wall. Can anyone help? thanks, Devon ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net6501 pxe issues
On 03/25/2012 06:20 PM, Devon Gleeson wrote: GATEWAY IP: 192.168.2.1 TFTP.. PXE-M0F: Exiting Intel Boot Agent. First - take a look at the various log files, particularly the TFTP log file on the TFTP server host to see if there is any indication that you are actually seeing packets. You might see something interest - like the very common issue in which the TFTP server is root-jailed (chroot) so that the pathname of the file the client is asking for isn't consistent with the chroot-ed file system seen by the server. That problem bites me all the time with Linux based TFTP servers. And don't forget to make sure that the Selinux permissions are OK on those servers that run Selinux. Use a manual TFTP client tool to make sure that the server is actually able to deliver the requested file. If not then dig deeper: - Grab a switch with a monitor port - I know that there's an inexpensive Netgear one (less than $40) that can be configured to have a monitor port. - Wire up the Net6501 to the non-monitor ports on that switch so that everything going in/out on the ethernet goes via that switch. - Fire up Wireshark on a handy computer (and use a spare interface - I often use USB based ethernet widgets to get a spare interface) and take a look at the traffic to/from the Net6501. You should see the DHCP and TFTP activity. Dig into it to see what's going on. (If you can fire-up Wireshark on your machine with the TFTP server, it's all the easier and you don't need the switch with the monitor port.) --karl-- ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net6501 pxe issues
On Sun, Mar 25, 2012 at 6:26 PM, Ulf Zimmermann u...@openlane.com wrote: -Original Message- From: soekris-tech-boun...@lists.soekris.com [mailto:soekris-tech- boun...@lists.soekris.com] On Behalf Of Devon Gleeson Sent: Sunday, March 25, 2012 6:21 PM To: Soekris-tech@lists.soekris.com Subject: [Soekris] net6501 pxe issues Hello everyone, I just bought the 6501 and I'm having problems getting the device to boot from pxe. The soekris is seeing my DHCP server and it's getting the right ip address from it. Here is the boot sequence on my net6501: Intel(R) Boot Agent GE v1.3.72 Copyright (C) 1997-2010, Intel Corporation CLIENT MAC ADDR: 00 00 24 CE 6E 04 CLIENT IP: 192.168.2.15 MASK: 255.255.255.0 DHCP IP: 192.168.2.1 GATEWAY IP: 192.168.2.1 TFTP.. PXE-M0F: Exiting Intel Boot Agent. Based on the output of TFTP.. and then existing, it seems not to find the file it is expecting on the TFTP server. I had the same issue today (the . was not readable by the tftpd server). Thanks for your help. It turns out that ubuntu has a default service that gets configured in /etc/default/tftp-hpa. Once I found that config I was able to get past the initial failure. No Boot device available, enter monitor. The server I have DHCP running on is Freebsd 8. The config looks like this: code subnet 192.168.2.0 netmask 255.255.255.0 { range 192.168.2.2 192.168.2.254; option routers 192.168.2.1; filename pxelinux.0; next-server 192.168.2.2; } host soekris { hardware ethernet 00:00:24:CE:6E:04 ; fixed-address 192.168.2.15; } /code The server running tftp(192.168.2.2) is ubuntu. Inetd configured like this: tftp dgram udp wait root /usr/sbin/in.tftpd /usr/sbin/in.tftpd -s /var/lib/tftpboot my /var/lib/tftpboot/pxelinux.cfg/default looks like this: include ubuntu-installer/i386/boot-screens/menu.cfg default ubuntu-installer/i386/boot-screens/vesamenu.c32 prompt 1 timeout 300 my ubuntu-installer/i386/boot-screens/text.cfg: default cli label install menu label ^Install menu default kernel ubuntu-installer/i386/linux append ks=http://192.168.2.2/ks.cfg vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet label cli menu label ^Command-line install kernel ubuntu-installer/i386/linux append ks=http://192.168.2.2/ks.cfg tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet and finally my ks.cfg: install url --url http://192.168.2.2/ubuntu/ I've read 10 articles today trying to figure this out, and I think I've hit a wall. Can anyone help? thanks, Devon ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net6501 pxe issues
-Original Message- From: death2arti...@gmail.com [mailto:death2arti...@gmail.com] On Behalf Of Devon Gleeson Sent: Sunday, March 25, 2012 7:50 PM To: Ulf Zimmermann Cc: Soekris-tech@lists.soekris.com Subject: Re: [Soekris] net6501 pxe issues On Sun, Mar 25, 2012 at 7:31 PM, Devon Gleeson devon.glee...@gmail.com wrote: On Sun, Mar 25, 2012 at 6:26 PM, Ulf Zimmermann u...@openlane.com wrote: -Original Message- From: soekris-tech-boun...@lists.soekris.com [mailto:soekris-tech- boun...@lists.soekris.com] On Behalf Of Devon Gleeson Sent: Sunday, March 25, 2012 6:21 PM To: Soekris-tech@lists.soekris.com Subject: [Soekris] net6501 pxe issues Hello everyone, I just bought the 6501 and I'm having problems getting the device to boot from pxe. The soekris is seeing my DHCP server and it's getting the right ip address from it. Here is the boot sequence on my net6501: Intel(R) Boot Agent GE v1.3.72 Copyright (C) 1997-2010, Intel Corporation CLIENT MAC ADDR: 00 00 24 CE 6E 04 CLIENT IP: 192.168.2.15 MASK: 255.255.255.0 DHCP IP: 192.168.2.1 GATEWAY IP: 192.168.2.1 TFTP.. PXE-M0F: Exiting Intel Boot Agent. Based on the output of TFTP.. and then existing, it seems not to find the file it is expecting on the TFTP server. I had the same issue today (the . was not readable by the tftpd server). Thanks for your help. It turns out that ubuntu has a default service that gets configured in /etc/default/tftp-hpa. Once I found that config I was able to get past the initial failure. So I'm getting further, at least past the tftp bit: CLIENT MAC ADDR: 00 00 24 CE 6E 04 CLIENT IP: 192.168.2.15 MASK: 255.255.255.0 DHCP IP: 192.168.2.1 GATEWAY IP: 192.168.2.1 PXELINUX 3.63 Debian-2008-07-15 Copyright (C) 1994-2008 H. Peter Anvin UNDI data segment at: 0008F970 UNDI data segment size: 63B0 UNDI code segment at: 00085D20 UNDI code segment size: 5210 PXE entry point found (we hope) at 95D2:0106 My IP address seems to be C0A8020F 192.168.2.15 ip=192.168.2.15:192.168.2.2:192.168.2.1:255.255.255.0 TFTP prefix: Trying to load: pxelinux.cfg/01-00-00-24-ce-6e-04 Trying to load: pxelinux.cfg/C0A8020F b ot: to load: pxelinux.cfg/default but then it starts spitting random bits into the console. Does this mean there is a problem with the pxelinux.cfg? --Devon I assume this is your pxelinux.cfg file: my ubuntu-installer/i386/boot-screens/text.cfg: default cli label install menu label ^Install menu default kernel ubuntu-installer/i386/linux append ks=http://192.168.2.2/ks.cfg vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet label cli menu label ^Command-line install kernel ubuntu-installer/i386/linux append ks=http://192.168.2.2/ks.cfg tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet You need to tell the kernel that it's console is on serial port, add something like console=ttyS0,115200n8. Make sure that the serial speed matches what you have in the bios set. ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech
Re: [Soekris] net6501 pxe issues
On Sun, Mar 25, 2012 at 7:54 PM, Ulf Zimmermann u...@openlane.com wrote: -Original Message- From: death2arti...@gmail.com [mailto:death2arti...@gmail.com] On Behalf Of Devon Gleeson Sent: Sunday, March 25, 2012 7:50 PM To: Ulf Zimmermann Cc: Soekris-tech@lists.soekris.com Subject: Re: [Soekris] net6501 pxe issues On Sun, Mar 25, 2012 at 7:31 PM, Devon Gleeson devon.glee...@gmail.com wrote: On Sun, Mar 25, 2012 at 6:26 PM, Ulf Zimmermann u...@openlane.com wrote: -Original Message- From: soekris-tech-boun...@lists.soekris.com [mailto:soekris-tech- boun...@lists.soekris.com] On Behalf Of Devon Gleeson Sent: Sunday, March 25, 2012 6:21 PM To: Soekris-tech@lists.soekris.com Subject: [Soekris] net6501 pxe issues Hello everyone, I just bought the 6501 and I'm having problems getting the device to boot from pxe. The soekris is seeing my DHCP server and it's getting the right ip address from it. Here is the boot sequence on my net6501: Intel(R) Boot Agent GE v1.3.72 Copyright (C) 1997-2010, Intel Corporation CLIENT MAC ADDR: 00 00 24 CE 6E 04 CLIENT IP: 192.168.2.15 MASK: 255.255.255.0 DHCP IP: 192.168.2.1 GATEWAY IP: 192.168.2.1 TFTP.. PXE-M0F: Exiting Intel Boot Agent. Based on the output of TFTP.. and then existing, it seems not to find the file it is expecting on the TFTP server. I had the same issue today (the . was not readable by the tftpd server). Thanks for your help. It turns out that ubuntu has a default service that gets configured in /etc/default/tftp-hpa. Once I found that config I was able to get past the initial failure. So I'm getting further, at least past the tftp bit: CLIENT MAC ADDR: 00 00 24 CE 6E 04 CLIENT IP: 192.168.2.15 MASK: 255.255.255.0 DHCP IP: 192.168.2.1 GATEWAY IP: 192.168.2.1 PXELINUX 3.63 Debian-2008-07-15 Copyright (C) 1994-2008 H. Peter Anvin UNDI data segment at: 0008F970 UNDI data segment size: 63B0 UNDI code segment at: 00085D20 UNDI code segment size: 5210 PXE entry point found (we hope) at 95D2:0106 My IP address seems to be C0A8020F 192.168.2.15 ip=192.168.2.15:192.168.2.2:192.168.2.1:255.255.255.0 TFTP prefix: Trying to load: pxelinux.cfg/01-00-00-24-ce-6e-04 Trying to load: pxelinux.cfg/C0A8020F b ot: to load: pxelinux.cfg/default but then it starts spitting random bits into the console. Does this mean there is a problem with the pxelinux.cfg? --Devon I assume this is your pxelinux.cfg file: my ubuntu-installer/i386/boot-screens/text.cfg: default cli label install menu label ^Install menu default kernel ubuntu-installer/i386/linux append ks=http://192.168.2.2/ks.cfg vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet label cli menu label ^Command-line install kernel ubuntu-installer/i386/linux append ks=http://192.168.2.2/ks.cfg tasks=standard pkgsel/language-pack-patterns= pkgsel/install-language-support=false vga=normal initrd=ubuntu-installer/i386/initrd.gz -- quiet You need to tell the kernel that it's console is on serial port, add something like console=ttyS0,115200n8. Make sure that the serial speed matches what you have in the bios set. Great advice, I've got it to boot into the installer now. This project got fun again! Thanks! --Devon ___ Soekris-tech mailing list Soekris-tech@lists.soekris.com http://lists.soekris.com/mailman/listinfo/soekris-tech