The great AT Linux/BSD/*NIX FAQ project!

Page 8 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

ThisIsMatt

Banned
Aug 4, 2000
11,820
1
0
I have a monitor that I know will do 800x600 @ 100Hz. I've tried messing with the XF86Config-4 file but can't seem to get it right (it either has no affect or causes errors at boot). Any suggestions?
 

Electrode

Diamond Member
May 4, 2001
6,063
2
81
Lemme guess, an old Mac monitor?

Try running XFree86 -configure, and then XFree86 -xf86config ~/XF86Config.new to see if it detected your monitor correctly. The only display this has failed to properly detect for me is the LCD on my laptop, but I booted from the Mandrake 8.0 install CD and picked a matching preset from the list, then took the relevant part out of the XF86Config-4 it made and put it in my installed system's XF86Config.

Anyway, it will most likely not offer an 800x600@100 option, so choose one that says something like 1024x768@100, and then open up the XF86Config-4 it makes , scroll down to the bottom, and make it look like this:

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth color depth you want
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
and so on...
EndSection

Hope you get it working!
 

Chaotic42

Lifer
Jun 15, 2001
33,932
1,113
126
Originally posted by: Poontos
Thanks guys!

How do I get 3Com NIC support into the kernel, or at least the simplest way? It's an Inspiron 4100 w/ 3Com 3c920 Integrated Fast Ethernet Controller (3C905C-TX Compatible).

-Download the kernel source from somewhere like ftp.funet.fi. It'll be called linux-2.4.18.tar.gz and should be in the /pub/linux/kernel/v2.4 directory

-Move the file to the directory that you want the source to be in (usually /usr/src)

-Run tar -zxvf linux-2.4.18.tar.gz

-cd linux

-make menuconfig

-You'll now be presented with a list of options for your kernel. Go through all of them and choose what fits your system. Built-in means that it's part of the kernel, module means that the kernel can load it from a file on-demand.

-When you get to the network devices option, select 3com, then find the 3c509/905 Vortex drivers and select it.

-Finish selecting the other things you need

-Exit the configuration program

-make dep; make bzImage

-Assuming that there are no errors run make modules; make modules_install

-Your kernel is now in arch/i386/boot/bzImage. Copy that to /boot/linux-2.4.18 (the name isn't important)

-Depending on what bootloader you use, you need to change it's config file to point to the new kernel. Also copy /usr/src/linux/System.map to /boot.

That should be it. I'm half awake, so I hope this made sense.
 

rpc64

Platinum Member
Jan 5, 2002
2,135
0
0
This thread rocks. I have a little question. How can I change my video settings, such as brightness, contrast, gamma and stuff like that? I have a Geforce3 ti200 and am running RedHat 7.3, KDE, and the lastest Nvidia linux drivers. I've looked all around in KDE and the Nvidia driver readme but couldn't find anything.
 

Electrode

Diamond Member
May 4, 2001
6,063
2
81
Originally posted by: rpc64
This thread rocks. I have a little question. How can I change my video settings, such as brightness, contrast, gamma and stuff like that? I have a Geforce3 ti200 and am running RedHat 7.3, KDE, and the lastest Nvidia linux drivers. I've looked all around in KDE and the Nvidia driver readme but couldn't find anything.

man xgamma
 

Dizway

Senior member
Oct 24, 2000
533
0
0
I just downloaded and installed RH 8.0. How do I get RH (workstation) to get an ip address from the DHCP server, connect to a Win2k domain and browse the web through a proxy? I tried to configure the network adapter (entered dns, domain info etc...). It remains DEACTIVE. The computer is also added to Server Mgr. I've tried to edit smb.conif (something like that) with no avail. Thanks!
 

ndee

Lifer
Jul 18, 2000
12,680
1
0
Awesome work you guys did here. But I would suggest to "convert" this thread somehow to a web page, there would be a much better overview.
 

ndee

Lifer
Jul 18, 2000
12,680
1
0
I don't think this one was asked:
I have two computers(one is a linux box, one a windows xp) on the same switch, but my ISP isn't able to put them in the same subnet. How can I know use NETBIOS or any other protocol to share files between my two computers, without going over the internet?
 

Electrode

Diamond Member
May 4, 2001
6,063
2
81
that would be more of a networking question than a *NIX question. ask in the networking forum.
 

ndee

Lifer
Jul 18, 2000
12,680
1
0
Originally posted by: Electrode
that would be more of a networking question than a *NIX question. ask in the networking forum.

I know how to get it work under 2 linux workstations, but not with a linux workstation
 

neit

Senior member
Dec 6, 2001
353
0
0
as kellygirlbeads says, i hear using xhost if very insecure, however, i have a challenge for her:

why is it so insecure?
can you point me to a simple version of doing it the "right" way? (but since this is a faq thread, could you give us an answer =)

I've heard xhost is insecure, and i've been playing with vnc and trying remote x. I want to figure out the right, more secure method (as of now i'm running on a broken redhat 7.3 [i broke it, heh]) before i install psyche and get to do it all over again.

i thank anyone who can provide the alternate remote x method
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: shahbazq
as kellygirlbeads says, i hear using xhost if very insecure, however, i have a challenge for her:

why is it so insecure?
can you point me to a simple version of doing it the "right" way? (but since this is a faq thread, could you give us an answer =)

I've heard xhost is insecure, and i've been playing with vnc and trying remote x. I want to figure out the right, more secure method (as of now i'm running on a broken redhat 7.3 [i broke it, heh]) before i install psyche and get to do it all over again.

i thank anyone who can provide the alternate remote x method

If xhost is what I think it is (I didnt feel like really looking it up) it relies on trust. These days on the internet there isnt much trust out there, atleast there shouldnt be. The best method is to setup OpenSSH (set it up well), and tunnel all X connections through that. Much much easier. Plus, you can block ports 6000+ at your firewall on that machine, and these apps willl still go through (tunneled through port 22).
 

neit

Senior member
Dec 6, 2001
353
0
0
thanks for the suggestion noc, but how do i do that =)

I'm trying to get an anandtech faq easiness level for this, and i'm wondering how to just automagically forward stuff from my server to the client.

i haven't gotten to spend too much time on this, classes have kept me busy enough as it is, so i'll try to help myself and anything useful that comes out of it will be posted back here.

 

manly

Lifer
Jan 25, 2000
11,794
2,747
136
Originally posted by: ndee
I don't think this one was asked:
I have two computers(one is a linux box, one a windows xp) on the same switch, but my ISP isn't able to put them in the same subnet. How can I know use NETBIOS or any other protocol to share files between my two computers, without going over the internet?
The easiest way is to setup a static route between both hosts (this is not standard across Linux distros) and also use /etc/lmhosts (or wherever it's located on your OS) to handle NetBIOS name resolution. I would suggest making Samba on the Linux host a WINS server.

Then you can use peer-to-peer SMB networking as if both hosts were on the same localnet. Anything broadcast-related wouldn't work though.
 

BML

Senior member
Jun 1, 2001
443
0
0
I think there should be a unix\linux catagory.
That way we wouldnt need to stick this thread.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
Originally posted by: shahbazq
thanks for the suggestion noc, but how do i do that =)

I'm trying to get an anandtech faq easiness level for this, and i'm wondering how to just automagically forward stuff from my server to the client.

i haven't gotten to spend too much time on this, classes have kept me busy enough as it is, so i'll try to help myself and anything useful that comes out of it will be posted back here.

Oops! Sorry I didnt get back to you sooner! I hate to say it, but check the manpage. I believe its a -X or -x flag when sshing into the machine. If I feel like it later Ill write up a little something about ssh.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |