You are not logged in.

#1 2006-08-08 20:24:06

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

TFTP boot on Soekris!

Hey AF!

I'm trying to set up an Soekris net4801 with arch linux. I have setup the TFTP and DHCP like this - but now I' m ended up with this error:
The curser just blinks in the upper left corner - spelling trying to load pxelinux 0.2.11

Everything else i going well - except when I look in the log file - I get this error:
Arch in.tftpd[10258] tftp: client does not accept options

My config for DHCP-server is like this:
option domain-name "pbj-design.dk";
option domain-name-servers 192.168.2.5;
allow booting;
allow bootp;
ddns-update-style ad-hoc;

default-lease-time 600;
max-lease-time 7200;

subnet 192.168.2.0 netmask 255.255.255.0 {
  range 192.168.2.200 192.168.2.220;
  option broadcast-address 192.168.2.255;
  option routers 192.168.2.5;
}

host aladin {
        filename "pxelinux.0";
        hardware ethernet 00:00:24:C6:A0:FC;
        server-name "192.168.2.11";
        next-server 192.168.2.11;
        fixed-address 192.168.2.201;
}

I have earliere tried this on Debian - but there was also an conf. file for tftp - I cannot seem to find this! So could some one telle me how to do this!

I' m trying to boot the minimax-netboot.image so that I'll be able to install archLinux on the machine!

Thanks


Just getting better .... All the time

Offline

#2 2006-08-08 23:03:26

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: TFTP boot on Soekris!

umm...isn't the soerkis a i586 chip?
That's not going to work with the general arch distribution. As yoda is wont to say, "i686 it is."


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#3 2006-08-09 05:20:44

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: TFTP boot on Soekris!

Well Its a Single chip AMD SC1000 - 233mhz CPU
The manual says the Chipset is integrated into SC100

And after what I can see tell from the different sites and so on - its a i386!

So that would be possible or what???


Just getting better .... All the time

Offline

#4 2006-08-09 07:19:57

user
Member
Registered: 2006-03-29
Posts: 465

Re: TFTP boot on Soekris!

my case, it is not .conf, but shell script (/etc/rc.d/tftpd)

#!/bin/bash

. /etc/rc.conf
. /etc/rc.d/functions

PID=`pidof -o %PPID /usr/sbin/in.tftpd`
case "$1" in
  start)
    stat_busy "Starting TFTPD"
#    [ -z "$PID" ] && /usr/sbin/in.tftpd -l -s /var/tftpboot
    [ -z "$PID" ] && /usr/sbin/in.tftpd -l -s /tftpboot
    if [ $? -gt 0 ]; then
      stat_fail
    else
      add_daemon in.tftpd
      stat_done
    fi
    ;;
  stop)
    stat_busy "Stopping TFTPD"
    [ ! -z "$PID" ]  && kill $PID &> /dev/null
    if [ $? -gt 0 ]; then
      stat_fail
    else
      rm_daemon in.tftpd
      stat_done
    fi
    ;;
  restart)
    $0 stop
    $0 start
    ;;
  *)
    echo "usage: $0 {start|stop|restart}"
esac
exit 0


I removed my sig, cause i select the flag, the flag often the target of enemy.

SAR brain-tumor
[img]http://img91.imageshack.us/img91/460/cellphonethumb0ff.jpg[/img]

Offline

#5 2006-08-09 07:26:52

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: TFTP boot on Soekris!

Well - it should still be working with soekris /minimax - so that the install can be performed. After what I can read from Minimax - they have a default setup for Arch - That would be nice


Just getting better .... All the time

Offline

#6 2006-08-09 07:38:27

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: TFTP boot on Soekris!

peque wrote:

And after what I can see tell from the different sites and so on - its a i386!

So that would be possible or what???

Not possible with standard Arch, which is strictly i686. Someone posted recently about starting an i386 port - search the forum and see how he's getting on.

Offline

#7 2006-08-09 08:13:18

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: TFTP boot on Soekris!

Its is about the minimax installation!

and I'm trying to make it work and afterwards setting up an Wiki about it


Just getting better .... All the time

Offline

#8 2006-08-09 12:11:38

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: TFTP boot on Soekris!

peque wrote:

I'm trying to set up an Soekris net4801 with arch linux.

peque wrote:

And after what I can see tell from the different sites and so on - its a i386!

Arch + i386 does not work, regardless of how you try to install it. No doubt minimax has its uses, but it can't change that fact.

Offline

#9 2006-08-10 01:42:50

syamajala
Member
From: here, there, everywhere
Registered: 2005-01-25
Posts: 617
Website

Re: TFTP boot on Soekris!

besides the fact that arch won't work your dhcpd config file is also wrong...

here is an example:
http://genesis.blogdns.net/dhcpd.conf
in case you decide to try some other distro and wanna setup this stuff.

pxelinux.0 is served from the root of the tftp server.

Offline

#10 2006-08-18 06:58:29

peque
Member
From: Denmark - Møn
Registered: 2005-06-26
Posts: 441

Re: TFTP boot on Soekris!

About the dhcpd.conf worked quite OK - the problem was the bootimage. Minimax wasn't able to get loaded on this machine - so instead I tried with the debian netboot image - and that went quite well.


Just getting better .... All the time

Offline

Board footer

Powered by FluxBB