Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Re: Network error?
« previous next »
  • Print
Pages: [1] 2

Author Topic: Re: Network error?  (Read 3269 times)

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Network error?
« on: May 03, 2008, 04:17:41 AM »
Quote from: Fir3Chi3f on May 03, 2008, 03:49:20 AM
I had to manually select my ipod (4g 20gb grey scale) and its location in the file system (/media/IPOD).
This already indicates problems: autodetection of the Ipods works absolutely reliably. The thing is that detection (as well as bootloader installation) requires raw disc access -- i.e. you need to be able to write to /dev/sdx. You don't need this for installing the actual build though.

Quote
That was no big deal but once I hit install, I was prompted with a 'Network error'.
Did it display more details? If you get a network error it will also display the http response code (like: "Network error: 404") which greatly helps to figure out what's the problem.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Fir3Chi3f

  • Member
  • *
  • Posts: 10
Re: Network error?
« Reply #1 on: May 03, 2008, 04:42:26 AM »


Thanks for the quick replay! here is what i got so far
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Network error?
« Reply #2 on: May 03, 2008, 06:15:06 AM »
Interesting. Please check the proxy settings -- Rockbox Utility defaults to the system settings which is the variable http_proxy on linux. It's possible that this value is set to something but your browser uses a different value (for example, Firefox doesn't respect this value but has its own setting). So just your browser working doesn't mean that the settings for Rockbox Utility are correct. You also might want to explicitly set the proxy setting to "none".

You should also check if you can reach the mentioned host from your browser.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Fir3Chi3f

  • Member
  • *
  • Posts: 10
Re: Network error?
« Reply #3 on: May 03, 2008, 11:21:01 AM »
Once again thanks for the replay!

Interesting that for 'system settings' port is set to -1  :-\

Setting proxy settings to 'none' has the same outcome. And I can reach the 'host' through Firefox.

                       

I'll try testing this on another machine, and perhaps a different OS.
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Network error?
« Reply #4 on: May 03, 2008, 11:40:04 AM »
Is this on a 32bit or a 64bit system ?
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Network error?
« Reply #5 on: May 03, 2008, 11:42:28 AM »
Quote from: Fir3Chi3f on May 03, 2008, 11:21:01 AM
Interesting that for 'system settings' port is set to -1  :-\
well, that's not a problem -- http_proxy is empty, and thus the port gets displayed as "-1". It's an odd display only, but it should be changed ;)

Quote
Setting proxy settings to 'none' has the same outcome. And I can reach the 'host' through Firefox.
Have you checked the proxy settings in Firefox? Maybe you have proxy autodetection enabled or a proxy autoconfiguration script? I really can only explain your issues with wrong network settings -- and as your network itself is running the only idea I have is the proxy. You're using the most recent rbutil (m1.0.5) I assume?

Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Fir3Chi3f

  • Member
  • *
  • Posts: 10
Re: Network error?
« Reply #6 on: May 03, 2008, 01:17:11 PM »
Here are my firefox proxy settings:



Quote from: fg on May 03, 2008, 11:40:04 AM
Is this on a 32bit or a 64bit system ?
64

Quote from: bluebrother on May 03, 2008, 11:42:28 AM
Quote from: Fir3Chi3f on May 03, 2008, 11:21:01 AM
Interesting that for 'system settings' port is set to -1  :-\
well, that's not a problem -- http_proxy is empty, and thus the port gets displayed as "-1". It's an odd display only, but it should be changed ;)

Quote
Setting proxy settings to 'none' has the same outcome. And I can reach the 'host' through Firefox.
Have you checked the proxy settings in Firefox? Maybe you have proxy autodetection enabled or a proxy autoconfiguration script? I really can only explain your issues with wrong network settings -- and as your network itself is running the only idea I have is the proxy. You're using the most recent rbutil (m1.0.5) I assume?



You are correct in your assumption.
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Network error?
« Reply #7 on: May 03, 2008, 01:35:26 PM »
Quote from: Fir3Chi3f on May 03, 2008, 01:17:11 PM
Here are my firefox proxy settings:
Hmm -- I have no idea what "use system settings" in firefox means. Is it possible ubuntu has some proxy settings in its configuration? Sorry, I don't know ubuntu and haven't seen that "System Settings" entry in Firefox.

Quote
Quote from: fg on May 03, 2008, 11:40:04 AM
Is this on a 32bit or a 64bit system ?
64
It could also be a 64 bit issue -- rbutil is a 32 bit binary. But as I don't have access to any 64 bit machines I can't test myself ...

Could you check if network access is still working if you change Firefox to "no proxy"? Also, are you able compiling rbutil yourself? If it's a 64 bit issue this might help hunting it down.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Fir3Chi3f

  • Member
  • *
  • Posts: 10
Re: Network error?
« Reply #8 on: May 03, 2008, 02:00:05 PM »
Firefox still works after setting 'no proxy'

Could you link me to the source? I'll try to compile it but I'm no expert at it   :-\

I've had to compile things before, being that I'm using 64bit Ubuntu, but hunting down dependences and just general error solving gets old :P
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Network error?
« Reply #9 on: May 03, 2008, 02:41:10 PM »
Ok, so this sounds like it's some problem running the binary on 64bit.

You can get the sources from svn. Easiest is possibly to check out the complete svn tree -- see UsingSVN on how to do. Then change to the folder rbutil/rbutilqt. You also need Qt 4.3+ -- run qmake (or qmake-qt4, don't know how it's called on ubuntu, but you need to call Qt4's qmake in case you have both Qt3 and Qt4 installed), then make. You'll get the binary rbutilqt.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Fir3Chi3f

  • Member
  • *
  • Posts: 10
Re: Network error?
« Reply #10 on: May 03, 2008, 03:38:08 PM »
List of dependences so far:
subversion
g++
libtq4

Compiler Stuck at:
Code: [Select]
autodetection.cpp:24:17: error: usb.h: No such file or directory
Logged

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Network error?
« Reply #11 on: May 03, 2008, 03:39:06 PM »
You need libusb-dev
Logged

Offline Fir3Chi3f

  • Member
  • *
  • Posts: 10
Re: Network error?
« Reply #12 on: May 03, 2008, 03:44:22 PM »
Quote from: fg on May 03, 2008, 03:39:06 PM
You need libusb-dev

GOD BLESS YOU!!

compiler working...

edit: compiler success! working... maybe


The autodetect still does not work and selecting manually gets me this error^
« Last Edit: May 03, 2008, 04:12:41 PM by Fir3Chi3f »
Logged

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: Network error?
« Reply #13 on: May 03, 2008, 04:33:59 PM »
Quote from: Fir3Chi3f on May 03, 2008, 03:44:22 PM
The autodetect still does not work and selecting manually gets me this error^
I can't see the last line in your terminal window but I assume you're working as normal user? (Edit: could've seen that in the first place from the title of your terminal window ;) ) Bootloader installation (and detecting the Ipod, as it uses the same code) requires raw disc access. I.e. you need to have w-permissions on the device node. Simplest way is running it as root (only needed for bootloader installation and autodetection -- updating the build itself later works with user permissions)
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline Fir3Chi3f

  • Member
  • *
  • Posts: 10
Re: Network error?
« Reply #14 on: May 03, 2008, 06:25:48 PM »
Thanks all it all seems to be working, running program as root fixed drive detection. I was given one last error tho...

It seems as though there may be a problem with my ipod...
(looks at folder icon with exclamation mark) :o

I thought that perhapses it was from the installer but, there are errors galore when I try to formate the drive.
and Itunes/iPod updater 2006 doesn't recognize it under windows.

I may be out of the ipod biz for a while.

I was wondering however, could others use this '64-bit' Rockbox installer I compiled?
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Installation / Removal
| |-+  Manual Installation
| | |-+  Apple - Installation/Removal
| | | |-+  Re: Network error?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.081 seconds with 15 queries.