Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




Awesome
3964 posts

Uber Geek
+1 received by user: 561

Trusted
Subscriber

Topic # 111270 29-Oct-2012 11:43 Send private message

Got my Raspberry Pi from Element14 a couple of days ago and have started to have a play with Raspbmc. I was having trouble accessing content on other hosts, with XBMC telling me it couldn't find a path to the host. I figured it was just an XBMC issue until I started playing around a bit more.

I loaded up images for Raspian "Wheezy" and Incredible Pi PBX onto seperate SD cards and it quickly became apparent that the network issue wasn't specific to the XBMC install I had.

I did some playing around and established that on all distributions I have tried the following happens:
- I can communicate with my Router (192.168.1.1) and out to the internet fine from the Pi
- I can connect to (ping/ssh/http/whatever) to the Raspberry Pi (192.168.1.70 assigned by DHCP) from the LAN
- I CANNOT connect to any LAN hosts (All on 192.168.1.x) from the Pi (Destination host unreachable, etc)

I have tried the following:
- 3 different distributions running on 3 seperate SD card (as above)
- I have tried manually setting an IP address and subnet mask
- I have tried a totally different router and network cables
- Tried with vanilla installs of the distros - no changes from the default
- Tried a different subnet (Setup hosts on a new network (inc hardware) on 192.168.2.x)

Basically, as far as I can tell, I have eliminated all possible causes apart from the Pi hardware itself, but it's just an odd problem and I can't possible see how a hardware fault would cause such a specific connectively issue.

Has anyone seen anything like this, or can you suggest anything I can try to resolve?




Twitter: ajobbins

Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2 | 3
3842 posts

Uber Geek
+1 received by user: 167

Trusted
Subscriber

  Reply # 708297 29-Oct-2012 11:46 Send private message

I'll try this tonight if nobody else has figured it out by then.

1325 posts

Uber Geek
+1 received by user: 164

Trusted

  Reply # 708307 29-Oct-2012 12:04 Send private message

Are you learning ARP addresses for the hosts you can't ping?  What does your arp table look like on the PI?

One thing to check is that the MAC address your PI has isn't also allocated to another device on your LAN.  Very unlikely, but could cause the problems you're seeing (which sound like ARP problems)




Checkout the EPIC5 script I work on, LiCe. Makes console based IRC fun and easy to use, just like the old days!
Android user? Checkout MightyText - text messaging from your browser.

Professional yak shaver
1558 posts

Uber Geek
+1 received by user: 4

Trusted
BitSignal
Subscriber

  Reply # 708312 29-Oct-2012 12:07 Send private message

I had a similar issue with mine. Found out over the weekend that my router stopped bridging the 5Ghz and 2.4Ghz networks. The Pi is on 2.4 and everything else is on 5Ghz. Still not sure how to fix it (DD-WRT).




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown



Awesome
3964 posts

Uber Geek
+1 received by user: 561

Trusted
Subscriber

  Reply # 708333 29-Oct-2012 12:28 Send private message

muppet: Are you learning ARP addresses for the hosts you can't ping?  What does your arp table look like on the PI?

One thing to check is that the MAC address your PI has isn't also allocated to another device on your LAN.  Very unlikely, but could cause the problems you're seeing (which sound like ARP problems)


What is the best way to check this? It's not a MAC issue - I tried it on a separate router/switch with only 1 other device (my laptop) and all have unique MACs.

Communicating to the Pi is fine from the LAN - The Pi just can't see anything else.




Twitter: ajobbins



Awesome
3964 posts

Uber Geek
+1 received by user: 561

Trusted
Subscriber

  Reply # 708335 29-Oct-2012 12:28 Send private message

magu: I had a similar issue with mine. Found out over the weekend that my router stopped bridging the 5Ghz and 2.4Ghz networks. The Pi is on 2.4 and everything else is on 5Ghz. Still not sure how to fix it (DD-WRT).


I've taken WiFi completely out of the equation. This is all on wired LAN




Twitter: ajobbins

1325 posts

Uber Geek
+1 received by user: 164

Trusted

  Reply # 708337 29-Oct-2012 12:36 Send private message

ajobbins:
muppet: Are you learning ARP addresses for the hosts you can't ping?  What does your arp table look like on the PI?

One thing to check is that the MAC address your PI has isn't also allocated to another device on your LAN.  Very unlikely, but could cause the problems you're seeing (which sound like ARP problems)


What is the best way to check this? It's not a MAC issue - I tried it on a separate router/switch with only 1 other device (my laptop) and all have unique MACs.

Communicating to the Pi is fine from the LAN - The Pi just can't see anything else.


Assuming you have a Linux distro on it, "arp -n" as root (or sudo arp -n) should show you what the PI knows about.

For example, from my Linux box at home:
root@micro:/media/flash/tim# arp -n
Address                  HWtype  HWaddress           Flags Mask            Iface
192.168.0.55             ether   00:c0:b7:6b:56:f3   C                     wlan1
192.168.0.5              ether   68:09:27:22:35:22   C                     wlan1
192.168.0.1              ether   00:26:f2:42:f0:7c   C                     wlan1


I can see my APC Board (.55) the Router itself (.1) and some other dingus at .5

If you can see the ARP addresses for the devices you're not able to contact, it would imply the problem is somewhere else.

Also: Have you checked the subnet mask you're being given?  If you get given the wrong subnet mask issues like what you've posted crop up as your PI, rather than arping for a device, will send the request to the router.



Awesome
3964 posts

Uber Geek
+1 received by user: 561

Trusted
Subscriber

  Reply # 708391 29-Oct-2012 13:15 Send private message

I'll have to have a look when I get home. I remotely rebooted it and it hasn't come back online.




Twitter: ajobbins

Professional yak shaver
1558 posts

Uber Geek
+1 received by user: 4

Trusted
BitSignal
Subscriber

  Reply # 708402 29-Oct-2012 13:29 Send private message

ajobbins:
muppet: Are you learning ARP addresses for the hosts you can't ping?  What does your arp table look like on the PI?

One thing to check is that the MAC address your PI has isn't also allocated to another device on your LAN.  Very unlikely, but could cause the problems you're seeing (which sound like ARP problems)


What is the best way to check this? It's not a MAC issue - I tried it on a separate router/switch with only 1 other device (my laptop) and all have unique MACs.

Communicating to the Pi is fine from the LAN - The Pi just can't see anything else.


Incorrect netmask, maybe?




"Roads? Where we're going, we don't need roads." - Doc Emmet Brown



Awesome
3964 posts

Uber Geek
+1 received by user: 561

Trusted
Subscriber

  Reply # 708411 29-Oct-2012 13:46 Send private message

magu: Incorrect netmask, maybe?


I checked that. DHCP is dishing out 255.255.255.0 which I think is correct. This is the same as the other hosts on the network get, and they can all talk to each other fine.

Tried setting it manually but didn't help




Twitter: ajobbins

267 posts

Ultimate Geek
+1 received by user: 6


  Reply # 708422 29-Oct-2012 14:17 Send private message

Are the "hosts" all Windows machines and are they all in the same "Home Network"?  Cause your Pi wont be and if you don't allow sharing outside your home network it wont work.  Had this problem myself (not just with a Pi either).



Awesome
3964 posts

Uber Geek
+1 received by user: 561

Trusted
Subscriber

  Reply # 708424 29-Oct-2012 14:21 Send private message

nzkc: Are the "hosts" all Windows machines and are they all in the same "Home Network"?  Cause your Pi wont be and if you don't allow sharing outside your home network it wont work.  Had this problem myself (not just with a Pi either).


Mostly yes, but I can access the windows hosts from my iPad, and my Android phone over the WLAN




Twitter: ajobbins

267 posts

Ultimate Geek
+1 received by user: 6


  Reply # 708427 29-Oct-2012 14:24 Send private message

Does your router have a DMZ and you've somehow managed to get your Pi into that rather than your LAN?

267 posts

Ultimate Geek
+1 received by user: 6


  Reply # 708428 29-Oct-2012 14:25 Send private message

nzkc: Does your router have a DMZ and you've somehow managed to get your Pi into that rather than your LAN?

Ahhh I see you tried a different router - unlikely to be this then.



Awesome
3964 posts

Uber Geek
+1 received by user: 561

Trusted
Subscriber

  Reply # 708433 29-Oct-2012 14:27 Send private message

nzkc: Does your router have a DMZ and you've somehow managed to get your Pi into that rather than your LAN?


No. DMZ not used. Couple of port forwards to my reverse web proxy box but that shouldn't matter.

Tested with a totally different router too and same issue.




Twitter: ajobbins

65 posts

Master Geek
+1 received by user: 3


  Reply # 708472 29-Oct-2012 15:19 Send private message

This is very odd.

Can you post the output of the following commands, when run on the Pi:
ifconfig
netstat -r

Thanks

 1 | 2 | 3
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:




News »

Trending now »
Hot discussions in our forums right now:

Moment of Truth?
Created by BarTender, last reply by joker97 on 20-Sep-2014 11:54 (405 replies)
Pages... 25 26 27


Festival of Democracy
Created by gzt, last reply by gzt on 21-Sep-2014 03:11 (112 replies)
Pages... 6 7 8


Mr. Key to extradite Kim Dotcom?
Created by TimA, last reply by SaltyNZ on 18-Sep-2014 09:20 (126 replies)
Pages... 7 8 9


Will My VDSL gets better?
Created by coconuts, last reply by hio77 on 20-Sep-2014 21:32 (28 replies)
Pages... 2


New On Account mobile plans - Red+
Created by NikT, last reply by kawaii on 20-Sep-2014 20:55 (45 replies)
Pages... 2 3


someone tried to hack us 20 million times!
Created by joker97, last reply by Beccara on 20-Sep-2014 20:48 (15 replies)

IOS8 - Network Load
Created by FireEngine, last reply by raytaylor on 20-Sep-2014 16:55 (45 replies)
Pages... 2 3


Computer Lounge's Zen Radical
Created by JayADee, last reply by JayADee on 19-Sep-2014 14:51 (15 replies)


Geekzone Live »
Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.