Ubuntu :: Windows Can Ping But Not Telnet To New Machine?
Jun 13, 2011
I am setting up Ubuntu to be a firewall type device for a windows computer. (I later want to use Internet sharing or something like that.) The Ubuntu machine has two NICs. The internet NIC works but one light is always orange (even when there is no patch cable connected to it). I can access the Internet fine from the Ubuntu machine. I have a cross over cable connected to the second NIC. This cable connects to the Windows laptop. The windows laptop can ping the Ubuntu machine. But I cannot ping the windows machine from the Ubuntu machine. When I try to telnet to the Ubuntu machine from the Windows machine (over port 23 or 80) it says "cannot connect."
From the Ubuntu machine I issued this command:
# iptables -A INPUT -p tcp --dport 80 -j ACCEPT
I used ufw status and found that the firewall was not enabled on the Ubuntu machine. The default gateway of the second NIC is the IP address of the Windows machine. The default gateway of the Windows machine is the IP address of the Ubuntu machine.
I have two machines, one has XP service pack2, second one has CentOS 5.3 (Linux), they are connected through crossover cable. I have configured everything fine but don't know why till now can't ping!
A. Windows machine settings as follows:
IP Address: 192.168.1.3 Subnet Mask: 255.255.255.0 Default Gatway: 192.168.1.1 + Firewall is turned OFF.
B. For Linux machine, I will list everything stored in network files, logged as [root@localhost ~]# :
I mean I assigned the IP: 192.168.1.4 to Linux machine (Eth0). I did everything above and can't ping till now, when pinging from windows or Linux I get a message "destination host unreachable" restarted Linux many times but same result. NETWORK CABLE is working fine I tested it.
Why am I not able to telnet to a Windows server machine? Is it because the telnet server is not running there? A remote desktop connection works though.
Does a telnet server run by default on a Unix machine?
I have been trying to shutdown a remote XP machine but cannot get it to budge. I did the following on the Windows box:
Ensured no firewall Started Remote Registry Editing service Shared a network drive (to enable file sharing?) Created a user 'shutdown' specifically for shutting down Added 'shutdown' to Administrators group Added 'shutdown' to the list of allowed shutdown users in gpedit.msc
I recently did a clean install of Debian 5, and a backup program called BackupPC. Both machines are on a small local network served by a router. Both machines have statically mapped IP addresses, done by the router via matching MAC addresses in a table of corresponding IP addresses (192.168.0.2 (HP-PC-XP), 192.168.0.3 (Debian). I configured Backup PC correctly (I think)...Upon running Backuppc, the first thing it tries to do when its time to run a backup is to ping the machine to be backed up. The name of the PC is stored in a backup pc config file. (I believe BackupPC does a DHCP request with the machine name to get the ip address, but not sure). Running the backup results in BackupPC tells me that it can't ping my xp machine. If I open up a terminal window in debian, i can successfully ping my xp machine when i use the ip address. 92.160.0.2 If I ping using the host name of the xp machine (e.g. HP-PC_XP), the ping command displays some ip address i've never seen...something like 63.123.155.104....how is it getting that and how can it be corrected?
I recall that nslookup looks at the local hosts file first to resolve the name....i look in my hosts file and found no such address (only contained localhost)....now what?
I am trying to ping my Windows machine connected to an open network (I'm at a internet caf) from my linux VM (also connected to the same network with a usb adapter), but I'm obtaining this output:
# ping 10.23.47.12 PING 10.23.47.12 (10.23.47.12) 56(84) bytes of data. From 10.128.128.1 icmp_seq=1 Packet filtered From 10.128.128.1 icmp_seq=2 Packet filtered
With high probability host 10.128.128.1 is a firewall or some router with packet filtering mechanism; but I don't understand how it can be possible to implement this kind of solution, with what kind of software or hardware? I also tried a nmap scan to my Windows machine but it returns me scan results from another host(the firewall or the router I suppose):
nmap -sS -O -P0 10.23.47.12 Starting Nmap 5.51 ( http://nmap.org ) at 2011-07-09 15:46 CDT Nmap scan report for 10.23.47.12 Host is up (0.097s latency). All 1000 scanned ports on 10.23.47.12 are filtered
[Code]...
So my questions is, how is technically possible to implement this kind of restriction within hosts connected on the same network? It's the first time I see this kind of configuration.
my company there is 1 RHEL5 server and around 50 systems connected to it( running windows ). I want to know who is pinging or telneting to the server how can I find this information on the server OR where should I look for this information in the linux.
if I want to explore on this topic (i.e. who is trying to connect to server, from where user accessing server, whats his/her ip, whats his/her os etc. ) where should I look for it on the net ??
I have an ubuntu kk laptop connected via wireless to my mixed network (xp, win7, other ubuntu), but i can not ping said machine or connect via ssh. Internet and smb-browsing ON this machine work, as does pinging FROM it. If this was a windows machine, I'd say a firewall is in the way, but since it's a vanilla karmic install, this should not be the case (or should it?).
I have been searching for the past hour trying to figure out how I can enable telnet on my Ubuntu 10.10 Virtual Machine.I am using VirtualBox to run my VM. I am trying to access that VM using PuTTy but most everything I have seen says I have to enable telnet first.The directions that I have found say to go to System > Administration > Services and enable telnet.I have nothing called Services under Administration.
I'm a computer technician and I'm interested in learning Linux. I did some research about the different distributions last night decided to try Fedora. I downloaded the latest version of it and installed it onto a brand new machine in my office. Is there a website out there that I can use as a guide for all of the Linux commands. I know that if I wanted to I could just learn my way around the gui, but I want to REALLY learn Linux. I also want to be able to telnet into the machine so that I can access it remotely. How can I set that up? I installed Fedora with all of the default settings and didn't change anything.
I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.
But if I gave ping -I eth1 <IP> then I can ping.
I cannot install any package, so tell me solution which includes not installing any package.
I am running ubuntu 10.04 on a VMWare Server virtual machine. I have assigned the ubuntu machine an ip address of 192.168.17.101. The ip address of my Windows machine hosting the Ubuntu VM is 192.168.17.100.
From the Ubuntu machine, I can ping all other machines on the local subnet. But when I try to ping the ubuntu machine, it does not get a reply.
I have a clean, plain install and the only software I have installed is Nagios.
how a ubuntu machine can ping another (I can see the ICMP request and response in wireshark) but in the terminal I get 100 % packet lost ? Same with the DNS requests ( I see the query to the DNS and the DNS is giving me the IP of the site) and internet connections at all. this machine is sharing it's internet connection and machines behind it have no problem with the internet. I tried to flush the iptables - same result. This thing occurred after a restart
$ uname -rsmi Linux 2.6.33.8-149.fc13.i686.PAE i686 i386
I am using a dhcp network. Problem is I can SSH/ping to my machine but can't SSH/ping to my machine from the remote one(In internal network of my lab). What to do? I understand this is very little information....but I dont know what to provide.
Have installed fedora 14 on a HyperV virtual machine, have added a Legacy network adapter in the Hyper-V settings for this virtual machine that fedore pics up as eth0. I'm pretty sure this card is able to pick up an IP address from a DHCP server on our network but I'm unable to ping any boxes from this fedora virtual machine or ping the fedora machine from another box on the network. I have tried to disable the firewall and SELinux incase it was that stopping the pinging each way but that didn't help.
i have two linux machines(machine1(rhel client) and machine2(rhel server)) i am able to login the machine2 from machine1 but i am unable to ping machine1 from machine2 fire wall is stoped in both machine
I installed apache2 on my Ubuntu machine and I am trying to access the server from another subnet. The server is connected using ethernet and has a static ip address. I can ping from the server to any machine in the other subnet but non of the machine on that subnet can ping the server. iptables does not seem to be running
Code:
# service iptables status iptables: unrecognized service
I have a linux machine with 2 ethernet ports(eth0 and eth1). eth0 is connected to a router which assigns it an IP address 192.168.1.2. eth1 is connected to a switch and I assigned it an IP address 192.168.1.254 using "ifconfig eth1 192.168.1.254 netmask 255.255.255.0 up". How do I ping eth0 from eth1?
This is the scenario: gentoo box (distro shouldn't be relevant here) and win7 box. Gentoo box is dhcp and dns server, via dnsmasq. From win7, I can ping gentoo by both ip and name. No problem there. From Gentoo, I can ping win7 by ip, but not by name. The dnsmasq log seems to receive the name ok, it's "Tere-PC". I have been looking around for many hours now and I know there must be something simple I am not taking into account.
I've a weird problem about my honeypot project. All start from installation until running process is going smoothly but when I try to ping my honeyd vm from honeyd host it couldnt but it can be ping from other machine inside my local network. I am also usinng arpd for ARP request reply and standard honeyd config.
i have installed linux debian in my computer but i have aproblem , i have a ping only on my computer itself , not to gateway or other computers on my network .
Ip : 10.0.88.9 Gateway : 10.0.88.1 dns :10.0.88.7
note:when i have installed system i have no internet connection so it is not installed updates
Running Fedora 10, I installed CentOS 5 in Virtualbox, but I can't ping the Virtual Machine...
From within CentOS, I can ping my laptop [known as the host?] but from the laptop I can't ping the CentOS Virtual Machine. I tried turning off the firewall on both too... CentOS was able to access the internet through my laptop right away without any configurations too.
Unless someone has an idea to resolve the above, I am also wondering about something else VirtualBox-related:
To see if it was possible to get around the above issue, I was going to install another CentOS virtual machine to see if I can get them to communicate both ways [if at all], but to do so, I think I have to install CentOS AGAIN on another allocated amount of hard disk space. This will take some time, so I was wondering if anyone knew if it was possible to just create a quick duplicate of the previous installation, if you wanted 2 different virtual installations of the same OS.
I just configured vhost server in my linux server. When trying to access the open source (SugarCRM) application running on it, its giving me the error message that i am not connected to internet. I have restarted apache by no luck.
I try to access my ubuntu machine via my Windows Machine (Samba Server on Ubuntu Machine). Anytime I try to access the machine it asks me for my password...I enter it but it says it is invalid....is there anyway to reset it? I have already tried to remove and purge everything Samba related and then tried reinstalling, but that still didn't do anything
I remember it being really easy to add a printer attached to another computer using Ubuntu, but I don't remember exactly what made it so easy. All I know is that now that I have switched to Kubuntu the process has become much harder because now I have to find out some special locations, numbers etc. for it to connect to the printer. It's connected to a Windows XP machine on the other side of the house. It says alot about 'contacting the network administrator' if I am unsure about what to put in. But I am more or less the network administrator. how to find out what numbers to put in so that my Linux machine can connect and print to the Windows machine? Or maybe someone knows a few commands to share? I go to Applications > Settings > System settings, Printer configuration, New Printer, New Network printer, and then there are a few options but I don't know which one to choose. Windows Printer via Samba, I guess? Then in the box that says smb://[enter stuff here] I need to put in info but I don't know how to find that info.