What's new

[HOW-TO] install Debian Squeeze

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Had some spare time to make the base for ARM but having some trouble getting it lightweight. The steps you did to create it aren't working on my Debian or Ubuntu.

This one seems to work in Debian debootstrap --arch=armel --foreign stable ./debian/ but is getting the full base. Now this isn't a problem on my 1TB attached drive but i would like to get it stripped down. Are you sure that command is correct?

Edit:

Nevermind.
It's not that big compared to your base. Compressed its about 89mb.

Sent from my GT-I9505 using Tapatalk
 
Last edited:
Got it working on stock Ac68u ARM :)

Strange thing is that the included packages like "mc" aren't installed and are all in /var/cache/apt/archives

The way i got them installed now is by doing a dkpg -i --force-all *.deb in that folder.

Ryzhov_al, do you know how to solve this or am i doing something stupid here?


Sent from my GT-I9505 using Tapatalk
 
Got it working on stock Ac68u ARM :)

Strange thing is that the included packages like "mc" aren't installed and are all in /var/cache/apt/archives

The way i got them installed now is by doing a dkpg -i --force-all *.deb in that folder.

Ryzhov_al, do you know how to solve this or am i doing something stupid here?


Sent from my GT-I9505 using Tapatalk

Can you share your build please, I want to try it on one of my friends router.
Thanks

Sent from my HTC One using Tapatalk
 
Last edited:
Finally got it working correctly on the AC68U.

The version I posted before was not prepared correctly.

The debootstrap second stage wasn't run on that so nothing was configured.

I've tested owncloud on it and it works :)

I'll post the final version later on.

Sent from my GT-I9505 using Tapatalk
 
Didn't see your build otherwise i would have used that one.... How well learned allot of stuff along the way.

Sent from my GT-I9505 using Tapatalk
 
I worked remotely on my friends router and I've seen the potential of debian, I will buy a rt-ac68u soon.

Sent from my HTC One using Tapatalk
 
Yes in combination with this its very nice.

Btw you can run this on stock in combination with optware if you install download master.

Sent from my GT-I9505 using Tapatalk
 
What is the purpose of chroot for ac68u?
Downloading weezy and entering with

mount -o bind /dev/ <folder>/debian/dev/
mount -o bind /proc/ <folder>/debian/proc/
mount -o bind /sys/ <folder>/debian/sys/

It's not enough? or should copy to some other place?

When you have those mounts in place you can do a chroot <folder>/debian and you are in the debian environment. You can then install software via apt-get from the debian repository.

Sent from my GT-I9505 using Tapatalk
 

The chroot executable can be placed anywhere. For instance i created a folder called utils on my usb drive.

I haven't scripted it yet because I'm still playing around with debian.

But just run it like this /mnt/folder/chroot /mnt/folder/debian

Then you are in the debian root environment.

Type "exit" to get back into the Asus environment.

Sent from my GT-I9505 using Tapatalk
 
Last edited:
A new version I've been building for the AC68/AC56 (ARM)

What's been done :

- Full Base of "Wheezy" (instead of minimal)
- Repository added
- resolve.conf using 8.8.8.8
- mc included
- Cleaned installed deb's after debootstrap second stage
- "Colors" so ls is showing differences for folder executables etc.. and MC in color and mouse support + key mappings.

https://www.dropbox.com/s/f8es9x1x6zuekgm/debian-wheezy-fullbase-arm.tgz
 
Last edited:
A new version I've been building for the AC68/AC56 (ARM)

What's been done :

- Full Base of "Wheezy" (instead of minimal)
- Repository added
- resolve.conf using 8.8.8.8
- mc included
- Cleaned installed deb's after debootstrap second stage
- "Colors" so ls is showing differences for folder executables etc.. and MC in color and mouse support + key mappings.

https://www.dropbox.com/s/f8es9x1x6zuekgm/debian-wheezy-fullbase-arm.tgz


First a big thanks to you and members ryzhov_al and TeHashX for providing this...

I have just acquired an RT-AC56 and on the RT-N66U I installed Entware to exploit the wget that supports:

Code:
/tmp/mnt/$MYROUTER/entware/bin/wget  --no-check-certificate https://

Native Optware ARM version of wget on the RT-AC56U doesn't support the above, so it looked like the RT-N56U was going in the bin! :p

It did seem to be a little over the top installing a new distro in an attempt to address the wget issue, but it was surprisingly easy to install Debian, and installing wget under debian does show that https:// support is there.

However, what is the best way to modify my script to call the Debian version of wget?

i.e. simply changing the script to:

Code:
/tmp/mnt/$MYROUTER/debian/usr/bin/wget  --no-check-certificate https://

doesn't work...but I'm probably being dumb!

/EDIT
Anyway if I took the time to properly read and comprehend the informative posts by ryzhov_al, it is documented.

Changed the script to:

Code:
chroot /tmp/mnt/$MYROUTER/debian /usr/bin/wget --no-check-certificate https://
All is good (apart from RT-AC56U LEDS can be requested to go OFF either by cron script or GUI, but cannot be made to come back on without a reboot)

Guess I'll keep the RT-AC56U for now! but since I require the 3G USB Modem failover, I'm going to miss the perk of its internal SDCard and it is going to be really hard to relegate the RT-N66U to AP duties :p

Regards,
 
Last edited:
First a big thanks to you and members ryzhov_al and TeHashX for providing this...

I have just acquired an RT-AC56 and on the RT-N66U I installed Entware to exploit the wget that supports:

Code:
/tmp/mnt/$MYROUTER/entware/bin/wget  --no-check-certificate https://

Native Optware ARM version of wget on the RT-AC56U doesn't support the above, so it looked like the RT-N56U was going in the bin! :p

It did seem to be a little over the top installing a new distro in an attempt to address the wget issue, but it was surprisingly easy to install Debian, and installing wget under debian does show that https:// support is there.

However, what is the best way to modify my script to call the Debian version of wget?

i.e. simply changing the script to:

Code:
/tmp/mnt/$MYROUTER/debian/usr/bin/wget  --no-check-certificate https://

doesn't work...but I'm probably being dumb!

Regards,

Try to remove the "s" letter from https

Sent from my HTC One using Tapatalk
 
Last edited:
First a big thanks to you and members ryzhov_al and TeHashX for providing this...

I have just acquired an RT-AC56 and on the RT-N66U I installed Entware to exploit the wget that supports:

Code:
/tmp/mnt/$MYROUTER/entware/bin/wget  --no-check-certificate https://

Native Optware ARM version of wget on the RT-AC56U doesn't support the above, so it looked like the RT-N56U was going in the bin! :p

It did seem to be a little over the top installing a new distro in an attempt to address the wget issue, but it was surprisingly easy to install Debian, and installing wget under debian does show that https:// support is there.

However, what is the best way to modify my script to call the Debian version of wget?

i.e. simply changing the script to:

Code:
/tmp/mnt/$MYROUTER/debian/usr/bin/wget  --no-check-certificate https://

doesn't work...but I'm probably being dumb!

/EDIT
Anyway if I took the time to properly read and comprehend the informative posts by ryzhov_al, it is documented.

Changed the script to:

Code:
chroot /tmp/mnt/$MYROUTER/debian /usr/bin/wget --no-check-certificate https://
All is good (apart from RT-AC56U LEDS can be requested to go OFF either by cron script or GUI, but cannot be made to come back on without a reboot)

Guess I'll keep the RT-AC56U for now! but since I require the 3G USB Modem failover, I'm going to miss the perk of its internal SDCard and it is going to be really hard to relegate the RT-N66U to AP duties :p

Regards,

It should work like this.

http://forums.smallnetbuilder.com/showthread.php?p=64833

Are you sure chroot is executed and have all the mounts? Are you sure you have the ARM version?

I normally have to point out the whole path to chroot to execute it.
But I haven't got optware installed.

Sent from my GT-I9505 using Tapatalk
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top