Hi everyone, I can not ping domain names. however I can on ip addresses. My network configuration is shown below. Should I start any daemon or what else I have to do? Sincerely, # ping gmail.com ping: bad address 'gmail.com' # ping 173.194.70.17(gmail.com's ip address) PING 173.194.70.17 (173.194.70.17): 56 data bytes 64 bytes from 173.194.70.17: seq=0 ttl=48 time=63.309 ms 64 bytes from 173.194.70.17: seq=1 ttl=48 time=59.150 ms 64 bytes from 173.194.70.17: seq=2 ttl=48 time=54.103 ms 64 bytes from 173.194.70.17: seq=3 ttl=48 time=57.030 ms # ifconfig eth0 Link encap:Ethernet HWaddr 08:90:90:90:90:90 inet addr:10.0.2.247 Bcast:10.255.255.255 Mask:255.0.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:224196 errors:0 dropped:0 overruns:0 frame:0 TX packets:11 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:15864126 (15.1 MiB) TX bytes:1950 (1.9 KiB) Interrupt:51 Base address:0x4300 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) # route Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 10.0.0.0 * 255.0.0.0 U 0 0 0 eth0 default 10.0.0.225 0.0.0.0 UG 0 0 0 eth0 # cat /etc/resolv.conf nameserver 10.0.0.225 # cat /etc/host.conf order hosts,bind multi on # cat /etc/hosts localhost 127.0.0.1 # cat /etc/eth0-setting IP=192.168.1.230 Mask=255.255.255.0 Gateway=192.168.1.1 DNS=192.168.1.1 MAC=08:90:90:90:90:90 # cat /etc/init.d/ifconfig-eth0 #!/bin/sh echo -n Try to bring eth0 interface up......>/dev/ttySAC0 if [ -f /etc/eth0-setting ] ; then source /etc/eth0-setting if grep -q "^/dev/root / nfs " /etc/mtab ; then echo -n NFS root ... > /dev/ttySAC0 else ifconfig eth0 down ifconfig eth0 hw ether $MAC ifconfig eth0 $IP netmask $Mask up route add default gw $Gateway fi echo nameserver $DNS > /etc/resolv.conf else if grep -q "^/dev/root / nfs " /etc/mtab ; then echo -n NFS root ... > /dev/ttySAC0 else /sbin/ifconfig eth0 192.168.1.230 netmask 255.255.255.0 up fi fi echo Done > /dev/ttySAC0
ping: bad address
This may not help much, but I don't understand why ifconfig is different than your eth0-setting. Actually, I have never seen a /etc/eth0-setting file in any root filesystems that I have run. What is eth0-setting used for? Are you running NFS?
Hi davef; Thanks four your quick response to my message. it is nic configuration file which is came out when you compile "linux source" which is supplied by FriendlyARM("linux-2.6.32.2-mini2440_20110413.tgz"). However I changed this file and set my network configurations with other linux commands but stil not. Do you have/know any solutions for that? My other question is about rootFS. I want to use frienlyarm's kernel and debian linux on mini2440. Is it possible to do that? Because I cant find very well documented instructions. Can you advice me pls. Sincerely,
Be aware that on some distribution that /etc is volatile, so your changes may not persist. Check that your changes are still there after a reboot. There are some tutorials on Google Code (I think) about running Debian on the mini2440. Never did that myself. Good luck!
Hi davef; I achieved to do that, except touchscreen calibration. Do you know any easy way to do calibration for touchscreen? Sincerely,