70470 Posts in 6879 Topics - by 687 Members - Latest Member: Laricwashere

Author Topic: Asus 700Gl..Linux Questions  (Read 3291 times)

Offline .:F3ar0n:.

  • Staff
  • Godlike Gamer
  • *
  • Posts: 2093
  • Karma: 0
  • https://www.youtube.com/watch?v=uIOqrfeC1Q4#t=20
  • Steam ID: H4xz0rsaurusRX
  • XBox Gamer Tag: F3ar0n8
Asus 700Gl..Linux Questions
« on: March 21, 2007, 02:35:55 PM »
So I decided to buy a new router since my HD space was getting low. I bought the Asus 700Gl. The thing is suppose to be great because it has a built in 160gb HD which is to act like a media stream for Itunes and Torrents as well as a network server. I got the internet and user name configured however it appears that the router doesn't like ID3 tagging from Itunes (just gives the filenames and not the tags)

Theres a prog out there called MtDaapd which supposable makes ID3 tages friendly to itunes. Link below

http://www.debonaras.org/wiki/HowTo/MtDaapd

Now in order to install any scripts or any type of add ons to this router, I'm suppose to download and install the hacked firmware that a group of angry 700Gl users created to make this router functional (apparently I missed the memo when I bought this saying it sucks unless you know linux really well..It's great after you can get another Distro on and are able to expand and install packages and such)

So here is the how to guide I'm trying to figure out. I installed the hacked firmware allready and created a user directory like the tutorial said under /shares/MYVOLUME1/opt/etc

http://home.comcast.net/~kfurge/wl700ge.html#Example_rc.local_files_

Now I'm suppose to telnet into the router to run the script  /shares/MYVOLUME1/opt/etc/rc.local

I'm not sure what the heck I'm doing, just winging it and hoping I get lucky. Anyone have time to read over the info and help me make some simple logical sense of this tuturial, please let me know...Thanks

« Last Edit: March 21, 2007, 02:42:31 PM by F3ar0n »

Offline .:F3ar0n:.

  • Staff
  • Godlike Gamer
  • *
  • Posts: 2093
  • Karma: 0
  • https://www.youtube.com/watch?v=uIOqrfeC1Q4#t=20
  • Steam ID: H4xz0rsaurusRX
  • XBox Gamer Tag: F3ar0n8
Re: Asus 700Gl..Linux Questions
« Reply #1 on: March 21, 2007, 06:09:07 PM »
An update to this little adventure..I've followed the instructions and after the 3rd time I was able 2 flash my router correctly. I used rp.local and dumped it into my web directory then rebooted the router and Volia...Telnet access

So now i'm running telnet..I was told to download and install the following scripts:



wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/uclibc_0.9.28-1_mipsel.ipk

wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox-base_1.1.3-3_mipsel.ipk

wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/busybox-links_1.1.3-3_mipsel.ipk

wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/wget_1.10.2-3_mipsel.ipk

wget http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/ipkg_0.99-163-4_mipsel.ipk

Then was told to do this which I did I believe sucessfully



Add /opt/bin to the beginning your path (to override Asus binaries of the same name)
export PATH=/opt/bin:${PATH}
export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}


It then told me to upload a file called ipkg.conf into my web director. I'm assuming with the following command I'm suppose to do that it is suppose 2 move it to my MYVOLUME/opt/etc/ dir..but I've hit a bump and it says nv not found..Is there something I'm doing wrong..I'm gonna work on this project later after I eat..However I figured i'd post just for the heck of it. It seems like no one will be able 2 help me out. I guess it's up to me to learn as I go

http://wl500g.info/attachment.php?attachmentid=1280&d=1170263169

^^How too guide I'm following along with...On page 7...In case someone wants to take a look

Offline .:F3ar0n:.

  • Staff
  • Godlike Gamer
  • *
  • Posts: 2093
  • Karma: 0
  • https://www.youtube.com/watch?v=uIOqrfeC1Q4#t=20
  • Steam ID: H4xz0rsaurusRX
  • XBox Gamer Tag: F3ar0n8
Re: Asus 700Gl..Linux Questions
« Reply #2 on: March 21, 2007, 06:51:53 PM »
Once again another update....

SO it turns out MV is used and not NV...I found out as soon as I zoomed in a little. So I finished this tutorial but I'm still unsure what all this does. I don't know linux unless there's a gui in front of me so I guess i'm in the dark yet

Oh well, no worries.

Offline The Shoctor

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 5803
  • Karma: 17
  • Steam ID: shadohawk@shadoworks.net
  • XBox Gamer Tag: TheShoctor
  • XFire: shadoworks
Re: Asus 700Gl..Linux Questions
« Reply #3 on: March 22, 2007, 08:01:22 AM »
The "quick and dirty" explanation is that you just setup the machine to run your executables instead of the ones that came with the box. (MV = move)

Support LAN Play!
ლ(ಠ益ಠლ) "I have more than 20 friends EA!" --FITES.NET
(╯°□°)╯︵ ┻━┻
"Close enough." --UGC League

Offline .:F3ar0n:.

  • Staff
  • Godlike Gamer
  • *
  • Posts: 2093
  • Karma: 0
  • https://www.youtube.com/watch?v=uIOqrfeC1Q4#t=20
  • Steam ID: H4xz0rsaurusRX
  • XBox Gamer Tag: F3ar0n8
Re: Asus 700Gl..Linux Questions
« Reply #4 on: March 22, 2007, 10:07:38 AM »
k, so I did indeed get everything working

Thing is though is that ipkg doesn't launch right away. once I do these commands in Putty though I have it

    *  export PATH=/opt/bin:${PATH}
    * export LD_LIBRARY_PATH=/opt/lib:${LD_LIBRARY_PATH}


Now how would I go about getting that to run all the time? I would imagine I would use vi and edit my rc.local file and add it in startup (which I thought I did) but it ended up not working. I still have to run the export commands before it runs.

Another prob I have is my installing... The directory some of my apps are installed under is /opt/etc/opt/etc. Now I believe this may be the prob with my first problem as well. It should be in opt/etc but for some reason it created another opt/etc directory and dumped everything in there (more less mt-daapd which is a itunes server under linux that actually is suppose to run id3 tagging)

Now I haven't gotten around to changing the export path to

export PATH=/opt/etc/opt/bin:${PATH}
export LD_LIBRARY_PATH=/opt/etc/opt/lib:${LD_LIBRARY_PATH}

However I would like to just move the entire second opt directory overtop of the first one like it should be. I was looking at MV a little more but haven't figured out the exact command I would need to execute in order to move everything from /opt/etc/opt/ to the original /opt dir and overwrite everything (it's all new files so nothing should be technically overwritten)

I believe that if I do this that I will solve my prob with my export paths and why ipkg is not being executed..(I also installed BASH scripting along with busybox but I need to add something to get those features to start. I was thinkiing export starts all your scripts but if it doesn't...how would u go about adding that script to

Any Ideas..this has been a pretty good learning experience and so far I'm pretty happy. I have maatpd running (runs off the server...192.168.1.1:3869) and spending 9 hours straight, I've been getting around pretty decent now. But there still is a few ? that I don't understand.

Oh 1 more thing...

when I get a script (I've been getting them from this great site http://ipkg.nslu2-linux.org/feeds/optware/oleg/cross/stable/)

I use wget and the html..Then after that I do tar xvzf [the package name]; tar xvzf data.tar.gz

That whole code I believe unzips the package. Is that used just in this unix distro is the code simular when ur installing with other linux distros as well (Ubuntu, Debian). Also the packages end in .mipsel?

Is that just the extention of nl2u? or is that like a type of zip for distro's and tar is the unziping?

Just some questions if anyone gets around to answering. Thanks

Offline .:F3ar0n:.

  • Staff
  • Godlike Gamer
  • *
  • Posts: 2093
  • Karma: 0
  • https://www.youtube.com/watch?v=uIOqrfeC1Q4#t=20
  • Steam ID: H4xz0rsaurusRX
  • XBox Gamer Tag: F3ar0n8
FLIPPING SWEET
« Reply #5 on: March 22, 2007, 01:24:10 PM »
FLIPPING SWEET!


so heres the thing..continuing on this thread that only I have really contributed too. I moved duplicated directories only to find a conflict. It appears theres a /opt and then there is a /shares/MYVOLUME1/opt directory

I dont know why but it seemed to install mt-daapd into this dir. However I edited my rc.local and added it to startup and VIOLA!

I HAVE MUSIC NETWORK STREAM. I had to edit the mt-daapd.conf file with vi and change the dir around the / instead of /shares/MYVOLUME1, but it works and is sweet. The router is turning out to be a decent choice despite  all those who gave it neg reviews (it is asus fault that they didn't come out with a router that supports ID3 tagging in sharing.

Anyways, I pretty much got everything I wanted accomplished with installing unix on the hacked firmware. I'll prob surf around the h4x gl700 forum and see what other goodies I can throw on this thing to make it uber sweet. So far so good..

Total Time Spent Config Unix: 12.5 hours
Total  Pages Surfed Researching Unix Commands: Prob around 60
Getting it to work and finally deciding to learn something other than Windows: PRICELESS  :2thumbsup:

Offline .:F3ar0n:.

  • Staff
  • Godlike Gamer
  • *
  • Posts: 2093
  • Karma: 0
  • https://www.youtube.com/watch?v=uIOqrfeC1Q4#t=20
  • Steam ID: H4xz0rsaurusRX
  • XBox Gamer Tag: F3ar0n8
Re: Asus 700Gl..Linux Questions
« Reply #6 on: March 22, 2007, 02:46:19 PM »

Offline .:F3ar0n:.

  • Staff
  • Godlike Gamer
  • *
  • Posts: 2093
  • Karma: 0
  • https://www.youtube.com/watch?v=uIOqrfeC1Q4#t=20
  • Steam ID: H4xz0rsaurusRX
  • XBox Gamer Tag: F3ar0n8
Re: Asus 700Gl..Linux Questions
« Reply #7 on: March 22, 2007, 02:48:30 PM »

Offline The Shoctor

  • Administrator
  • Godlike Gamer
  • *
  • Posts: 5803
  • Karma: 17
  • Steam ID: shadohawk@shadoworks.net
  • XBox Gamer Tag: TheShoctor
  • XFire: shadoworks
Re: Asus 700Gl..Linux Questions
« Reply #8 on: March 23, 2007, 07:33:29 AM »
If you want to move files around and you have ssh access (which I will assume you do since you mentioned putty) get a copy of WinSCP. Gives you a graphical interface for moving files around and you can transfer files with your machine and edit config files from your windows machine.

**Do I get an award for the longest run-on sentence in a while?

Support LAN Play!
ლ(ಠ益ಠლ) "I have more than 20 friends EA!" --FITES.NET
(╯°□°)╯︵ ┻━┻
"Close enough." --UGC League

Offline .:F3ar0n:.

  • Staff
  • Godlike Gamer
  • *
  • Posts: 2093
  • Karma: 0
  • https://www.youtube.com/watch?v=uIOqrfeC1Q4#t=20
  • Steam ID: H4xz0rsaurusRX
  • XBox Gamer Tag: F3ar0n8
This post has gotten away from me
« Reply #9 on: March 23, 2007, 09:42:43 AM »
**Hands Shadohawk the 1st annual longest run on sentence of the year..Officially sponsored by Pride's amazing hidden never known before ice sculpting skillz

**Hands shadowhawk a ice trophy with a giant #1 on it...Put it in the FREEZER!

Thanks for the heads up though. I found out doing a mv -r -f most of the time works...But I will def check it out. Speaking of which, have you messed with lighttd at all? I was messing with installing lighttpd along with fast-cgi, in hopes of getting php installed.

I used ipkg and installed the following

ipkg install php
ipkg install php-fcgi
ipkg install lighttpd

*then edited my lighttpd file and enabled fast-cgi and added lighttpd in my startup (rc.local)

/opt/etc/init.d/S80lighttpd start 

Anyone mess with these packages. I've been messing around with getting php running, but I haven't had the time to test yet. There is also a push that you can get mysql running on this bad boy as well. I'll prob be working on that later today after I fix my php prob..

*after looking at my conf again, I'm thinking I got a dir wrong...hopefully this fixes my prob


**K and this post has gotten away from me
« Last Edit: March 23, 2007, 09:44:29 AM by F3ar0n »