[SLE] Networking laptop in different locations
I have a laptop which is working great with SuSe 6.3. At home I have a cable modem connected to a desktop computer and have successfully setup masquerading so the laptop has internet access and at work i can connect to the university network. I have been looking for a way to automate the network setup at the two locations, which doing manually seems to be more difficult than desirable twice a day. I found the "PCMCIA" Notebook in miscellaneous networks" entry in the SuSE support database, and it looked likd an ideal solution except that when I tried it, I could get no ethernet connection at all. Ifconfig showed only the lo local loopback entry. I tried rcnetwork restart and /sbin/init.d/route stop/start with no change. I'ld appreciate advice on getting the pcmcia scheme system to work, or any other easy way of changing network settings. Thanks, Bernie Gardner -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Sat, 08 Jan 2000, Bernie Gardner wrote:
I have a laptop which is working great with SuSe 6.3. At home I have a cable modem connected to a desktop computer and have successfully setup masquerading so the laptop has internet access and at work i can connect to the university network. I have been looking for a way to automate the network setup at the two locations, which doing manually seems to be more difficult than desirable twice a day. I found the "PCMCIA" Notebook in miscellaneous networks" entry in the SuSE support database, and it looked likd an ideal solution except that when I tried it, I could get no ethernet connection at all. Ifconfig showed only the lo local loopback entry. I tried rcnetwork restart and /sbin/init.d/route stop/start with no change.
I'ld appreciate advice on getting the pcmcia scheme system to work, or any other easy way of changing network settings.
Thanks,
Bernie Gardner
I don't know if this will help, but I use my laptop in two different networks and this is how I do it. I switched to using dhcpcd for my dhcp connection at work and at home I have a static address on my masq'ed ADSL connection. I set the static address in yast on the card. When I plug in at home as soon as it boots I'm online. When I get to work I plug in and boot. Because I use private numbering at home the set address really doesn't cause any problems, then as soon as I log in I start dhcpcd which then gets my proper address from the server at work. I use Window Maker and just made an entry on my menu to start DHCP on demand. So when at work I log in and click a menu entry and I'm up and running. At home I just plug in and boot. Maybe not the ideal, but for me it's perfect. I suppose if you are running static addresses in more than one place this won't work, but thought I would offer up the idea anyway. -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren R. Weber drw@linuxfan.com ICQ# 2849193 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hello Bernie : It is quite simple , edit the /etc/pcmcia/network.opts whit the desired settings (There is an example in page 137 of SuSE's 6.3 manual) you'll edit diferent sections whith a label for each configuration ,and also change this variables definitions of /etc/rc.config : NETCONFIG="" CHECK_ETC_HOSTS="no" BEAUTIFY_ETC_HOSTS="no" CREATE_HOSTS_CONF="" CREATE_RESOLV_CONF="" After it run : # cardctl scheme label That's all -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Thanks for the help. Pablo and Sau. Pablo's suggestion is essentially what I was trying to get working, and I have now basically succeeded(at least for home, haven't tried it at work yet.) The only question now is why you need to type cardctl scheme home after boot up. It seems like that should be automatic, though its nice to be able to change schemes without rebooting (in case I want to leave the computer running on battery on way home?) Anyway, is there an obvious way to have it start automatically. I guess the cardctl command could be put in boot.local or something, but seems odd that you need to. Bernie Gardner On Sat, 08 Jan 2000, you wrote: > Hello Bernie : > It is quite simple , edit the /etc/pcmcia/network.opts whit the desired > settings (There is an example in page 137 of SuSE's 6.3 manual) you'll > edit diferent sections whith a label for each configuration ,and also
change this variables definitions of /etc/rc.config : > NETCONFIG="" > CHECK_ETC_HOSTS="no" > BEAUTIFY_ETC_HOSTS="no" > CREATE_HOSTS_CONF="" > CREATE_RESOLV_CONF="" > After it run : > # cardctl scheme label > That's all
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (3)
-
bernieg1@mediaone.net
-
psau@arrakis.es
-
weberdr@bellsouth.net