Forum

Full Version: network troubleshooting
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As it's my day job ,
here's a little troubleshooting for network problem.

Note :
  • A lot of problem with network come from power supply,
    so first be sure you power supply is enough, and try with nothing plugged on usb port. (and better try another power supply)
  • if you use wifi, and use xbmc xbian config,
    be sure you set dhcp mode, or correct static ip values before connecting to your wlan network.

troubleshooting
    1. Check if pi receive a ip adress (System -> system info):
    • pi have an ip adress :
      go to point 2.
    • pi has no ip adress :
      Check if you are in DHCP mode (system->xbian>network (take long time now)):
      • yes :
        check your wire (or check if wifi is connected for wlan)
        check your router config
      • No :
        set in dhcp mode or check if your static value are good
        (depend on you router config)
    2. Check local network
    • open a Terminal
      • windows :
        start->all Programs->accessories>Command Prompt.
      • Mac :
        go -> utilities ->terminal
      • Linux :
        Tongue
    • Ping the pi
      Terminal
      ping [PI IP adress]
      ex : ping 192.168.1.7
      • you can ping the pi
        go to point 3.
      • you can't ping the pi
        there's a problem in your local network
    3. Check internet connection
    • ssh to the pi (howto ssh)
    • test dns (in ssh session)
      Terminal
      ping 8.8.8.8
      • you can't ping 8.8.8.8
        you have a problem with you internet connection
        check if your modem is connected to internet.
    • test www connection
      • you can't ping google :
        it's a DNS problem
        it can occurs sometime if your dns adress is your router adress, try to set static dns.
        (system->xbian->network) and use 8.8.8.8 as primary dns and 7.7.7.7 as secondary (google dns)
      • you can ping google
        your internet connection is working
        if xbmc or addon cannot connect, it could be a problem in your router firewall, or the site you try to reach is offline


Nice guide and thank you for posting it.

Do you have any advice for a slow network connection?

I get between 50-100KBs transfer rate between PC or laptop and my Pi. I have tested the cables and all are showing OK.

Is there anything I can check on the Pi itself?

Many Thanks

Skywatch
(10th May, 2013 09:45 PM)Skywatch Wrote: [ -> ]Nice guide and thank you for posting it.

Do you have any advice for a slow network connection?

I get between 50-100KBs transfer rate between PC or laptop and my Pi. I have tested the cables and all are showing OK.

Is there anything I can check on the Pi itself?

Many Thanks

Skywatch

cable or WiFi?
(10th May, 2013 10:02 PM)rikardo1979 Wrote: [ -> ]
(10th May, 2013 09:45 PM)Skywatch Wrote: [ -> ]Nice guide and thank you for posting it.

Do you have any advice for a slow network connection?

I get between 50-100KBs transfer rate between PC or laptop and my Pi. I have tested the cables and all are showing OK.

Is there anything I can check on the Pi itself?

Many Thanks

Skywatch

cable or WiFi?

For me ntfs is also really slow, maybe a little less than you,
but i've got +- 500kb/s.
i don't test anymore, as i use ext4.
Hi both! ;-)

It's cable (see my profile for the set up).

It's a NTFS iomega powered USB 2.0 drive connected to a powered USB 2.0 hub which then connects to the pi. The other pi USB port is free and the only other thing on the hub is a mouse.

It's not the drive as connected directly to the PC it's really quick! (PC is win7) - I don't know enought about linux yet to know where to go next with this and the net isn't always friendly to my searches to try and fix it!

Thanks

Skywatch
Not sûre it's NTFS as it look really slow. Maybe do a test on a USB key formatted in ext4. Son y ou will know if problèmes is network or else
There's other thread that talk about that but to résume, on pi NTFS is slow samba is slow. Samba + NTFS is slow too
Network troubleshooting is generally the solution to run the network but it doesn't work till the network doesn't support the connection and device but for the satisfaction we connect it for the troubleshoot.
Reference URL's