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 ... 156, 157, 158, 159  Next
Author Message
justhaveaq
DD-WRT Novice


Joined: 11 Nov 2012
Posts: 4

PostPosted: Wed Nov 14, 2012 1:29    Post subject: Reply with quote
Hi,

So I've installed optware and upgraded to samba 3.5 and enabled xinetd. I simply cannot get Win7 to detect my usb-hdd in the network or homegroup tab. Please help me! I think this may have something to do with setting up CIFS.


Router: Netgear WNR3500v2/U/L
dd-wrt: DD-WRT v24-sp2 (08/12/10) mega - build 14929
Win7 sp1

SAMBA
version: 3.5.19

# Samba config file created using SWAT
# from UNKNOWN (192.168.1.138)
# Date: 2012/11/13 19:32:12

[global]
workgroup = WORKGROUP
interfaces = 192.168.1.1/255.255.255.0
security = SHARE

[Optware]
path = /opt
force user = root
read only = No
guest ok = Yes

[Public]
path = /mnt
force user = root
read only = No
guest ok = Yes
Sponsor
kingdruid
DD-WRT User


Joined: 22 Nov 2009
Posts: 74

PostPosted: Thu Nov 15, 2012 16:06    Post subject: Reply with quote
What is currently the best router to use with Optware? I'm planning on running a newsgroup leecher and SAMBA.
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1555
Location: Zwolle

PostPosted: Thu Nov 15, 2012 22:04    Post subject: Reply with quote
kingdruid wrote:
What is currently the best router to use with Optware? I'm planning on running a newsgroup leecher and SAMBA.

Now, I am satisfied with E3000 and E4200, but for heavy newsgroups downloads a router can be too weak to handle huge downloads. Repairing downloads with par2 puts a heavy load on processor and disk, besides disks connected via USB don't perform fast enough for handling good huge downloads. I only let NZBget do the work if downloading mp3s or flacs for my media player, but I generally don't use it if they are packed with WinRAR.

_________________
2 times APU2 Opnsense 21.1 with Sensei

2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)

3 times Asus RT-N16 shelved

E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)

3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)


kingdruid
DD-WRT User


Joined: 22 Nov 2009
Posts: 74

PostPosted: Sat Nov 17, 2012 1:41    Post subject: Reply with quote
slobodan wrote:
kingdruid wrote:
What is currently the best router to use with Optware? I'm planning on running a newsgroup leecher and SAMBA.

Now, I am satisfied with E3000 and E4200, but for heavy newsgroups downloads a router can be too weak to handle huge downloads. Repairing downloads with par2 puts a heavy load on processor and disk, besides disks connected via USB don't perform fast enough for handling good huge downloads. I only let NZBget do the work if downloading mp3s or flacs for my media player, but I generally don't use it if they are packed with WinRAR.


Yeah it would be nice if it supported the RT-N66U.
justhaveaq
DD-WRT Novice


Joined: 11 Nov 2012
Posts: 4

PostPosted: Sat Nov 17, 2012 5:15    Post subject: Reply with quote
Nobody can help me (three posts up) ? Sad

I've worked really hard trying to make this work and I'm stuck. Any hints or clues would be gold.
Chesley
DD-WRT Novice


Joined: 17 Nov 2012
Posts: 2

PostPosted: Sat Nov 17, 2012 20:03    Post subject: pound startup fails to set required iptables rules ... Reply with quote
The router information I'm configuring is:
Router Model: Linksys E3000
Firmware Version: DD-WRT v24-sp2 (07/20/12) mega - build 19519

Optware (OTRW) is installed and running w/o issues on a 4GB memory stick, primarily so I can use pound to access multiple web-servers sitting behind the router. Upon rebooting the router or on stopping then restarting pound from a cmdline prompt by telneting into the router, the S80pound generated iptables rules (stored in /opt/etc/iptables.pound and activated by a link stored in /tmp/etc/config/pound.wanup) are not activated. Inspection of the S80pound script provided by Frater (thanks for all you do on this project) finds a 'stopservice firewall' / 'startservice firewall' sequence in lines 153/154. Clearly, these two lines are the method by which the newly created iptables rules are supposed to be activated, but that doesn't happen. To take the troubleshooting one step further, these two commands were executed from the cmdline. Execution of the second command produces the most interesting response: "Permission denied", in reference to the /tmp/etc/config/pound.wanup link. Permissions set on the 'fixtables.wanup' and 'pound.wanup' links are identical as are permissions on the actual files to which the links point. Issuing the command:

iptables -L | grep 8080

produces no output, indicating that no rule has been set in iptables redirecting port 80 traffic to port 8080, as required by 'pound'. Additional possibly helpful output is shown below.

root@henry:~# iptables -L | grep 8080
root@henry:~# stopservice firewall
root@henry:~# startservice firewall
/bin/sh: /tmp/etc/config/pound.wanup: Permission denied
root@henry:~# ls -la /tmp/etc/config/
total 0
drwxr-xr-x 2 root root 0 Nov 17 14:06 .
drwx------ 3 root root 0 Nov 17 14:05 ..
lrwxrwxrwx 1 root root 24 Nov 17 14:06 fixtables.wanup -> /opt/etc/fixtables.wanup
lrwxrwxrwx 1 root root 23 Nov 17 14:05 pound.wanup -> /opt/etc/iptables.pound
root@henry:~# ls -la /opt/etc
total 1592
drwxr-xr-x 14 root root 4096 Nov 17 14:10 .
drwxr-xr-x 19 root root 4096 Nov 15 22:01 ..
drwxr-xr-x 3 root root 4096 Nov 15 21:51 asterisk
-rw-r--r-- 1 root root 98 Nov 17 14:10 automount
-rw-r--r-- 1 root root 174 Nov 15 21:48 exports
-rwxr-xr-x 1 root root 5697 Nov 17 14:06 fixtables.wanup
-rw-r--r-- 1 root root 15 Nov 15 22:04 hackers
drwxr-xr-x 2 root root 4096 Nov 17 12:01 init.d
-rw-r--r-- 1 root root 251 Feb 18 2012 ipkg.conf
-rwxr-xr-x 1 root root 292 Nov 17 14:05 iptables.pound
-rw-r--r-- 1 root root 1551 Nov 15 21:46 ld.so.cache
-rw-r--r-- 1 root root 0 Nov 15 21:46 ld.so.conf
drwxr-xr-x 3 root root 4096 Feb 23 2012 lighttpd
drwxr-xr-x 2 root root 4096 Nov 15 21:57 mc
-rw-r--r-- 1 root root 801 Feb 16 2012 mke2fs.conf
drwxr-xr-x 2 root root 4096 Feb 16 2012 named
-rw-r--r-- 1 root root 0 Nov 17 14:10 nomount
-rw-r--r-- 1 root root 38613 Nov 15 21:55 nzbget.conf
-rw-r--r-- 1 root root 104 Feb 16 2012 p910nd
drwxr-xr-x 2 root root 4096 Feb 23 2012 php.d
-rw-r--r-- 1 root root 38759 Feb 23 2012 php.ini
drwxr-xr-x 2 root root 4096 Nov 15 21:52 pixelserv
drwxr-xr-x 2 root root 4096 Nov 16 06:11 pound
-rw-r--r-- 1 root root 184 Feb 16 2012 profile
drwxr-xr-x 2 root root 4096 Nov 15 22:03 samba
-rw-r--r-- 1 root root 14039 Feb 16 2012 siproxd.conf.example
-rw------- 1 root root 291 Feb 16 2012 siproxd_passwd.cfg
-rw-r--r-- 1 root root 1437 Feb 23 2012 slsh.rc
-r--r----- 1 root root 2857 May 19 07:13 sudoers
drwxr-xr-x 2 root root 4096 Nov 15 22:01 sudoers.d
-rw-r--r-- 1 root root 1391457 Feb 18 2012 termcap
-rw-r--r-- 1 root root 4524 Nov 15 21:57 vsftpd.conf
-rwxr-xr-x 1 root root 4499 Feb 16 2012 wgetrc
-rwxr-xr-x 1 root root 434 Feb 16 2012 xinetd.conf
drwxr-xr-x 2 root root 4096 Nov 15 21:57 xinetd.d
drwxr-xr-x 2 root root 4096 Feb 5 2011 zabbix
root@henry:~# stopservice firewall
root@henry:~# startservice firewall
/bin/sh: /tmp/etc/config/pound.wanup: Permission denied
root@henry:~#

A temporary workaround for this issue is to manually invoke the iptables.pound rules from the command line, but of course, this requires doing a telnet or ssh login to the router after each reboot. Does anyone have a suggested permanent solution?

Sorry for the length of this message, but giving the gurus all the details seemed to be important. Thanks for your help and for your time reading this long missive.
basmaf
DD-WRT Guru


Joined: 24 Feb 2011
Posts: 1074

PostPosted: Sat Nov 17, 2012 22:52    Post subject: Reply with quote
the shebang is missing in the wanup files

Update your installation with my scripts from take 2 in my sig
I have updated the scripts.
lkadlcek
DD-WRT Novice


Joined: 18 Nov 2012
Posts: 1

PostPosted: Sun Nov 18, 2012 6:42    Post subject: Downgrading Transmission client Reply with quote
Hello everybody, I searched everywhere I could for a guide how to downgrade the client to version 2.42 or lower, but I could not find anything. I am quite new to optware or linux in general, so I apologize if this is a basic thing to do, but I would be ecstatic if any of you could point me in the right direction on how to do this. Thank you
Chesley
DD-WRT Novice


Joined: 17 Nov 2012
Posts: 2

PostPosted: Sun Nov 18, 2012 22:25    Post subject: Pound startup fails to set required iptables rules ... Reply with quote
basmaf, thank you for the explanation about the missing shebang being the cause for the "Permission denied." error in the script to start the 'pound' service. Your updated OTRW Take2 script worked well, and 'pound' is now running without issues on my E3000. Thanks for your help.
ApolloTN
DD-WRT Novice


Joined: 24 Oct 2012
Posts: 10

PostPosted: Mon Nov 26, 2012 16:24    Post subject: uShare/DLNA on Optware 2.6 kernal Reply with quote
Any update on getting uShare or another media server working with Optware on the 2.6 Kernal? I think there are tons of people out there who really want DLNA support for their external USB drives. (like me)

Otherwise, I have so far loved having Optware. Learning some Linux along the way also is giving me some good experience.
slobodan
DD-WRT Guru


Joined: 03 Nov 2011
Posts: 1555
Location: Zwolle

PostPosted: Mon Nov 26, 2012 17:47    Post subject: Re: uShare/DLNA on Optware 2.6 kernal Reply with quote
ApolloTN wrote:
Any update on getting uShare or another media server working with Optware on the 2.6 Kernal? I think there are tons of people out there who really want DLNA support for their external USB drives. (like me)

Otherwise, I have so far loved having Optware. Learning some Linux along the way also is giving me some good experience.

You could try this: use the firmware mod kit and rip minidlna from Kong's firmware. You save it under /opt/bin , you make a minidlna.conf and you call it with minidlna -f /opt/etc/minidlna.conf .

_________________
2 times APU2 Opnsense 21.1 with Sensei

2 times RT-AC56U running DD-WRT 45493 (one as Gateway, the other as AP, both bridged with LAN cable)

3 times Asus RT-N16 shelved

E4200 V1 running freshtomato 2020.8 (bridged with LAN cable)

3 times Linksys WRT610N V2 converted to E3000 and 1 original E3000 running freshtomato 2020.8 (bridged with LAN cable)


brock.travis
DD-WRT User


Joined: 22 May 2011
Posts: 51

PostPosted: Sun Dec 02, 2012 15:26    Post subject: Reply with quote
Is there any updated documentation on what all the services are used for? The Wiki seems out of date.
_________________
2x e3000 on 15962
lawleo
DD-WRT Novice


Joined: 17 Sep 2011
Posts: 25

PostPosted: Sat Dec 15, 2012 1:58    Post subject: optware install script not work anymore Reply with quote
I use belkin play n600 router, running 19xxx firmware and optware without any problem...

just update the firmware to 20202 and find that the optware install script not work any more... it keep stopping in some "pidof xxx" step or "mv ..." command...

any ways to make it work again or what's there? I delete all /opt and try to install again.. still the same.

_________________
Belkin N600 Play Max HD F7D4301v1
wabe
DD-WRT Guru


Joined: 17 Jun 2006
Posts: 889

PostPosted: Sat Dec 15, 2012 14:50    Post subject: Reply with quote
Later builds seem to break Optware. Check out the OTRW2 thread.
Nobody123
DD-WRT Novice


Joined: 12 Dec 2012
Posts: 5

PostPosted: Thu Dec 27, 2012 16:21    Post subject: S80Samba and smb.conf Reply with quote
Hello, I managed to get Optware on my E3200, but when I was updating from Samba2 to Samba3 in accidently deleted S80Samba and smb.conf. Could anyone please upload those files from Samba2, so I can get my Samba running? Very Happy
Thanks in advance

EDIT:Nevermind, got it. But max speed I am able to get is 3MB/s when copying file from PC to USB disk connected to my E3200.Is this maximum or can I somehow speed things up a little bit?
Goto page Previous  1, 2, 3 ... 156, 157, 158, 159  Next Display posts from previous:    Page 157 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