Sponsored Content
Top Forums UNIX for Dummies Questions & Answers problem of networking in centos Post 302470864 by programAngel on Thursday 11th of November 2010 09:31:00 AM
Old 11-11-2010
Quote:
Originally Posted by fpmurphy
what version of Centos?
When I do uname -a , I have :
Linux centos 2.6.18-194.el5

after that it give the current date and i868 ...


It is CentOS-5.5

Last edited by programAngel; 11-11-2010 at 10:48 AM..
 

10 More Discussions You Might Find Interesting

1. IP Networking

Networking problem ?

Hi, How to check whether a port is working properly or not ? I am getting a Error message Could not open connection to the host, on port 23: Connect failed. Thanks !! (1 Reply)
Discussion started by: dreams5617
1 Replies

2. Solaris

Networking with Hub, & Sol 10 Problem

Unable to Ping network nodes Currently have two Solaris 10 servers connected via a dumb Hub. I'm unable to ping either box but they can ping themselves. I have double checked physical connections and the following files; /etc/hosts - verified that all devices are listed correctly... (4 Replies)
Discussion started by: pham
4 Replies

3. UNIX for Advanced & Expert Users

Networking Problem

Hi all, When I tried to restart the networking daemon, it stated this error: MyServer:/etc/init.d# ./networking restart Reconfiguring network interfaces...RTNETLINK answers: Network is unreachable run-parts: /etc/network/if-up.d/route exited with return code 2 done. Please note that I... (2 Replies)
Discussion started by: mjdousti
2 Replies

4. Solaris

Solaris networking problem

e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 10.13.157.127 netmask ffffffc0 broadcast 10.135.151.191 ether 0:14:4f:a0:e3:3a e1000g1: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 8 inet 10.13.157.227 netmask ffffffc0... (3 Replies)
Discussion started by: sunnybee
3 Replies

5. IP Networking

networking problem in virtual machine

Hi, I am running scientific linux guest on ubuntu host. The problem is that the guest machine doesn't have any ip except from the loopback. I want that the guest OS will be in the same local network of the host and not part of internal network that virtualbox create. In other words I... (1 Reply)
Discussion started by: programAngel
1 Replies

6. IP Networking

RedHat/Centos Disable IPv6 Networking

Guide on how to disable ipv6 for Centos and RedHat 1) Edit /etc/sysconfig/network-scripts/ifcfg-eth0 and change: NETWORKING_IPV6=yes to NETWORKING_IPV6=no 2) Edit /etc/modprobe.conf and add these lines: alias net-pf-10 off alias ipv6 off 3) Stop the ipv6tables service: ... (0 Replies)
Discussion started by: zanna91
0 Replies

7. Red Hat

Help with setting up Networking for XEN on CentOS 5.9

Hey guys, I've reached the point of setting up VM's on XEN but the net installations seem to be failing when I am in the netinstall on the actual VM, so this leads me to believe that the networking on the host machine is not set up correctly. I am running CentOS 5.9 along with XEN and was just... (0 Replies)
Discussion started by: mccabec123
0 Replies

8. Red Hat

Bluetooth problem in CentOS 6

Hi , I have install centos6.3 64bit, other things are working fine.:b: I am trying to use bluetooth. It is showing bluetooth icons and options only turn on and turn off bletooth.:confused: How to enable full features of bluetooth like search, send file etc.:wall: (7 Replies)
Discussion started by: Priy
7 Replies

9. Red Hat

Problem Openvas-setup in CentOs 6.7 !

hi I installed Openvas we have the following problem internet Connection is Ok Even Reinstall the problem is not resolved Openvas Setup, Version: 0.5 Step 1: Update NVT's and SCAP data Please note this step could take some time. Once completed, NVT's and SCAP data will be updated... (12 Replies)
Discussion started by: mnnn
12 Replies

10. UNIX for Beginners Questions & Answers

Problem with cluster on centos 6.5

Hallo to everyone.From sometime i have problems with my asterisk pbx on cent os which is in corosync cluster mode with resource groups.The problem is for time the cluster just swap the active one with the other and the only messages in \var\log\messages is that bond0:link status defenitly down for... (0 Replies)
Discussion started by: evolintend
0 Replies
SHELL-QUOTE(1)						User Contributed Perl Documentation					    SHELL-QUOTE(1)

NAME
shell-quote - quote arguments for safe use, unmodified in a shell command SYNOPSIS
shell-quote [switch]... arg... DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands or files with embedded white space or shell globbing characters safely. Here are a few examples. EXAMPLES
ssh preserving args When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and passes them to "$SHELL -c". This doesn't work as intended: ssh host touch 'hi there' # fails It creates 2 files, hi and there. Instead, do this: cmd=`shell-quote touch 'hi there'` ssh host "$cmd" This gives you just 1 file, hi there. process find output It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote: eval set -- `find -type f -print0 | xargs -0 shell-quote --` debug shell scripts shell-quote is better than echo for debugging shell scripts. debug() { [ -z "$debug" ] || shell-quote "debug:" "$@" } With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can. save a command for later shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are things the user can't pass through), you can do something like this: user_switches= while [ $# != 0 ] do case x$1 in x--pass-through) [ $# -gt 1 ] || die "need an argument for $1" user_switches="$user_switches "`shell-quote -- "$2"` shift;; # process other switches esac shift done # later eval "shell-quote some-command $user_switches my args" OPTIONS
--debug Turn debugging on. --help Show the usage message and die. --version Show the version number and exit. AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions. AUTHOR
Roderick Schertler <roderick@argon.org> perl v5.16.3 2010-06-11 SHELL-QUOTE(1)
All times are GMT -4. The time now is 08:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy