LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2005, 12:28 AM   #1
MrSavage
LQ Newbie
 
Registered: May 2004
Posts: 10

Rep: Reputation: 0
HELP default gateway


Hi i installed linux on my laptop and managed to get the centrino to work however i have to type "route add default gw 192.168.1.254"
everytime i start up to enable the wireless is there a way to get it icommand to be permanent(everytime i start up its there)? I've already enble the default gateway in yast to be the router address. help


If you are telling me sthing abt the /etc/rc'd folder pls tell me precisely what file to change and where to add it in the script
 
Old 01-10-2005, 02:11 AM   #2
rhoekstra
Member
 
Registered: Aug 2004
Location: The Netherlands
Distribution: RedHat 2, 3, 4, 5, Fedora, SuSE, Gentoo
Posts: 372

Rep: Reputation: 42
what version of SuSE (apparently SuSE, if you are talking about Yast) do you have?

This could help, either by providing this in each post, or putting it in your profile, at 'Distribution'.
 
Old 01-10-2005, 08:46 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

In most of the distro you can configure your default gateway in a file in /etc/sysconfig/network/ and the file name is eth0-ifup or something like that
When you'll find it, edit it and add (or modify) this line:
GATEWAY=192.168.1.254

Oliv'
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Default gateway dooda5555 Linux - Networking 1 06-17-2005 12:43 PM
Default Gateway rrosenkoetter Linux - Networking 3 08-27-2004 09:41 AM
default gateway avikosan Linux - Networking 3 12-09-2003 06:47 PM
Cannot change default gateway parr Linux - Networking 22 07-31-2003 07:13 PM
What's a default gateway and do I need one? Travis86 Linux - Newbie 8 05-25-2003 06:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:34 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