Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

maniahmed

macrumors newbie
Original poster
Oct 29, 2010
1
0
I want to build a redboot kernel in a wireless router, the command required from my newly acquired knowledge is insmod and modprobe.

However from the mac 10.5.8 terminal it says that the command is not found. I have installed gcc , sdk compiler support and enabled the super user as well.

Help Required.

Thanks
 
Insmod is a linux command, OSX is built on Unix, specifically its using the bash shell
 
Insmod is a linux command, OSX is built on Unix, specifically its using the bash shell

Yes, insmod and modprobe are used in Linux land to dynamically load kernel modules (which in Windows-speak would be 'drivers'), but to be more precise, OS X is based upon FreeBSD, which in turn is based upon BSD Unix.

Calling an OS a "Unix" system is basically a trademark and not a technological issue. Linux, FreeBSD, OS X and even the Windows Servers can run any POSIX-compliant software, but that doesn't mean that they bought the license to call themselves "Unix", so they are usually called "Unix-like" operating systems.
 
I want to build a redboot kernel in a wireless router, the command required from my newly acquired knowledge is insmod and modprobe.

However from the mac 10.5.8 terminal it says that the command is not found. I have installed gcc , sdk compiler support and enabled the super user as well.

Help Required.

Thanks

Am I getting this right - you want to build a kernel for the wireless router, which runs Linux, on your Mac OS X system? There's a 99.9999% chance that this will not work - unless you're using the RIGHT cross-platform compiler and development environment. And I doubt that your router has sufficient system resources to host a development environment.

It might be easier for you install a Linux VM on your Mac using either VirtualBox, Q, VMWare Fusion or Parallels Desktop -- and if you go down this alley, make sure that you use one of the supported hosting platforms and make sure that it is setup exactly as the workstations of the developers of the Linux for the router. I'm pretty sure that they have a How-To for setting up a developer workstation; every good dev team has this.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.