WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: NIC driver (bnx2) problem in pxebooting  (Read 8621 times)

Offline lid

  • Jr. Member
  • **
  • Posts: 62
Re: NIC driver (bnx2) problem in pxebooting
« Reply #15 on: August 14, 2014, 01:49:39 PM »

I tried this option by building a second initrd file with the /builtin/optional directory and firmware files. It booted up but the new NIC driver firmware never loaded.  Are you sure this is the right way to put in the new driver?

On the machine, I see the /builtin directory. Should it be /tmp/builtin?

Yes, the resulting image should have /tmp/builtin not /builtin. But anyway, please try ezremaster first, it should be easier.


Hey, this time it worked! I rebuilt my second initrd with /tmp/builtin directory structure and magic happened after the boot. My 1G broadcom interface actually came up with the correct IP assigned by the DHCP. Thanks!

I would like to understand this a little deeper with some follow-up questions:

1. Which code did the search for the correct drivers in the /tmp/builtin directory? Is it in vmlinuz or core.gz?

2. Can you also explain how to use unsquashfs ( which you mentioned before) so I can try to pack the required firmware into the original initrd?

3. Now I am facing a new issue. I can't ssh into the new TC node. Is this because it doesn't have sshd running or because I didn't enable it?

David

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: NIC driver (bnx2) problem in pxebooting
« Reply #16 on: August 14, 2014, 02:25:47 PM »
@ 1.)
"/usr/bin/tce-setup" loads extensions from "/tmp/builtin/".

@ 2.)
Code: [Select]
unsquashfs -d /tmp/extension-name /etc/sysconfig/tcedir/optional/extension-name.tcz
"/tmp/extension-name" will be created automatically.
Also see:
http://wiki.tinycorelinux.net/wiki:creating_extensions#all_extension_creators_please_note
http://wiki.tinycorelinux.net/wiki:remastering
« Last Edit: August 14, 2014, 02:28:15 PM by Misalf »
Download a copy and keep it handy: Core book ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: NIC driver (bnx2) problem in pxebooting
« Reply #17 on: August 14, 2014, 04:40:04 PM »
TC does not ship with SSH, and in addition to installing a SSH server, you also need to set a password.
The only barriers that can stop you are the ones you create yourself.

Offline lid

  • Jr. Member
  • **
  • Posts: 62
Re: NIC driver (bnx2) problem in pxebooting
« Reply #18 on: August 15, 2014, 03:00:49 PM »
TC does not ship with SSH, and in addition to installing a SSH server, you also need to set a password.

How about telnetd? Is it in Core-currrent.iso? I didn't find it.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: NIC driver (bnx2) problem in pxebooting
« Reply #19 on: August 15, 2014, 03:23:09 PM »
No. There are no user programs included in core.  Just those programs needed to boot and install additional programs.

Offline lid

  • Jr. Member
  • **
  • Posts: 62
Re: NIC driver (bnx2) problem in pxebooting
« Reply #20 on: August 15, 2014, 04:56:06 PM »
No. There are no user programs included in core.  Just those programs needed to boot and install additional programs.

Will Tinycore-5.3.iso have more user applications and development tools?

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: NIC driver (bnx2) problem in pxebooting
« Reply #21 on: August 15, 2014, 05:40:29 PM »
No. There are no user programs included in core.  Just those programs needed to boot and install additional programs.

Will Tinycore-5.3.iso have more user applications and development tools?

Please be more specific what are you missing.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline lid

  • Jr. Member
  • **
  • Posts: 62
Re: NIC driver (bnx2) problem in pxebooting
« Reply #22 on: August 15, 2014, 07:10:07 PM »
No. There are no user programs included in core.  Just those programs needed to boot and install additional programs.

Will Tinycore-5.3.iso have more user applications and development tools?

Please be more specific what are you missing.

I need at least ssh or telnet, gcc for compiling.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: NIC driver (bnx2) problem in pxebooting
« Reply #23 on: August 15, 2014, 07:40:20 PM »
Setup a nfs tce directory as described in the wiki.
Then you can install compiletc and sshd from the repo.
Please read the book http://tinycorelinux.net/book.html