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 854 online users.
» 0 Member(s) | 850 Guest(s)
Applebot, Bing, Google, Yandex

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

 
  ODBCConfig?
Posted by: Guest - 2003-12-12, 03:11 PM - Forum: How Do I? - Replies (1)


Can someone help me, I installed unix ODBC and MyODBC Driver, but i cant figure out how to install ODBCconfig. Im running Redhat 9.0 Thank You

 

 

40

Print this item

  edit hosts to point ip to www addy
Posted by: Guest - 2003-12-12, 01:20 PM - Forum: Tips and Tricks - No Replies


to edit your hosts file to point an ip (eg: 100.0.0.1) to a www address (eg: www.linux-noob.com) do this

 

su -

 

vi /etc/hosts

 

press INSERT on your keyboard

 

change it from

 

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

 

 

to

 

# Do not remove the following line, or various programs

# that require network functionality will fail.

127.0.0.1 localhost.localdomain localhost

100.0.0.1 www.linux-noob.com linux-noob

 

press ESCape on your keyboard

 

write the changes with

 

:wq

 

thats it

 

now when you type [/url][url=https://www.linux-noob.com]https://www.linux-noob.com (or whatever it was) you won't get the ip address or host not found, you'll get the www address :-)

\

cool

 

cheers

Print this item

  testing my tiny sig
Posted by: LeperMessiah - 2003-12-12, 12:05 PM - Forum: General - No Replies

blah ? :P

Print this item

  Longbow's here
Posted by: Longbow - 2003-12-12, 11:54 AM - Forum: Hello - Replies (2)


Hi im longbow, im from www.clanhtas.net anywebs gaming clan! we play desert combat, Medal of honour, and Call of duty we are recruiting! so if interested drop us a line at the site above!

 

Cheers

 

Longbow!!

Print this item

  Time update
Posted by: Guest - 2003-12-12, 09:02 AM - Forum: How Do I? - Replies (13)

I'm normally used to using FreeBSD, which has the ntpdate command to update the server's time to match a time server. However, that command doesn't exist on redhat. What's the equivalent? I badly need to update the time on my webserver.

Print this item

  10 easy steps to compiling your kernel
Posted by: P38 - 2003-12-12, 12:53 AM - Forum: Kernel Related - Replies (6)


This is NOT for 2.6.X. There is a README in /usr/src/linux that contains these instructions in much more detail. I am using using the 2.4.24 kernel as an example. If you have not already done so, download your kernel source and install it in /usr/src.

 

1. cd /usr/src/linux (if /usr/src/linux doesnt exist, create a link from /usr/src/linux-2.4.24 to /usr/src/linux with the command ln -s /usr/src/linux-2.4.24 /usr/src/linux )

 

2. make distclean (this sets the source package back to the default)

 

3. edit your makefile. change the EXTRAVERSION = on the forth line to an extension that will identify this new kernel build. ex. "EXTRAVERSION = -custom-1". if you are using pico or nano as your editor, be sure to include the "-w" option to turn off line wrap or you will trash your makefile.

 

If this is a stock kernel and you have never built a kernel before, Redhat supplies config files that match their precompiled kernels in /usr/src/linux/config. Pick the one that matches your hardware and copy the provided config into /usr/src/linux/.config. If you are not using Redhat, your going to have to wing it. :-)

 

4. make mrproper menuconfig use the menuconfig to set the options you want in your kernel. If you are reading this as a guide, then you are probably not very experienced in building kernels. A suggestion would be to make small changes, compile and install the kernel and make sure it works before you start making major changes.

 

5. make bzImage modules modules_install This will take some time to complete. Have a cup of coffee.

 

6. cp /usr/src/linux/arch/i386/boot/bzImage /boot/bzImage-2.4.24-custom-1

 

7. cp /usr/src/linux/System.map /boot/System.map-2.4.24-custom-1

 

8. cp /usr/src/linux/.config /boot/config-2.4.24-custom-1 This is not required, but it is sometimes handy to be able to get back to the config you used to create a kernel. This puts it in a safe place and its name matches it to the kernel you just built.

 

cd /boot

 

9. mkinitrd initrd-2.4.24-custom-1 2.4.24-custom-1

 

10 edit /boot/grub/grub.conf (remember to use "-w" if you are using nano or pico)

create a new entry for your new kernel.

 

title=2.4.24-custom-1

root (hd0,0)

kernel (hd0,0)/bzImage-2.4.24-custom-1 ro root=/dev/hda6

initrd (hd0,0)/initrd-2.4.24-custom-1

 

NOTE: in this case, my /boot partition is /dev/hda1 and my / (root) partition is /dev/hda6. Yours is probably different. Look at the other entries in your grub.conf and make the entries look the same.

 

g'luck

Print this item

  chmod help (permissions)
Posted by: morbondu - 2003-12-11, 11:54 PM - Forum: Filesystem Management - Replies (2)


Hi all...

 

I wrote this exe in VB to run on any win32 system(only tested on win98, win2k, and XP :^). chmodhelper.exe is a very very simple program to help out noobs with chmoding files. Basically, it's a learning tool for figure'n out the correct number squence for chmod'n files at command line.

 

example of the chmod command:

morbondu@linux%>chmod 755 public_html

 

Sorry, the chmodhelper.exe will not 'chmod' the file for you. Its a helping/learning tool for you to use while using a terminal connection (ssh) to a linux box while in Windows.

 

Screen shot:

[Image: chmodhelper.gif]

 

The chmodhelper.exe is a standalone executable with no installer or uninstaller. All you have to do is click on the chmodhelper.exe. To delete the program, just delete the chmodhelper.exe file.

 

Download:

chmod helper

 

I hope it helps out a few of you.

 

morbondu

~http://www.grithouse.com~

Print this item

  *waves*
Posted by: lia - 2003-12-11, 10:58 PM - Forum: Hello - Replies (5)


Hello hello :)

 

I'm lia.

Print this item

  Linux 9.0 Toshiba Satallite Pro 6100
Posted by: kZo - 2003-12-11, 08:33 PM - Forum: Tips and Tricks - No Replies


The strategy for HDD partitioning will depend on whether you want to dual-boot Window XP and Linux, or run with Linux only. The features of this laptop are quite well-supported by Red Hat Linux 9.0: the only "problematic" hardware being the Infrared port. With all the excellent Open Source applications now available under Linux, there is really no need to install Windows, unless your PC is connected to a Corporate "Microsoft standardized" network where Linux clients are not allowed...

 

How to set up a dual-boot Linux/XP system

If you really must have Windoze XP or 2000, there is a very simple way of cloning the ghost image from the Toshiba recovery disk, without dedicating the whole 38 GBytes of your hard disk to Bill Gates. The following steps will, however, destroy all the data on it, so please make a backup of your important files before starting any of this.

 

Insert the Toshiba "Product Recovery DVD-ROM" and switch the computer off then on, while holding down <Ctrl><c> until you hear "beeps". This will force the machine to boot from DVD-ROM.

When you get the RECOVERY UTILITY splash screen, hit <Ctrl><c> again: it will ask if you want to "Terminate batch job?" - hit <Y> and you should get a DOS prompt. Type CLS to clear the screen, CD TOOLS then FDISK to start the disk partitioning utility.

Enable large disk support, delete all partitions, and create a new FAT32 partition of 14503 MBytes. (Unfortunately, you cannot make the Windoze partition any smaller than this if you want to use the Toshiba ghost image. It still leaves you with a whopping 23 GB for Linux, which should be enough for most people...).

Make the new 14.5 GB partition active, and escape from FDISK. Switch off.

Switch on again, holding <Ctrl><c> as usual. When you get the RECOVERY UTILITY splash screen, select Option 1 (XP) or 2 (2000), it does not matter which. At the next screen, select Option 1 (Start Installation).

The Recovery Utility will then offer to reformat your entire hard disk - Option 1 (NOT A GOOD IDEA) - so please select Option 2 (Expert Mode).

When in Expert Mode, select (using the right arrow key) Local -> Disk -> From Image (Enter). You will see the available ghost images: S6K1ENP1.GHO (XP) and S6K1ENK1.GHO (2000). Choose whichever takes your fancy, press OK, and the utility will then offer to create a primary partition of 38 GB (aaagh!). You surely will not want this, so manually SET a new size of 14503 MB, OK, PROCEED = YES.

At some stage, it will ask you for a "Recovery CD #2" which you don't have. Just keep the DVD ROM in the drive and press OK.

When finished, reboot your computer from HDD and check that Windows XP (or 2000) starts up correctly.

Now you can install a serious operating system... Insert Red Hat Linux 9.0 Install CD #1, and reboot, holding <Ctrl><c>, then proceed with the installation. Unless you want something special, I would recommend that you select the "Automatic partitioning" and "Remove all Linux partitions" options, when prompted. This will leave your 14503 MB for DOS on hda1, and will create a 99 MB /boot partition on hda2, with 21.7 GB allocated to the / (root partition). /swap is on an extended partition, hda5.

Very important: If you want to avoid problems with Windoze trying to take control of your system again, please use the suggested boot loader (GRUB) and not LILO. GRUB has the unique advantage of being able to "spoof" MBR details, so that Windoze believes it is the only operating system on the planet. Let it believe that if it wants; it saves a lot of trouble!

Please also read the general comments on Linux installation, below.

 

 

How to set up a Linux-only system

Start the procedure from Step 10, above. The only differences will be no Windoze (hooray!) and the size of the / root partition, which will be about 36 GB.

 

Now, some general comments about the installation process.

 

It is probably best to keep your Ethernet port disconnected during installation: the Linux installer may try to auto-assign some unwanted network configuration.

Be careful about how you set the networking options, and be sure you understand the difference between DHCP and fixed IP addresses. It is also advisable to disable the firewall, at least initially.

When rebooting, the system MAY freeze on starting the interface eth0 - this appears to be an unwanted feature of Red Hat 9.0; I have not seen it on this computer with earlier versions of Red Hat Linux. Unfortunately, you will have to switch off if it happens, and re-boot.

The old problem with the USB controller freezing on restart is still there. When shutting down the computer, never choose the "restart" option - it will not work properly, and you will have to switch off anyway when the USB freezes...

If the screensaver comes on during Linux installation, you may find the display reverts to some stupid resolution, like 640x480. Switch it back to 1024x768 using <Ctrl><Alt><Fn><;> repeatedly until you achieve the desired setting.

Print this item

  Linux 9.0 Toshiba Satallite Pro 6100
Posted by: kZo - 2003-12-11, 08:28 PM - Forum: Tips and Tricks - No Replies


The video chip used in the Toshiba 6100 is the NVIDIA GeForce 4 420 Go.

 

Depending on the exact model of 6100 you have, the video RAM may be 16M or 32M - check this from the specifications before going any further.

 

 

During RH Linux 9.0 installation, the chip is probed as NVIDIA GeForce 4 and the "nv" driver is selected.

The LCD monitor cannot be automatically probed, so use "Generic Laptop 1024x768", and accept the 24-bit colour depth suggested by the installer.

 

 

This invokes a generic NVidia driver with 1024x768 resolution: quite acceptable for most purposes. A basic XF86Config file is created in /etc/X11/. This sample file may be useful if you want to return to default settings later.

 

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

 

Installing the proprietary NVIDIA drivers:

For a really sparkling display, you will need to get the videocard manufacturer's Linux drivers.

 

Check this page for the latest drivers, but see the note below, first...

 

At the time of writing, there are all kinds of problems with kernel/driver/glibc compatibilities. For example:

Red Hat 9.0 shipped with a broken glibc, and you will not be able to run OpenOffice or xmms with the NVidia driver until you have updated your system using (e.g.) up2date or Ximian Red Carpet

If you run up2date as of today (07/07/03) the kernel will be updated to version 2.4.20-18.9. The NVidia installer "NVIDIA-Linux-x86-1.0-4363.run" only seems to work with kernel 2.4.20-8 and below.

I am indebted to Alexandre (Sasha) Kozlov for his solution. Perform a full update using up2date or Ximian Red Carpet. Go to this site, and download the package compatible with your hardware/distribution. For example, if your kernel version is 2.4.20-18.9 (do uname -r to check) the correct file will be:

 

nvidia-graphics-kmdl-2.4.20-18.9-1.0_4363-11.i686.rpm

 

Install the package, and if there are no errors so far, change your default run level to "3" in /etc/inittab, make a backup of your XF86 Config (/etc/X11/XF86Config) and modify it as follows:

 

"Module" section:

 

Remove the line> Load "dri"

Remove the line> Load "GLcore"

Ensure you have the line> Load "glx"

"Monitor" section:

 

For a basic setup, all you need is:

 

Section "Monitor"

Identifier "Monitor0"

VendorName "Monitor Vendor"

ModelName "Toshiba 6100 LCD Display"

HorizSync 31.5 - 150

VertRefresh 50.0 - 100

Modeline "1024x768" 97.40 1024 1072 1192 1416 768 768 771 809

Option "ddc" "off"

EndSection

 

"Device" section:

 

It's very important that the Driver line is changed from "nv" or "vesa" to "nvidia". Also, remember to check the amount of video RAM you have, and decide whether you want BackingStore on or off. (Must be off if you are using Win4Lin).

 

 

 

Section "Device"

Identifier "Videocard0"

Driver "nvidia"

VendorName "NVIDIA"

BoardName "NVIDIA GeForce 4 420 Go"

VideoRam 32768

Option "BackingStore" "Off"

EndSection

 

"Screen" section:

 

You can add more modes as required, but note that each must have a valid modeline in the "Monitor" section. The "Virtual" line disables the display panning that would otherwise occur by default, and forces the driver to display everything within the confines of the screen dimensions.

 

 

Section "Screen"

Identifier "Screen0"

Device "Videocard0"

Monitor "Monitor0"

DefaultDepth 24

SubSection "Display"

Modes "1024x768"

EndSubSection

SubSection "Display"

Depth 24

Modes "1024x768"

Virtual 1024 768

EndSubSection

EndSection

 

 

 

Once the modified file has been saved, exit the root account, login as a normal user and you can try starting the X-server:

 

$ startx

With a bit of luck, you will have a functioning display. If not, check the /var/log/XFree86.9.log file for pointers to what went wrong. Useful key commands at this stage are:

 

<Ctrl> <Alt> <BkSp> to kill the X-server and revert to text mode

 

<Ctrl> <Alt> <Fn> <;> to switch screen modes (if you have more than one)

 

 

IMPORTANT NOTE: If you make a mistake and get a bright white screen, kill the X-server immediately to avoid irreparable damage to the LCD display. All of the above instructions are given without any warranty. They may not work in your case, and worse, they may cause damage to your PC. Use them at your own risk!

 

Assuming the drivers have installed correctly, you can change your default runlevel back to 5 in /etc/initttab.

 

If it didn't work for some reason, all I can suggest is that you consult the Linux and NVidia Graphics forum.

 

 

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

 

Example:

Here is a sample XF86Config file to play with:

24-bit NVIDIA example

 

Copy this to your /etc/X11/XF86Config file, as appropriate, having made a backup first. Note that only the 1024x768 modeline is working properly at the moment - I will try to get the other screen resolutions later...

 

 

 

Note: If you have problems with a black line at the right hand side of the screen, try adding the following line to /etc/modules.conf :

 

options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=2

 

 

 

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

 

External Monitor/TV settings

This is really difficult. The Toshiba 6100 hotkey display switch (Fn F5) is not properly supported under Linux, and the NVidia driver implementation supports it even less... Unfortunately, I have not been able to find any solution that allows monitor switching under Red Hat 9.0 with the NVidia 4363 driver! Please let me know if you can help...

 

If you do not mind using the standard Vesa driver at 16-bit colour depth, you can use an external monitor or TV by using the following procedure:

 

Ensure that you have Jonathan Buzzard's Toshiba Linux Utilities, which you can obtain here. The stable version of the utilities requires Toshiba Laptop support either compiled into the kernel or as a loadable module (RH9.0 default). Download the utilities tarball, copy to /usr/local/ and do tar -xvzf. Change directory to /usr/local/toshutils-2.x.x and follow the README for installation instructions. Note that "make install" creates the required special device files if they do not already exist.

The display switch in Jonathan's utilities only works on Libretto notebooks, so you are going to need another little utility named "Toshset" from Charles Schwieters. Copy to /usr/local/ and "untar" as you did in step 1.

cd to /usr/local/toshset-1.xx and follow the README for installation instructions. If you have Toshiba Laptop support compiled into the kernel (not as a module, which is RH9.0 default), you must change the Toshset Makefile so that the line "DEFS = -DUSE_KERNEL_INTERFACE" is uncommented. Failure to do this will cause Toshset to crash with a segmentation fault...Also, you may need to create 3 directories to prevent compilation errors. These are:

/usr/local/man

/usr/local/man/man1 and

/usr/local/man/man8

 

VESA 16-bit dual display

The trick here is to ensure that your monitor settings can apply equally to the internal and external monitors. I have used a very old monitor (Philips 105S) in this sample XF86Config running at 1024x768 pixels. Copy this to your existing XF86Config, having made a backup first, and re-start your computer with the external monitor plugged in.

 

Note: you can change TV regional options (PAL/NTSC) via the computer's setup menu by pressing <Ctrl> <Esc> immediately after switching on.

Login and use toshset -video both to enable LCD and external monitors simultaneously. This works in text mode or from an X-terminal. Other toshset options are int, ext, tv. You can try these, but "tv" will probably only work at 800x600.

Print this item