Optware, the right way

Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2, 3 ... 154, 155, 156, 157, 158, 159  Next
Author Message
Bird333
DD-WRT Guru


Joined: 07 Jun 2006
Posts: 809

PostPosted: Fri Apr 27, 2012 2:10    Post subject: Reply with quote
basmaf wrote:
Bird333 wrote:
basmaf: Can you see if anything can be done about pixelserv slowing down the loading of some webpages? Some sites I go to take an incredible amount of time to load (if ever) when pixelserv is started.


I'm using pixelserv as is.
I don't experience any extreme delays but will check if i can find something

Can you give me some example websites?
Thanx
basmaf


http://forums.anandtech.com is one. I can't think of another right now.
Sponsor
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Fri Apr 27, 2012 14:22    Post subject: Reply with quote
Bird333 wrote:
basmaf wrote:
Bird333 wrote:
basmaf: Can you see if anything can be done about pixelserv slowing down the loading of some webpages? Some sites I go to take an incredible amount of time to load (if ever) when pixelserv is started.


I'm using pixelserv as is.
I don't experience any extreme delays but will check if i can find something

Can you give me some example websites?
Thanx
basmaf


http://forums.anandtech.com is one. I can't think of another right now.

I am running pixelserv.. I clicked on your link and the page loaded right up. I have been running xinetd & pixelserv for only a couple of weeks and I have not noticed any page loading lags at all.

_________________
[Moderator Deleted] Shocked
anees.sw
DD-WRT User


Joined: 17 Sep 2010
Posts: 267
Location: India

PostPosted: Wed May 09, 2012 16:41    Post subject: Reply with quote
anyone have cups working on ddwrt?
GH0
DD-WRT User


Joined: 05 Dec 2008
Posts: 249

PostPosted: Sat Jun 09, 2012 21:03    Post subject: Reply with quote
So having finally gotten a usb drive with ext2 mounted in DD-WRT. The only problem I have is that it wasn't done using the web gui, so it was manually mounted.

So I have attempted to do the following:
Quote:


root@Dark-Knight:/dev/scsi/host0/bus0/target0/lun0# mount /dev/discs/disc1/part1 /opt
root@Dark-Knight:/dev/scsi/host0/bus0/target0/lun0# mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
ramfs on /tmp type ramfs (rw)
devpts on /dev/pts type devpts (rw)
devpts on /proc/bus/usb type usbfs (rw)
/dev/discs/disc1/part1 on /opt type ext2 (rw)
root@Dark-Knight:/dev/scsi/host0/bus0/target0/lun0# cd /opt
root@Dark-Knight:/opt# ls
root@Dark-Knight:/opt# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 6.3M 6.3M 0 100% /
/dev/root 6.3M 6.3M 0 100% /
/dev/discs/disc1/part1
509.5M 408.0K 483.2M 0% /opt
root@Dark-Knight:/opt# wget -O /tmp/prep_optware http://wd.mirmana.com/prep_optware
Connecting to wd.mirmana.com (212.123.145.69:80)
root@Dark-Knight:/opt# sh /tmp/prep_optware
/tmp/prep_optware
Written on: Fri Apr 22 17:08:38 CEST 2011
Sat Jun 9 16:37:50 UTC 2012
If you're giving feedback, please post the version as well




This will take a while!
If you need to do some shopping.... do it now! Wink

I'm unable to create the directory /opt/etc/init.d Check your config
root@Dark-Knight:/opt# ls -l /opt
root@Dark-Knight:/opt# ls -l /
drwxr-xr-x 2 root root 547 Jun 8 00:23 bin
drwxr-xr-x 1 root root 0 Jan 1 1970 dev
drwxr-xr-x 11 root root 637 Jun 8 00:23 etc
drwxr-xr-x 2 root root 3 Jun 8 00:22 jffs
drwxr-xr-x 3 root root 569 Jun 8 00:22 lib
drwxr-xr-x 2 root root 3 Jun 8 00:22 mmc
lrwxrwxrwx 1 root root 7 Jun 8 00:22 mnt -> tmp/mnt
drwxr-xr-x 3 root root 4096 Jun 9 03:56 opt
dr-xr-xr-x 51 root root 0 Jan 1 2000 proc
drwxr-xr-x 2 root root 1042 Jun 8 00:22 sbin
drwxr-xr-x 10 root root 0 Jan 1 2000 sys
drwxrwxrwx 10 root root 0 Jun 9 16:37 tmp
drwxr-xr-x 7 root root 76 Jun 8 00:22 usr
lrwxrwxrwx 1 root root 7 Jun 8 00:22 var -> tmp/var
drwxr-xr-x 3 root root 63 Jun 8 00:21 www
root@Dark-Knight:/opt# wget -O /opt/tmp/prep_optware http://wd.mirmana.com/prep_optwar
e
Connecting to wd.mirmana.com (212.123.145.69:80)
root@Dark-Knight:/opt# sh /opt/tmp/prep_optware
sh: can't open '/opt/tmp/prep_optware'
root@Dark-Knight:/opt#


Would anyone be able to help me with this?
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Sat Jun 09, 2012 21:37    Post subject: Reply with quote
try again.. this time, send the prep_optware file to /tmp.. not /opt/tmp

I just finished installing it clean..

wget -O /tmp/prep_optware http://wd.mirmana.com/prep_optware

sh /tmp/prep_optware

_________________
[Moderator Deleted] Shocked
GH0
DD-WRT User


Joined: 05 Dec 2008
Posts: 249

PostPosted: Sat Jun 09, 2012 21:54    Post subject: Reply with quote
Quote:


root@Dark-Knight:~# wget -O /tmp/prep_optware http://wd.mirmana.com/prep_optware

Connecting to wd.mirmana.com (212.123.145.69:80)
root@Dark-Knight:~# sh /tmp/prep_optware
/tmp/prep_optware
Written on: Fri Apr 22 17:08:38 CEST 2011
Sat Jun 9 17:53:20 UTC 2012
If you're giving feedback, please post the version as well




This will take a while!
If you need to do some shopping.... do it now! Wink

I'm unable to create the directory /opt/etc/init.d Check your config
root@Dark-Knight:~#


It's an issue with manually mounting, as can be seen here at the end of the file:
<omit>


Last edited by GH0 on Fri Mar 08, 2013 17:03; edited 1 time in total
barryware
DD-WRT Guru


Joined: 26 Jan 2008
Posts: 13049
Location: Behind The Reset Button

PostPosted: Sat Jun 09, 2012 22:01    Post subject: Reply with quote
well then.. straighten out your mount problems.. There is no issue with otrw.. As said.. just finished a clean install
_________________
[Moderator Deleted] Shocked


Last edited by barryware on Fri Mar 08, 2013 17:17; edited 1 time in total
GH0
DD-WRT User


Joined: 05 Dec 2008
Posts: 249

PostPosted: Sat Jun 09, 2012 22:12    Post subject: Reply with quote
Well, thats the problem, the GUI fails to work, so I am having to do it manually, and I am not so good with the manual mounting and configuration of USB Devices.

To be honest, I think this is more than a bug than anything else, considering the drive is mounted as rw. I have been trying to get this to work for quite some time, just never really bothered creating any posts/threads on the forums for it.

If you would like to help me figure it out:
http://www.dd-wrt.com/phpBB2/viewtopic.php?t=155565

Please go to that thread.
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Wed Jun 20, 2012 11:44    Post subject: Reply with quote
Other ticket was created for mount issues with Asus RT-N66U
Please check http://svn.dd-wrt.com/ticket/2598
tadc
DD-WRT Novice


Joined: 29 Nov 2010
Posts: 4

PostPosted: Sat Jul 21, 2012 6:48    Post subject: automount issues Reply with quote
Forgive me if this should be in its own thread...

Just installed Optware and it seemed to go swimmingly, but my /dev/sda3 data partition won't automount.
Interestingly I am able to mount it just fine by hand.

Automount throws these interesting errors:
Code:
root@dolesman:/opt/etc# service automount status
cannot touch `/opt/etc/nomount': Input/output error
S35automount: Create /opt/etc/automount
cannot touch `/opt/etc/automount': Input/output error
I can not write /opt/etc/automount, abort

When I look at /opt/etc I see this:
Code:
root@dolesman:/opt/etc# ls -la
cannot access nomount: Input/output error
cannot access automount: Input/output error
total 1506
drwxr-xr-x 13 root root    1024 Jul 20 23:20 .
drwxr-xr-x 19 root root    1024 Jul 20 22:09 ..
drwxr-xr-x  3 root root    2048 Jul 20 21:56 asterisk
??????????  ? ?    ?          ?            ? automount
-rw-r--r--  1 root root     844 Feb 17 00:38 colordiffrc
-rw-r--r--  1 root root     174 Jul 20 21:54 exports
-rwxr-xr-x  1 root root    5730 Jul 20 23:20 fixtables.wanup
-rw-r--r--  1 root root      15 Jul 20 22:12 hackers
drwxr-xr-x  2 root root    2048 Jul 20 22:12 init.d
-rw-r--r--  1 root root     251 Feb 18 06:58 ipkg.conf
-rw-r--r--  1 root root    1551 Jul 20 21:53 ld.so.cache
-rw-r--r--  1 root root       0 Jul 20 21:53 ld.so.conf
drwxr-xr-x  3 root root    1024 Feb 23 12:14 lighttpd
drwxr-xr-x  2 root root    1024 Jul 20 22:00 mc
-rw-r--r--  1 root root     801 Feb 16 07:13 mke2fs.conf
drwxr-xr-x  2 root root    1024 Feb 16 04:36 named
??????????  ? ?    ?          ?            ? nomount
-rw-r--r--  1 root root   38613 Jul 20 21:59 nzbget.conf
-rw-r--r--  1 root root     104 Feb 16 14:44 p910nd
drwxr-xr-x  2 root root    1024 Feb 23 12:06 php.d
-rw-r--r--  1 root root   38759 Feb 23 12:06 php.ini
drwxr-xr-x  2 root root    1024 Jul 20 21:57 pixelserv
-rw-r--r--  1 root root     184 Feb 16 04:25 profile
drwxr-xr-x  2 root root    1024 Jul 20 21:57 samba
-rw-r--r--  1 root root   14039 Feb 16 18:51 siproxd.conf.example
-rw-------  1 root root     291 Feb 16 18:51 siproxd_passwd.cfg
-rw-r--r--  1 root root    1437 Feb 23 12:18 slsh.rc
-r--r-----  1 root root    2857 May 19 07:13 sudoers
drwxr-xr-x  2 root root    1024 Jul 20 22:09 sudoers.d
-rw-r--r--  1 root root 1391457 Feb 18 06:35 termcap
-rw-r--r--  1 root root    4524 Jul 20 22:00 vsftpd.conf
-rwxr-xr-x  1 root root    4499 Feb 16 22:07 wgetrc
-rwxr-xr-x  1 root root     434 Feb 16 22:13 xinetd.conf
drwxr-xr-x  2 root root    1024 Jul 20 22:16 xinetd.d
drwxr-xr-x  2 root root    1024 Feb  5  2011 zabbix

My apologies as I am barely literate in *nix... what's up with all the ??????? where the file permissions belong? Is this related to my automount issue? Any suggestions?

Thanks.
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sat Jul 21, 2012 7:20    Post subject: Reply with quote
Which build on which router?
I have seen these issues on some K24 newd build..

Stop automount
delete the 2 files and start automount.

input / output errors because files can't be read
recreating might solve your problems.
tadc
DD-WRT Novice


Joined: 29 Nov 2010
Posts: 4

PostPosted: Sat Jul 21, 2012 17:08    Post subject: Reply with quote
Code:
DD-WRT v24-sp2 big (c) 2010 NewMedia-NET GmbH
Release: 11/21/10 (SVN revision: 15778)
Enhanced with OTRW


Why 15778? Because that's what I flashed a year or two ago, not knowing any better, and it seems to be working well so I'm afraid to change. Smile

Thanks for the advice, this seems to have fixed it! FYI Automount wouldn't stop(same errors), I had to set it to off and reboot before I could delete the files.

In hindsight I think the root of the problem was I had a corrupted FS on sda3... the first time I manually mounted it I got some funny errors and ended up doing an fsck, which changed "something".

Incidentally I'm using a generic USB SD reader and 2GB SD card for this... I wonder if that's a bad idea?

Thanks again for your reply.
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sat Jul 21, 2012 17:39    Post subject: Reply with quote
A sd card is no problem there is even a wiki for a sd mod Wink
If it ain't broke, don't fix it Cool
Spy king
DD-WRT Novice


Joined: 12 Apr 2009
Posts: 25

PostPosted: Sat Oct 13, 2012 17:06    Post subject: Double /opt Reply with quote
Hey,

I am running DD-WRT v24-sp2 (07/20/12) big
(SVN revision 19519) on a belkin N600

I just finished partitioning a 4Gb pen drive into the following

1Gb ext2 - Optware
512Mb swap
rest ext2 - Data

I then used auto mount and then installed OTRW.

I then noticed that /opt is mounted twice, and my data partition is mounted in /tmp/mnt and not /mnt.

after a bit of googling around, I found the following
http://www.dd-wrt.com/phpBB2/viewtopic.php?p=656298

but, when I try umount /opt, I get a "Device is busy" error.

My ultimate aim is to add another HDD to my router and use transmission to download to that.
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sun Oct 14, 2012 7:25    Post subject: Reply with quote
Use:
umount -l
Goto page Previous  1, 2, 3 ... 154, 155, 156, 157, 158, 159  Next Display posts from previous:    Page 155 of 159
Post new topic   This topic is locked: you cannot edit posts or make replies.    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum