View previous topic :: View next topic |
Author |
Message |
elitecodex n00b
Joined: 15 Mar 2005 Posts: 30 Location: MD
|
Posted: Tue Mar 15, 2005 10:33 pm Post subject: Laptop configuration with docking station |
|
|
Hello everyone. I just installed Gentoo 2004.3. I have all up and running. There are a few small things I cannot figure out right now.
1) Network
I have my network up and running, but I had problems with DHCP. So I have a static IP set... but my problem is that when I go back and forth between work, I have to change my /etc/resolve.conf and my /etc/conf.d/net files for the different subnet (192.168.1 for home; 10.1.1 for work). Is there an easier way to do this without DHCP?
2) Display
I have a Latitude D800 and use a docking station at work. It picks up my nVidia GeForce 5200 with no problems but has a problem with my monitor. So I have to mess with my xorg.conf file each time I switch. How can I go about fixing that? It detects my monitor at work (docking station) with no problems, so renaming my xorg.conf file seems to do the trick. Just another annoyance that I have to do each time I change.
Anyone know where I can find info about this? Thanks alot in advance!
Will |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Tue Mar 15, 2005 10:52 pm Post subject: |
|
|
make a new runlevel
make an /etc/whatever-docked and /etc/whatever-undocked
make an initscript in the default and the new runlevel you created that links /etc/whatever-docked to /etc/whatever or vice-versa. You can select the runlevel to boot into by passing it as a kernel argument (usually the last one). |
|
Back to top |
|
|
elitecodex n00b
Joined: 15 Mar 2005 Posts: 30 Location: MD
|
Posted: Tue Mar 15, 2005 11:17 pm Post subject: |
|
|
Sounds easy enough. Although I have no idea how to do it, I have something to research now
Thanks alot for the help thebigslide |
|
Back to top |
|
|
|