FreeBSD Ports and DNS Res.

Poontos

Platinum Member
Mar 9, 2000
2,799
0
0
I am having one of those contageiously lazy days...


1.) Running 4.4 Release and I am trying to track down the file that I specify my DNS servers. It used to be resolv.conf in the /etc/, but cannot find it.

2.) How do I update my current KDE and XFree (looking for step-by-step tutorials) stuff? I am running KDE 2.2 I think (what came on the 4.4 Release ISO) and cannot recall what version of XFree.

3.) How do I change my resolution in KDE. Right now it is at 640x480 and killin' me.

4.) I peaked around on the Freebsdforums.org for some quick answers, but no avail. Maybe we can add the answers to me questions in the forum FAQ.

THANKS!
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< I am having one of those contageiously lazy days...


1.) Running 4.4 Release and I am trying to track down the file that I specify my DNS servers. It used to be resolv.conf in the /etc/, but cannot find it.
>>



You may have to make it if you just installed. Thats the right file though.



<< 2.) How do I update my current KDE and XFree (looking for step-by-step tutorials) stuff? I am running KDE 2.2 I think (what came on the 4.4 Release ISO) and cannot recall what version of XFree. >>



See if ports have been updated, and use cvs to update your ports. There are instructions on the page.



<< 3.) How do I change my resolution in KDE. Right now it is at 640x480 and killin' me. >>



Edit /etc/XF86config



<< 4.) I peaked around on the Freebsdforums.org for some quick answers, but no avail. Maybe we can add the answers to me questions in the forum FAQ.

THANKS!
>>



Feel free to submit FAQs to the FAQ Man.
 

Poontos

Platinum Member
Mar 9, 2000
2,799
0
0
Thanks n0cmonkey.

1.) What's the format of the resolv.conf?

2.) Which "page" are you referring to FreeBSD site, KDE, etc.? Something like the nice and straightforward ones at the BSDVault.

3.) What exactly do I change, here is what I have that I think pertains to my resolution settings:

Section "Monitor"
Identifier "Primary Monitor"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5
VertRefresh 60
Modeline "640x480" 25.18 640 664 760 800 480 491 493 525
Modeline "320x240" 12.59 320 336 384 400 240 245 246 262 doublescan
EndSection

Section "Device"
Identifier "Primary Card"
VendorName "Unknown"
BoardName "NVIDIA Riva TNT2 (generic)"


EndSection

Section "Screen"
Driver "Accel"
Device "Primary Card"
Monitor "Primary Monitor"
DefaultColorDepth 8
SubSection "Display"
Depth 8
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 15
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 16
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 32
Modes "640x480" "320x240"
EndSubSection
EndSection

Section "Screen"
Driver "SVGA"
Device "Primary Card"
Monitor "Primary Monitor"
DefaultColorDepth 8
SubSection "Display"
Depth 8
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 15
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 16
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 32
Modes "640x480" "320x240"
EndSubSection

Section "Screen"
Driver "VGA16"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 4
Modes "640x480" "320x240"
EndSubSection
EndSection

Section "Screen"
Driver "VGA2"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 1
Modes "640x480" "320x240"
EndSubSection
EndSection

Section "Screen"
Driver "Mono"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 1
Modes "640x480" "320x240"
EndSubSection
EndSection


WTF is all that! :D



 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< Thanks n0cmonkey.

1.) What's the format of the resolv.conf?
>>



man resolv.conf



<< 2.) Which "page" are you referring to FreeBSD site, KDE, etc.? Something like the nice and straightforward ones at the BSDVault. >>



http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html



<< 3.) What exactly do I change, here is what I have that I think pertains to my resolution settings:

Section "Monitor"
Identifier "Primary Monitor"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 31.5
VertRefresh 60
Modeline "640x480" 25.18 640 664 760 800 480 491 493 525
Modeline "320x240" 12.59 320 336 384 400 240 245 246 262 doublescan

EndSection

Section "Device"
Identifier "Primary Card"
VendorName "Unknown"
BoardName "NVIDIA Riva TNT2 (generic)"


EndSection

Section "Screen"
Driver "Accel"
Device "Primary Card"
Monitor "Primary Monitor"
DefaultColorDepth 8
SubSection "Display"
Depth 8
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 15
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 16
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 32
Modes "640x480" "320x240"

EndSubSection
EndSection

Section "Screen"
Driver "SVGA"
Device "Primary Card"
Monitor "Primary Monitor"
DefaultColorDepth 8
SubSection "Display"
Depth 8
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 15
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 16
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 24
Modes "640x480" "320x240"
EndSubSection
SubSection "Display"
Depth 32
Modes "640x480" "320x240"

EndSubSection

Section "Screen"
Driver "VGA16"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 4
Modes "640x480" "320x240"

EndSubSection
EndSection

Section "Screen"
Driver "VGA2"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 1
Modes "640x480" "320x240"

EndSubSection
EndSection

Section "Screen"
Driver "Mono"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Depth 1
Modes "640x480" "320x240"

EndSubSection
EndSection


WTF is all that! :D
>>



Look at changing the stuff in bold. You didnt seem to do a great job running XF86Setup/xf86config/xf86cfg. You may want to back this file up and try again.
 

Poontos

Platinum Member
Mar 9, 2000
2,799
0
0
FreeBSD sysinstall must have not done a good job cause that is where it was intially setup. I didn`t do shiz. :)


I have to change ALL those numbers just to change the resolution? Two clicks in Windows is looking golden right now.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< FreeBSD sysinstall must have not done a good job cause that is where it was intially setup. I didn`t do shiz. :) >>



I dont think sysinstall handles setting up X, but its been a while since I installed FreeBSD.




<< I have to change ALL those numbers just to change the resolution? Two clicks in Windows is looking golden right now. >>



Then go back to Windows.
 

Poontos

Platinum Member
Mar 9, 2000
2,799
0
0
<< I have to change ALL those numbers just to change the resolution? Two clicks in Windows is looking golden right now. >>


"Then go back to Windows."

There is no turning back, when the work I am in, involves whatever the majority of people use as their OS.

I am trying to get back into FreeBSD now that I have more space on a seperate PeeCee, but me being lazy today is not helping.

It just seems a little crazy to have to change all the code you highlighted, just to change the resolution. Time must not be of importance in this scenario.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<< << I have to change ALL those numbers just to change the resolution? Two clicks in Windows is looking golden right now. >>


"Then go back to Windows."

There is no turning back, when the work I am in, involves whatever the majority of people use as their OS.

I am trying to get back into FreeBSD now that I have more space on a seperate PeeCee, but me being lazy today is not helping.

It just seems a little crazy to have to change all the code you highlighted, just to change the resolution. Time must not be of importance in this scenario.
>>



The benefit here is, that once you get a working solution you can back it up and never have to go through the trouble again. You can ever put it on several machines if they have the same video card/monitors. And the easiest way to change them is to go through one of the programs I mentioned. You will resetup everything, but in the end you should be happier. When I upgrade OpenBSD I dont go through any of that because I keep a spare copy of my /etc/XF86Config file. I just throw it on the newly installed system and everything works fine. In Windows I have to change the resolution, color depth (sometimes), and the rest of that crap every time I reinstall.
 

Poontos

Platinum Member
Mar 9, 2000
2,799
0
0


<<

<< << I have to change ALL those numbers just to change the resolution? Two clicks in Windows is looking golden right now. >>


"Then go back to Windows."

There is no turning back, when the work I am in, involves whatever the majority of people use as their OS.

I am trying to get back into FreeBSD now that I have more space on a seperate PeeCee, but me being lazy today is not helping.

It just seems a little crazy to have to change all the code you highlighted, just to change the resolution. Time must not be of importance in this scenario.
>>



The benefit here is, that once you get a working solution you can back it up and never have to go through the trouble again. You can ever put it on several machines if they have the same video card/monitors. And the easiest way to change them is to go through one of the programs I mentioned. You will resetup everything, but in the end you should be happier. When I upgrade OpenBSD I dont go through any of that because I keep a spare copy of my /etc/XF86Config file. I just throw it on the newly installed system and everything works fine. In Windows I have to change the resolution, color depth (sometimes), and the rest of that crap every time I reinstall.
>>


Now I get it, thanks.

Anyway I can trim down this file, well at least in the graphics/video/monitor section I posted?

I have an old Asus TNT2 card for this server.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<<

<<

<< << I have to change ALL those numbers just to change the resolution? Two clicks in Windows is looking golden right now. >>


"Then go back to Windows."

There is no turning back, when the work I am in, involves whatever the majority of people use as their OS.

I am trying to get back into FreeBSD now that I have more space on a seperate PeeCee, but me being lazy today is not helping.

It just seems a little crazy to have to change all the code you highlighted, just to change the resolution. Time must not be of importance in this scenario.
>>



The benefit here is, that once you get a working solution you can back it up and never have to go through the trouble again. You can ever put it on several machines if they have the same video card/monitors. And the easiest way to change them is to go through one of the programs I mentioned. You will resetup everything, but in the end you should be happier. When I upgrade OpenBSD I dont go through any of that because I keep a spare copy of my /etc/XF86Config file. I just throw it on the newly installed system and everything works fine. In Windows I have to change the resolution, color depth (sometimes), and the rest of that crap every time I reinstall.
>>


Now I get it, thanks.

Anyway I can trim down this file, well at least in the graphics/video/monitor section I posted?

I have an old Asus TNT2 card for this server.
>>



Go through the confiration program, that should take some of that crap out of there.