Automatically load .kext at start?
apple Verified ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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.
13 replies
Sign in or join Beachball Help to reply.
- 0
baltwo ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Add it to your Account's login items. System Preferences->Account->select the account, click the Login items tab, hit the plus sign, navigate to the .kext file, and add it.
- 0
orangekay ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Where are you putting it, what permissions are you giving it, and what kind of failure message are you receiving?
- 0
baltwo ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Add it to your Account's login items. System Preferences->Account->select the account, click the Login items tab, hit the plus sign, navigate to the .kext file, and add it.
- 0
orangekay ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
And this is something you've done successfully?
- 0
orangekay ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Where are you putting it, what permissions are you giving it, and what kind of failure message are you receiving?
- 0
Vivek V. ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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.
- 0
baltwo ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Nope, but that's what I'd use if I was going to do such a thing. Why? Won't it work?
- 0
orangekay ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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.
- 0
orangekay ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Don't you think it would be a bit of a security problem if kernel extensions could be loaded by simply launching them via a login item?
- 0
baltwo ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
I don't think in those terms on my single user machine. What kind of security problem are you envisioning? As for the OP, he says he's manually launching it, so why can't he launch it via login items?
- 0
Vivek V. ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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.
- 0
orangekay ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
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.
- 0
baltwo ·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Oh, I believe you. We've beaten this horse to death. Thanks for the insights.