Ubuntu Servers :: Command That Lists All Ip Address?
Jan 18, 2011
I have a bunch of windows machines connected to a server running samba. I would like to know if there's a way or hopefully a quick command I could type in the terminal that would tell me the machine name and the associated IP address?
View 3 Replies
ADVERTISEMENT
Jul 18, 2010
I wouldn't call myself paranoid, but I do try to keep reasonably secure on my home network (WPA encryption, router firewall, etc.). I also occasionally use nmap to make sure I don't see any unknown computers logged into my network. The problem is I have five computers that all use DHCP on the network and they are not all up all of the time. At most, there are two to three online at any one time.
So, my question is: Do any of the IP addresses remain in the router's database for a computer that has gone offline (shutdown)?
The reason for my question is that today I ran nmap on my home network and noted an IP address that was not currently up on the network. It is, however, an address that is frequently assigned to one of the computers when it is online, but that address was not up at the time I ran nmap. Just trying to make sure my network is not being used by some nearby computer.
View 5 Replies
View Related
Mar 2, 2009
I am trying to get the MX record using dig command supplying IPv6 address of host. but i am getting connection timed out .
while with IPv4 address and host-name its working fine.
View 1 Replies
View Related
Apr 1, 2011
I want to pass ip address,port address and some parameters from command line using python script.The ip address and port address for establishing socket connection and remaining parameters to execute different connection.
View 1 Replies
View Related
Jul 20, 2011
what is Production IP address and Management IP address in Linux servers? What is the significance of these two? When to use what?
View 3 Replies
View Related
Jun 13, 2010
I came across this feature of the "less" command today. It appears not to be well-documented so I'll share it here. I found that "less" can automatically uncompress compressed files - no need to run the first command, the second does the same job:
Code:
gunzip -c textfile.gz | less
less textfile.gz
Even better, "less" can read and list the contents of some archive files as well, including Tar files compressed using Gzip and Bzip2 as well as Zip files. So now when I want to list the contents of an archive,for example to determine whether the contents will be extracted to an absolute path or relative to the working directory, the following work
Code:
less archive.tar.gz
less archive.tgz
less archive.tar.bz2
less archive.zip
Much easier than remembering the various options that the Tar, Gzip, Bzip2 and Zip use. The best one for me is with RPM archives:
Code:
less some.rpm
The above outputs the Information, Change Log and verbose File List of the RPM (paging the output, of course!) The following commands (using short and long options) give the equivalent output using the "rpm" command:
Code:
rpm -qilvp --changelog some.rpm | less
rpm --query --info --list --verbose --package --changelog some.rpm | less
"less" does not recognise the initramfs file produced by "dracut" (which is a compressed "cpio" archive), but I suppose you can't have everything ...
View 2 Replies
View Related
Jan 30, 2011
Is it possible to run two servers through one ip address? And I don't mean through apache to run virtual servers. Right now my set up is: Cable modem>router>server.
View 9 Replies
View Related
Feb 11, 2010
my local server here is not reachable when I type on the hostname so I am wanting to know if I am on the machine via ssh (I have a monitor and keyboard plugged into the tower)
How do I figure out what the servers IP address is? I have ubuntu server 9.10 and I looked at the etc/host, etc/hostname files and they have the correct server hostname
View 6 Replies
View Related
May 31, 2011
When doing the ifconfig command I only receive the IPV6 address. How do I specify that I need the IPV4 address???
View 3 Replies
View Related
Aug 29, 2010
I am using Ubuntu Server 10.04 64bit. I am getting an Apache2 start up error after I setup my certificates and configure Apache2 for HTTPS. At the point on start up where I need to type in my certificate pass code I get a lockup due to the Apache2 process being in a hung state. I reboot if needed and switch to console tty2. When I type in the command.
Code:
I get the following error.
Code:
To correct the problem I do this.
Code:
From the output of the command above I look for the apache2 process and make note of its process ID. Then, I kill that process ID. For example, the command below has an apache2 process ID of 1131.
Code:
Next, when I run this command.
Code:
The apache2 server starts up and asks for my certificate password, accepts it when I type it in, and runs perfectly fine afterward.
Fortunately this instance of Ubuntu Server is running inside a VMWare virtual machine. I can just "pause" the virtual machine if I need to rather than going through this crude and tedious start up process too frequently.
Crude and tedious are feelings I'm having too frequently lately with Ubuntu Server.
View 5 Replies
View Related
Aug 30, 2010
I am running Ubuntu Server 10.04 on an old desktop PC. But after some uptime (not sure exactly how long) it simply loses connectivity. Odddly, I can get on to the Server (Plug a monitor and keyboard in) and connect out (ie use lynx to go online or ping various websites) but I can't connect in from anywhere. I can't connect on the same LAN and I can't connect to it from the WAN IP address.
I have http, squid http proxy, webmin, and ssh running. I can connect to none of them when this happens. I am using ufw (I don't need the versatility of iptables... too complicated for my needs). ummm I can't think of anything else extremely pertinent....
View 9 Replies
View Related
Oct 24, 2010
if i wanna monitor a ip address like 198.168.71.23should i edit switch.cfg or localhost.cfg?or other configure file?2nd question is about sambai did install every samba packages for folder sharingbut i still got error msg 'no such file/folder' when i start samba in terminali tried to restart nmbd and smbd; they r not working to fix this problem
View 6 Replies
View Related
Dec 5, 2010
Despite what the man page says, and what I have read out on the web, I cannot get the mail command to let me change the "from address"
I have tried to change the reply address (-R my@address.com)
I have tried to change the from address (-f my@address.com)
..... and so on
Anyone have any luck, from the command line (as I am setting up cron jobs) in changing the "from" address?
echo test | mail -s "This is a test" user@domain.com (this is the basic command I wish to use, but change the "from address")
View 9 Replies
View Related
Apr 4, 2010
I'm looking for a way to get my IP address using the command prompt in Linux. I know when you type "ifconfig" you can get your local IP address (i.e. 192.168.0.103), but I'm looking for my IP address that I get from my ISP. How can I get this from Linux without having to visit some website?
View 3 Replies
View Related
Jul 22, 2010
I need the command to find the HARDWARE ADDRESS.
I know ifconfig command gives the details.. but I just need the HWADDR that is only numbers eg. 00.22.11.33.AD
View 3 Replies
View Related
Dec 10, 2009
when i send any packet to anu destination and want to see he mac address of source and destination i am using the command tcpdump -qec1 but rather then getting the mac address of source and destination each time i am getting mac address of the system which is broadcasting. will anybody tell me how can i get source and destination mac address even if any other packet is also being broadcast to my network.
View 1 Replies
View Related
May 25, 2010
What is the command to show the host name of the ip address?Suppose, I've an ip address like 209.191.122.70, now I want to know its host name.What is the command for that?
View 7 Replies
View Related
Mar 26, 2010
I am using internet in my home PC using Red Hat 9. To assign static IP to my linux machine I use "System Settings....> Network" and then double click on "eth0" to assign the static IP.Well these all settings by using GUI interface.Kindly guide me that if I use only command line interface "runlevel 1" then in that case which file should i edit and assign my static IP,Subnet Mask,Default Gateway DNS settings.2- 2nd thing is,is there any way that I may open web broswer in command line? or the administrator should only use internet on Run Level 5 ?
View 14 Replies
View Related
Jun 16, 2010
I need a command that can show me the HOST-NAME as well as ip-address in a single stress.
View 4 Replies
View Related
Feb 18, 2010
Ubuntu Server 9.10, with apache, proftpd, mysql and the goodies.
I have wordpress installed and setup under /var/www/
The LAN IP address resolves perfectly to the index.php
However I can not get my WAN IP to resolve. My ISP blocks port 80, so I have my router setup to forward port 81 externally to port 80 of my server. I know the port forwarding is setup correctly and working, because I can go to websites like url and test that port 81 is indeed open.
I also have DynDNS setup on my router and through an account with them, to update my IP address with any changes, to a host name. But because port 80 is blocked I have to access it with, host.name.org:81. Ive had this system up and running before with no issues. Now I can not get the host.name.org:81 to resolve.
Neither can I get my ip address xx.xxx.xx.xxx:81 to resolve.
View 6 Replies
View Related
Feb 25, 2010
I've setup a Ubuntu 9.10 LAMP server to host a word press blog on an intranet. I've got everything working except the url for the site.The IP address of the server will take me to the site URL.../But I'd rather use the server's name instead of the IP address URL...When i try to go to URL... in Firefox or IE it give me a server not found page and changes the URL to URL...I also have Webmin installed on the server and I've been playing around with the Apache module and can't figure out how to set it so i can use the server name instead of the IP address to get to the site.
View 6 Replies
View Related
May 8, 2010
I installed LAMP server at my debian lenny. people can't view my webpage via my ip address. How to active my ip address?
View 4 Replies
View Related
May 17, 2010
I just upgraded to 10.04 and I want to set the static ip address but I can't find where to do it.
View 2 Replies
View Related
Jul 9, 2010
I need to Install MySql Server somewhere that I can access. Instead on installing it in a Windows box like I have for years, I'm thinking of putting it on a Ubuntu Server box (or virtual machine) instead. Should I do it on a Ubuntu Server or a Ubunto desktop box? I have never installed Ubuntu as a server, is it more or less the same as installing the desktop version? Lastly, is there multiple versions of Ubuntu where one might be more appropriate than another? All I want is a machine that I can access MySql via an IP address. Don't need DHCP, dns, Mail server or anything.
View 4 Replies
View Related
Jul 15, 2010
I need to obtain daily dynamic IP address from my router for remote user. In order to get into the router page, I need to login to it with ID and password.
Can I tell the server to do this every time it started up to login to router and extract the ip address and send out via email?
The router can only access through web interface and below is what I copied from browser.
View 8 Replies
View Related
Mar 7, 2011
Im running ubuntu server 10.10 on my wirtual mashine at home. For now i have few service installed and configured:apache with phpand mysql support,ftp,phpmyadmin.. My ip address is not static, i tryed to configure by following some guide but without success.
First i edit this in /etc/network/interfaces (changing dhcp to static
Code:
# The primary network interface
auto eth0
iface eth0 inet static
[Code].....
View 9 Replies
View Related
May 2, 2011
Basically I am trying to set up my own server so that I can ssh into it from anywhere. I am able to SSH into my server when I use the LAN IP of my server but I am not able to SSH into it if I use the public IP address. I have read many threads and in my opinion I've tried almost all of the common fixes suggested. One possibility may be that my ISP has blocked port 22. I have taken this into consideration and sent them an email and I'm presently waiting for a reply. However, I highly doubt that my ISP has restricted acess to port 22. I would really like to be able to SSH into my server from anywhere.
1). I installed openssh client/server using the following commands:
Code:
sudo apt-get install openssh-client
sudo apt-get install openssh-client
2). I forwarded port 22 on my router. (see attachment for the settings)
3). I modified /etc/ssh/sshd_config such that my server has a static LAN address.
contents of sshd_config file:
Code:
# Package generated configuration file
# See the sshd_config(5) manpage for details
# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to .....
I then entered the command:
Code:
sudo /etc/init.d/ssh restart
4). I turned off the firewall using the command:
Code:
sudo ufw disable
5). Here is the output of the IP tables:
Code:
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
View 9 Replies
View Related
Aug 9, 2011
I have a server hosted with greatseeder.com, its a dedicated ubuntu server using Ubuntu 10.4.I have set up apache2 together with php5, and build a website from that. If you go though the ip address (http://94.23.251.209) the website loads fine, but if you go though the domain (athenagaming.com) it don't.I have registered the domain at domain.com. The nameservers I got from the host did not work, so I used a free dns site, to refer the domain to the ip address. The site I use is, http://freedns.afraid.org. I have signed up the domain, and added the nameservers i got from free dns to domain.com. But still it can't find the server though the domain, even though when I trace the domain it comes back all[URL]
View 6 Replies
View Related
Mar 22, 2010
Is there any elegant (and preferably uniform) way to determine IP address assigned to a DHCP/PPP interface inside a post-up command?
View 2 Replies
View Related
May 28, 2010
Are there Unix/Linux commands to find out the IP address of running computers on LAN?
View 4 Replies
View Related