Thinstation / thinstation

A framework for making thin and light Linux based images for x86 based machines and thinclients.
https://www.thinstation.net/
810 stars 187 forks source link

thinstation 6.1 fastboot error -- networkmanager #434

Closed shNanChen closed 5 years ago

shNanChen commented 5 years ago

Hi,

Sorry, my English is not good, relying on Google Translate help.

I have a working thinstation build, clients booting on pxe. I try now to speed boot with fastboot, but it unsuccessful. thinstation build with parameter --allmodules

I used the Porxmox qemu virtual machine to test pxe to start the thinstation, The startup process stops at thinstation-linux:~$ , and there is no get lib.squash access log on the Devstation server.

  1. poweron boot

  2. Devstation log server

  3. just stop here stop

  4. /var/log/boot.log & /var/log/messages, no IPv4 ADDRESS ? info

  5. dmesg dmesg

EOF , Help me, please!

trezel commented 5 years ago

Hi, Just a little suggestion : Did you try ipxe ? I had issues with fastboot too (not the same as you have). I "took the opportunity" to migrate to ipxe instead of pxe. Now initrd and vmlinuz are downloaded with http, just like fastboot, and ipxe gives a lot more features you don't find in PXE.

It doesn't answer your question, sorry, but it may be a good workaround ;-)

hadyos commented 5 years ago

You can see in the first screenshot that it does use ipxe...

Thinstation commented 5 years ago

can you set an ip address manually? Ping the network? download the file manually?

hadyos commented 5 years ago

I have the same problem, Once I drop to the ipxe shell (CTRL B) and execute dhcp command I can ping and even set a new ip manually....

shNanChen commented 5 years ago

can you set an ip address manually? Ping the network? download the file manually?

ip addr add 192.168.12.25/24 dev ens18 ip: RTNETLINK answers: Operation not permitted

snipaste_20190626_183142

Thinstation commented 5 years ago

Do you have autonet package?

shNanChen commented 5 years ago

Modify the build.conf

package ts-classic
#package networkmanager

Fastboot started successfully on pxe.

reference: Network problem while PXE boot   Don't include networkmanager. It conflicts with autonet included via ts-classic.

Defalut enable package networkmanager, It seems that ipv4 is disabled. noipv4

shNanChen commented 5 years ago

thinstation.conf.group- not working with networkmanager inTS5.4

Yes, this is a known issue, but there is a work around. Because of the type of dhcp request that networkmanager sends to the DHCP server, the next-server is not handed out. If your dhcp server also has a field for tftp server, set that to the same ip as your next-server, and you should be good to go.

Doncuppjr commented 5 years ago

Kinda silly to use networkfiles in conjunction with networkmanager. You should use auto net.