LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-28-2008, 04:35 PM   #1
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
Question "/etc/sysconfig/network" is not present in SLES?


Hello all,

If "/etc/sysconfig/network" is not present in SLES, then in which configuration file the gateway is set?
 
Old 02-28-2008, 04:49 PM   #2
rayfordj
Member
 
Registered: Feb 2008
Location: Texas
Distribution: Fedora, RHEL, CentOS
Posts: 488

Rep: Reputation: 78
I believe Novell|SuSE recommend using YaST2 to configure this option. I do not have a SLES install readily available to provide the exact navigation within YaST for configuring this though.

Unfortunately, I do not recall off-hand the file's location that YaST modifies to set the GATEWAY.

Hope this helps.

Last edited by rayfordj; 02-28-2008 at 05:40 PM.
 
Old 02-28-2008, 05:06 PM   #3
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Original Poster
Rep: Reputation: 31
Yes SLES does use YAST but at the end of the day settings get save in some or the other file.

IP address in SLES is set in file like: "/etc/sysconfig/network/ifcfg-eth-id-00\:1a\:a0\:04\:42\:ef"

and in redhat it is set in file like:
"cat /etc/sysconfig/network-scripts/ifcfg-eth0"

Likewise I want to know the file in which the gateway is set.
 
  


Reply

Tags
gateway, sles, sysconfig



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
"..device eth0 does not seem to be present.." unable to network Redhat GP00 Linux - Networking 28 06-04-2009 10:54 AM
echo "blabla" in a script present present in /etc/rc.d/rc5.d/S96dinesh murugesan Linux - Newbie 3 04-14-2009 10:53 PM
How to profit by or from "/etc/sysconfig" in Slacware ? alMubarmij Slackware 8 02-11-2009 01:42 PM
LXer: Displaying "MyComputer", "Trash", "Network Servers" Icons On A GNOME Desktop LXer Syndicated Linux News 0 04-02-2007 08:31 AM
what is "/etc/sysconfig/network-scripts/ifcfg-eth0" its counterpart in slackware b0nd Slackware 2 10-06-2005 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:12 PM.

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