You are not logged in.

#1 2011-04-06 01:50:19

frostyfrog
Member
From: Utah, USA
Registered: 2011-03-27
Posts: 42

Windows can only see Arch when Arch is pinging them

I'm assuming this goes in here (since I saw Networking). Also, I'm new here big_smile

I've got the strangest problem with my Acer Aspire One 532h-2268. My netbook can see nearly every computer in the house, but they can't see my netbook unless it is constantly pinging them. My netbook is the only one running Arch and all of the rest are running Windows. I've tried disabling the Windows firewalls and that didn't work. I still get the "Destination Host Unreachable" from Windows. But if I try pinging the same computer from my netbook everything works. If my netbook is still pinging the Windows machines, they can ping my netbook and don't get any errors. All my pings are being done by typing in the other computer's IP manually, and both are using static IPs.

/etc/hosts.allow: http://paste.pocoo.org/show/361153/
/etc/hosts.deny: http://paste.pocoo.org/show/361155/
/etc/host.conf: http://paste.pocoo.org/show/361157/

route:

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     303    0        0 wlan0
default         192.168.0.1     0.0.0.0         UG    303    0        0 wlan0

iptables:

$ sudo iptables -L -n
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  

Kernel version: kernel26 2.6.37.2-1


Anything else that I would need to show? Thanks for your help! smile


{arch32} {subtlewm}{Acer Aspire One AO532h}
{arch64} {Headless Server}
Grrr! 400 char limit sad

Offline

#2 2011-04-06 01:58:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,693

Re: Windows can only see Arch when Arch is pinging them

Tell us about your network.  Is it a router? A wireless Router?

You are using class C private network addresses, so I assume there is a dsl modem or a cable box somewhere.  I think the problem lies with your router.

Oh, are you using DHCP or static addresses? If DHCP, is the server in the router?

You might want to look into Avahi or some other network auto-discovery / configuration tools for Arch.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2011-04-06 03:17:15

frostyfrog
Member
From: Utah, USA
Registered: 2011-03-27
Posts: 42

Re: Windows can only see Arch when Arch is pinging them

I have a wireless router; It's a Cisco Linksys E3000 router.

I think I am somewhat using dhcp. The dhcp server is indeed in the router. The cable box shouldn't be a problem, as it only feeds one ethernet cord into the router.
~/fbin/rhome.sh:

#!/bin/bash
sudo wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf
sleep 7
sudo dhcpcd -h Frosty-netbook \
        -S ip_address=192.168.0.141 \
        -S routers=192.168.0.1 \
        -S domain_name_servers=192.168.0.1 \
        wlan0

/etc/wpa_supplicant.conf:

ctrl_interface=/var/run/wpa_supplicant                                                     
#ap_scan=2                                                                                 
network={                                                                                  
      ssid="FrozenHouse"                                                                     
      scan_ssid=1
      proto=WPA RSN
      key_mgmt=WPA-PSK                                                                     
      pairwise=CCMP TKIP                                                                   
      group=CCMP TKIP
      psk=*snip*
}

{arch32} {subtlewm}{Acer Aspire One AO532h}
{arch64} {Headless Server}
Grrr! 400 char limit sad

Offline

#4 2011-04-06 03:41:46

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,693

Re: Windows can only see Arch when Arch is pinging them

from man dhcpcd

     -S, --static value
             Configures a static value.  If you set ip_address then dhcpcd will not attempt to obtain a lease and just use the value for the
             address with an infinite lease time.

             Here is an example which configures a static address, routes and dns.
                   dhcpcd -S ip_address=192.168.0.10/24 \
                   -S routers=192.168.0.1 \
                   -S domain_name_servers=192.168.0.1 \
                   eth0

Your machine is using an address not assigned by the router.  It looks like the router does not remember how to find you for very long after it processes your ICMP packets from the ping.  Try removing the static IP assignment and let the router assign one to you.  It may remember you.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2011-04-07 00:46:41

frostyfrog
Member
From: Utah, USA
Registered: 2011-03-27
Posts: 42

Re: Windows can only see Arch when Arch is pinging them

I recently tried running

sudo pkill dhcpcd; sleep 5; sudo dhcpcd;

And it looks like it's still not working. sad I'm really starting to think that it is 100% the router. Also, I forgot to mention a strange occurance when I plug in the Ethernet cord and acquire an ip through there too... all of a sudden, both ips work. weird... but I don't want to have to plug into the wall every single time I'm doing work on another computer.


{arch32} {subtlewm}{Acer Aspire One AO532h}
{arch64} {Headless Server}
Grrr! 400 char limit sad

Offline

#6 2011-04-07 09:58:54

bobdob
Member
Registered: 2008-06-13
Posts: 138

Re: Windows can only see Arch when Arch is pinging them

I ran into this problem about a year ago. It only happened with the router at my student house, not with the one at my home and only my desktop (rt61pci) and not my netbook eee1005ha (ralink something).
So I think the problem was/is a mixture between the router and wireless card. The problem did disappear mostly with later kernels and now it just needs a quick ping and it will appear on the network shortly after.

Sorry I can't be of much help with your problem.

Offline

Board footer

Powered by FluxBB