thank you very much for that tutorial!
but I have 3 questions about the post-boot file.
1 -> can somebody explain what actually this code does ? :
2->and this ?Code:#Wait for /opt to mount mount /dev/discs/disc0/part1 /opt i=0 while [ $i -le 30 ] do if [ -d /opt/etc ] then break fi sleep 1 i=`expr $i + 1` done
my partition of my harddrive is mounted in /optCode:# Run all active services - active means starts with S /opt/etc/init.d/rc.unslung
so I guess the directory "init.d" does not exist ?
and the file "rc.unslung" does not exist?
3-> how can we check that EVERYTHING that is in the post-boot file has been executed correctly?
Thanks for your precious help!
1. it waits for some time until /opt is really mounted. Otherwise the last line will not be executed
2. actually it runs all active services located in /opt/etc/init.d --- active means starts with S
/opt/etc/init.d/SXX* files are installed when you install packages which require to be started during boot
Both unslung.rc and SXX* files are just scripts, so you can check their content and what they are doing
3. put line
echo "blah" > /tmp/log
or
mount > /tmp/log
or whatever you want to check in any place of the post-boot file and check the result
tried to follow the manual
Samba is working I can browse the drives from windows. But I cannot acces the torrent.cgi script through the web interface.
http://192.168.1.1:8008/cgi-bin/torrent.cgi
gives unable to connect (gave a pink screen with file not found before)
http://192.168.1.1:901/
for Samba also does not work
I gave the hostname in the web interface the name: myasus
mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/discs/disc0/part1 on /opt type ext3 (rw)
free
total used free shared buffers
Mem: 30116 27468 2648 0 5524
Swap: 524276 0 524276
Total: 554392 27468 526924
I also have the idea that torrent is not working, do I have to set open a NAT port ? How do I do this for the modem itself ?
torrent_admin -l does list my torrents, but nld says everything zero
I have noticed that manually executing the line in post-mount does give me acces to the torrent web interface cgi. Torrent also downloads, but is ver slow, I expect it is working in passive mode
Samba does work, but is not configureable through the web interface. netstat -nl also indicates nothing is listening on port 901
Last edited by modelamark; 19-05-2007 at 14:49.
I have the same problem. Did you manage to fix that ? I also cannot control samba through a web interface.
Does your torrents also run slow ? Did you have to open a port to get it in active mode ? did you have to fill in your IP address somewhere ?
Copying a set of files to ext3 mount (mounted with ext2volume manager) directly to my PC I get frequent messages that insufficient resources are available. DOcs says 255 bytes is the maximum file namesize, but is that including or excluding the path ?
Last edited by modelamark; 20-05-2007 at 17:17.
Hi!
I have a problem with torrent.![]()
The download does not start.
Everytime i got the following message in the log:
Unable to find recent transfer stats in syslog
10:26:20 up 12 min, load average: 0.00, 0.02, 0.00
Is there anybody who can help me out?
Fox
Last edited by Fox_Green; 28-05-2007 at 09:28.
I modyfied the orginal HDD mounting script because it not work correct.
This is my post-boot file:
In /tmp directory are created additionally logs filesCode:#!/bin/sh #loop for /opt to mount i=0 while [ $i -le 30 ] do # waiting to detect hdd if [ -b /dev/scsi/host0/bus0/target0/lun0/part1 ] then break fi sleep 1 echo "${i}" >> /tmp/mount_ticks i=$((i + 1)) done # Mount partition 1 as /opt mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt 2>/tmp/mount_opt # # Mount partition 5 as swap swapon /dev/scsi/host0/bus0/target0/lun0/part5 2>/tmp/mount_swap
I noticed that as soon as you put the post-boot in with the mounts, stupid_ftp dies, both with this latest post-boot as the original
harddisk seems to be mounted on /tmp/harddisk before post-boot remounting it probably causing the problem
trying to connect with ftp gives the message
500 OOPS:vsftpd: not found: directory given in 'secure_chroot_dir':/opt/usr/share/empty
500 OOPS: child died
vsftpd is on the expected place and the secure_chroot_dir var points to directory that seems to exist
...
strange, fixed the problem by first using directory /opt followed by /opt/usr and it kept working all the way up to the empty.
I have a low drive speed (usb 2.0, ext3, 700 kbyte/s). I first thought it was Samba, but it also turned up with ftp and while connecting the drive directly to my PC and mounting it with ext2 linux partition mounting program. The disk speed mentioned is 480Mbps, limited by USB2.0 60 MB/s
Last edited by modelamark; 31-05-2007 at 20:17.
Hi,
I've installed Oleg's latest firmware with Transmission. I have several problems.
1) Internet speed to my clients will be slow within 1 hr. I discovered that this can be solved by removing all torrents in Transmission. So I suppose that this is a Transmisson problem.
2) The max speed of downloading torrents I achieved with Transmission is only 10kB/s. Can anyone tell me where I've gone wrong ? Perhaps this is because Transmission does not have protocol encryption and my ISP throttle BT speed.
3) I cannot connect to internet if I turn off and turn on wl-500gP no matter what I do. I've tried using the web-based connect button, rebooting the router, turn off and on my modem, etc. Nothing works, unless I reflash the firmware.
4) My wireless client cannot connect to the internet. It says IP address cannot be refreshed.
If anyone knows the answers to my problems, please help.
Thanks !
gnesha
It is my first time that I write in a forum. I do not possess great knowledge in Linux. But when I executed the following command gave the following error. If to be able to help me it was thankful.
$ mkdir /opt/tmp
mkdir: Cannot create directory `/opt/tmp': Read-only file system
Hello,
New to forum, linux-type things, etc.
Problem:
I set up Oleg, HDD, Samba - everything OK
Then I set up ctorrent -> I suddenly lost access to "muzik"-folder on my HDD. RW-rights just vanished, and the strangest thing, I can still access my "video"-folder. I've tried to regain the rights but folder stays in "permission denied"-mode. I tried searching & googling, but no real results since I'm new to linux.
Could someone show me some pointers as I'm getting desperate: that USB-HDD is the only place I have that music!
Thanks in advance,
Tor
I have everything working except torrent. It explains
btget: can't load library 'libcrypto.so.0.9.7'
can't find a package that is in the ipkg list
ipkg install -force-reinstall openssl
seems to solve this
Last edited by modelamark; 12-07-2007 at 22:06.
hello i'm trying to install last oleg firmware but i have too heavy problem
mkdir /opt/tmp
mkdir /opt/tmp/ipkg
ipkg.sh update
ipkg.sh install ipkg
ipkg update
ipkg.sh update when i try to make this command i received an error. can't download the content. why? where is the file to edit and convert dns to specify ip. thanks.
i make every passage before this, is normal that, if i put free on telnet result
0 on swap ?
strange, i make 500 mb of swap file.
thanks for help.
Great tutorial, I've used it with success up to the part where Samba and Transmission needed to be installed.
I get an error when trying to install Transmission (ipkg install Transmission), saying the file is not found. Where is it? And how do I install it then?
Pierre