Automatically load .kext at start?

Hi, I have a .kext file which I need loaded in order to connect to the internet via my USB evdo modem. UNfortunately, it fails to lad at start so I am forced to manually kextload it every time I login. I'll be giving the comp to a friend soon, who wont be able to do this, so I was wondering if anyone could instruct me on how to get this kext file to load automatically at start. Any advice would be helpful, thanks.

MacBook Pro 2.0 GHz 2 GB Ram, Mac OS X (10.5.1), Powerbook G4 DVI 800 MHz, 4 gb Silver Nano w/Nike+, Air Max 90 Lace+

Posted on Oct 9, 2008 11:06 PM

Reply
11 replies

Oct 9, 2008 11:50 PM in response to orangekay

To Baltwo - thanks, I didn't think of that, but is there perhaps a more intuitive way. Like, so it starts up like all the other kexts that normally get loaded at startup?

To OrangeKay - It is in the folder /Volumes/Macintosh HD/System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/

I've installed the patch that I had to install once before and it would load up at start, but now is failing to do that? It's got normal permissions for that directory.

Oct 10, 2008 12:17 AM in response to orangekay

orangekay wrote:
Vivek V. wrote:
It is in the folder /Volumes/Macintosh HD/System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/


Why are you putting a third party extension inside one of Apple's bundles?

Vivek V. wrote:
It's got normal permissions for that directory.


"normal" doesn't mean anything. If it's not owned by root it's not going to load.




I'm putting a thrd party extension there because it's the only known/documented way to get the modem to work.


As for permissions, I typed in:

chown -R root:wheel /System/Library/Extensions/IOSerialFamily.kext/Contents/PlugIns/AppleWWANSuppor t1.kext

And that did the trick. Thanks a lot, OrangeKay.

Oct 10, 2008 12:27 AM in response to baltwo

baltwo wrote:
I don't think in those terms on my single user machine. What kind of security problem are you envisioning?


The number of users has nothing to do with anything. If code could be dynamically loaded into kernel space that easily then there'd be a whole lot of Mac malware out there redirecting network traffic, logging keystrokes and stealing passwords.

As for the OP, he says he's manually launching it, so why can't he launch it via login items?


He said he was running the kextload command. That's quite a bit different. If you don't believe me then go double click a kext and see what happens.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Automatically load .kext at start?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.