![]() |
run ipconfig on n8X0 n770
How do you know your IP, default gateway, name server, mac address and search in one command?
I wrote ipconfig.pl a while ago I founded that work very well on nokia IT. you can fetch the file at http://www.riunx.com/public/ipconfig.pl open xterm inside the nokia: 1) sudo gainroot cd /usr/bin wget www.riunx.com/public/ipconfig.pl chmod +x ipconfig.pl ln -s ipconfig.pl ipconfig 2) or wget www.riunx.com/public/ipconfig.pl perl ipconfig and either become root and put it in /usr/bin or run it invoking perl (perl ipconfig.pl) here is a sample run: # ipconfig.pl Linux IP configuration Ethernet adapter Local Area Connection(eth0): HW Address . . . . . . . . . . . . : 00:07:E9:33:E1:01 IP Address . . . . . . . . . . . . : 92.68.22.30 Subnet Mask. . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : 92.68.22.254 Connection-specific DNS Suffix . . : riunx.com Name Server . . . . . . . . . . . : 92.68.22.1 |
Re: run ipconfig on n8X0 n770
How about 2 commands:
# ifconfig # route |
Re: run ipconfig on n8X0 n770
Or...
Connection manager -> Internet connection -> IP address :) |
Re: run ipconfig on n8X0 n770
ifconfig is the Unix original which windows misnamed (so they could 'patent' it) Thanks but no thanks.
Now that I've noted that ipconfig is copyrighted it might be in you favor to rename it to something less M$. Your call. |
Re: run ipconfig on n8X0 n770
without my ipconfig script you need to run
ifconfig route and cat /etc/resolv.conf I didn't know about m$ patent. I hate them. winipcfg could a nice alternative. :) any idea for a new name? I like to use this command on evry machine I touch, when you have already a terminal open it comes handy. |
Re: run ipconfig on n8X0 n770
I expect that MS copyrighted, not patented, it. You can't patent a name, so that change couldn't help them patent it.
This is the first I heard of them doing anything beyond changing the name, so I don't know. Perhaps they patented it also. Misnamed and ill-behaved programs are sufficient to anger me, no intellectual property required. I am accustomed to output from ifconfig and route, so not real interested in having it snipped and formatted to look like Windows output. |
All times are GMT. The time now is 01:57. |
vBulletin® Version 3.8.8