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.

View 1 Replies


ADVERTISEMENT

Networking :: Can't Ping CentOS 5.3 Machine To XP SP2 Windows Machine

Oct 31, 2009

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 ~]# :

1. /etc/sysconfig/network:

ifconfig eth0 192.168.1.4 netmask 255.255.255.0 up
route add -net 192.168.1.0 netmask 255.255.255.0 eth0
route add default gw 192.168.1.1 eth0
NETWORKING = yes
NETWORKING_IPV6=no
HOSTNAME=localhost.localdomain

2. /etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE="eth0"
IPADDR="192.168.1.4"
NETMASK="255.255.255.0"
ONBOOT="yes"
BOOTPROTO="yes"

3. /etc/resolv.conf

nameserver 192.168.1.4
search locadomain

4. I restarted network service using this command:

/etc/init.d/network start

everything is fine. When checking using ifconfig command. I get the following:

eth0 Link encap: Ethernet HWaddr 00:08:0D:EE:19:66
inet addr:192.168.1.4 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr:........

[code]....

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.

View 14 Replies View Related

General :: Unable To Telnet To A Windows Server Machine?

Aug 28, 2010

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?

View 3 Replies View Related

General :: Shutdown Windows Machine Remotely Without Telnet / Ssh

Apr 28, 2011

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

Here's what I have tried:

From Windows 7 box:
shutdown -m computer (Access denied message)
psshutdown -m computer (Access denied message)
runas /user:computershutdown "cmd /K shutdown -m computer (access denied)
runas /user:shutdown "cmd /K shutdown -m computer (access denied)

From Linux box:
net rpc shutdown -I computer -U user%password (says shutdown succeeded) rpcclient -I x.x.x.x -c shutdown -U user (gives usage message)

View 1 Replies View Related

Debian Configuration :: Can't Ping Windows Xp Machine

Jan 23, 2010

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?

View 2 Replies View Related

Networking :: Ping Windows Machine Connected To An Open Network?

Jul 9, 2011

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.

View 1 Replies View Related

Networking :: Ping And Telnet In Rhel5?

Feb 3, 2011

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 ??

View 4 Replies View Related

Networking :: Execute A Command (ping Or Telnet Or Ssh) On Ip 192.168.0.20

Nov 25, 2010

When I execute a command (ping or telnet or ssh) on ip 192.168.0.20 it is ok.

If I execute the same command on
ip 192.168.0.020, it looks for
ip 192.168.0.18 instead of
ip 192.168.0.20

And it's the same for others ip if I put a 0 ahead last byte.

View 6 Replies View Related

Networking :: Ping Works But Telnet Does Not Work?

May 20, 2011

When I ping a destination IP address, it responds. However, when I try to telnet or ftp or sftp to the same IP address, it does not connect.

I do not know the physical location of the machine.

View 11 Replies View Related

Ubuntu Networking :: Cannot Ping KK Machine, Internet/network ON Machine Works?

Mar 18, 2010

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?).

View 2 Replies View Related

Ubuntu :: How To Enable Telnet On 10.10 Virtual Machine

Mar 5, 2011

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.

View 9 Replies View Related

Red Hat / Fedora :: Want To Be Able To Telnet Into Machine To Access It Remotely

May 11, 2010

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.

View 4 Replies View Related

Red Hat :: How To Know Ipaddress Of The Machine Which Is Broadcasting Message In Telnet Sessions

Aug 5, 2010

there are many telnet sessions with same login. somebody is always broadcasting message how to know the ipaddress of that machine.

View 1 Replies View Related

Red Hat / Fedora :: Chmod -R G=rwx On /bin And /sbin / Cant Connect To Machine Using Root Through Telnet, Ssh, Scp, Rsh?

May 6, 2009

I did chmod -R g=rwx on /bin , /sbin

now I can not connect to the machine using root through telnet, ssh, scp, rsh or any means.

View 1 Replies View Related

Networking :: Cannot Ping With Command - Ping IP - Address But Can Ping With - Ping IP -I Eth0

Jul 15, 2011

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.

View 2 Replies View Related

Ubuntu Networking :: Machine Not Responding To Ping?

Jun 3, 2010

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.

View 1 Replies View Related

Ubuntu :: Machine Can Ping Another But In Terminal Get 100% Packet Lost

Jul 15, 2010

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

View 2 Replies View Related

Fedora Networking :: Cant Ssh/ping To Machine

Aug 27, 2010

I am using f13

Quote:

$ 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.

View 4 Replies View Related

Fedora Networking :: Cannot Ping From Or To F14 Machine

Nov 5, 2010

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.

View 1 Replies View Related

Red Hat / Fedora :: Unable To Ping The Machine?

Jul 12, 2010

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

View 1 Replies View Related

Networking :: Cannot Ping To Machine From Another Subnet?

Apr 23, 2010

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

and its rules are

Code:

# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination

[code]....

What is preventing my machine from being accessed from the other subnet?

View 5 Replies View Related

Networking :: Ping Between 2 Eth Ports On The Same Machine?

Sep 17, 2010

I have eth1 and eth2 connected with back to back cable on the same machine.

I configure eth1 with 11.11.11.11 and eth2 with 11.11.11.14.

I use ping -I eth1 11.11.11.14, I get Destination Host Unreachable...

using tcpdump on eth1 shows ARP request broadcast being sent out

using tcpdump on eth2 shows ARP request received, no ARP reply being sent out

Not sure whether this config is supposed to work?

View 2 Replies View Related

Ubuntu Networking :: Ping Eth0 From Eth1 On System Machine?

Oct 20, 2010

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?

View 5 Replies View Related

Networking :: DNSMasq - Cannot Ping Win7 Machine By Name

Mar 4, 2011

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.

Code:
dnsmasq-dhcp: 55480937 available DHCP range: 192.168.0.50 -- 192.168.0.150
dnsmasq-dhcp: 55480937 client provides name: Tere-PC
dnsmasq-dhcp: 55480937 vendor class: MSFT 5.0 .....

Code:
# ping Tere-PC
ping: unknown host Tere-PC
Is there any way that dnsmasq, which is supposedly a dns server, will link this name to the given ip?

View 1 Replies View Related

Networking :: Cannot Ping Own Honeyd Virtual Machine

Aug 28, 2010

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.

View 1 Replies View Related

Networking :: Debian: Unable To Ping (network) Beyond Own Machine

Sep 27, 2010

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

View 1 Replies View Related

Fedora :: Installed CentOS 5 In Virtualbox But Can't Ping The Virtual Machine?

Mar 10, 2009

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.

View 2 Replies View Related

General :: Error An Not Ping Vhosts Server From My Local Machine

Mar 30, 2010

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.

View 1 Replies View Related

Ubuntu Networking :: Access Machine Via Windows Machine - Samba Password Reset?

Feb 13, 2011

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

View 2 Replies View Related

Ubuntu :: Numbers To Put In Linux Machine Can Connect / Print To Windows Machine?

Apr 16, 2011

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.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved