Show Posts
|
|
Pages: [1] 2 3 4
|
|
5
|
Hardware and U-Boot firmware / Hardware / Re: Sheevaplug powers off on its own
|
on: January 24, 2011, 10:48:37 AM
|
|
downtime, Look carefully in the lower left corner on the label of your power supply and you will see polarity information. That won't help with the identified conductor (ridge), there are times when a meter or continuity tester is required to be sure. On a similar power supply I have, the identified conductor (white stripe) goes to the center contact (+). YMMV
HTH, Jim
|
|
|
|
|
6
|
General Category / General Discussion / To the forum administrators-
|
on: January 22, 2011, 05:06:24 PM
|
|
With great power there must also come great responsibility.
Please administer your forum! There's no excuse for letting 10 pages of spam (and counting) be posted.
It is somewhat useless in it's present condition.
Regards, Jim
|
|
|
|
|
8
|
Hardware and U-Boot firmware / U-Boot stuff / Re: uboot-envtools
|
on: January 17, 2011, 11:46:18 AM
|
Here's what works for me: guruplug:~# cat /proc/mtd dev: size erasesize name mtd0: 00100000 00020000 "u-boot" mtd1: 00400000 00020000 "uImage" mtd2: 1fb00000 00020000 "root" guruplug:~# cat /etc/fw_env.config # Configuration file for fw_(printenv/saveenv) utility. # Up to two entries are valid, in this case the redundand # environment sector is assumed present. # MTD device name Device offset Env. size Flash sector size /dev/mtd0 0x40000 0x20000 0x20000 guruplug:~# fw_printenv bootcmd=setenv ethact egiga0; ${x_bootcmd_ethernet}; setenv ethact egiga1; ${x_bootcmd_ethernet}; ${x_bootcmd_usb}; ${x_bootcmd_kernel}; setenv bootargs ${x_bootargs} ${x_bootargs_root}; bootm 0x6400000; bootdelay=3 baudrate=115200 x_bootcmd_usb=usb start x_bootcmd_kernel=nand read.e 0x6400000 0x100000 0x400000 x_bootargs=console=ttyS0,115200 ethact=egiga0 ethaddr=00:50:43:01:5F:E8 eth1addr=00:50:43:01:5F:E9 x_bootarg_root=ubi.mtd=2 root=/dev/sdc1 rootdelay=10 stdin=serial stdout=serial stderr=serial x_bootcmd_ethernet=ping 192.168.0.1 x_bootargs_root=ubi.mtd=2 root=0821 rootdelay=10 guruplug:~# HTH, Jim
|
|
|
|
|
12
|
General Category / General Discussion / Re: apt-get fails
|
on: December 20, 2010, 10:06:07 AM
|
The nameserver in /etc/resolv.conf is incorrect, and according to man interfaces, dns-nameservers is not an allowed entry. The static Method This method may be used to define ethernet interfaces with statically allocated IPv4 addresses.
Options
address address Address (dotted quad) required
netmask netmask Netmask (dotted quad) required
broadcast broadcast_address Broadcast address (dotted quad)
network network_address Network address (dotted quad) required for 2.0.x kernels
metric metric Routing metric for default gateway (integer)
gateway address Default gateway (dotted quad)
pointopoint address Address of other end point (dotted quad). Note the spelling of "point-to".
media type Medium type, driver dependent
hwaddress class address Hardware Address. class is one of ether, ax25, ARCnet or netrom. address is dependent on the above choice.
mtu size MTU size
Instead of talking you through the joys of the vi editor, it may be just as easy overwrite /etc/resolv.conf with the proper entry: # echo "nameserver 195.121.1.34" > /etc/resolv.conf && echo "nameserver 195.121.1.66" >> /etc/resolv.conf Sorry about the dig command, it is not installed. HTH, Jim
|
|
|
|
|
13
|
General Category / General Discussion / Re: apt-get fails
|
on: December 20, 2010, 08:05:21 AM
|
|
You've got networking issues. Please post the copied output from the following commands:
# ifconfig
# cat /etc/resolv.conf
# route
# ping 192.168.1.254
# dig yahoo.com
HTH, Jim
|
|
|
|
|