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
4871 posts

Uber Geek

Trusted
Subscriber

# 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
6877 posts

Uber Geek

Trusted
Lifetime subscriber

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

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

2182 posts

Uber Geek

Trusted

  # 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)




I hate you.


 
 
 
 


Professional yak shaver
1599 posts

Uber Geek

Trusted
BitSignal
Lifetime subscriber

  # 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
4871 posts

Uber Geek

Trusted
Subscriber

  # 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
4871 posts

Uber Geek

Trusted
Subscriber

  # 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


2182 posts

Uber Geek

Trusted

  # 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
4871 posts

Uber Geek

Trusted
Subscriber

  # 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
1599 posts

Uber Geek

Trusted
BitSignal
Lifetime subscriber

  # 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
4871 posts

Uber Geek

Trusted
Subscriber

  # 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


787 posts

Ultimate Geek


  # 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
4871 posts

Uber Geek

Trusted
Subscriber

  # 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


787 posts

Ultimate Geek


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

787 posts

Ultimate Geek


  # 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
4871 posts

Uber Geek

Trusted
Subscriber

  # 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


75 posts

Master Geek


  # 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 and LinkedIn »



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 »

Ring launches indoor-only security camera
Posted 23-Jan-2020 17:26


New report findings will help schools implement the digital technologies curriculum content
Posted 23-Jan-2020 17:25


N4L to upgrade & support wireless internet inside schools
Posted 23-Jan-2020 17:22


Netflix releases 21 Studio Ghibli works
Posted 22-Jan-2020 11:42


Vodafone integrates eSIM into device and wearable roadmap
Posted 17-Jan-2020 09:45


Do you need this camera app? Group investigates privacy implications
Posted 16-Jan-2020 03:30


JBL launches headphones range designed for gaming
Posted 13-Jan-2020 09:59


Withings introduces ScanWatch wearable combining ECG and sleep apnea detection
Posted 9-Jan-2020 18:34


NZ Police releases public app
Posted 8-Jan-2020 11:43


Suunto 7 combine sports and smart features on new smartwatch generation
Posted 7-Jan-2020 16:06


Intel brings innovation with technology spanning the cloud, network, edge and PC
Posted 7-Jan-2020 15:54


AMD announces high performance desktop and ultrathin laptop processors
Posted 7-Jan-2020 15:42


AMD unveils four new desktop and mobile GPUs including AMD Radeon RX 5600
Posted 7-Jan-2020 15:32


Consolidation in video streaming market with Spark selling Lightbox to Sky
Posted 19-Dec-2019 09:09


Intel introduces cryogenic control chip to enable quantum computers
Posted 10-Dec-2019 21:32



Geekzone Live »

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


Support Geekzone »

Our community of supporters help make Geekzone possible. Click the button below to join them.

Support Geezone on PressPatron



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.