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
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
>
___
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
"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..
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
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
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
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
>
> 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
> 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
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
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,
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.
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
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
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
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
17 matches
Mail list logo