LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-10-2003, 09:33 AM   #1
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Rep: Reputation: 15
ifconfig


a simple command i use in slack9, ifconfig, is just like doing a ipconfig in win2k, it gives me all my info. Problem is, i just typed this in RH8 and it says command not found??????? i thought this was standard???
 
Old 07-10-2003, 09:41 AM   #2
masterJ
Member
 
Registered: Jun 2003
Location: London
Distribution: Debian Sarge & Slack 10.0
Posts: 52

Rep: Reputation: 15
Try doing /sbin/ifconfig
 
Old 07-10-2003, 09:44 AM   #3
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
awesome thanks! how do i make stuff in this dir executable from anywhere so i dont have to type it everytime?
 
Old 07-10-2003, 09:55 AM   #4
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
There to ways:
1. put an alias in your /root/.bashrc
alias ifconfig="/sbin/ifconfig"
2. Add '/sbin' to your $PATH variable:
pico /etc/profile
#find line PATH and add ':/sbin'
 
Old 07-10-2003, 09:56 AM   #5
masterJ
Member
 
Registered: Jun 2003
Location: London
Distribution: Debian Sarge & Slack 10.0
Posts: 52

Rep: Reputation: 15
Think you can just edit the /etc/passwd file, and add whatever additional paths you like to the end of the line that deals with your account. Think you'll have to re-logon for this to take effect...
 
Old 07-10-2003, 01:01 PM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by masterJ
Think you can just edit the /etc/passwd file, and add whatever additional paths you like to the end of the line that deals with your account. Think you'll have to re-logon for this to take effect...
/etc/passwd is for creating new users, or editing current ones by hand (this is by far the worst way for a newbie to do this, there are tools that will assist you such as useradd). I'm sure you meant /etc/profile

Cool
 
Old 07-10-2003, 01:19 PM   #7
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
allright cool. So i want to test my firewall on my slack9 box from my RH8 virtual machine on my desktop. I want to get a packet builder/sender to test it. What should i get?

I tried apsend but cant seem to get it installed. I prefer to get one with a rpm so it will be easy to install.

Please someone answer this. I know people have to have linux firewalls and i know you peoples test it somehow before just waiting to get hacked to find out it is not working properly.
 
Old 07-10-2003, 01:45 PM   #8
broxys
Member
 
Registered: Jun 2003
Location: nj
Distribution: slack10
Posts: 46

Rep: Reputation: 15
also instead of aliasing every single command that happens with, you can just root with
su -
and then all of the commands that happens with (there are quite a few, like modprobe, for instance) run without a hitch
 
Old 07-10-2003, 01:48 PM   #9
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
Hey Chad ... congratulations with your new 'job'! I am glad you will be moderating Newbie section
 
Old 07-10-2003, 02:22 PM   #10
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by phishintrip
allright cool. So i want to test my firewall on my slack9 box from my RH8 virtual machine on my desktop. I want to get a packet builder/sender to test it. What should i get?

I tried apsend but cant seem to get it installed. I prefer to get one with a rpm so it will be easy to install.

Please someone answer this. I know people have to have linux firewalls and i know you peoples test it somehow before just waiting to get hacked to find out it is not working properly.
This is considered a triple post, please choose 1 forum, the most appropriate one, and only post your question one time. Thank you.

If anyone would like to respond to this question, please do not respond in this thread, instead head over here:
http://www.linuxquestions.org/questi...threadid=71549
And reply there. This will keep all the discussion on this topic in the same place; and keep this current thread rolling.

Thanks again.

Cool
 
Old 07-10-2003, 02:24 PM   #11
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Quote:
Originally posted by nautilus_1987
Hey Chad ... congratulations with your new 'job'! I am glad you will be moderating Newbie section
Thank you! Please don't hijack threads, even if it is to congratulate me It helps me to keep the forum all good ya know

Cool
 
Old 07-10-2003, 03:11 PM   #12
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
ok ok, from now on I will continue to post only answers to questions (sorry for section hijacking
 
Old 07-10-2003, 04:39 PM   #13
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
damn all this moderating, and nobody answers the question i really need answered before my slack9 box goes on the net as my firewall.

I am sorry for double triple whatever but if you think i believe that you moderators dont have a firewall and dont test it using something then you are sadly mistaken.

So out of all the closed moderated whatever posts could somebody PLEASE PLEASE IM SORRY PRETTY PLEASE answer the question at whatever linked post whatever for me. I need an answer or i wouldn't have posted it. I know the rules. I will write them on the blackboard 100 times if you want just please answer my question which i know for a fact you have an answer because i am not stupid. you have firewalls, you test them, what do you use? If this is a qudruple post i am sorry please refer to whatver to reply properly.
 
Old 07-10-2003, 04:45 PM   #14
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally posted by phishintrip
allright cool. So i want to test my firewall on my slack9 box from my RH8 virtual machine on my desktop. I want to get a packet builder/sender to test it. What should i get?

I tried apsend but cant seem to get it installed. I prefer to get one with a rpm so it will be easy to install.

Please someone answer this. I know people have to have linux firewalls and i know you peoples test it somehow before just waiting to get hacked to find out it is not working properly.
Just grab saint and nmap ... you don't need to
spew hand-carved packets at the machine...

Cheers,
Tink
 
Old 07-10-2003, 04:54 PM   #15
phishintrip
Member
 
Registered: Jun 2003
Distribution: Slack9, Red Hat 8.1
Posts: 117

Original Poster
Rep: Reputation: 15
what is saint?

THANKYOU a answer er of questions not a moderator!!!!!!!!
Thankyou again!
I am going to search for it now!


hmmmm.......maybe i should tell MasterC about saint since he doesn't know about it.
 
  


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
connecting /sbin/ifconfig to bash command ifconfig flammable2 Fedora 4 11-12-2005 08:58 AM
Ifconfig mrodriguez Linux - Newbie 2 02-16-2005 01:17 PM
Oh where or where has ifconfig gone thotFree Linux - Software 3 11-13-2003 01:27 AM
Ifconfig ! mesta Linux - Software 2 02-04-2003 10:18 AM
ifconfig Astro Slackware 6 01-08-2003 05:30 PM


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