LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Different default gateways for wlan depending on network (essid) using DHCP (https://www.linuxquestions.org/questions/suse-opensuse-60/different-default-gateways-for-wlan-depending-on-network-essid-using-dhcp-421520/)

jimisola 03-04-2006 07:29 AM

Different default gateways for wlan depending on network (essid) using DHCP
 
Hi!

I am been trying to figure out how to setup up Suse to automatically add the default gateway for wlan0 given the information from DHCP. It does it automatically for eth0, but not for wlan0. How come?

I've google'd and followed some of the instructions from various links:

http://forums.suselinuxsupport.de/lo...hp/t12774.html
http://en.opensuse.org/SDB:Name_Reso...t_DHCP_Clients
http://www.novell.com/documentation/...l/ch14s05.html

Verified or set the following:

/etc/sysconfig/network/dhcp:
DHCLIENT_SET_DEFAULT_ROUTE="yes"

ifcfg-eth0 and ifcfg-wlan0:
DHCLIENT_PRIMARY_DEVICE=yes

ifroute-wlan0:
0.0.0.0 10.0.2.1 0.0.0.0 wlan-id-<MAC> (<MAC> has been substituted for my real MAC)


So, the problem is actually that I need the "static gateway route" line in ifroute-wlan0.


How can this be eliminated and configurated automatically?

Jimisola

crazibri 03-04-2006 11:49 PM

Well it sounds like you've already figured out the problem and come up with the solution.

To answer your question, all GUIs in linux are not completely feature oriented like the command line utilities are. Thats why there are always update, upgrades, and more improvements.

I'm installing Suse 10.1 as I type this and it definitely has issues (hence beta 6) but the features they've added are great from what I see.


All times are GMT -5. The time now is 07:27 AM.