Re: [expert] How to see IP address?

2000-09-03 Thread Gavin Clark
just off the top of my head; a user can get his IP by getting the hostname then pinging it. $hostname bob.my-ip.com $ ping bob.my-ip.com PING bob.my-ip.com (xxx.xxx.xxx.xxx) <= there's your ip it's clunky but, hey G >>> btw, I want to know the IP as a user.. so cant' run ifconfig.. >>> >>> Th

Re: [expert] How to see IP address? - I am SORRY!!!!!

2000-09-03 Thread Greg Stewart
try: /sbin/ifconfig > Hi guys, > > I am soo sorry.. I tried running ifconfig and it said command not found.. > now I realise that if you give /sbin/ifconfig it works : > > so just forget what all i said before :) > > thanks Stew for the info. > > -sarang > ___

Re: [expert] How to see IP address? - I am SORRY!!!!!

2000-09-02 Thread Sarang Lakare
Hi guys, I am soo sorry.. I tried running ifconfig and it said command not found.. now I realise that if you give /sbin/ifconfig it works : so just forget what all i said before :) thanks Stew for the info. -sarang

Re: [expert] How to see IP address?

2000-09-02 Thread Sarang Lakare
"Ron Johnson, Jr." wrote: > > Sarang Lakare wrote: > > > > > > > > grep IP /etc/sysconfig/network-scripts/ifcfg-eth0 > > > > This i thought was the best of all the solutions!.. it gives a bad output > > though which i'll have to filter out somehow.. > > > > btw, I want to know the IP as a user..

Re: [expert] How to see IP address?

2000-09-01 Thread Stew Benedict
Sure you can, you just need to specify the path: /sbin/ifconfig Stew Benedict On Fri, 1 Sep 2000, Sarang Lakare wrote: > > > > grep IP /etc/sysconfig/network-scripts/ifcfg-eth0 > > This i thought was the best of all the solutions!.. it gives a bad output > though which i'll have to filter o

Re: [expert] How to see IP address?

2000-09-01 Thread Ron Johnson, Jr.
Eric Peters wrote: > > And id you can not run that command as a simple user there must be a reason > why you were locked out of it! "My boss" As of 5 mins ago stated that. :) snicker... > P.S. Why make something so difficult ping the box that will tell you the ip > address. Misleading, if u ha

RE: [expert] How to see IP address?

2000-09-01 Thread Eric Peters
nt: Friday, September 01, 2000 3:56 PM To: [EMAIL PROTECTED] Subject: Re: [expert] How to see IP address? Sarang Lakare wrote: > > > > > grep IP /etc/sysconfig/network-scripts/ifcfg-eth0 > > This i thought was the best of all the solutions!.. it gives a bad output > th

Re: [expert] How to see IP address?

2000-09-01 Thread Ron Johnson, Jr.
Sarang Lakare wrote: > > > > > grep IP /etc/sysconfig/network-scripts/ifcfg-eth0 > > This i thought was the best of all the solutions!.. it gives a bad output > though which i'll have to filter out somehow.. > > btw, I want to know the IP as a user.. so cant' run ifconfig.. > > This, I think i

Re: [expert] How to see IP address?

2000-09-01 Thread Sarang Lakare
> > grep IP /etc/sysconfig/network-scripts/ifcfg-eth0 This i thought was the best of all the solutions!.. it gives a bad output though which i'll have to filter out somehow.. btw, I want to know the IP as a user.. so cant' run ifconfig.. This, I think is the bottleneck of linux and _has_ to

Re: [expert] How to see IP address?

2000-09-01 Thread Daniel Woods
> Submitted 01-Sep-00 by Sarang Lakare: > > Whats the command to get IP address of u're machine? The only way I know of > > is thru kppp when using modem... I am talking of dynamic IP addresses > > here.. I want something which i can put in a script! > > Assuming that you have only one network co

Re: [expert] How to see IP address?

2000-09-01 Thread Sarang Lakare
I just installed the ssh rpm and it did everything for me.. then i just start sshd to allow remote users to login via ssh :) -sarang > > -- Ken Thompson 73 de WA7SYR -- > Electrocom Computer Services Payette, Idaho 83661 > 1-888-642-7101 > Sales - Services - Repair > Web: http://www,nwaa.c

Re: [expert] How to see IP address?

2000-09-01 Thread Ken Thompson
On Fri, 01 Sep 2000, you wrote: > Whats the command to get IP address of u're machine? The only way I know of > is thru kppp when using modem... I am talking of dynamic IP addresses > here.. I want something which i can put in a script! > > -sarang Sarang, connect to your ISP then type ifconfig,

Re: [expert] How to see IP address?

2000-09-01 Thread Anton Graham
Submitted 01-Sep-00 by Sarang Lakare: > Whats the command to get IP address of u're machine? The only way I know of > is thru kppp when using modem... I am talking of dynamic IP addresses > here.. I want something which i can put in a script! Assuming that you have only one network connection, i.

Re: [expert] How to see IP address?

2000-09-01 Thread peter church
Terry Tremaine wrote: > Try 'ifconfig' while logged in as root. > > TT. > > On Fri, 01 Sep 2000, you wrote: > > Whats the command to get IP address of u're machine? The only way I know of > > is thru kppp when using modem... I am talking of dynamic IP addresses > > here.. I want something which i

Re: [expert] How to see IP address?

2000-09-01 Thread Terry Tremaine
Try 'ifconfig' while logged in as root. TT. On Fri, 01 Sep 2000, you wrote: > Whats the command to get IP address of u're machine? The only way I know of > is thru kppp when using modem... I am talking of dynamic IP addresses > here.. I want something which i can put in a script! > > -sarang

Re: [expert] How to see IP address?

2000-09-01 Thread Patrick Erler
hallo Sarang! on Friday, September 01, 2000, 9:30:26 AM, you wrote: SL> Whats the command to get IP address of u're machine? The only way I know of SL> is thru kppp when using modem... I am talking of dynamic IP addresses SL> here.. I want something which i can put in a script! ifconfig - or, if

[expert] How to see IP address?

2000-09-01 Thread Sarang Lakare
Whats the command to get IP address of u're machine? The only way I know of is thru kppp when using modem... I am talking of dynamic IP addresses here.. I want something which i can put in a script! -sarang