WRT350n v1 How configure USB storage

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page 1, 2, 3  Next
Author Message
emersonvier
DD-WRT Novice


Joined: 16 Jun 2008
Posts: 35
Location: Sao Paulo, Brazil

PostPosted: Sun Nov 30, 2008 14:40    Post subject: WRT350n v1 How configure USB storage Reply with quote
I try configure my WRT350n v1 to use my external HD, I read the
http://www.dd-wrt.com/wiki/index.php/USB_storage
But I not sucess Embarassed
I use the v24 sp2, can I help configure this..

I will donate by Paypal 15.00USD to people or to DDWRT for this help.
Sorry my bad english :oops:

Thx Laughing

EMERSON VIER
SKYPE: emersonvier
MSN: emersonvier@hotmail.com


Last edited by emersonvier on Sun Nov 30, 2008 23:44; edited 1 time in total
Sponsor
kjbuente
DD-WRT User


Joined: 31 Mar 2007
Posts: 181
Location: /Earth/USA/OH/Zville

PostPosted: Sun Nov 30, 2008 22:29    Post subject: Reply with quote
Okay...

were are you getting issues at? Some more info is needed in order to help
emersonvier
DD-WRT Novice


Joined: 16 Jun 2008
Posts: 35
Location: Sao Paulo, Brazil

PostPosted: Sun Nov 30, 2008 23:42    Post subject: Reply with quote
I use this version "DD-WRT v24-sp1 (07/27/0Cool mega - build 10012"

Step 1 - OK
I have the HD 500G, I use gParted to format
Partition one: 2Gb - ext3 as the format
Partition two: 2Gb - format it as linux swap file
Partition three: FAT32 as the format

Step 2 - OK

Step 3 - I think OK, I see the same information on the page.

Step 4

I use this:

mount /dev/scsi/host0/bus0/target0/lun0/part1 /opt

mount /dev/scsi/host0/bus0/target0/lun0/part3 /mmc

Step 5 - I try option a and b and 5.1, I do not know what is ok.

Step 6
I use this:

"Optware tutorial"

"Installing ipkg-opt and uclibc-opt"

wget http://www.3iii.dk/linux/optware/optware-install-ddwrt.sh -O - | tr -d '\r' > /tmp/optware-install.sh - OK

Step 6.1 - I not undestand nothing in this step and I stop here :oops:

Thx,

EMERSON VIER
kjbuente
DD-WRT User


Joined: 31 Mar 2007
Posts: 181
Location: /Earth/USA/OH/Zville

PostPosted: Mon Dec 01, 2008 0:16    Post subject: Reply with quote
First off, I suggest upgrading from SP1. As everyone else will tell you, bugs bugs bugs. Find the TNG versions and use svn 11028. I'm not having to use any gpio tricks to get usb 2.0 working. I'm using mini with usb, but you can use the mega. Your choice...

Unless you plan on removing the drive from the router and connecting it to a windows machine I strongly suggest changing the third partition to ext3. Also, you really don't need a 2GB swap partition and 2GB /opt partition. I have my swap at 512MB and probably use a total of 4MB at the most. But I think 512MB is the smallest you can go. I have 1GB /opt partition, even this I think is a little overkill. I probably use a total of 15MB. (Samba rsync, P910nd, nano, busybox, and e2fsprogs installed).

For my startup script, I used the jffs to store it. That way I can install openwrt's swap-utils and e2fsprogs so I can check the HD's partitions health, treat it, and mount the swap with out mounting any HD partitions. You never want to run e2fsck or fstune on a mounted partition, so this sounded like the most logical solution to use the jffs.

When you mount, cd over to that directory and run "ls" with out the qoutes. You should a folder called "lost+found". If you do, then the partitions mounted correctly.

With installing optware, I did it a little differnt. I cd over to the temp folder, ran "wget http://www.3iii.dk/linux/optware/optware-install-ddwrt.sh" and then I ran "sh optware-install-ddwrt.sh" both with out qoutes again. For me it was hit or miss on getting what they had in the wiki running.

Before I continue, lets make sure that you are able to get this far. I'm sort on time right now, so I'll come back and finish after we get you this far. The rest is basicly getting your startup scripts to make things start automaticly when you reboot the router, editing the profile so we shutdown cleanly, and installing the optware packages that you want.
kjbuente
DD-WRT User


Joined: 31 Mar 2007
Posts: 181
Location: /Earth/USA/OH/Zville

PostPosted: Mon Dec 01, 2008 3:24    Post subject: Reply with quote
Okay, I'd figure I'd post my scripts that I am using. You'll need to modify them to your installation, since I have different partitions mounting in different places and I'm running software that you might not install.

My main startup script. In the GUI I tell dd-wrt to load this script and this script only. I recommend installing e2fsprogs and swap-utils using dd-wrt's built in ipkg system. This will save it to the jffs partition that way we are not dependent on the HD. (Plus, should never run e2fsck on a mounted partition and if e2fsck is installed on said partition... You get the point).
http://downloads.betaserver.org/ddwrt/scripts/begin-here.startup

After that script detects the drive, runs tune2fs, and mounts the partitions, It calls for this script. I placed it on the HDD so I don't do any unnecessary writing to jffs when I'm tinkering with things.
http://downloads.betaserver.org/ddwrt/scripts/boot.startup

The above script calls two other scripts. (Can you tell that I don't like large scripts)? One is the ad-blocking script and the other is the firewall tweak script. Both I found in the wiki. The ad-blocking script is not working right now since I screwed it up by not using a compatible editor.
Ad-Blocking (Not working)http://downloads.betaserver.org/ddwrt/scripts/ad-block.sh
Firewall tweaks http://downloads.betaserver.org/ddwrt/scripts/firewall.sh

The default profile in ddwrt is not optware\removable HD friendly. This on is, I recommending to save it to /opt/etc. The boot script above will replace the default on with this one.
http://downloads.betaserver.org/ddwrt/scripts/profile

Since, I do not run e2fsck on every boot. I have a script to unmount the partitions and run e2fsck. I'm working on a script that will automatically run this when the mount count has reached it's max.
http://downloads.betaserver.org/ddwrt/scripts/hdd-check.sh

And I have a copy of the optware install script just in case.
http://downloads.betaserver.org/ddwrt/scripts/optware-install.sh

Like I said, you'll might have to modify the scripts to your installation. You can place all but the begin-here.startup and hdd-check.sh scripts anywhere you want, just make sure you change to locations of the scripts being called in the boot.startup script
MrAlvin
DD-WRT User


Joined: 07 Jan 2007
Posts: 457
Location: Denmark

PostPosted: Mon Dec 01, 2008 5:45    Post subject: Reply with quote
I have a question about some of the commands you (kjbuente) use in your scripts.
Like "tune2fs", "swapon"
It seems like they come from somewhere else. Where did you load them from?
emersonvier
DD-WRT Novice


Joined: 16 Jun 2008
Posts: 35
Location: Sao Paulo, Brazil

PostPosted: Mon Dec 01, 2008 16:27    Post subject: Reply with quote
I download the "dd-wrt.v24-11028_NEWD_mini_usb.bin" from
http://www.dd-wrt.com/dd-wrtv2/downloads/others/eko/V24_TNG/svn11028
after install show the "DD-WRT v24-sp2 (11/30/0Cool mini-usb - build 11028M NEWD Eko"
It´s ok ??

I format again HD
Partition 1 - 1,95G - EXT3
Partition 2 - 996,22M - Linus-Swap
Partition 3 - 462,82G - FAT32
I use this this in Windows network for share my files and my Media center, I undetend need use the FAT32
its ok ??

What the step I need following now?


EMERSON VIER
kjbuente
DD-WRT User


Joined: 31 Mar 2007
Posts: 181
Location: /Earth/USA/OH/Zville

PostPosted: Mon Dec 01, 2008 17:28    Post subject: Reply with quote
@MrAlvin
Yes, You have to install openwrts e2fsprogs and swap-utils. You can do this but running "/bin/ipkg update" followed by "/bin/ipkg install e2fsprogs swap-utils" This is not optware, they will install in the jffs folder.

@emersonvier
Yes, you have the newest version it is what you want. If you are just going to share partition three though the network, you want to use Ext3. Windows only needs it as FAT32/NTFS if the hard drive will be connected to a windows machine though the usb connector physically to the computer. If it is going though the router (Like what I am doing, and sounds like what you are wanting to do) then you want to use Ext3. There are two big reasons why. One, it is not limited to 2GB file sizes. Two, it is a journalised file system. Meaning it is easier to fix error on the hard drive and recover your data.

Now, enable Jffs2 in your router. The wiki has instructions on doing so. Once you have it enabled and have free space, you want to install some optware packages. You want to run with out the qoutes "/bin/ipkg update" "/bin/ipkg install e2fsprogs swap-utils". You might have to reboot the router to get these to install after you enabled jffs, I know that I had to.

Then copy begin-here.startup and hdd-check.sh into the jffs folder. Now, I have my partition 3 mounting to /mnt instead of /mmc. You can either change the script to mount to /mmc, or you can use /mnt instead. If you decided to keep /mmc instead of /mnt, then you need to change were it calls the next script from /mnt/scripts/boot.startup to /mmc/scripts/boot.startup. You WILL have to edit the scripts to change the partitions. I have parition 1 as swap, were yours is partition 2. Nothing wrong with that, it's just how I did it. Just look for were it is mounting /opt and change the "part2" to "part1". One this is edited to your needs, go ahead and run the script by (with out qoutes) "sh /jffs/begin-here.startup"

Now, were ever you mounted the third partition. Change directory to get there and create three directories, do so by running with out qoutes "mkdir scripts" "mkdir logs" "mkdir share". Scripts is were we are going to store the rest of the scripts, logs is just for trouble shooting the scripts, and share is what your actually going to share to the network.

Now change directory to scripts, and copy boot.start, firewall.sh, and optware-install.sh (ad-block.sh is broken so don't bother with it). Now lets install optware. Run with out qoutes "sh optware-install.sh". You should see some text scroll though the screen and then report that it was successful. To make sure change directory to /opt and type with out qoutes "ls". You should see some folders in there like etc,bin,sbin,and usr.

Let me know when you get this far.


Last edited by kjbuente on Mon Dec 01, 2008 20:32; edited 1 time in total
emersonvier
DD-WRT Novice


Joined: 16 Jun 2008
Posts: 35
Location: Sao Paulo, Brazil

PostPosted: Mon Dec 01, 2008 20:11    Post subject: Reply with quote
I format the partion 3 to EXT3

You write "Then copy begin-here.sh" the correct is "Then copy begin-here.startup"?? I use the
wget http://downloads.betaserver.org/ddwrt/scripts/begin-here.startup

I change the part1 to part2.

I think is OK for all.

What the next step?

Thx

EMERSON VIER
kjbuente
DD-WRT User


Joined: 31 Mar 2007
Posts: 181
Location: /Earth/USA/OH/Zville

PostPosted: Mon Dec 01, 2008 20:30    Post subject: Reply with quote
Opps Embarassed thanks for catching that.

yes, you run wget http://downloads.betaserver.org/ddwrt/scripts/begin-here.startup whle you are in the jffs folder. That way it is downloaded there. run ls to make sure that it is in the jffs folder.

Now you said that you edited the script. Did you also change were you are going to mount the third partition? Or do you want it to mount to /mnt? If you want to change it, do so now.

After that is said and done. I relised that I skipped a step. Embarassed You are probably going to have to run "chmod +x /jffs/begin-here.startup" so the script will run.

Once this is done, my previous post says what to do...
emersonvier
DD-WRT Novice


Joined: 16 Jun 2008
Posts: 35
Location: Sao Paulo, Brazil

PostPosted: Mon Dec 01, 2008 20:52    Post subject: Reply with quote
kjbuente wrote:
Opps Embarassed thanks for catching that.

No problem....

yes, you run wget http://downloads.betaserver.org/ddwrt/scripts/begin-here.startup whle you are in the jffs folder. That way it is downloaded there. run ls to make sure that it is in the jffs folder.

Now you said that you edited the script. Did you also change were you are going to mount the third partition? Or do you want it to mount to /mnt? If you want to change it, do so now.

I only modified the part1 to part2 a reverse

After that is said and done. I relised that I skipped a step. Embarassed You are probably going to have to run "chmod +x /jffs/begin-here.startup" so the script will run.

Once this is done, my previous post says what to do...


Its all, Can I acess my HD from Win XP?

Thx

EMERSON VIER
kjbuente
DD-WRT User


Joined: 31 Mar 2007
Posts: 181
Location: /Earth/USA/OH/Zville

PostPosted: Mon Dec 01, 2008 21:03    Post subject: Reply with quote
Oh cool, I did not understand that you got all that done.

I am assuming that the optware-install.sh script went okay and had no error. All the other scripts that you downloaded, you might have to run "chmod +x" on them to execute.

Okay, now copy (using wget) the profile that I linked above to /opt/etc.

Then in the command section of the webgui (under administration), you want to enter sh /jffs/begin-here.startup and save it as a startup script.

Now you should be able to run "/opt/bin/ipkg-opt update" "/opt/bin/ipkg-opt install xinetd samba2"
Were isntalling samba2 since the newest version is just to much for the router. You should be able to reboot the router now and it should run the scripts for us automaticly now. Try pointing you web browser to http://192.168.1.1:901

You should be prompted for the router username and password, enter it and it should load a page titled SWAT

If you get this far let me know. I'm running short on time again so I'll be back soon with more...
emersonvier
DD-WRT Novice


Joined: 16 Jun 2008
Posts: 35
Location: Sao Paulo, Brazil

PostPosted: Mon Dec 01, 2008 22:13    Post subject: Reply with quote
kjbuente wrote:
Oh cool, I did not understand that you got all that done.

I am assuming that the optware-install.sh script went okay and had no error. All the other scripts that you downloaded, you might have to run "chmod +x" on them to execute.
I need run all scripts after each download eg:

wget http://downloads.betaserver.org/ddwrt/scripts/boot.startup
chmod +x boot.startup
wget http://downloads.betaserver.org/ddwrt/scripts/firewall.sh
chmod +x firewall.sh
wget http://downloads.betaserver.org/ddwrt/scripts/optware-install.sh
chmod +x optware-install.sh
wget http://downloads.betaserver.org/ddwrt/scripts/ad-block.sh
chmod +x ad-block.sh

Okay, now copy (using wget) the profile that I linked above to /opt/etc.

Then in the command section of the webgui (under administration), you want to enter sh /jffs/begin-here.startup and save it as a startup script.

Now you should be able to run "/opt/bin/ipkg-opt update" "/opt/bin/ipkg-opt install xinetd samba2"
Were isntalling samba2 since the newest version is just to much for the router. You should be able to reboot the router now and it should run the scripts for us automaticly now. Try pointing you web browser to http://192.168.1.1:901

You should be prompted for the router username and password, enter it and it should load a page titled SWAT

If you get this far let me know. I'm running short on time again so I'll be back soon with more...
kjbuente
DD-WRT User


Joined: 31 Mar 2007
Posts: 181
Location: /Earth/USA/OH/Zville

PostPosted: Mon Dec 01, 2008 22:53    Post subject: Reply with quote
Were you able to get the page to load and did it ask you for a username and password? If so now all we have to do is configure SWAT to configure the share.

Just go to shares, and then create a new share. Call it media or something that you want to call it. For the path, you want to point it to /mnt/share. There are two drop down option just below were you enter the path for the share. You want to set read only to no, and quests to yes.

Now, you should be able to see the share from your windows machine. If so, then your all set!

If not, please attach the output of /tmp/usb.log and any logs in /mnt/logs.
emersonvier
DD-WRT Novice


Joined: 16 Jun 2008
Posts: 35
Location: Sao Paulo, Brazil

PostPosted: Tue Dec 02, 2008 2:38    Post subject: Reply with quote
Please check my steps, I have problem to install the samba2_2.2.12-1.ipk

Where I make mistake?

I make this 3 times

I start again

I Restore router to Factory Defaults

I format HD
Partition 1 - 996,22M - Linux-Swap
Partition 2 - 1,95G - EXT3
Partition 3 - 462,82G - EXT3

I enable JFFS


DD-WRT v24 mini (c) 2008 NewMedia-NET GmbH
Release: 11/30/08 (SVN revision: 11028)

DD-WRT login: root
Password:
==========================================================

____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|

DD-WRT v24-sp2
http://www.dd-wrt.com

==========================================================


BusyBox v1.12.2 (2008-11-30 15:16:53 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~# /bin/ipkg update
Downloading http://downloads.openwrt.org/whiterussian/packages/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
Packages 100% |****************************************************************************| 143k 00:00:00 ETA
Done.
Updated list of available packages in /jffs/usr/lib/ipkg/lists/whiterussian
Downloading http://downloads.openwrt.org/whiterussian/packages/non-free/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
Packages 100% |****************************************************************************| 568 --:--:-- ETA
Done.
Updated list of available packages in /jffs/usr/lib/ipkg/lists/non-free
Downloading http://downloads.openwrt.org/backports/rc5/Packages ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
Packages 100% |****************************************************************************| 98390 00:00:00 ETA
Done.
Updated list of available packages in /jffs/usr/lib/ipkg/lists/backports
root@DD-WRT:~# /bin/ipkg install e2fsprogs swap-utils

Downloading http://downloads.openwrt.org/backports/rc5/e2fsprogs_1.38-1_mipsel.ipk ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
e2fsprogs_1.38-1_mip 100% |****************************************************************************| 179k 00:00:00 ETA
Done.
Unpacking e2fsprogs...Done.
Configuring e2fsprogs...Done.

Downloading http://downloads.openwrt.org/backports/rc5/swap-utils_2.12r-1_mipsel.ipk ...
Connecting to downloads.openwrt.org (195.56.146.238:80)
swap-utils_2.12r-1_m 100% |****************************************************************************| 13581 00:00:00 ETA
Done.
Unpacking swap-utils...Done.
Configuring swap-utils...Done.
root@DD-WRT:~#exit


DD-WRT v24 mini (c) 2008 NewMedia-NET GmbH
Release: 11/30/08 (SVN revision: 11028)

DD-WRT login: root
Password:
==========================================================

____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|

DD-WRT v24-sp2
http://www.dd-wrt.com

==========================================================


BusyBox v1.12.2 (2008-11-30 15:16:53 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~# ls
root@DD-WRT:~# cd / jffs
root@DD-WRT:/# cd / jffs
root@DD-WRT:/# cd /jffs
root@DD-WRT:/jffs# ls
sbin tmp usr
root@DD-WRT:/jffs# wget http://downloads.betaserver.org/ddwrt/scripts/begin-here.startup
Connecting to downloads.betaserver.org (75.125.60.14:80)
begin-here.startup 100% |****************************************************************************| 1154 --:--:-- ETA
root@DD-WRT:/jffs# chmod +x begin-here.startup
root@DD-WRT:/jffs# wget http://downloads.betaserver.org/ddwrt/scripts/hdd-check.sh
Connecting to downloads.betaserver.org (75.125.60.14:80)
hdd-check.sh 100% |****************************************************************************| 135 --:--:-- ETA
root@DD-WRT:/jffs# chmod +x hdd-check.sh
root@DD-WRT:/jffs# sh /jffs/begin-here.startup
root@DD-WRT:/jffs# cd
root@DD-WRT:~# mkdir scripts
root@DD-WRT:~# mkdir logs
root@DD-WRT:~# mkdir share
root@DD-WRT:~# ls
logs scripts share
root@DD-WRT:~#
root@DD-WRT:~# cd \scripts
root@DD-WRT:~/scripts# wget http://downloads.betaserver.org/ddwrt/scripts/boot.startup
Connecting to downloads.betaserver.org (75.125.60.14:80)
boot.startup 100% |****************************************************************************| 1293 --:--:-- ETA
root@DD-WRT:~/scripts# chmod +x boot.startup
root@DD-WRT:~/scripts# wget http://downloads.betaserver.org/ddwrt/scripts/firewall.sh
Connecting to downloads.betaserver.org (75.125.60.14:80)
firewall.sh 100% |****************************************************************************| 3331 --:--:-- ETA
root@DD-WRT:~/scripts# chmod +x firewall.sh
root@DD-WRT:~/scripts# wget http://downloads.betaserver.org/ddwrt/scripts/optware-install.sh
Connecting to downloads.betaserver.org (75.125.60.14:80)
optware-install.sh 100% |****************************************************************************| 2466 --:--:-- ETA
root@DD-WRT:~/scripts# chmod +x optware-install.sh
root@DD-WRT:~/scripts# wget http://downloads.betaserver.org/ddwrt/scripts/ad-block.sh
Connecting to downloads.betaserver.org (75.125.60.14:80)
ad-block.sh 100% |****************************************************************************| 605 --:--:-- ETA
root@DD-WRT:~/scripts# chmod +x ad-block.sh
root@DD-WRT:~/scripts# sh optware-install.sh
Checking system config ...
Using 200.204.210.227
192.168.1.1 as default gateway.
Using the following nameserver(s):
nameserver 192.168.1.1
Error: /opt partition not mounted.
Enter
mkdir /jffs/opt
mount -o bind /jffs/opt /opt
to correct this.
root@DD-WRT:~/scripts# mkdir /jffs/opt
root@DD-WRT:~/scripts# mount -o bind /jffs/opt /opt
root@DD-WRT:~/scripts# sh optware-install.sh
Checking system config ...
Using 200.204.210.227
192.168.1.1 as default gateway.
Using the following nameserver(s):
nameserver 192.168.1.1
Installing package uclibc-opt_0.9.28-13_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.169:80)
uclibc-opt_0.9.28-13 100% |****************************************************************************| 832k 00:00:00 ETA
Updating /opt/etc/ld.so.cache
Installing package ipkg-opt_0.99.163-10_mipsel.ipk ...
Connecting to ipkg.nslu2-linux.org (140.211.169.169:80)
ipkg-opt_0.99.163-10 100% |****************************************************************************| 75810 00:00:00 ETA
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Successfully terminated.
Installing uclibc-opt (0.9.28-13) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/uclibc-opt_0.9.28-13_mipsel.ipk
package uclibc-opt suggests installing ipkg-opt
Configuring uclibc-opt
Updating /opt/etc/ld.so.cache
Successfully terminated.
Installing ipkg-opt (0.99.163-10) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/ipkg-opt_0.99.163-10_mipsel.ipk
Configuring ipkg-opt
Successfully terminated.
root@DD-WRT:~/scripts# cd /opt
root@DD-WRT:/opt# ls
bin etc lib sbin share usr
root@DD-WRT:/opt# cd /opt/etc
root@DD-WRT:/opt/etc# ls
ipkg.conf ld.so.cache ld.so.conf
root@DD-WRT:/opt/etc# wget http://downloads.betaserver.org/ddwrt/scripts/profile
Connecting to downloads.betaserver.org (75.125.60.14:80)
profile 100% |****************************************************************************| 419 --:--:-- ETA
root@DD-WRT:/opt/etc# chmod +x profile
root@DD-WRT:/opt/etc#


DD-WRT v24 mini (c) 2008 NewMedia-NET GmbH
Release: 11/30/08 (SVN revision: 11028)

DD-WRT login: root
Password:
==========================================================

____ ___ __ ______ _____ ____ _ _
| _ \| _ \ \ \ / / _ \_ _| __ _|___ \| || |
|| | || ||____\ \ /\ / /| |_) || | \ \ / / __) | || |_
||_| ||_||_____\ V V / | _ < | | \ V / / __/|__ _|
|___/|___/ \_/\_/ |_| \_\|_| \_/ |_____| |_|

DD-WRT v24-sp2
http://www.dd-wrt.com

==========================================================


BusyBox v1.12.2 (2008-11-30 15:16:53 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@DD-WRT:~# /opt/bin/ipkg-opt update
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/Packages.gz
Updated list of available packages in /opt/lib/ipkg/lists/optware
Successfully terminated.
root@DD-WRT:~# /opt/bin/ipkg-opt install xinetd samba2
Installing xinetd (2.3.14-Cool to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/xinetd_2.3.14-8_mipsel.ipk
Installing samba2 (2.2.12-1) to /opt/...
Downloading http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/samba2_2.2.12-1_mipsel.ipk
Configuring xinetd
Warning: the current only_from configuration in /opt/etc/xinetd.conf is
only_from = localhost 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16
change to your subnet accordingly and tighten security!
An error ocurred, return value: 22.
Collected errors:
ipkg_download: ERROR: Command failed with return value 255: `wget -q -P /opt/ipkg-PriQAR http://ipkg.nslu2-linux.org/feeds/optware/ddwrt/cross/stable/samba2_2.2.12-1_mipsel.ipk'
Failed to download samba2. Perhaps you need to run 'ipkg update'?
root@DD-WRT:~#
Goto page 1, 2, 3  Next Display posts from previous:    Page 1 of 3
Post new topic   Reply to topic    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