CentOS 5 :: Determine What Host Name An IP Is Connecting To From Command Line?
Jun 8, 2011Is there any command which could help me to determine which host name (domain name) an IP is connecting to from the command line?
View 5 RepliesIs there any command which could help me to determine which host name (domain name) an IP is connecting to from the command line?
View 5 RepliesI have a headless server set up with no GUI on board.I know there is some way to display the installed hardware , I just can't remember how.What I'm looking for in particular is determine the type and speed of the PCI-e slots.
View 2 Replies View RelatedIn Linux, I'd like to know how to find the file(s) if any which as using a particular sector on the hard drive (ext2/3). There is a similar question here regarding Windows, however I need a Linux command line solution (this is a headless system).
View 1 Replies View RelatedI have a problem, I set a Debian server with no GUI. I have set http_proxy and I want to add ignored hosts for local address like I did in Ubuntu(System->Preference->Network Proxy->Ignored Hosts).How can I do that in Debian (with no GUI only bash) like I did in Ubuntu with GNOME Desktop?
View 2 Replies View RelatedI was wondering how to connect to wireless in a Linux command line environment -> I'm looking for a ncurses like program to do this, not a bunch of commands and files to edit.
View 2 Replies View RelatedFor reasons that are not terribly interesting I decided it would be a great idea to remove and re-install the xserver-xorg package. Which proved to be a much larger mistake than I imagined it would be. I purged the package, and then restarted.Naturally I need to have an internet connection to use apt-get to reinstall xserver-xorg, which is where my idea falls apart.I followed the directions in the How To: Manual Network Configuration. However, after I enter the command "sudo dhclient wlan1" I get the line "wmaster0: unknown hardware address type 801" twice prior to the output that the above link shows. Then I just get DHCPDISCOVER messages until I get a "No DHCPOFFERS received. No working leases in persistent database - sleeping."
I'm connecting with WEP to a router that I know works (because I'm using it to type this on my laptop right now) and I know that the wireless adapter(RTL8187) is installed properly because it automatically connected to my network when I had xserver-xorg still installed.I'm running ubuntu 9.04.I've searched for a few hours and I'm no closer to resolving the issue.
I have setup my wireless card via ndiswrapper and I can see that if I perform an iwconfig that the card is wlan0. I have attempted to connect with the router but I can't get any connection.I know the password is: ########## (10 digits long) but for the life of me I can't get it to work via command line.
View 2 Replies View RelatedI stupidly turned off my computer as I was updating to KDE 4.7. Now when i start it i get to the log in screen, but imputting my username and password just causes the Xserver to restart and i get back to the log in screen.I know there are many other packages I should install as part of the update and i think this will solve my problem, so i am trying to connect to wireless through the command line login, and then install the updates.
View 2 Replies View RelatedI run Ubuntu, and it has a nice GUI widget thing that connects me to my home wireless network when I boot. I don't have a problem with that. But suppose I don't start X, and boot to a recovery console for some reason, like I did recently when my graphics were broken after installing Karmic. In that case, my computer won't be connected to the wireless network until I log into X normally. So I can't apt-get anything or anything. It's very annoying. And I don't know how to connect to my wireless network.
I know my wireless network SSID, and I know my WEP key or WPA passphrase. How can I log onto the network with commandline tools? Is there some basic program that I can just run "networkmanager <myssid> <mywepkey>"? I looked at the iwconfig man page and I honestly couldn't figure out how to simply connect to my network. Once I figure out how to connect to the network with command-line tools, where can I put an "autoconnect" script so that it will connect during startup, like it should anyway?
What I don't understand is, why the Ubuntu network manager nm-applet, doesn't just work as a front-end for more basic networking stuff. I don't see any reason why it should require you to start X before working; it could be a daemon that runs at startup, and there could be a config-file somewhere, but it doesn't even start running until I log onto gnome.
I've been familiarizing myself with the command line and am attempting to connect to a wireless network but am getting stuck at the point wherein I need to put in a password.When I run iwconfig I see my card is wlan0.I definitely know my password as I can connect using a GUI. The encryption method for my network is WPA2.Could someone tell me how I could connect to a WPA2 secured network via a command line, and/or where I went wrong with what I've been trying?
View 1 Replies View RelatedI have ndiswrapper installed, and have successfully installed the drivers, I have also used nm-applet (and x forwarding) to configure wireless connections. My problem is that I want to reboot and unplug my wired connection and use just my wireless connection, but when I reboot it doesn't seem to connect to my network.
is there a command line tool or an independent tool that i can launch forwarding x I can use to search for and connect to wifi networks that would also have the ability to save configuration so that when I reboot the system automatically connects to my wifi?
I am trying to do a command line installation.Finished the installation and my wireless card wasnt working.Did a "sudo ifconfig wlan0 up" and got it working.But for some reason wireless-tools is not installed thus I dont have iwconfig, iwlist, etc.The wireless works and connects fine off a liveUSB.So I am going to give info from this liveUSB run and maybe someone can suggest how I can set the right settings on the Command Line Installation I presume in the etc/network/interfaces.
View 1 Replies View RelatedI have installed centOS Server edition on my laptop and installed apache and mysql on server, i wanted to understand how can i make my server on line and host my website on my own server. I am using MTNL Broad band, and i have one static ip, How to make web server in centOS 5.5.
View 7 Replies View RelatedIs there a way in linux to find out which ESX host it is on, from the command line?
View 3 Replies View RelatedAnyone know why my fresh installation of centOS server is so slow? Seems like it takes over a minute to execute a command, im not doing anything complicated either. Secondly, how come at times when I type reboot the machine starts to beep, one long loud annoying beep.
View 5 Replies View RelatedHow to install software on centos from command line?
View 8 Replies View RelatedI'm using CentOS 5.4 x86_64 on my Dell Inspiron 1440. Is there any way I can get information about the battery(charge) through command line without X server.
View 1 Replies View RelatedI'm using several 3rd party repos for Centos - RPMforge, ATrpms, EPEL, REMI. Is there some way I can set the priorities for these repos in a bash script, using a YUM command? I cannot find anything in the YUM man page, or the yum-utils package.
Smart PM has a command to set channel priorities from the command line. Wondered if I can do the same for YUM repos?
Just got the new Dual Quad Server and after the installation was completed, It was the destkop edition... Can I get a reference on how to install the "Command Line Only" version of CentOS, OR Can I run the desktop edition and still be able to host VPS's and Web Servers, etc...
View 3 Replies View RelatedAs I recent convert from Ubuntu to Centos, I have a lot to learn. In Ubuntu, I can plug in a memory stick, run the menu option: System/Adminstration/Partition Manager, highlight the memory stick and choose "Format: Encrypt"
In Centos, my memory stick is /dev/sdc1, how do I, using command line: format it as /ext3, encrypt it using cryptsetup, and set a password?
It's a new install on a laptop, it looks like it installs fine, however after a boot I get login & password prompt and command line. I did choose GNOME desktop during the install.I know I will have problems to get 1080p resolution with my Intel integrated card Ironlake but at least I expect to have GNOME with min resolution 800x600.
View 5 Replies View RelatedWhen you run the following cp command in the BASH terminal, how does Linux know which files are the source and which are the destination when copying multiple files from one location to another?How does Linux know that the services, motd, fstab, and hosts files are the source and the /home/fred/my_dir is the destination?This question came up in a Linux class and I was not sure of the answer. I was thinking it is based on the source path entered ending with a file path and the destination being a directory, but was not sure.
View 4 Replies View Relatedi've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?
View 5 Replies View RelatedI'm from a Solaris (printer.conf) background and having trouble setting up a printer on the network. My CentOS box does not have a GUI interface available. I have been playing with lpadmin trying to add a printer - which it did, but everything is disabled, and the "enable" command is not found on my machine.
How do I make a simple printer on my network talk to my centOS box?
Here's the printer.conf from a Solaris machine that works:
raphael:
:bsdaddr=igppps1,raphael,Solaris:
And the printers.conf from the CentOS box:
lumina# more printers.conf
# Printer configuration file for CUPS v1.2.4
[Code].....
when i show status ricci on centos5.3x86_64 #service ricci status pidof: invalid options on command line pidof: invalid options on command line p is stopped how can i fix that bug ?
View 4 Replies View RelatedI work at The University of Alabama as a sysadmin on various HPC resources and also provide support for faculty using Unix systems. I've run into one problem that is affecting two different desktop systems running CentOS 5.3.oth of these systems have the latest updates. These machines have standard network-attached printers. One is an HP LaserJet 3250 and the other is a model that is pretty close to that one.Previously these users were able to print from graphical applications such as Firefox, but now when the print dialog is opened on ANY graphical application, it causes a hard freeze on that particular app.Printing from the commandline via `lpr` gives no issues and test pages from the Printer Admin interface also succeed.This problem has me stumped, so I'm looking for any insight as to what could have changed. I do not know what changed between the time when the printers worked graphically and when they stopped, but the users assure that they have changed no settings. The only thing I can suspect is a rogue update since this is affecting separate users on separate machines with separate printers.
View 4 Replies View Relatedi have a server running on centos5, i have run vsftp and samba, and i need create a user through command line and set your default directory, i can do this through graphic interface, but i need do throug line command.
View 12 Replies View RelatedWhere exactly are the temporary files stored, in /tmp or /var/tmp. How can i remove temporary files through command line? What is the difference between these two directories?
View 2 Replies View RelatedI have just installed the 32bit and 64bit versions of CentOS 5.5 and was wondering how I can add these machines to Active Directory for authentication. I've done this in the past with CentOS 5.4 using the GUI and everything worked just fine but now need to do everything from the command line.
View 1 Replies View RelatedI have installed CentOS 5.5 with no GUI - how do I enable/setup the "mail" client command to be able to send email via my Exchange 2007 mail server on my LAN?
View 1 Replies View Related