boot from ethernet with imac g3
Hello,
i have found out that putting the net card on another pci slot on my x86
doesn't lead to instability ;) .
I think solution isn't that far. I try to explain everything i did and
what happened.
So far i did the following after having installed the net card:
1) ifconfig eth0 192.168.1.1 netmask 255.255.255.0
2) iptables -F
3) edited the /etc/dhcp3/dhcpd.conf file, now it looks this way, and i
believe the problem is here somewhere. As i've got really poor
experience with nets, please take a look at it, thank you. Commented
where i have doubt.
In macos 8.1 i have found out an app ( and i have already lost where is
) that reports hw address of the eth is 00 05 02 43 6E 82 and says that
the mac has an ip of 41201.173 (?) .
The
option domain-name "example.com";
option domain-name-servers ns1.example.com;
option subnet-mask 255.255.255.0;
default-lease-time 600;
max-lease-time 7200;
server-name "debian"; # debian comes from hostname output
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.200 192.168.1.253;
#option routers 192.168.1.1; # i have deleted this, but i don't know if it's a good thing
}
host mac {
filename "/tftpboot/yaboot";
server-name "debian"; # always from hostname
hardware ethernet 00:05:02:43:6E:82; # taken from some app in the mac
fixed-address 192.168.1.2; # here is what i tought to be a good ip...
}
4) created /tftpboot/ with these files:
-rwxr-xr-x 1 giulio giulio 104062976 2006-04-20 02:44
debian-31r2-powerpc-businesscard.iso
-r--r--r-- 1 giulio giulio 3470855 2005-03-06 00:00 initrd.gz
-r--r--r-- 1 giulio giulio 3966165 2005-03-06 00:00 vmlinux
-r--r--r-- 1 giulio giulio 149740 2004-11-26 00:00 yaboot
-r--r--r-- 1 root root 359 2006-05-31 13:39 yaboot.conf
-r--r--r-- 1 giulio giulio 2602 2006-04-20 00:00 yaboot.conf.bak
-r--r--r-- 1 giulio giulio 2602 2006-04-20 00:00 yaboot-netboot.conf
5) checked if file /etc/inet.d contained the following line:
tftp dgram udp wait nobody /usr/sbin/tcpd
/usr/sbin/in.tftpd /tftpboot
6) restarted dhcp:
/etc/init.d/dhcp3-server restart
7) booted the imac keeping pressed alt-apple-o-f
8) typed boot enet:0 ( tried also boot enet:0,yaboot )
what i obtain is:
Client 000502436e82 192.168.1.2
Server 000244a8b2ef 192.168.1.1 debian
Transferfile /tftpboot/yaboot TFTP TimeOutload-size=0 adler=32
LOAD-SIZE is to small
And that's the end.
Thank you in advance,
Bye.
--
Giulio Canevari
Reply to: