Welcome, Guest
You have to register before you can post on our site.

Username/Email:
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 5,160
» Latest member: Kimlongtech
» Forum threads: 4,028
» Forum posts: 16,403

Full Statistics

Online Users
There are currently 336 online users.
» 0 Member(s) | 334 Guest(s)
Bing, Google

Latest Threads
clear logs in smoothwall
Forum: Security and Firewalls
Last Post: amanda63
2024-03-10, 03:27 PM
» Replies: 8
» Views: 31,651
I cannot install RedHat 8...
Forum: Redhat
Last Post: hybrid
2023-11-11, 01:01 PM
» Replies: 1
» Views: 793
How things are done, usin...
Forum: Xorg Problems
Last Post: ross
2023-09-04, 09:03 AM
» Replies: 0
» Views: 721
Im back.....
Forum: Hello
Last Post: anyweb
2021-01-17, 11:36 AM
» Replies: 1
» Views: 3,579
add mp3 plugin to xmms in...
Forum: Fedora
Last Post: anyweb
2021-01-17, 11:30 AM
» Replies: 11
» Views: 36,777
Configuring VSFTPd Server
Forum: FTP Server
Last Post: Johnbaca
2020-10-14, 10:25 AM
» Replies: 32
» Views: 67,387
Wolf won't play sound!
Forum: Game Problems
Last Post: Guest
2020-10-03, 05:51 PM
» Replies: 1
» Views: 15,676
Using git + python
Forum: How Do I?
Last Post: Clueless puppy
2020-08-21, 04:37 PM
» Replies: 0
» Views: 6,488
what does your nick mean ...
Forum: Hello
Last Post: volt
2020-08-06, 03:25 PM
» Replies: 28
» Views: 32,705
CentOS vs.?
Forum: Just Starting Linux
Last Post: volt
2020-08-06, 02:29 PM
» Replies: 0
» Views: 6,184

 
  Chris
Posted by: splint0r - 2003-12-12, 08:57 PM - Forum: Hello - Replies (2)


Hi, i'm Chris I'll be posting on this forum often. I'm 21 and attending my junior year of college up at Bridgewater College in Virginia studying computer science. I also run cross-country and indoor/outdoor track so yeah I try to keep in shape haha. I'm a thug 4 life and listen to a lot of rap/hip-hop; 2pac, eminem, nas just to name a few. Anyway, seeya around the forum!

Peace B)

 

Chris

Print this item

  Compile the 2.6.x kernel
Posted by: hijinks - 2003-12-12, 08:53 PM - Forum: Kernel Related - Replies (5)


Idiots Guide to 2.6.x kernel compiles

--------------------------------------

 

I am writting this to give a general walkthrough of how

to compile and install the new 2.6 series kernel. Below are

three major selling points of why to upgrade from 2.4

- Bootup time is so much faster

- Alsa support built right into the kernel (sound)

- Your system almost feels like it has a faster CPU in it

 

Ok enough with the good points. Lets get down to the install.

All the shell commands will start with a #. These should be

run in either the console or a console window (xterm)

 

1) Change directories to the standard place for kernel installs. Since

a lot of 3rd party applications look for the kernel source in

/usr/src lets compile in that directory.

# cd /usr/src

 

2) Now lets download the newest kernel. At the time of writting this

2.6.0-test11 is the lastest. This seems to change every 2-3 weeks.

I like to use ncftp but you are free to use any ftp client.

# ncftp ftp.kernel.org

At the ftp prompt send the following commands

ftp> cd pub/linux/kernel/v2.6

ftp> get linux-2.6.0-test11.tar.bz2

wait.. wait.. and wair

 

3) Once it is down downloading. Exit out of the ftp client and lets

un package our new kernel

# tar jxfv linux-2.6.0-test11.tar.bz2

 

4) You will notice it gets un-packaged in /usr/src/linux-2.6.

We want to also put it in /usr/src/linux. So lets create a

symlink

# ln -sf linux-2.6.0-test11 linux

 

5) Now that we have a symlink created Go into that directory and lets

configure our new kernel

# cd linux

There are two options to config the kernel. Open a ncurses window,

which you can do in a console window or if you are using X you can

open a nice GUI window.

# make menuconfig (for the ncurses based)

or

# make xconfig (for the X based)

 

6) This is the part where you have to know something about your system.

Most system, this default config will work just fine. Chances are

You will need to install your network driver and sound driver. I am

going to show you where those are, the rest is up to you to figure

out

 

7) Follow this path to your network driver.

Device Drivers->Networking Support->Ethernet (10 or 100Mbit)

In there you will see a list of chipsets. Select the one that meets

your needs.

* = means compiled into the kernel

M = means as a module

I'd reocmmend compiling them into the kernel

 

8) Lets do the same for your soundcard. From the root menu

Device Drivers->Sound->Advanced Linux Sound Architecture->PCI devices

 

9) Save your kernel. In the xconfig hit the disk icon of file->save.

In the menuconfig just keep selecting exit until you are prompted to

save.

 

10) Lets compile your kernel!

# make

 

11) If you don't see any errors, lets install it

# make install

 

12) Your kernel is installed, but we have to do some moving around

of the kernel files first and then edit the boot loader. So lets

get the files in the right place. make install copies the files

to your root partition (/) so lets move them out of there into the

/boot directory

# cd /

# mv vmlinux /boot/vmlinuz-2.6.0-test11

# mv System.map /boot/System.map-2.6.0-test11

I like to change the name so I can keep my old kernels labeled. Its

always a good idea to keep older kernels, just in case a compile

doesn't load for you. That way you can always go back to the old

kernel and get into your OS.

 

13) We need to change the symlink for the old System.map to point

to the new one.

# ln -sf /boot/System.map-2.6.0-test11 /boot/System.map

 

14) Now we need to make a kernel image. This is because Redhat (Fedora)

used partition labels. If you do now use a kernel ramdisk image

then your kernel will not load. You can get around this by replacing

all occurances of parition labels with their partition, but that is a

pain so lets make a ramdisk image Also the ext3 is built as a module

so your OS will not load if you do not make an ramdisk image

# mkinitrd /boot/initrd-2.6.0-test11.img 2.6.0-test11

 

15) Now lets edit our bootloader.

I like vi, but feel free to use any text editor you like

# vi /etc/lilo.conf

that is for lilo

# vi /boot/grub/grub/conf

that is grub.

Now in there your last line will be something like this

 

 

LILO

-----

image=/boot/vmlinuz-2.4.22-1.2115.nptl

label=2.4.22-1.2115.n

initrd=/boot/initrd-2.4.22-1.2115.nptl.img

read-only

append="root=LABEL=/"

Grub

----

title Fedora Core (2.4.22-1.2115.nptl)

root (hd0,0)

kernel /vmlinuz-2.4.22-1.2115.nptl ro root=LABEL=/

initrd /initrd-2.4.22-1.2115.nptl.img

 

 

That is the standard kernel for fedora core1. So what we do is copy

that whole section and then paste it right below it. Now that we

have two copies of it we need to edit it to look like this

 

LILO

------

image=/boot/vmlinuz-2.6.0-test11

label=2.4.0-test11

initrd=/boot/initrd-2.6.0-test11.img

read-only

append="root=LABEL=/"

 

Grub

------

title 2.6.0-test11

root (hd0,0)

kernel /vmlinuz-2.6.0-test11 ro root=LABEL=/

initrd /initrd-2.6.0-test11.img

 

 

16) If you run grub you can just reboot and you just see the new

kernel in your grub menu. If you use lilo then run the following

command

# lilo

You should see the 2.6.0-test11 listed and then you are good

to go ahead and reboot.

Print this item

  Longhorn 4051
Posted by: splint0r - 2003-12-12, 08:49 PM - Forum: Vista - No Replies

Is anyone experiencing problems with longhorn 4051?

Print this item

  Just some suggestions!
Posted by: splint0r - 2003-12-12, 08:45 PM - Forum: Suggestion Box - No Replies


Allow for more optional contact information options to be displayed when users register for the forum; email address, aim, icq, irc network and channel, homepage links, etc. that could be either publicly shown or hidden for users!

Just a suggestion :)

Print this item

  Add a right-click directory listing option
Posted by: Digerati - 2003-12-12, 08:40 PM - Forum: Tips and Tricks - Replies (1)


Add a right-click directory listing option for 9x, 2K, XP

 

Ok so it would be real handy if we could right click any windows directory and have the option to print a listing of whats inside, open the contents in notepad and print from there, or even list the contents by file type right?

Well I'm here to tell you how to do it so pay attention.

 

Very first thing we need to do is make some batch files to add to the C:\winnt directory or C:\windows depending on your operating system.

We will be using notepad to make the batch files. To make simple batch files with it, open it up and choose file save as and in the Save As Type area of the Save As dialogue box choose all files. You must do this so that it doesnt save it as batch.bat.txt. Name your batch files with a .bat extension.

Another way its to is to click START > RUN and type cmd (NT,2K,XP) or command (Win9x) to bring up a command prompt, and type this at the prompt:

 

echo > test.bat

 

This will create a batch file and all you have to do to open and edit is right click on it and choose edit.

 

Ok now make a batch file named DirList.bat and add the following code in it and save:

 

dir /B %1 /-p /o:gn > "%temp%\Dir Listing"

start notepad "%temp%\Dir Listing"

 

Make another one that will list by subdirectories called DirListSub.bat with the following code:

 

dir /s %1 /-p /o:gn > "%temp%\Dir Listing"

start notepad "%temp%\Dir Listing"

 

 

Make another one called DirListPrint.bat for sending the listing straight to the printer if you want by using this code:

 

dir %1 /-p /o:gn > "%temp%\Dir Listing"

start /w notepad /p "%temp%\Dir Listing"

del "%temp%\Dir Listing"

 

You can remove the /B if you want a full date and time listing to go along with it. For more information on that open a command prompt and type dir /? for help.

 

Ok so we got all our batch files made and if your clever it doesn't have to stop there, but let's move on.

We now need to edit the registry to use these batch files and add the entries to the right click menu.

I have made some .reg files that will automate this process. Just copy the following code into notepad and save as a .reg file.

 

AddRightClick.reg

<-- start copy under this line -->

Windows Registry Editor Version 5.00

 

[HKEY_CLASSES_ROOT\Directory\shell]

@=""

 

[HKEY_CLASSES_ROOT\Directory\shell\List Folder Contents]

 

[HKEY_CLASSES_ROOT\Directory\shell\List Folder Contents\command]

@="C:\\WINNT\\DirList.bat \"%1\""

 

[HKEY_CLASSES_ROOT\Directory\shell\List Folder Contents With SubDirectories]

 

[HKEY_CLASSES_ROOT\Directory\shell\List Folder Contents With SubDirectories\command]

@="C:\\WINNT\\DirListSub.bat \"%1\""

 

[HKEY_CLASSES_ROOT\Directory\shell\Print Folder Contents to Default Printer]

 

[HKEY_CLASSES_ROOT\Directory\shell\Print Folder Contents to Default Printer\command]

@="C:\\WINNT\\DirListPrint.bat \"%1\""

 

<-- end copy -->

 

To Remove:

DelRightClick.reg

<-- start copy under this line -->

 

Windows Registry Editor Version 5.00

 

[HKEY_CLASSES_ROOT\Directory\shell]

@=""

 

[-HKEY_CLASSES_ROOT\Directory\shell\List Folder Contents]

 

[-HKEY_CLASSES_ROOT\Directory\shell\List Folder Contents\command]

@="C:\\WINNT\\DirList.bat \"%1\""

 

[-HKEY_CLASSES_ROOT\Directory\shell\List Folder Contents With SubDirectories]

 

[-HKEY_CLASSES_ROOT\Directory\shell\List Folder Contents With SubDirectories\command]

@="C:\\WINNT\\DirListSub.bat \"%1\""

 

[-HKEY_CLASSES_ROOT\Directory\shell\Print Folder Contents to Default Printer]

 

[-HKEY_CLASSES_ROOT\Directory\shell\Print Folder Contents to Default Printer\command]

@="C:\\WINNT\\DirListPrint.bat \"%1\""

 

<-- end copy -->

 

You may have to modify the paths in these files to suite your Operating System, like C:\WINNT for NT, 2K, and XP and C:\WINDOWS for Win9x.

 

Once you have made all the files and got them in the proper place you can double click the reg files and it will make the proper adjustments. You will then notice that when you right click on a file that you have new options.

 

To make a right click option to list contents by file type:

 

First lets make a directory under C:\ to hold some files. Make a directory and call it whatever you wish.

Im going to call mine "batchscripts".

 

Now in this directory lets create some batch files.

Create one like DOC.bat and insert this code in it and save:

 

dir %1\*.%~n0 /-p /o:gn > "%temp%\Dir Listing"

start notepad "%temp%\Dir Listing"

 

Now for each aditional extension just copy the batch file and rename it to the extension you wish to use like XLS.bat , BMP.bat , TXT.bat , and so on.

 

Now open up:

C:\Documents and Settings\YourUserName\SendTo (2K, XP)

C:\WINNT\Profiles\YourUserName\SendTo (NT4)

C:\WINDOWS\SendTo (Win9x)

 

Make a directory called Print File Listings or what ever you like.

In that directory create shortcuts to the batch files in the c:\batchscripts directory.

All done. Now just right click a folder and select SendTo from the right click menu and then choose the file type you want a listing of and walla.

 

More tips can be found over at [/url][url=http://www.thebatchfile.com/tips.php]http://www.thebatchfile.com/tips.php

Print this item

  SUP
Posted by: splint0r - 2003-12-12, 08:32 PM - Forum: General Chat - No Replies


sup

love,

 

chris

Print this item

  Merry Xmas
Posted by: lia - 2003-12-12, 07:58 PM - Forum: General Chat - Replies (4)


[/url][url=http://i.flowgo.com/greetings/Santas_Naugh...aughty_List.swf]http://i.flowgo.com/greetings/Santas_Naugh...aughty_List.swf

Print this item

  lost windows admin password
Posted by: anyweb - 2003-12-12, 05:42 PM - Forum: Tips and Tricks - Replies (3)


found this on IRC

 

have a look

 

Forgot your admin password?

 

For a NT4 box - www.sysinternals.com

 

for Win2k try the following tips:

 

[/url]http://www.jsiinc.com/subb/tip0500/rh0554.htm

 

http://www.jsiinc.com/subd/tip1800/rh1864.htm

 

http://www.jsiinc.com/subd/tip1900/rh1984.htm

 

http://ask.sunnny.net/adminpass.htm

 

[url=http://home.eunet.no/~pnordahl/ntpasswd/]http://home.eunet.no/~pnordahl/ntpasswd/

 

;-)

 

cheers

Print this item

  Fedora Core 1 Release
Posted by: Oroshi - 2003-12-12, 04:02 PM - Forum: Linux - Replies (2)


[Image: linux.jpg]

 

I running Virtual PC 2004 and installed linux there. it runs sweet! :)

Print this item

  howdy anyweb
Posted by: Oroshi - 2003-12-12, 03:44 PM - Forum: General - No Replies

i've registered :)nice work you've done :)

Print this item