LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 03-04-2006, 07:29 AM   #1
jimisola
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandriva 2006
Posts: 22

Rep: Reputation: 15
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
 
Old 03-04-2006, 11:49 PM   #2
crazibri
Member
 
Registered: Mar 2004
Location: Orange County, CA
Distribution: OS X, SuSE, RH, Debian, XP
Posts: 377

Rep: Reputation: 31
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multiple default gateways jireson Linux - Networking 3 02-04-2006 01:24 AM
rc.inet1, routes, default gateways Woodsman Slackware 1 01-06-2006 12:41 AM
how are multiple default gateways handled? eantoranz Linux - Networking 9 06-01-2005 02:09 PM
3 network cards and 2 default gateways Oderus Linux - Networking 2 10-20-2004 03:04 AM
Suse 9.1 wlan-ctl-ng wlan-cfg-DEFAULT oiper Linux - Wireless Networking 0 07-25-2004 02:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 10:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration