• Welcome to SCdev.org. Please log in.

Welcome to the new SCdev forums!

Web browser for DSLinux!

Started by GIDZzz, February 24, 2006, 10:27:58 AM

Previous topic - Next topic

omaemad

why would it mess up?

dont try
eraseall /dev/mtd0

DONT EVER THINK ABOUT IT
man fears time but time fears the pyramid"

Blebekblebek


omaemad

DARN
I TOLD YOU HOW TO MAKE IT WORK FOR SD

sorry for the aggression lol
:D
man fears time but time fears the pyramid"

jbullfrog

when I try this

mount -t jffs2 /dev/rom1 /sram

I get  Unknown error 16

wht am I supposed to do?  

Also, will this allow me to text web browse?  or does it only allow irc?
M3 Simply
Onyx Black DS lite
1 GB Japanese Kingston microSD

omaemad

did you try the eraseall /dev/mtd1 first?

im compiling an sd version of ds linux so u wont need the sram for storing applications however u will still need the sram to store wifi settings
but for now read the guide till i get a supercard version working

the guide shows how to do primitive irc

when i compile for sd u will be able to use irc client and net browser
man fears time but time fears the pyramid"

acky

Awesome guide on getting the sram drive omaemad, cheers.

memyselfandi

:lol:  i'm just stupid... that guide made me even more confused... i didn't know what was for CF or SD users and all that sram stuff :?
 am The Best and you Know it!!!

coolbgdog

this stuff is too confusing.  On the dslinux site it says just type retawq but on here it says put it in the home folder.  I have a cf supercard.  I do the eraseall /dev/mtd1 and it says command not found.  When its much simpler Ill try it...
DS-Supercard cf 1gig cf card !

shaz

Quote from: "omaemad"whoah there ok this guide will come in parts

ok for supercard sd users like me:
Copy dslinux.ds.gba(this version http://kineox.free.fr/DS/dslinux.ds.gba)
rename it to dslinux.nds

next step for the sram setup its quite complex so do it slowly
fisrt of all create an empty .sav file in the sd card as well

(dslinux.sav)

now the fun part boot dslinux (sd users will now get HUGE errors just ignore)
user name root
password uClinux (capital c very important)

no first of all you have to format the sram
the sram is know as a little drive(mount) as mtd1
mtd0 is the romfs kinda like diffrent cdrom drives

to format the sram do this

eraseall /dev/mtd1


it should format 64kb for u

next we create a file system and we mount the sram
mounting is getting a device or drive to be explorable


mount -t jffs2 /dev/rom1 /sram


if it works no errors come up

now the sram is setup makesure u insert ur passme now if u havent got flashme since the quick power cycle boot needs to be fast


poweroff


then quickly turn on the ds and go to saver and press dslinux.sav

WOOT

system go

now here are some basics
the ls command is your equivelent of windows explorer
ls * lists all your files
ls /foldername lists files in folder
to run files most (the ones in the bin folder)
just /foldername/filename

if it is a text file u want to view
type
view /foldername/filename

want to edit / make a text file well this is kinda tricky

vi command
vi is a complex texteditor
to add text press i first then type to go in command mode for saving and quiting press esc then :w /foldername/filename to save or
:q to quit

most programs in linux quit via q button if something crashes use ctrl shift c as if it was ctrl alt delete

u can also run some built in games just explore the /bin folder

now do u wana go on the internet?
currently with a basic linux package u can irc chat quite easily
u can also download those app but ill talk about it later as i need users that have a cf to send us all a .sav with the netbrowser in it

to make net going easy im not gonna cover aps that are encrypted

ok here we go boot up vi the text editor
vi
and press i then type this


iwconfig nds channel (ur ap channel no) essid (ap name)
ifconfig nds up
ifconfig nds down
ifconfig nds (insert a ds ip here make sure it doesnt conflict with any of ur computersgood example 192.168.2.8) up
route add default gw (ap ip here)
echco "nameserver (ap ip here)" > /etc/resolv.conf
ping google.com


now after typped that with no mistakes press esc to go in command mode save it with :w /sram/online.sh
and quit with :q

ok to test it out try this
sh /sram/online.sh

wait and then it should ping google and say its alive
make sure the green led is flashing fast not slowly to know if the settings are right

ok next step irc basic method
telnet irc.server.net 6667 (server means insert ur server here like freenode or prison)

u should get a response now type ur detail VERRRRY quickly
exactlt the same except omar
user omar 8*!*
nick omar

ok if ur lucky u wont get booted fast

now type
join #channel
to join a channel

and to talk type
privmsg #channel hellllloooooooo

to turn off telnet irc use the ctrl shift c method then press q

to turn off wireless try this ifconfig nds down

ok part 2

THIS SECTION NEEDS CF USERS TO HELP THE SD USERS

cf users get this browser and put it on ur cf
http://milicia.net/retawq-size.zip
now setup the sram as the sd users did

ok if the browser is on ur cf it should be under the home directory
so ls /home to check
if not look up the dslinux wiki

now if the browser is there then just type
mv /home/thebrowswerfile /sram
lets pray this fits in 64kb with compression
but probbably not


THE ONLY OTHER PROPER WAY IS IF SOME ONE RUNNING LINUX COMPILE DSLINUX FOR US ADDING THE BROWSER AND THE PROPER IRC CLIENT IN THE ROM[/code]

for the proper irc client cf users try this
http://www.upload2.net/download2/gM4y6ZvopAksO71/tinyirc.zip.html
this might fit in the sram better

Didnt work...

This is what i did:

eraseall /dev/mtd1

mount -t jffs2 /dev/rom1 /sram

poweroff

put it on and loaded DSLinux.nds again...

vi

i

iwconfig nds channel 13 essid Shiraz_Network
ifconfig nds up
ifconfig nds down
ifconfig nds 192.168.0.32 up
route add default gw 192.168.0.1
echo "nameserver 192.168.0.1" > /etc/resolv.conf
ping google.com

Pressed Esc then :w /sram/online.sh then :q

ran it and afterwards said "ping: google.com: Unkown Host"

Also Echo was spelt wrong there...

Any Ideas???

shaz

Quote from: "coolbgdog"this stuff is too confusing.  On the dslinux site it says just type retawq but on here it says put it in the home folder.  I have a cf supercard.  I do the eraseall /dev/mtd1 and it says command not found.  When its much simpler Ill try it...

That happens to me too, but I downloaded the other one which he posted (the ds.gba version) and that command works.

omaemad

sorry if my guide was consfusing cf user dont need it except for the wifi instructions which they can save to their cf

thnx shaz for the typo thing btw after the script runs try pining your router
and see if it picks up

unknow host is ussually to do with that echo line make sure the route line is alos correct

after i compile the sd version sd users will be able to READ only apps like browser and irc client from the sd

the sram is required for the saving of settings

ps make the last number on the ds ip smaller some routers have a limit
make it 5 or 7
man fears time but time fears the pyramid"

omaemad

man fears time but time fears the pyramid"

shaz

Pinged my router and that didnt work too...
Could it be because im calling my router Shiraz_Network...

Because my essid is really Shiraz Network not Shiraz_Network.
I only put the underscore to count as a space because whenever i put a space, it gives an error.

memyselfandi

Quote from: "omaemad"whoah there ok this guide will come in parts

ok for supercard sd users like me:
Copy dslinux.ds.gba(this version http://kineox.free.fr/DS/dslinux.ds.gba)
rename it to dslinux.nds

next step for the sram setup its quite complex so do it slowly
fisrt of all create an empty .sav file in the sd card as well

(dslinux.sav)

now the fun part boot dslinux (sd users will now get HUGE errors just ignore)
user name root
password uClinux (capital c very important)

no first of all you have to format the sram
the sram is know as a little drive(mount) as mtd1
mtd0 is the romfs kinda like diffrent cdrom drives

to format the sram do this

eraseall /dev/mtd1


it should format 64kb for u

next we create a file system and we mount the sram
mounting is getting a device or drive to be explorable


mount -t jffs2 /dev/rom1 /sram


if it works no errors come up

now the sram is setup makesure u insert ur passme now if u havent got flashme since the quick power cycle boot needs to be fast


poweroff


then quickly turn on the ds and go to saver and press dslinux.sav

WOOT

system go

now here are some basics
the ls command is your equivelent of windows explorer
ls * lists all your files
ls /foldername lists files in folder
to run files most (the ones in the bin folder)
just /foldername/filename

if it is a text file u want to view
type
view /foldername/filename

want to edit / make a text file well this is kinda tricky

vi command
vi is a complex texteditor
to add text press i first then type to go in command mode for saving and quiting press esc then :w /foldername/filename to save or
:q to quit

most programs in linux quit via q button if something crashes use ctrl shift c as if it was ctrl alt delete

u can also run some built in games just explore the /bin folder

now do u wana go on the internet?
currently with a basic linux package u can irc chat quite easily
u can also download those app but ill talk about it later as i need users that have a cf to send us all a .sav with the netbrowser in it

to make net going easy im not gonna cover aps that are encrypted

ok here we go boot up vi the text editor
vi
and press i then type this


iwconfig nds channel (ur ap channel no) essid (ap name)
ifconfig nds up
ifconfig nds down
ifconfig nds (insert a ds ip here make sure it doesnt conflict with any of ur computersgood example 192.168.2.8) up
route add default gw (ap ip here)
echco "nameserver (ap ip here)" > /etc/resolv.conf
ping google.com


now after typped that with no mistakes press esc to go in command mode save it with :w /sram/online.sh
and quit with :q

ok to test it out try this
sh /sram/online.sh

wait and then it should ping google and say its alive
make sure the green led is flashing fast not slowly to know if the settings are right

ok next step irc basic method
telnet irc.server.net 6667 (server means insert ur server here like freenode or prison)

u should get a response now type ur detail VERRRRY quickly
exactlt the same except omar
user omar 8*!*
nick omar

ok if ur lucky u wont get booted fast

now type
join #channel
to join a channel

and to talk type
privmsg #channel hellllloooooooo

to turn off telnet irc use the ctrl shift c method then press q

to turn off wireless try this ifconfig nds down

ok part 2

THIS SECTION NEEDS CF USERS TO HELP THE SD USERS

cf users get this browser and put it on ur cf
http://milicia.net/retawq-size.zip
now setup the sram as the sd users did

ok if the browser is on ur cf it should be under the home directory
so ls /home to check
if not look up the dslinux wiki

now if the browser is there then just type
mv /home/thebrowswerfile /sram
lets pray this fits in 64kb with compression
but probbably not


THE ONLY OTHER PROPER WAY IS IF SOME ONE RUNNING LINUX COMPILE DSLINUX FOR US ADDING THE BROWSER AND THE PROPER IRC CLIENT IN THE ROM[/code]

for the proper irc client cf users try this
http://www.upload2.net/download2/gM4y6ZvopAksO71/tinyirc.zip.html
this might fit in the sram better

can you tell me where i find the names of all of that stuff like the ap ip and the ap channel? thankyou!
 am The Best and you Know it!!!

m2pt5

Can you please not quote an entire huge post, especially if it's been done already on the same page, if you're only posting a one line question?
Manually signing your posts is dumb.
---
Firmware versioning: Get a Passcard 3, a SuperKey, or a slot-1 flashkit. Then it doesn't matter which firmware you have.