Search:

Type: Posts; User: lyric0n; Keyword(s):

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    2,402

    [ubuntu] Re: Check IP Address with Bash

    It looks like it was trying to string comparions, not integer, this fixed it:

    str=$(ifconfig eth0 | grep "inet")
    if [ ${#str} -gt "0" ];
    then echo "true"
    fi
  2. Replies
    3
    Views
    2,402

    [ubuntu] Re: Check IP Address with Bash

    Hi,

    I tried this, but it doesn't seem to work. It just dumps the entire result of the ifconfig eth0 into $str, not just limited to the IP address. I tried str=$(ifconfig eth0 | grep "inet"...
  3. Replies
    3
    Views
    2,402

    [ubuntu] Check IP Address with Bash

    Hi,

    I would like to check if I have received an IP address before moving on in a certain script, but I am having some trouble, here's what I've got.

    str=$(ifconfig eth0 | grep "inet")
    if [...
  4. Replies
    2
    Views
    1,382

    [ubuntu] Re: Named Pipes and SSH?

    Oh, nifty. I like. Thanks!

    http://www.linuxforums.org/applications/the_screen_program.html
  5. Replies
    2
    Views
    1,382

    [ubuntu] Named Pipes and SSH?

    Hi,

    I would like to be able to connect to a server via SSH automatically, start a few operations, put SSH into the background (and not see what that SSH is outputting to the screen), load another...
  6. Replies
    0
    Views
    301

    [ubuntu] Passing variables w/ exec

    Hi,

    I need to use exec to execute my script, say, /home/temp, but /home/temp needs to accept a couple variables passed in through the CLI. Whenever I append my string w/ my options, exec takes the...
  7. Replies
    4
    Views
    981

    [ubuntu] Re: VMWare - Installing VMTools

    The VM's at Ubuntu Server 8.04.
  8. Replies
    4
    Views
    981

    [ubuntu] VMWare - Installing VMTools

    Hi,

    I am running Ubuntu w/ VMWare 1.06 and have multiple Ubuntu Server VM's...I would like to install VMware Tools, but when I select the option nothing happens and the install doesn't go through....
  9. Thread: Startup Script

    by lyric0n
    Replies
    4
    Views
    796

    [ubuntu] Re: Startup Script

    Worked like a charm, thanks!
  10. Thread: Startup Script

    by lyric0n
    Replies
    4
    Views
    796

    [ubuntu] Re: Startup Script

    Hi,

    This is helpful, but I would like this to run at startup, before the user logs in. Will this perform this?

    Thanks,
    Chris
  11. Thread: Startup Script

    by lyric0n
    Replies
    4
    Views
    796

    [ubuntu] Startup Script

    Hello,

    I need to write a script which will run on startup and I am not sure how to do this. The script ultimately will dump the results of an ifconfig into a file and post it into a mounted...
  12. Replies
    0
    Views
    300

    [ubuntu] Force Traffic Out a Port

    Hello,

    I have 3 NIC's in my box, each which is on its own network and connected to the net on its own. If I try to ping from one NIC to the other, the OS realized that it can just traverse the OS...
  13. Replies
    2
    Views
    407

    [xubuntu] Re: Specify NIC for the VM to use

    Hi igwk,

    That is what I have tried, but I am unable to pass packets from the VM out through the bridge. Does anyone know what I should configure as my IP/gateway/etc for the VM?

    Thanks,
    Chris
  14. Replies
    0
    Views
    313

    [ubuntu] Creating a networking bridge

    Hello All,

    I am currently trying to follow a guide to force a VM machine to use a specific NIC. The guide was written for Fedora, but for the most part can be applied to Ubuntu. One part, called...
  15. Replies
    2
    Views
    407

    [xubuntu] Specify NIC for the VM to use

    Hello,

    I am running Xubuntu w/ KVM to handle my VM sessions. I am able to get the guests I want up and running without an issue, but (due to the configuration of our network), each guest must talk...
Results 1 to 15 of 15