Carlos F Lange wrote:
On Sun November 11 2007 18:12, James Knott wrote:
I also wrote my own script quite a while ago. One thing it does, is check to see if it can find my WiFi router. If so, it uses one configuration. If not, it assumes it's away from home and uses another. I guess this is another "feature" of KNetworkManager. One thing I'd like to see in it, is the ability to configure static addresses for ethernet, instead of using only DHCP.
If you mean a behaviour that depends on the server or LAN that we attach to, I am with you.
My script pings the IP address of my WiFi router and checks if the valid MAC address is in the arp cache. If successful, it selects the config file for that IP address. If not, it uses the config file for my internet access IP.
KNetworkManager does allow you to setup static address on a per-card basis. For example, I set a static address for the wired Ethernet, since I expect to use it mostly at home, and I left the wireless card as DHCP. But ideally I would like the wireless card to have a static address also at home, and DHCP everywhere else.
How do you configure a static ethernet connection? It doesn't appear to be available on the configuration panel. -- Use OpenOffice.org <http://www.openoffice.org> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org