IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Mepis kernel source needed
I've got to install the Cisco VPN client.

So I start the install, and get:
\nmake -C /lib/modules/2.6.7/build SUBDIRS=/home/broom/dl/vpnclient modules\nmake[1]: Entering directory `/usr/src/linux-2.6.7'\nmake[1]: *** No rule to make target `modules'.  Stop.\nmake[1]: Leaving directory `/usr/src/linux-2.6.7'\nmake: *** [default] Error 2\nFailed to make module "cisco_ipsec.ko".\n


Oops.

So I go look and see there is no source.

Uname shows:
Linux mepis1 2.6.7 #1 Wed Aug 18 09:36:46 EDT 2004 i686 GNU/Linux

I ASSUME I should be "apt-get install kernel-source-2.6.7" - Linux kernel source for version 2.6.7 with Debian patches

Should I need anything else?
New Sounds reasonable to me.
Check [link|http://www.mepis.org/node/view/2581#9143|this] thread at Mepis. A post there says get the kernel source from kernel.org - not from the Debian pool.

HTH.

Cheers,
Scott.
(Who has never copiled a Mepis (or Linux) kernel, so take my advice as pointers, not as instructions.)
New Perhaps kernel-headers-2.6.7 as well...?
-YendorMike

"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety."
- Benjamin Franklin, 1759 Historical Review of Pennsylvania
New well I thought thats why they call it opern source?
cause it comes with the source code. Although apt-get install foo is handy, being able to roll yer own is handier yet. The big caveat, who has time for that?
regards,
daemon
that way too many Iraqis conceived of free society as little more than a mosh pit with grenades. ANDISHEH NOURAEE
clearwater highschool marching band [link|http://www.chstornadoband.org/|http://www.chstornadoband.org/]
New No joy
Lots of apt-get after reading the readme in the /usr/src dir on what you need for generating your own kernel.

apt-get install kernel-tree-2.6.7
apt-get install linux-kernel-headers
apt-get install kernel-source-2.6.7
apt-get install kernel-headers-2.6.7-1
apt-get install libc6-dev kernel-package libqt3-mt-dev g++-3.4

bunzip2 the kernel, put it in the /usr/src/linux-2.6.7.

According to the readme, I don't need to rebuild it for creating drivers, I just have to have everything in place.

And then LOTS and LOTS of compiler errors.

Oh well, I didn't want to do this ANYWAY!
New You need to get the specific headers
for your kernel you are using and the flavor of processor that the kernel is.

IOW, I have kernel-image-2.6.9-1-k7 installed, I need kernel-headers-2.6.9-1-k7. kernel-headers-2.6.9-1 will tag along as the other just includes K7 specific stuff and the symlink.

So.

Assuming you have the Laptop with an Intel P4M Processor

apt-get install kernel-image-2.6.7-1-686 kernel-headers-2.6.7-1-686 kernel-build-(whatever version is required) kernel-tree-2.6.7

kernel-build and kernel-tree are actually built to make modules outside the kernel tree, but mainly for Debian packages. Although it does work for some modules that don't know about Debian at all, just that they are simple.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
Here is an example: [link|http://www.greymagic.com/security/advisories/gm001-ie/|Executing arbitrary commands without Active Scripting or ActiveX when using Windows]
New I realized I'm too lazy for this
And also, it was the wrong box. I was putting the VPN on my primary workstation, but then the OTHER boxen on my network would not get to it. I've got a bunch of other systems, with what SHOULD be the correct (or at least EXPECTED) default installed environment, do I can redeploy any of then as a VPN gateway without screwing around with my primary personal box.
New Fairynuff.
It is good to know what I just wrote, as it helps alot. No need to compile your own kernel if you are using debian... just get the proper headers from the archive.

For the record, vmware works just fine with this setup. As does a ton of other things I use.
--
[link|mailto:greg@gregfolkert.net|greg],
[link|http://www.iwethey.org/ed_curry|REMEMBER ED CURRY!] @ iwethey
No matter how much Microsoft supporters whine about how Linux and other operating systems have just as many bugs as their operating systems do, the bottom line is that the serious, gut-wrenching problems happen on Windows, not on Linux, not on Mac OS. -- [link|http://www.eweek.com/article2/0,1759,1622086,00.asp|source]
Here is an example: [link|http://www.greymagic.com/security/advisories/gm001-ie/|Executing arbitrary commands without Active Scripting or ActiveX when using Windows]
     Mepis kernel source needed - (broomberg) - (7)
         Sounds reasonable to me. - (Another Scott)
         Perhaps kernel-headers-2.6.7 as well...? -NT - (Yendor)
         well I thought thats why they call it opern source? - (daemon)
         No joy - (broomberg) - (3)
             You need to get the specific headers - (folkert) - (2)
                 I realized I'm too lazy for this - (broomberg) - (1)
                     Fairynuff. - (folkert)

I finally caught it when it tried to drink from my used bong and fell in.
261 ms