Showing posts with label linux tweaks. Show all posts
Showing posts with label linux tweaks. Show all posts

Detecting 2 ethernet cards

Posted by linuxuser On 10:07 AM 0 comments

To configure an ethernet card in Linux, you need to enable it in the kernel. Then the kernel will detect your ethernet card if it is at a common IO port. But it will stop there, and will never check if you have 2 ethernet cards.
The trick is to tell the ethernet driver that there are 2 cards in the system. The following line will tell the kernel that there is an ethernet card at IRQ 10 and IO 0x300, and another one at IRQ 9 and IO 0x340:
ether=10,0x300,eth0 ether=9,0x340,eth1
You can add that line on bootup at the "boot:" prompt, or in the /etc/lilo.conf file. Don't forget to run:
lilo
That will reload the lilo.conf file and enable changes.

configure 2 ethernet cards in linux, kernal errors , linux tweaks

Allowing users to mount drives

Posted by linuxuser On 8:48 AM 0 comments

By default, Linux will not allow users to mount drives. Only root can do it, and making the mount binary suid root is not a good idea. With a special command in the /etc/fstab file, you can change that.
This is a typical line for the fd0 (A:) drive in /etc/fstab:
/dev/fd0 /mnt auto noauto,user 1 1
The keywords here are noauto and user. Noauto tells mount not the try to mount a diskette on boot, and user
allows any user to mount the drive into /mnt. The auto keyword is also interesting. It tells mount to try to find
out which file system is on the diskette. You could also use msdos or ext2.

allowing other users to mount drives, linux tweaks

X Window configuration options

Posted by linuxuser On 8:46 AM 0 comments

Each Linux distribution has its own X Window configuration program. XFree86 also has a text-basedconfiguration program which is complex to use. But what if both the distribution program and xf86config, the text-based configuration for XFree86, do not seem to do what you need? XFree86 also comes with a graphical configuration tool.
The name of the graphical program is XF86Setup. This will launch a graphical window and allow you to configure the X Window Server. So if you don't like the console configuration programs, you can use this one:

x window configuration programme, linux graphical configuration tool, linux tweaks