LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 03-26-2010, 09:24 AM   #16
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,541
Blog Entries: 23

Rep: Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943Reputation: 1943

Hi,

The topic title asks how to do it via the command line.
I suggest the OP look at 'man ifconfig'. Look at 'man route' to get a view of the route table usage.

Just a few useful links;

Linux Documentation Project
Rute Tutorial & Exposition
Linux Command Guide
Bash Reference Manual
Advanced Bash-Scripting Guide
Linux Newbie Admin Guide
LinuxSelfHelp
Getting Started with Linux

These links and others can be found at 'Slackware-Links' .
 
Old 03-27-2010, 12:56 AM   #17
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 610

Original Poster
Rep: Reputation: 31
Thumbs up

thanks a lot for such a great help.
 
Old 03-27-2010, 02:49 PM   #18
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
Quote:
Originally Posted by gardenair View Post
...
2- If I give the command

ifconfig eth0 192.168.1.1 netmask 255.255.255.0 gateway 192.168.1.100 up
it say "bash: ifconfig:command not found"

well where i am doing wrong ?
i think since fodora-10, redhat would by default not include /sbin in a normal user's $PATH.
/sbin/ifconfig eth0 192.168.1.1 netmask 255.255.255.0 gateway 192.168.1.100 up
will probably work.
_____
also, why are you using red-hat-9 ?
 
  


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
ip address using command line Ammad Linux - Networking 2 04-24-2007 07:12 PM
How to get an IP Address from command line? Big Dog XII Linux - General 4 01-25-2007 12:54 PM
command line address book program oneferna Linux - Software 3 02-12-2006 03:24 PM
Linux command to assign an ip address seb22 LinuxQuestions.org Member Intro 2 06-12-2005 03:19 AM
Linux command to assign an ip address seb22 Linux - Networking 5 05-24-2005 01:03 PM


All times are GMT -5. The time now is 11:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration