Re: [expert] Using a Laptop in Different Environments
Doing some research on console based programs I ran across this one and thought it might help. It's called QuickSwitch. It allows for the quick changing of profiles from environment to environment. http://edgesolutions.ca/article.php?sid=21 James On Fri, 22 Feb 2002 18:21:12 +0900 J. Grant [EMAIL PROTECTED] wrote: Hello, Perhaps some of you have the same problem I do. I take my laptop at work and change IP proxy/firewall etc. Then I return home and have to set it all up again. atm i use differnet logins, but idealy i would have some sort of Enviroment varaible that was set by lilo depending on my bootup which was then used to configure the rest of the proxys and other options on my laptop. DHCP can solve the IP problem but then its not possible ssh into my laptop unitl i find the IP each day. I have found the following sites on this topic, and would be interested to hear other peoples solutions to what I believe must be a common problem. JG http://www.linuxgazette.com/issue21/fvwm.html http://linuxdoc.org/LDP/LG/issue20/laptop.html http://linuxdoc.org/LDP/LG/issue20/laptoplist.html http://wwwhomes.uni-bielefeld.de/portgym/net/netenv.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Using a Laptop in Different Environments
On Saturday 23 February 2002 04:30 pm, you wrote: Doing some research on console based programs I ran across this one and thought it might help. It's called QuickSwitch. It allows for the quick changing of profiles from environment to environment. http://edgesolutions.ca/article.php?sid=21 James Isn't there already a network profiles function in Mandrake? -- Hoyt http://www.maximumhoyt.com Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Using a Laptop in Different Environments
Hello, Perhaps some of you have the same problem I do. I take my laptop at work and change IP proxy/firewall etc. Then I return home and have to set it all up again. atm i use differnet logins, but idealy i would have some sort of Enviroment varaible that was set by lilo depending on my bootup which was then used to configure the rest of the proxys and other options on my laptop. DHCP can solve the IP problem but then its not possible ssh into my laptop unitl i find the IP each day. I have found the following sites on this topic, and would be interested to hear other peoples solutions to what I believe must be a common problem. JG http://www.linuxgazette.com/issue21/fvwm.html http://linuxdoc.org/LDP/LG/issue20/laptop.html http://linuxdoc.org/LDP/LG/issue20/laptoplist.html http://wwwhomes.uni-bielefeld.de/portgym/net/netenv.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Using a Laptop in Different Environments
I made all the scripts in /etc/ that setup my network simlinks to file owned by my user in a special conf dir. I set eth0 to be user controlled. I then have scripts called 'setlocaiton_home' and 'setlocation_work' that put the right files in the similnked special conf dir and then call ifdown eth0 ifup eth0 and the job is done. All without having to become root either. On Friday 22 February 2002 09:21, you wrote: Hello, Perhaps some of you have the same problem I do. I take my laptop at work and change IP proxy/firewall etc. Then I return home and have to set it all up again. atm i use differnet logins, but idealy i would have some sort of Enviroment varaible that was set by lilo depending on my bootup which was then used to configure the rest of the proxys and other options on my laptop. DHCP can solve the IP problem but then its not possible ssh into my laptop unitl i find the IP each day. I have found the following sites on this topic, and would be interested to hear other peoples solutions to what I believe must be a common problem. JG http://www.linuxgazette.com/issue21/fvwm.html http://linuxdoc.org/LDP/LG/issue20/laptop.html http://linuxdoc.org/LDP/LG/issue20/laptoplist.html http://wwwhomes.uni-bielefeld.de/portgym/net/netenv.html Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [expert] Using a Laptop in Different Environments
On Fri, 22 Feb 2002, J. Grant wrote: Hello, Perhaps some of you have the same problem I do. I take my laptop at work and change IP proxy/firewall etc. Then I return home and have to set it all up again. atm i use differnet logins, but idealy i would have some sort of Enviroment varaible that was set by lilo depending on my bootup which was then used to configure the rest of the proxys and other options on my laptop. DHCP can solve the IP problem but then its not possible ssh into my laptop unitl i find the IP each day. You can specify that a particular MAC address always gets the same IP address in your /etc/dhcpd.conf file. You can also try creating a separate set of run level scripts for the other location. The only difference would be the default configuration files it would use for the network. Or you can setup DHCP on your home network. It would take about five minutes and may solve the problem for you. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
[expert] Using a Laptop in Different Environments
But this is solved!; Use drakprofile. I have drakprofile and just have the 2 profiles (home and office) configured. When I start my work, I conect my computer to the net and in drakprofile I select office; in few seconds the net is automatically reconfigured and restarted; I need just to put down and put in again the pcmcia card and, hale opp! the net is runing. When I go back to my home I start again drakprofile, I select home and after a few seconds I do the same thing with the pcmcia ethernet card and I have my conection working at home. Drakprofile is avalaible I think in cooker of you can take it in rpmfind.net Francisco Alcaraz Murcia (Spain) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com