Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password
    Poll: Do you like ipconfig?
    Poll Options
    Do you like ipconfig?
    View Poll Results

    run ipconfig on n8X0 n770

    Reply
    meirm | # 1 | 2007-11-25, 19:05 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    skorianez | # 2 | 2007-11-26, 01:42 | Report

    How about 2 commands:
    # ifconfig
    # route

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Milhouse | # 3 | 2007-11-26, 01:51 | Report

    Or...

    Connection manager -> Internet connection -> IP address


    Edit | Forward | Quote | Quick Reply | Thanks

     
    linuxrebel | # 4 | 2007-11-26, 02:39 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by linuxrebel; 2007-11-26 at 02:44. Reason: adding a warning

     
    meirm | # 5 | 2007-11-26, 22:22 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Benson | # 6 | 2007-11-27, 00:45 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout