Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - erich141

Pages: [1]
1
Angstrom & OpenZaurus / issue with OZ 3.3.6-pre1 on SL5600
« on: April 04, 2004, 01:09:43 am »
I moved my /opt directory to the second partition and I didn\'t have any problems with this setup. Basically I did the following:
rm -rf /home/*
cd opt
tar c * | ( cd /home ; tar xvf - )
rm -rf /opt/*

vi /etc/fstab, change /home to /opt
umount /home
mount /opt

restart Opie.

2
Angstrom & OpenZaurus / Completely removing Sharp ROM?
« on: March 21, 2004, 04:07:08 pm »
Quote
The annoying wifi steps I have to do to get the network gateway running (from Konsole) are:
udhcpc -i wlan0
route add -net default gw 192.168.0.1 netmask 0.0.0.0 metric 1 wlan0

I wrote a quick bash script (in a meeting no less, hurrah) to make the above a little easier.  I\'ll tweak it more a little later to automatically set my gateway based on the discovered network instead of manually typing it, but the following works for now:

Code: [Select]
#!/bin/sh

udhcpc -i wlan0

route add -net default gw $1 netmask 0.0.0.0 metric 1 wlan0


Just chmod +x the file, and call it as ./file.sh <wireless_gateway_ip>

I\'m sure there\'s an easier way, but this is what I have been doing.

An easier way it to open a file /usr/share/udhcpc/default.script in vi and insert the following line into the beginning:
\"export PATH=/sbin:$PATH\"

For some reason /sbin is not in it\'s default PATH and it can\'t find \"route\".

3
Angstrom & OpenZaurus / changing ROMs
« on: February 10, 2004, 11:29:34 pm »
5600 can be flashed from SD, it is only 5000 and 5500 that cannot...

Pages: [1]