Professional Documents
Culture Documents
Asus WL-520gU 802.11b - G DD-WRT Compatible Wireless Router W - USB Print Server $32 After $20 MIR - Page 14 - Slickdeals
Asus WL-520gU 802.11b - G DD-WRT Compatible Wireless Router W - USB Print Server $32 After $20 MIR - Page 14 - Slickdeals
103K
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
138K 159K Mobile Site iPhone iPad
Search
Deals
Local Deals
Popular Deals
Coupons
Forums
Register
My Account
Quick Links
My Subscriptions
Community
Slickdeals.net > The Deals > Hot Deals Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR
Like
Add to List
Thread Tools
Tags: Electronics google checkout Deal Type > Rebate Stores > Buy.com Stores > ZipZoomFly 11-08-2008, 08:21 PM
First
Prev
12
13
14
15
16
24
Next
Last
#196
VorlonFrog
L19: Off Limits
Forgot to include pictures of the Samba share showing up on my laptop. You know, just to prove it REALLY (really!) works. The first picture shows the shares (probably should remove those two Samba defaults) in Vista's Explorer. The second picture shows a text file I created inside a shared folder I created, both from my wireless laptop.
Attached Thum bnails
Jul 2005 4,083 In the froghouse 772 3 Sam baShare.jpg 43.1 KB / 609 view s Sam baShare2.jpg 35.7 KB / 402 view s
Multi-Quote
Guests, join the SlickDeals.net Community for free to remove this ad.
11-08-2008, 08:22 PM
#197
VorlonFrog
L19: Off Limits
sigh..I still haven't figured out how to unbrick this..I installed dd-wrt many months ago but it got screwed up somewhere along the way..I remember I unbricked it more than once but I forgot the ip of it..damn..there has to be a way
Download the Angry IP Scanner from angryziber and have it scan your network. That'll find it.
Member since Posts Location Jul 2005 4,083 In the froghouse
Also, press the reset button and hold it in for thirty seconds while applying power to the router. If the CFE bootloader is loaded and running, it should read the reset switch and re-apply default values (including IP address)
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#post
1/16
2/16/13
Reputation Follow ers + Give Rep
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
772 3 Last edited by VorlonFrog; 11-08-2008 at 08:28 PM.. Reason: reset switch Add to List 11-08-2008, 08:25 PM Multi-Quote #198
to the router.
dzap
2013: Look to the Future
Forgot to include pictures of the Samba share showing up on my laptop. You know, just to prove it REALLY (really!) works. The first picture shows the shares (probably should remove those two Samba defaults) in Vista's Explorer. The second picture shows a text file I created inside a shared folder I created, both from my wireless laptop.
Member since Posts Location Reputation Follow ers + Give Rep Jul 2006 46,520 Mordor? 9,846 10
That turns me on
Download the Angry IP Scanner from angryziber and have it scan your network. That'll find it.
will that work even though it doesn't assign one? I don't know..it's like there's a f/w on it but it's corrupted so I have to manually assign the right ip addy..
Last edited by dzap; 11-08-2008 at 08:25 PM.. Reason: Automerged Doublepost Add to List 11-08-2008, 08:26 PM Multi-Quote #199
mmzymxf
L5: Journeyman
11-08-2008, 08:36 PM
VorlonFrog
L19: Off Limits
OMG you're killing me..that looks so HOTTTT to do that for sooo long now
That turns me on
Yeah, I shoulda done this weeks ago, but I've been too busy helping other folks get their printers working. Well, that and a week-long business trip to Los Angeles. Something about that Oracle database application I
accounts in it.
2/16
2/16/13
+ Give Rep
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
Quote from dzap :
Will that work even though it doesn't assign one? I don't know..it's like there's a f/w on it but it's corrupted so I have to manually assign the right IP addy..
If it's defaulting to a 192.168.1.xxx address, it should find it. If it doesn't, try two more things: a) the reset switch as I mentioned above b) download the Redboot.VBS script from the NSLU2 project. It's good for catching your router in situations like this, too. Instead of having it open a telnet window, change the command to perform the TFTP -i PUT command.
Add to List 11-08-2008, 08:43 PM Multi-Quote #201
VorlonFrog
L19: Off Limits
Jul 2005 4,083 In the froghouse 772 3 Add to List Multi-Quote #202
11-09-2008, 10:09 AM
VorlonFrog
L19: Off Limits
Jul 2005 4,083 In the froghouse 772 3 ServicesTab.jpg 53.6 KB / 365 view s
Multi-Quote #203
yazyazoo
L7: Teacher
Vorlon, I am still stuck at not getting the swap to show up. I tried to follow the step of the DDWRT wiki but am still stuck. I even tried to reformat the drive and reflash the router. I think I messed it up more. It seems as if the router or the harddrive has some configurations memorized. When I type dmesg I get a weird response. The three partions show but when I go to mount it gives me an error saying the /opt partition is busy. Also in the dd-wrt wiki they only mount the opt and mmc(data) partition. They don't mount the swap partition. Do you think that is why I couldn't get the swapon to work? It would be great if you could make a custom wiki like the printer one specifically for this router with the three partitions in the dd-wrt wiki. I know you are busy but for some of us newbies this would help alot. I got my NSLU2 Unslung to work but this router has been giving me a headace. How do you quote the dd=wrt wiki and post it onto your posts here. They always look so nice.
Add to List Multi-Quote #204
11-09-2008, 01:36 PM
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#post
3/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
VorlonFrog
L19: Off Limits
I am still stuck at not getting the swap to show up. I tried to follow the step of the DDWRT wiki but am still stuck. I even tried to reformat the drive and reflash the router. I think I messed it up more. It seems as if the router or the harddrive has some configurations memorized. When I type dmesg I get a weird response. The three partions show but when I go to mount it gives me an error saying the /opt partition is busy. Also in the dd-wrt wiki they only mount the opt and mmc(data) partition. They don't mount the swap partition. Do you think that is why I couldn't get the swapon to work?
Member since Posts Location Reputation Follow ers + Give Rep Jul 2005 4,083 In the froghouse 772 3
You never really actually mount a swap partition. When you use the s w a p o ncommand, it tells Linux that partition is available for swap space.
It would be great if you could make a custom wiki like the printer one specifically for this router with the three partitions in the dd-wrt wiki. I know you are busy but for some of us newbies this would help alot. I got my NSLU2 Unslung to work but this router has been giving me a headache.
The hardest part about doing that is that everyone has different configurations, and it's impossible to write something that will allow everyone to do it exactly the same. In my case, I have a USB hub attached to the router (there's no special work required to use a hub) so I can connect both my printer and the hard drive. Other people might want to add more than one hard drive for sharing. I'll see if I can put something together that might make it more straightforward. It will all be command-line examples, though.
How do you quote the dd=wrt wiki and post it onto your posts here. They always look so nice.
I apply the FONT tag with the Courier New font to Linux commands and examples here. It just makes things easier to read (for me, anyway) so I include it in my posts.
Add to List 11-09-2008, 06:18 PM Multi-Quote #205
VorlonFrog
L19: Off Limits
After tons of (well, at least two or three) requests... Try this out, and let me know how it works for you... ============================================================ I. FORMATTING YOUR DISK DRIVE ============================================================ You must partition and format your hard disk drive somewhere other than your router. DD-WRT does not include the commands necessary to perform these functions. Use a Linux boot CD like Knoppix or Ubuntu on your computer. Restart your computer so it boots from the Linux CD.
1. After Linux boots, connect your USB hard disk drive. 2. Open a terminal window so you can issue Linux commands. 3. Use the command " s u d os u"to become root. 4. Find out what Linux named your USB disk with the command d m e s g|m o r eYou're looking for a set of messages that include the name and a description of your hard disk drive. One line will say S C S Id e v i c es d ? For the remainder of this text, replace s d ?with the name of your disk. Here's an example of what you're looking for:
Code:
s c s i 0:S C S Ie m u l a t i o nf o rU S BM a s sS t o r a g ed e v i c e s V e n d o r :W D M o d e l :1 6 0 0 B E VE x t e r n a l R e v :1 . 0 5 T y p e : D i r e c t A c c e s s A N S IS C S Ir e v i s i o n :0 2 A t t a c h e ds c s id i s ks d ba ts c s i 0 ,c h a n n e l0 ,i d0 ,l u n0 S C S Id e v i c es d b :3 1 2 5 8 1 8 0 85 1 2 b y t eh d w rs e c t o r s( 1 6 0 0 4 2M B )
5. Partition the disk using the command f d i s k/ d e v / s d ?You will be creating three partitions: 5.1) sd?1 - the /opt partition, where Optware will reside.
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#post
4/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
5.2) sd?2 - the swap partition, where Linux will swap jobs. 5.3) sd?3 - the data partition, which you will share via Samba. It's important to understand everyone's disk drive configuration will be different. If your drive is 40 GB or smaller, use the smaller set of partition sizes below. If your drive is over 40 GB, you can use the larger set of partition sizes. D i s k4 0G Bo rl e s s / o p t2 5 6m e g a b y t e s s w a p3 2m e g a b y t e s d a t ar e m a i n d e ro ft h ed i s k D i s kg r e a t e rt h a n4 0G B / o p t5 1 2m e g a b y t e s s w a p6 4m e g a b y t e s d a t ar e m a i n d e ro ft h ed i s k
Code:
# fdisk /dev/sd? C o m m a n d( mf o rh e l p ) :p D i s k/ d e v / s d ? :6 4h e a d s ,6 3s e c t o r s ,6 2 1c y l i n d e r s U n i t s=c y l i n d e r so f4 0 3 2*5 1 2b y t e s C o m m a n d( mf o rh e l p ) :n C o m m a n da c t i o n e e x t e n d e d p p r i m a r yp a r t i t i o n( 1 4 ) p P a r t i t i o nn u m b e r( 1 4 ) :1 F i r s tc y l i n d e r( 1 6 2 1 ,d e f a u l t1 ) : U s i n gd e f a u l tv a l u e1 L a s tc y l i n d e ro r+ s i z eo r+ s i z e Mo r+ s i z e K( 1 6 2 1 ,d e f a u l t6 2 1 ) : +256M C o m m a n d( mf o rh e l p ) :n C o m m a n da c t i o n e e x t e n d e d p p r i m a r yp a r t i t i o n( 1 4 ) p P a r t i t i o nn u m b e r( 1 4 ) :2 F i r s tc y l i n d e r( 1 9 7 6 2 1 ,d e f a u l t1 9 7 ) : U s i n gd e f a u l tv a l u e1 9 7 L a s tc y l i n d e ro r+ s i z eo r+ s i z e Mo r+ s i z e K( 1 9 7 6 2 1 ,d e f a u l t6 2 1 ) : +32M C o m m a n d( mf o rh e l p ) :n C o m m a n da c t i o n e e x t e n d e d p p r i m a r yp a r t i t i o n( 1 4 ) p P a r t i t i o nn u m b e r( 1 4 ) :3 F i r s t c y l i n d e r ( 1 9 7 6 2 1 , and d e f a u l t1 9 7 ) : partition: 5.4) format the opt and data partitions, prepare the swap U s i n gd e f a u l tv a l u e1 9 7 Code: L a s tc y l i n d e ro r+ s i z eo r+ s i z e Mo r+ s i z e K( 1 9 7 6 2 1 ,d e f a u l t6 2 1 ) : <ENTER> C o m m a n d( mf o rh e l p ) :t P a r t i t i o nn u m b e r( 1 4 ) :2 H e xc o d e( t y p eLt ol i s tc o d e s ) : 82 C h a n g e ds y s t e mt y p eo fp a r t i t i o n2t o8 2( L i n u xs w a p ) C o m m a n d( mf o rh e l p ) :p D i s k/ d e v / s d ? :6 4h e a d s ,6 3s e c t o r s ,6 2 1c y l i n d e r s U n i t s=c y l i n d e r so f4 0 3 2*5 1 2b y t e s D e v i c eB o o t / d e v / s d ? 1 * / d e v / s d ? 2 / d e v / s d ? 3 S t a r t 1 1 9 7 2 6 3 E n d 1 9 6 2 6 2 4 5 8 B l o c k s 3 9 5 1 0 4 + 1 3 3 0 5 6 3 9 5 1 3 6 I d 8 3 8 2 8 3 S y s t e m L i n u x L i n u xs w a p L i n u x
C o m m a n d( mf o rh e l p ) :w
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#post
5/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
# mke2fs -j -m 1 -L Optware /dev/sd?1 m k e 2 f s1 . 1 8 ,1 1 N o v 1 9 9 9f o rE X T 2F S0 . 5 b ,9 5 / 0 8 / 0 9 F i l e s y s t e ml a b e l = O p t w a r e O St y p e :L i n u x B l o c ks i z e = 4 0 9 6( l o g = 2 ) F r a g m e n ts i z e = 4 0 9 6( l o g = 2 ) 1 2 2 1 1 2i n o d e s ,2 4 3 9 6 4b l o c k s 1 2 1 9 8b l o c k s( 5 . 0 0 % )r e s e r v e df o rt h es u p e ru s e r F i r s td a t ab l o c k = 0 8b l o c kg r o u p s 3 2 7 6 8b l o c k sp e rg r o u p ,3 2 7 6 8f r a g m e n t sp e rg r o u p 1 5 2 6 4i n o d e sp e rg r o u p S u p e r b l o c kb a c k u p ss t o r e do nb l o c k s : 3 2 7 6 8 ,9 8 3 0 4 ,1 6 3 8 4 0 ,2 2 9 3 7 6 W r i t i n gi n o d et a b l e s :d o n e W r i t i n gs u p e r b l o c k sa n df i l e s y s t e ma c c o u n t i n gi n f o r m a t i o n :d o n e # mke2fs -j -m 1 -L Shared /dev/sd?3 m k e 2 f s1 . 1 8 ,1 1 N o v 1 9 9 9f o rE X T 2F S0 . 5 b ,9 5 / 0 8 / 0 9 F i l e s y s t e ml a b e l = S h a r e d O St y p e :L i n u x B l o c ks i z e = 4 0 9 6( l o g = 2 ) F r a g m e n ts i z e = 4 0 9 6( l o g = 2 ) 1 2 2 1 1 2i n o d e s ,2 4 3 9 6 4b l o c k s 1 2 1 9 8b l o c k s( 5 . 0 0 % )r e s e r v e df o rt h es u p e ru s e r F i r s td a t ab l o c k = 0 8b l o c kg r o u p s 3 2 7 6 8b l o c k sp e rg r o u p ,3 2 7 6 8f r a g m e n t sp e rg r o u p 1 5 2 6 4i n o d e sp e rg r o u p S u p e r b l o c kb a c k u p ss t o r e do nb l o c k s : 3 2 7 6 8 ,9 8 3 0 4 ,1 6 3 8 4 0 ,2 2 9 3 7 6 5.5) Now your disk drive is partitioned and W r i t i n g i n o d et a b l e s :d o n e formatted for Linux. W r i t i n gs u p e r b l o c k sa n df i l e s y s t e ma c c o u n t i n gi n f o r m a t i o n :d o n e ============================================================ # mkswap /dev/sd?2 II. CONNECTING THE DRIVE TO YOUR ROUTER ============================================================ 1. You should have the JFFS file system enabled on your router. On the DD-WRT web GUI screen, the Administration/Management tab contains this option in an area labeled JFFS2 Support. Enable both options and reboot your router. After it reboots, the first option (JFFS2) will remain enabled and the second option (Clean JFFS2) will be disabled. 2. On the DD-WRT web GUI screen, on the Services tab enable the options for: Core USB support USB 2.0 support USB storage support ext2/ext3 File System support 2.1 From the DD-WRT web GUI screen, on the Administration/Management tab, scroll to the bottom and click on Reboot Router. 3. After a minute, start a terminal session to your router. 4. Disconnect the disk from your computer and connect it to your router. 5. In the terminal session, use the command d m e s g|m o r eto insure your disk drive is recognized. Here's what it should look like:
Code:
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#post
6/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
S C S Is u b s y s t e md r i v e rR e v i s i o n :1 . 0 0 I n i t i a l i z i n gU S BM a s sS t o r a g ed r i v e r . . . u s b . c :r e g i s t e r e dn e wd r i v e ru s b s t o r a g e U S BM a s sS t o r a g es u p p o r tr e g i s t e r e d . J o u r n a l l e dB l o c kD e v i c ed r i v e rl o a d e d h u b . c :n e wU S Bd e v i c e0 0 : 0 3 . 1 1 ,a s s i g n e da d d r e s s2 h u b . c :U S Bh u bf o u n d h u b . c :4p o r t sd e t e c t e d u s b . c :r e g i s t e r e dn e wd r i v e ru s b l p p r i n t e r . c :v 0 . 1 3 :U S BP r i n t e rD e v i c eC l a s sd r i v e r h u b . c :n e wU S Bd e v i c e0 0 : 0 3 . 1 1 . 3 ,a s s i g n e da d d r e s s3 s c s i 0:S C S Ie m u l a t i o nf o rU S BM a s sS t o r a g ed e v i c e s V e n d o r :W D M o d e l :1 6 0 0 B E VE x t e r n a l R e v :1 . 0 5 T y p e : D i r e c t A c c e s s A N S IS C S Ir e v i s i o n :0 2 A t t a c h e ds c s id i s ks d aa ts c s i 0 ,c h a n n e l0 ,i d0 ,l u n0 S C S Id e v i c es d a :3 1 2 5 8 1 8 0 85 1 2 b y t eh d w rs e c t o r s( 1 6 0 0 4 2M B ) P a r t i t i o nc h e c k : / d e v / s c s i / h o s t 0 / b u s 0 / t a r g e t 0 / l u n 0 :p 1p 2p 3 W A R N I N G :U S BM a s sS t o r a g ed a t ai n t e g r i t yn o ta s s u r e d U S BM a s sS t o r a g ed e v i c ef o u n da t3
6. Change to the directory / d e v / s c s i / h o s t 0 / b u s 0 / t a r g e t 0 / l u n 0and list the files there. There should be one entry for the hard disk drive, and one for each of the three disk partitions.
Code:
# cd /dev/scsi/host0/bus0/target0/lun0 # ls -la d r w x r x r x 1r o o t r o o t d r w x r x r x 1r o o t r o o t b r w 1r o o t r o o t b r w 1r o o t r o o t b r w 1r o o t r o o t b r w 1r o o t r o o t
8 , 8 , 8 , 8 ,
0J a n 0J a n 0J a n 1J a n 2J a n 2J a n
10 0 : 0 0. 10 0 : 0 0. . 10 0 : 0 0d i s c 10 0 : 0 0p a r t 1 10 0 : 0 0p a r t 2 10 0 : 0 0p a r t 3
7. Change to the JFFS2 directory, and create directories for mounting the disk partition:
Code:
8. Test mount your new opt and data partitions. In the terminal window, issue these commands:
Code:
9. On the DD-WRT web GUI screen, on the Administration/Commands tab, click the Edit button, then enter your disk mount commands:
Code:
m o u n t/ d e v / s c s i / h o s t 0 / b u s 0 / t a r g e t 0 / l u n 0 / p a r t 1/ o p t m o u n t/ d e v / s c s i / h o s t 0 / b u s 0 / t a r g e t 0 / l u n 0 / p a r t 3/ j f f s / m n t / d i s k 1
Click on Save Startup to store the commands. Your terminal session will be disconnected. 10. From the DD-WRT web GUI screen, on the Administration/Management tab, scroll to the bottom and click on Reboot Router.
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#post
7/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
11. After a minute, restart your terminal session and issue the m o u n tcommand again. You should see both of your disk partitions mounted, even after the router has rebooted.
Code:
============================================================ III. INSTALLING OPTWARE ON YOUR DISK ============================================================ After JFFS is enabled and disk partitions are mounting, you can download and install the Optware packages that provide more Linux functionality to the router. These will be installed onto the hard disk drive, not on the router itself. Remember the /opt directory on your router actually resides on the disk drive. 1. Use the command i p k gu p d a t eto update your ipkg repositories:
Code:
# ipkg update D o w n l o a d i n gh t t p : / / i p k g . n s l u 2 l i n u x . o r g / f e e d s / o p t w a r e / d d w r t / c r o s s / s t a b l e / P a c k a g e s. . . C o n n e c t i n gt oi p k g . n s l u 2 l i n u x . o r g [ 1 4 0 . 2 1 1 . 1 6 6 . 8 2 ] : 8 0 P a c k a g e s 1 0 0 %| * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 2 5 9K B0 0 : 0 0 : 0 D o n e . U p d a t e dl i s to fa v a i l a b l ep a c k a g e si n/ / j f f s / u s r / l i b / i p k g / l i s t s / o p t w a r e
2. Now download the Optware installation script from the web to the / t m pdirectory:
Code:
3. Execute the Optware installation script you just downloaded. It will take some time to download and configure everything, so verify it starts running, then take a break and come back in ten or fifteen minutes.
Code:
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#post
8/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
# sh /tmp/optware-install.sh C h e c k i n gs y s t e mc o n f i g. . . U s i n g1 9 2 . 1 6 8 . 1 . 1a sd e f a u l tg a t e w a y . U s i n gt h ef o l l o w i n gn a m e s e r v e r ( s ) : n a m e s e r v e r1 9 2 . 1 6 8 . 1 . 3 0 W a r n i n g :l o c a ln a m e s e r v e ri sd i f f e r e n tt h a ng a t e w a y ! C h e c kc o n f i go re n t e r : s e dis / 1 9 2 . 1 6 8 . * / 1 9 2 . 1 6 8 . 1 . 1 // t m p / r e s o l v . c o n f t oc o r r e c tt h i s . I n s t a l l i n gp a c k a g eu c l i b c o p t _ 0 . 9 . 2 8 1 3 _ m i p s e l . i p k. . . C o n n e c t i n gt oi p k g . n s l u 2 l i n u x . o r g [ 1 4 0 . 2 1 1 . 1 6 6 . 8 2 ] : 8 0 u c l i b c o p t _ 0 . 9 . 2 8 1 21 0 0 %| * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * | 8 3 2K B0 0 : 0 0 U p d a t i n g/ o p t / e t c / l d . s o . c a c h e / o p t / s b i n / l d c o n f i g :c a n ' tc r e a t e/ o p t / e t c / l d . s o . c a c h e ~( N os u c hf i l eo rd i r e c t o r y ) I n s t a l l i n gp a c k a g ei p k g o p t _ 0 . 9 9 . 1 6 3 9 _ m i p s e l . i p k. . . C o n n e c t i n gt oi p k g . n s l u 2 l i n u x . o r g [ 1 4 0 . 2 1 1 . 1 6 6 . 8 2 ] : 8 0 i p k g o p t _ 0 . 9 9 . 1 6 3 9 _1 0 0 %| * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * |7 5 8 9 6 0 0 : 0 0 D o w n l o a d i n gh t t p : / / i p k g . n s l u 2 l i n u x . o r g / f e e d s / o p t w a r e / d d w r t / c r o s s / s t a b l e / P a c k a g e s . g z I n f l a t i n gh t t p : / / i p k g . n s l u 2 l i n u x . o r g / f e e d s / o p t w a r e / d d w r t / c r o s s / s t a b l e / P a c k a g e s . g z U p d a t e dl i s to fa v a i l a b l ep a c k a g e si n/ o p t / l i b / i p k g / l i s t s / o p t w a r e S u c c e s s f u l l yt e r m i n a t e d . I n s t a l l i n gu c l i b c o p t( 0 . 9 . 2 8 1 2 )t o/ o p t / . . . D o w n l o a d i n gh t t p : / / i p k g . n s l u 2 l i n u x . o r g / f e e d s / o p t w a r e / d d w r t / c r o s s / s t a b l e / u c l i b c o p t _ 0 . 9 . 2 8 p a c k a g eu c l i b c o p ts u g g e s t si n s t a l l i n gi p k g o p t C o n f i g u r i n gu c l i b c o p t U p d a t i n g/ o p t / e t c / l d . s o . c a c h e S u c c e s s f u l l yt e r m i n a t e d . I n s t a l l i n gi p k g o p t( 0 . 9 9 . 1 6 3 9 )t o/ o p t / . . . D o w n l o a d i n gh t t p : / / i p k g . n s l u 2 l i n u x . o r g / f e e d s / o p t w a r e / d d w r t / c r o s s / s t a b l e / i p k g o p t _ 0 . 9 9 . 1 6 3 C o n f i g u r i n gi p k g o p t S u c c e s s f u l l yt e r m i n a t e d . 4. Now install the busybox packages including links for busybox commands:
Code:
5. In your terminal session, update your default executable PATH to look for the new Optware software before the DDWRT software:
Code:
# export PATH=/opt/bin:/opt/sbin:${PATH}
============================================================ IV. ACTIVATING SWAP ============================================================ 0. Insure the swap partition is formatted correctly by using the Optware b u s y b o xm k s w a pcommand:
Code:
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#post
9/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
# free M e m : S w a p : T o t a l : t o t a l 1 3 0 4 8 7 2 2 5 2 8 5 3 0 0 u s e d 1 2 5 6 4 0 1 2 5 6 4 f r e e 4 8 4 7 2 2 5 2 7 2 7 3 6 s h a r e d 0 b u f f e r s 9 0 8
3. Using the DD-WRT web GUI screen, go to the Administration/Commands screen, and click 'Edit'. Add the b u s y b o x s w a p o ncommand below everything else so swap will be enabled whenever the router reboots. Click on Save Startup to save your startup commands. Your terminal session will be disconnected.
Code:
/ o p t / b i n / b u s y b o xs w a p o n/ d e v / s c s i / h o s t 0 / b u s 0 / t a r g e t 0 / l u n 0 / p a r t 2
4. Using the DD-WRT web GUI screen, go to the Administration/Management tab, scroll to the bottom, and click on Reboot Router 5. After a minute, restart your terminal session, and use the f r e ecommand again. This verifies your swap space is activated whenever the router reboots. ============================================================ V. INSTALLING SAMBA ============================================================ 1. Using the terminal session, use the Optware i p k g o p tcommand to update your repository, remove any Samba packages installed with Optware, then download and install the Samba software:
Code:
2. Samba uses a default Linux user name of n o b o d ybut DD-WRT doesn't provide this user name by default. The workaround is to add this user to the DD-WRT user/password file every time the router reboots. 3. Using the DD-WRT web GUI screen, go to the Administration/Commands screen. Add the following command to the bottom of your startup commands:
Code:
4. Using the DD-WRT web GUI screen, go to the Administration/Management tab , scroll to the bottom, and click on Reboot Router' 5. After a minute, restart your terminal session, and check the user/password file to insure the n o b o d yuser has been added following a reboot:
Code:
7. Edit the Samba configuration file to add this share at the bottom of the file:
Code:
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#pos
10/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
# cd /opt/etc/samba # cat >>smb.conf <<EOF [disk1] comment = DD-WRT shared disk path = /jffs/mnt/disk1/share public = yes writable = yes printable = no create mask = 0666 EOF
8. Edit the Samba configuration file to: 8.1) change the default workgroup name. Yours should match whatever is on all your other computers. 8.2) Define the range of IP addresses allowed 8.3) Announce itself on your network
Code:
# vi smb.conf [ g l o b a l ] #w o r k g r o u p=N T D o m a i n N a m eo rW o r k g r o u p N a m e w o r k g r o u p = MyWork groupName #s e r v e rs t r i n gi st h ee q u i v a l e n to ft h eN TD e s c r i p t i o nf i e l d s e r v e rs t r i n g = DD-WRT Samba Server #T h i so p t i o ni si m p o r t a n tf o rs e c u r i t y .I ta l l o w sy o ut or e s t r i c t #c o n n e c t i o n st om a c h i n e sw h i c ha r eo ny o u rl o c a ln e t w o r k . h o s t sa l l o w = 192.168.1. 127. #C a u s et h i sh o s tt oa n n o u n c ei t s e l ft ol o c a ls u b n e t sh e r e r e m o t ea n n o u n c e = 192.168.1.255 :wq #
9. Test the Samba configuration by manually starting the two Samba daemons:
Code:
# /opt/sbin/nmbd -D # /opt/sbin/smbd -D
10. From your computer, browse your network. Go to the address bar, enter two back-slashes followed by the IP address of your router and press ENTER. You should see your shared disk drive
Code:
\ \ 1 9 2 . 1 6 8 . 1 . 1
11. If you can see the drive, create a test directory and a test file within that directory from your computer. 12. Using the DD-WRT web GUI screen, go to the Administration/Commands screen. Add the following command to the bottom of your startup commands:
Code:
/ o p t / e t c / i n i t . d / S 8 0 s a m b as t a r t
13. Using the DD-WRT web GUI screen, go to the Administration/Management tab, scroll to the bottom, and click on Reboot Router 14. After a minute, browse your network again to insure the drive is shared after the router reboots. ============================================================ VI. ALL THE STARTUP COMMANDS ============================================================
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#pos
11/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
When you're finished, your router startup commands should look something like this:
Code:
Enjoy....
Last edited by VorlonFrog; 07-03-2009 at 08:01 AM.. Reason: Step 9. Added 'Edit' button note Add to List 11-09-2008, 09:47 PM Multi-Quote #206
yazyazoo
L7: Teacher
Vorlon, I retried to start from scratch. I get to dmesg to check my partions on the Harddrive. I get this. What is wrong. I tried reflashing the router and reformatting the harddrive. For some reason it's remembering something from my old installation try.
Feb 2007 2,134 252 0
root@DD-WRT:~# dmesg CPU revision is: 00029029 Linux version 2.4.36 (bin@dd-wrt) (gcc version 3.4.6 (OpenWrt-2.0)) #1807 Fri Sep 26 11:49:13 CEST 2008 Setting the PFC to its default value Determined physical RAM map: memory: 01000000 @ 00000000 (usable) On node 0 totalpages: 4096 zone(0): 4096 pages. zone(1): 0 pages. zone(2): 0 pages. Kernel command line: root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200 CPU: BCM5354 rev 2 at 240 MHz Using 120.000 MHz high precision timer. Calibrating delay loop... 239.20 BogoMIPS Dentry cache hash table entries: 2048 (order: 2, 16384 bytes) Inode cache hash table entries: 1024 (order: 1, 8192 bytes) Mount cache hash table entries: 512 (order: 0, 4096 bytes) Buffer cache hash table entries: 1024 (order: 0, 4096 bytes) Page-cache hash table entries: 4096 (order: 2, 16384 bytes) Checking for 'wait' instruction... unavailable. POSIX conformance testing by UNIFIX PCI: no core PCI: Fixing up bus 0 Initializing RT netlink socket Starting kswapd devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au) devfs: boot_options: 0x1 squashfs: version 3.0 (2006/03/15) Phillip Lougher pty: 256 Unix98 ptys configured Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled ttyS00 at 0xb8000300 (irq = 3) is a 16550A ttyS01 at 0xb8000400 (irq = 3) is a 16550A PCI: Setting latency timer of device 00:01.0 to 64 PCI: Setting latency timer of device 00:05.0 to 64 sb_doattach: incoming bus is PCI but it's a lie, switching to SB devid:0x4318 Universal TUN/TAP device driver 1.5 (C)1999-2002 Maxim Krasnyansky Physically mapped flash: Found an alias at 0x400000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x800000 for the chip at 0x0 Physically mapped flash: Found an alias at 0xc00000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x1000000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x1400000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x1800000 for the chip at 0x0 Physically mapped flash: Found an alias at 0x1c00000 for the chip at 0x0 Amd/Fujitsu Extended Query Table v1.1 at 0x0040 number of CFI chips: 1 cfi_cmdset_0002: Disabling fast programming due to code brokenness. Flash device: 0x400000 at 0x1c000000 bootloader size: 131072 Physically mapped flash: Filesystem type: squashfs, size=0x2089f5 Creating 5 MTD partitions on "Physically mapped flash":
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#pos
12/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
0x00000000-0x00020000 : "cfe" 0x00020000-0x003f0000 : "linux" 0x00101c00-0x00310000 : "rootfs" mtd: partition "rootfs" doesn't start on an erase block boundary -- force read-only 0x003f0000-0x00400000 : "nvram" 0x00310000-0x003f0000 : "ddwrt" sflash not supported on this router Initializing Cryptographic API IP Protocols: ICMP, UDP, TCP, IGMP IP: routing cache hash table of 512 buckets, 4Kbytes TCP: Hash tables configured (established 1024 bind 2048) ip_conntrack version 2.1 (512 buckets, 4096 max) - 336 bytes per conntrack ip_tables: (C) 2000-2002 Netfilter core team ipt_random match loaded netfilter PSD loaded - (c) astaro AG ipt_osf: Startng OS fingerprint matching module. ipt_IPV4OPTSSTRIP loaded NET4: Unix domain sockets 1.0/SMP for Linux NET4.0. 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com> All bugs added by David S. Miller <davem@redhat.com> VFS: Mounted root (squashfs filesystem) readonly. Mounted devfs on /dev usb.c: registered new driver usbdevfs usb.c: registered new driver hub USB20H fcr: 0x64 USB20H shim cr: 0x8f7 USB20H syn01 register : 0xfe00fe USB20H syn03 register : 0x1 PCI: Setting latency timer of device 00:03.1 to 64 ehci_hcd 00:03.1: PCI device 14e4:471a ehci_hcd 00:03.1: irq 6, pci mem b8003800 usb.c: new USB bus registered, assigned bus number 1 ehci_hcd 00:03.1: illegal capability! ehci_hcd 00:03.1: USB 0.0 enabled, EHCI 1.00, driver 2003-Dec-29/2.4 hub.c: USB hub found hub.c: 2 ports detected SCSI subsystem driver Revision: 1.00 Initializing USB Mass Storage driver... usb.c: registered new driver usb-storage USB Mass Storage support registered. Journalled Block Device driver loaded hub.c: new USB device 00:03.1-1, assigned address 2 usb.c: registered new driver usblp printer.c: v0.13: USB Printer Device Class driver scsi0 : SCSI emulation for USB Mass Storage devices Vendor: WDC WD20 Model: 0EB-00CPF0 Rev: 0811 Type: Direct-Access ANSI SCSI revision: 02 Attached scsi disk sda at scsi0, channel 0, id 0, lun 0 SCSI device sda: 39102336 512-byte hdwr sectors (20020 MB) Partition check: /dev/scsi/host0/bus0/target0/lun0: p1 p2 p3 WARNING: USB Mass Storage data integrity not assured USB Mass Storage device found at 2 vlan0: add 01:00:5e:00:00:01 mcast address to master interface vlan0: dev_set_promiscuity(master, 1) device eth0 entered promiscuous mode device vlan0 entered promiscuous mode device eth1 entered promiscuous mode device vlan1 entered promiscuous mode vlan1: Setting MAC address to 00 1e 8c ce fb 05. vlan1: dev_set_promiscuity(master, 1) vlan1: dev_set_allmulti(master, 1) vlan1: dev_set_promiscuity(master, -1) device vlan1 left promiscuous mode vlan1: dev_set_allmulti(master, -1) vlan1: add 01:00:5e:00:00:01 mcast address to master interface SQUASHFS error: Can't find a SQUASHFS superblock on sd(8,1) kjournald starting. Commit interval 5 seconds EXT3 FS 2.4-0.9.19, 19 August 2002 on sd(8,1), internal journal EXT3-fs: recovery complete. EXT3-fs: mounted filesystem with ordered data mode. root@DD-WRT:~# ls -la drwx------ 1 root root 0 Jan 1 1970 . drwxrwxrwx 1 root root 0 Jan 1 2000 .. -rw-r--r-- 1 root root 61 Nov 10 05:47 .profile
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#pos
13/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
drwx------ 1 root root 0 Jan 1 1970 .ssh
Last edited by yazyazoo; 11-09-2008 at 09:53 PM.. Add to List 11-09-2008, 10:18 PM Multi-Quote #207
yazyazoo
L7: Teacher
Vorlon, I tried to do it again and just went ahead to try it. Everything seemed to work up to Activating Swap. I get an error.
root@DD-WRT:/# export PATH=/opt/bin:/opt/sbin:${PATH} root@DD-WRT:/# /opt/bin/busybox swapon /dev/scsi/host0/bus0/target0/lun0/part2 -sh: /opt/bin/busybox: not found I looked at the busybox and there isn't even a swapon command in it. Did the busybox core install?
Last edited by yazyazoo; 11-09-2008 at 10:44 PM.. Add to List Multi-Quote #208
11-09-2008, 10:23 PM
dzap
2013: Look to the Future
I'm doing this as we speak..diverting some steps..dzap-noob-proof method coming up..since I just stared at all of Volron's code and almost fainted....so far..my way is working
Member since Posts Location Reputation Follow ers + Give Rep 11-09-2008, 10:38 PM
tonylu
L2: Beginner
sigh..I still haven't figured out how to unbrick this..I installed dd-wrt many months ago but it got screwed up somewhere along the way..I remember I unbricked it more than once but I forgot the ip of it..damn..there has to be a way
You can try this method: http://wl500g.info/showpost.php?p...stcount=11 It worked great for my bricked wl-520GU, although the method is for wl500g. You need to download wl-520gu firmware from ASUS.
Add to List Multi-Quote #210
11-09-2008, 10:49 PM
dzap
2013: Look to the Future
sh*t..so close...the share is there but Vista keeps asking me for a username and password..and I've tried everything..arghh..
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#pos
14/16
2/16/13
Member since Posts Location Reputation Follow ers + Give Rep
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
Jul 2006 46,520 Mordor? 9,846 10 Add to List Page 14 of 32 (Results 196 - 210 of 469) First Prev 4 12 13 14 15 16 24 Next Multi-Quote Last
Previous Thread | Next Thread Posting Rules You m ay not You m ay not You m ay not You m ay not post new threads post replies post attachments edit your posts
BB code is On Smilies are On [IMG] code is Off HTML code is Off Forum Rules
Similar Threads
Thread Thread Starter Forum Replies Last Post
ASUS WL-520gU Router $30 AR + FS DD-WRT Capable Creative Live! Cam Optia Pro Webcam $33 AR & w / coupon + FS Kingston 2GB DDR2 667 laptop memory (1 stick) - $33 AR + FS Creative Sound Blaster X-Fi Xtreme Audio $33 AR & w / coupon + FS Logitech G5 Laser Mouse $33 AR & w / coupon or $25 AGCO + FS
Hot Deals Hot Deals Hot Deals Hot Deals Hot Deals
10 1 9 0 9
10-08-2008 05:02 AM 08-19-2008 04:47 AM 07-23-2008 11:30 AM 07-08-2008 04:02 AM 05-22-2008 06:35 AM
Copyright 1999-2013. Slickdeals, Inc. All Rights Reserved. All content, trademarks and logos are copyright their respective ow ners. Hom e Coupons Forum s Search Blog Copyright / DMCA Notice - Privacy Policy - Terms of Service - Acceptable Use Policy (Rules)
-- Hybrid
Need Help?
We hope your visit has been a pleasant one. If you're having any problems, or would just like to give some feedback, we'd love to hear from you. For general help, questions, and suggestions, try our dedicated support forums. If you are a company or need to contact the admins, use our contact form.
First Time?
Welcome to Slickdeals! Save money here by finding the lowest and cheapest price, best deals and bargains, and hot coupons. We're all about community driven bargain hunting with thousands of free discounts, promo codes, reviews and price comparisons. Don't worry, we'll help you find your way. If you haven't already, check out this user guide that explains the features of our site. Also, try visiting the FAQ.
About Slickdeals
About Us, Advertising Opportunities, Our Blog, Careers
RSS Feeds
Frontpage Deals, Hot Topics, Hot Deals, Freebies, Coupons, Contests & Sweepstakes, Drugstore B&M Deals
Twitter Us
Twitter is a service that allows you to receive notifications via AIM or SMS whenever we make a new post! Never miss out on another deal! It's easy, just Subscribe to our Twitter Feed.
Found a Deal?
Slickdeals is able to share the best deals because of the contributions of users like you! If you found a great deal, please share it with others by posting in our forums. Check out these other popular features that most people like: Deal Alerts Slickdeals Mobile Slickdeals Blog Amazon Fillers
Facebook App
Install our Facebook App and share deals with your friends.
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#pos
15/16
2/16/13
Asus WL-520gU 802.11b/g DD-WRT Compatible Wireless Router w/ USB Print Server $32 after $20 MIR - Page 14 - Slickdeals.net
Global Search Price Compare Powered by
archive.slickdeals.net/f/938049-Asus-WL-520gU-802-11b-g-DD-WRT-Compatible-Wireless-Router-w-USB-Print-Server-32-after-20-MIR?p=14205147#pos
16/16