LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-18-2003, 05:06 PM   #16
ichbinesderelch
Member
 
Registered: Nov 2002
Location: Austria
Distribution: Redhat 9
Posts: 140

Original Poster
Rep: Reputation: 15
dude i love you :D


hey, everything is working perfectly now ;)) i thank you so much ;)) jippi i'm a happy guy now ;) thx ;))
the mistake was that i wrote 86 instead of 68 by the DNS, so it went wrong, jippiii, thx ;))
 
Old 08-18-2003, 05:15 PM   #17
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Ok.

By the way, if you want to restart your network, use the service command.
Code:
service network restart
You can use it with any service.
 
Old 08-18-2003, 05:18 PM   #18
ichbinesderelch
Member
 
Registered: Nov 2002
Location: Austria
Distribution: Redhat 9
Posts: 140

Original Poster
Rep: Reputation: 15
well ok, one final questions, i can't write service, i have to write /sbin/service, otherwise he doesn't find it, any idea how to correct this?
 
Old 08-18-2003, 05:33 PM   #19
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Are you using it as root ?

If yes, then /sbin may not be in the PATH variable.
Type: echo $PATH
 
Old 08-18-2003, 05:35 PM   #20
ichbinesderelch
Member
 
Registered: Nov 2002
Location: Austria
Distribution: Redhat 9
Posts: 140

Original Poster
Rep: Reputation: 15
its not listed there, so i should tell linux to put it there? ok, howto?
 
Old 08-18-2003, 05:55 PM   #21
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
By default, only root has /sbin in its path.

In /etc/profile, look under Path manipulation.
If pathmunge /sbin is not there, add it.
Code:
# Path manipulation
if [ `id -u` = 0 ]; then
        pathmunge /sbin
        pathmunge /usr/sbin
        pathmunge /usr/local/sbin
fi
Or

you can add it to your .bash_profile located in your HOME directory.
There is a line that looks like this: PATH=$PATH:$HOME/bin
Do the following:
Code:
PATH=$PATH:/sbin:$HOME/bin

Last edited by Mathieu; 08-18-2003 at 06:08 PM.
 
Old 08-18-2003, 06:00 PM   #22
ichbinesderelch
Member
 
Registered: Nov 2002
Location: Austria
Distribution: Redhat 9
Posts: 140

Original Poster
Rep: Reputation: 15
well, the directory is there, but it doesn't work, well, i can live with typin /sbin/ in front of it
 
Old 08-18-2003, 08:11 PM   #23
Sornen
Member
 
Registered: Jul 2003
Posts: 37

Rep: Reputation: 15
Just learnt this the other day from browsing these forums instead of
su
go
su -
and roots path gets included
 
Old 08-19-2003, 03:18 AM   #24
ichbinesderelch
Member
 
Registered: Nov 2002
Location: Austria
Distribution: Redhat 9
Posts: 140

Original Poster
Rep: Reputation: 15
ah thx this works
 
  


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
IP Masquerading ? emailssent Linux - Networking 1 10-07-2004 10:49 PM
help ip masquerading campusloop Linux - Networking 1 05-20-2004 12:37 PM
IP masquerading. somebody help me! Johnsernickle Linux - Networking 4 10-22-2002 06:57 PM
IP Masquerading kwigibo Linux - Networking 3 09-21-2002 07:46 PM
ip masquerading artman62 Linux - Security 5 08-13-2002 07:57 PM

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

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