macsat.com OpenWrt and ASUS WL Forum
January 09, 2009, 02:33:11 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Back to macsat.com
 
   Home   Help Search Login Register  
Pages: 1 ... 11 12 [13] 14 15 ... 32   Go Down
  Print  
Author Topic: MGB111 update  (Read 73785 times)
0 Members and 1 Guest are viewing this topic.
Slawek
Guest
« Reply #180 on: April 15, 2008, 13:27:12 PM »

default torrent via webui or console?
ctorrent with open port? (not the same if webui torrent)

from my webui
Code:
1.
Progress: [96.29] %, 6 peers, download from [3] [16.00 KB/s], upload to [4] [23.03 KB/s] [0.993]

2.
Seeding: uploading to [4] of [5] peers, [52.43 KB/s] [1.281]
« Last Edit: April 15, 2008, 13:41:02 PM by JKR » Logged
Falcon300
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #181 on: April 15, 2008, 14:23:24 PM »

Default torrent via webui on port 19500
ctorrent on port 19430-19450 (one port per one ctorrent instance)
Logged
Slawek
Guest
« Reply #182 on: April 15, 2008, 14:44:41 PM »

maybe:

check traffic priority on router or something
check webui torrent config (limits)
check system load
isp filtering ports
or something
Logged
spanish_biker
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #183 on: April 16, 2008, 03:25:20 AM »

your driver will be totally formatted by the MGB111 as it uses ext3 filesystem, the MGB11 is a linux based device.

I'm using the R400b2 firmware and after formatting via the Web interface the file system shown is ext2. I have tried to manually create an ext3 partition as well (by using the mke2fs -j command and manually modifying the /etc/fstab from ext2 to ext3) and although the .journal file is successfully created, the partition goes back to ext2 after rebooting. I mean, the /etc/fstab is automatically reverted from ext3 to ext2 and the Web interface keeps displaying ext2.

Any idea about why this could be happening? Does your system displays ext3 in the web interface when it is working in Guest mode?

Cheers!
« Last Edit: April 16, 2008, 03:28:48 AM by spanish_biker » Logged
Falcon300
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #184 on: April 16, 2008, 05:32:36 AM »

Quote
check traffic priority on router or something
check webui torrent config (limits)
check system load
isp filtering ports
or something

When I set IP address of WAP to Windows computer and listen port of WAP torrent client to mTorrent, I result an upload speed aprox 72 kb/s. It's mean what its right with router configuration, filtering port and all. Webui torrent config limits set to unlimited (-1) by you hack...

It's all very strange...

One more question: how can I change listen port on existing download jobs? When I try to change it by webui torrent config, I result 'Invalid port' on existing download jobs...

Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #185 on: April 16, 2008, 08:29:36 AM »

Any idea about why this could be happening? Does your system displays ext3 in the web interface when it is working in Guest mode?

There is no buildin support for ext3 fs in this firmware.

chimbo
Logged
spanish_biker
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #186 on: April 16, 2008, 12:30:41 PM »

There is no buildin support for ext3 fs in this firmware.
chimbo

Ah, ok, I thought I was overlooking something!. And do you know any way to create a FAT32 partition from the telnet session? I cannot see any mkdosfs in the available addons and the mkdosfs.exe file provided by Airlive is compiled to be used in Windows not in linux! Sad
Logged
chimbo
Newbie
*
Offline Offline

Posts: 43


View Profile
« Reply #187 on: April 16, 2008, 14:34:50 PM »

There is no buildin support for ext3 fs in this firmware.
chimbo

Ah, ok, I thought I was overlooking something!. And do you know any way to create a FAT32 partition from the telnet session? I cannot see any mkdosfs in the available addons and the mkdosfs.exe file provided by Airlive is compiled to be used in Windows not in linux! Sad
Not from telnet session. Why don't you remove the disk and connect it to a pc (either directly or using usb)?
chimbo
Logged
spanish_biker
Newbie
*
Offline Offline

Posts: 13


View Profile
« Reply #188 on: April 16, 2008, 15:16:14 PM »

Not from telnet session. Why don't you remove the disk and connect it to a pc (either directly or using usb)?
chimbo

Thanks m8!, that's what I tried at the very beginning, but no luck. I just have a laptop, so I cannot directly connect the SATA drive to the motherboard and I do not have a sata-usb box/cable to be able to connect it using usb. I borrowed a small 2.5" sata-usb box from a friend the other day and it did not work either, the PC did not recognized the HDD. Not sure why but the enclosure had written in the back (maximum supported size 80G) so maybe it is a problem of lack of power of something similar and my 750GB is not recognized (not even appearing in the disk manager). I'll have a look again later on and if I manage to find out any other way to achieve this, I'll post it here for future reference...
Logged
filodej
Newbie
*
Offline Offline

Posts: 16


View Profile WWW
« Reply #189 on: April 16, 2008, 16:25:51 PM »

Hi JKR,
first of all I want to thank you for your effort, about month ago I have installed the dd-wrt to my linksys router (with some addons from optware) and later on I wondered if there is something similar for my Airlive. Now thanks to you and your know-how I have a small linux farm at my home Wink

I am using several your addons (I was especially pleased by the python distribution) and migrate apps from Linksys router to Airlive, since I think it makes much more sense. Sorry for wasting your time, but I feel that instead of demanding more and more pre-built addons from you I would prefer to build my own now.

I have some (basic) linux background but I have no experience with cross-compiling at all. To start somewhere, I have followed the instructions "building_the_firmware" (here
http://www.macsat.com/macsat/component/option,com_openwiki/Itemid,66/id,building_the_firmware), It seem to work for me (more or less), but maybe I miss something important (e.g. I am using the MGB100 toolchain since I have not found any for MGB111).

I am trying to compile (e.g. subversion 1.4.6) on VMWare Fedora 4 distro. When I make the [ "./configure" ; "add include to Makefile" ; "make" ; "make install" ] sequence - everything seem ok and working on fedora but when deployed to Airlive it does not work. The shell just says "command not found". It seems to me that I miss some libraries on Airlive as compared to Fedora. According to ldd on fedora there are dependencies to /lib directory, I thought that the only dependencies should point to /opt/i386-linux/lib if everything was ok.

I feel lost a bit, sorry for maybe totally stupid or wrong question, could you, please, describe how you cross-build and especially deploy the binaries? I am doing it by hand now and I am sure it is the most stupid way to do so. Or in case there is some general tutorial on web, I would be thankful for a link.

Thanks in advance and thank you very much for what you have done so far.

Filodej
Logged

Filodej's Linux groping:
http://filodej.blogspot.com/
Ernst
Newbie
*
Offline Offline

Posts: 20


View Profile
« Reply #190 on: April 16, 2008, 20:00:26 PM »

Hi JKR,
first of all I want to thank you for your effort, about month ago I have installed the dd-wrt to my linksys router (with some addons from optware) and later on I wondered if there is something similar for my Airlive. Now thanks to you and your know-how I have a small linux farm at my home Wink

I am using several your addons (I was especially pleased by the python distribution) and migrate apps from Linksys router to Airlive, since I think it makes much more sense. Sorry for wasting your time, but I feel that instead of demanding more and more pre-built addons from you I would prefer to build my own now.

I have some (basic) linux background but I have no experience with cross-compiling at all. To start somewhere, I have followed the instructions "building_the_firmware" (here
http://www.macsat.com/macsat/component/option,com_openwiki/Itemid,66/id,building_the_firmware), It seem to work for me (more or less), but maybe I miss something important (e.g. I am using the MGB100 toolchain since I have not found any for MGB111).

I am trying to compile (e.g. subversion 1.4.6) on VMWare Fedora 4 distro. When I make the [ "./configure" ; "add include to Makefile" ; "make" ; "make install" ] sequence - everything seem ok and working on fedora but when deployed to Airlive it does not work. The shell just says "command not found". It seems to me that I miss some libraries on Airlive as compared to Fedora. According to ldd on fedora there are dependencies to /lib directory, I thought that the only dependencies should point to /opt/i386-linux/lib if everything was ok.

I feel lost a bit, sorry for maybe totally stupid or wrong question, could you, please, describe how you cross-build and especially deploy the binaries? I am doing it by hand now and I am sure it is the most stupid way to do so. Or in case there is some general tutorial on web, I would be thankful for a link.

Thanks in advance and thank you very much for what you have done so far.

Filodej

Not JKR here  Wink but I guess that when you compile the Fedora system still uses the native GCC compiler; i.e. you are not cross compiling at all. If you run the compiled program on Fedora does it work? It shouldn't work but give you an error like 'Bad ELF interpreter'. If the compiled program works under Fedora then you have not cross-compiled it!

For cross compiling you need to export some system settings that tell most Makefiles what compiler to use, what libraries etc...

For the MGB100 the following works fine:

---

export CC = i386-linux-uclibc-cc
export CXX = i386-linux-uclibc-c++
export LD = i386-linux-uclibc-ld
export AR = i386-linux-uclibc-ar
export AS = i386-linux-uclibc-as
export STRIP = i386-linux-uclibc-strip
export RANLIB = i386-linux-uclibc-ranlib
export NM = i386-linux-uclibc-nm
export CFLAGS='-I/opt/i386-linux/include -Os'
export LDFLAGS=-L/opt/i386-linux/lib
export OBJCOPY = i386-linux-uclibc-objcopy
export OBJDUMP = i386-linux-uclibc-objdump
export ARCH=i386
export CROSS_COMPILE=/opt/i386-linux/bin/i386-linux-uclibc-
export PATH=/opt/i386-linux/bin:$PATH

---

Put this in a text file (called for instance 'cc-settings' on your Fedora system and from the system prompt - before compiling - enter:

source cc-settings

This command will make these settings global.

Also keep in mind that most Makefiles tend to set their own variables, so check the Makefile and make sure that it doesn't contain a setting like:

CC=GCC

because that will set the compiler back to the native compiler...

Also check in the Makefile for the setting of the LD variable. Some Makefiles set it back to the wrong set of libraries.

With me most of the times it helps to just comment out any setting for CC, LD, RANLIB, CFLAFGS and LDFLAGS.

(LD is the linux linker.)

Hope this helps.

Ernst

(Who struggled with this also but has compiled some apps, but not so many as JKR; it is amazing that something like Python can be made to work on this small box.)

Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #191 on: April 16, 2008, 20:37:04 PM »

did someone managed to have some php server running on the device? this is the last thing i need to use my nas as a medias server with my tv box (it uses http and php with some special script from a french internet provider).

I did try but no success...
Logged
Slawek
Guest
« Reply #192 on: April 17, 2008, 10:59:34 AM »

kael: apache with php5 already exist (-;


fidolej: ernst already explained you, but better he is build  full uclibc system and use native compilation (or something). cross compile it is terrible work.
i remember because i used before (;
« Last Edit: April 17, 2008, 11:11:24 AM by JKR » Logged
Kael
Jr. Member
**
Offline Offline

Posts: 73


View Profile
« Reply #193 on: April 17, 2008, 12:34:48 PM »

@JKR : yes i've tried but does not work, but this probably is somthing else than the php itself... i'll check another solution with lighttpd and fastcgi.
Logged
locke85
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #194 on: April 17, 2008, 14:41:33 PM »


EDIT: I compiled ushare with the xbox360 support, unfortunately without DLNA for ps3
available in addons.

Code:
$ ushare -p 50001 -c /mnt/C/pub/filmy/ -i br0 -x -t
uShare (version 1.1a), a lightweight UPnP A/V and DLNA Media Server.
Benjamin Zores (C) 2005-2007, for GeeXboX Team.
See http://ushare.geexbox.org/ for updates.
Initializing UPnP subsystem ...
Starting in XboX 360 compliant profile ...
UPnP MediaServer listening on 10.100.1.71:50001
Sending UPnP advertisement for device ...
Listening for control point connections ...
Building Metadata List ...
Looking for files in content directory : /mnt/C/pub/filmy/
Found 5 files and subdirectories.

Any chance you can share the compiled ushare as a zip-file?

Thanks, locke85
Logged
Pages: 1 ... 11 12 [13] 14 15 ... 32   Go Up
  Print  
 
Jump to:  

English Steel 1.6 © Saxon North Technologies
Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.132 seconds with 25 queries.