[U-Boot] U-BOOT TFTP

simran gill simrangill999 at hotmail.com
Sat Jul 16 02:03:22 CEST 2011


Hello,I am running Linux 2.6.34.6 on p4080ds board. I am trying to get the interfaces running on the kernel but it does not seem to be working. So far I am able to set up the ipaddress etc for the interface "fm1-gb1" but still cannot ping the outside world. I edited the file /etc/rc.d/rc.conf with no luck. My configuration is as follows:
address at hidden rc.d]# vi rc.conf

export HOSTNAME="p4080"                                                         
export NTP_SERVER=""                                                            
export MODLIST=""                                                               
export RAMDIRS=""                                                               
export TMPFS="tmpfs"                                                            
export TMPFS_SIZE="512k"                                                        
export READONLY_FS=""   
export INETD_ARGS=""    
export BOA_ARGS="-c /etc"
export SMBD_ARGS=""      
export NMBD_ARGS=""      
export DHCP_ARG=""       
export DEPLOYMENT_STYLE="RAMDISK"
export SYSCFG_DHCPC_CMD="udhcpc -b -i "
export DROPBEAR_ARGS=""                
                                       
export SYSCFG_IFACE0=y                 
export INTERFACE0="fm1-gb1"            
export IPADDR0="192.168.1.145'         
export NETMASK0="255.255.255.0"        
export BROADCAST0="192.168.1.255"      
export GATEWAY0="192.168.1.1"


After restarting the rcS script::


address at hidden rc.d]# sh /etc/rc.d/rcS restart network
Running sysctl
Setting up networking on loopback device: 
SIOCADDRT: File exists
Setting up networking on fm1-gb1: 
Adding static route for default gateway to 192.168.1.1: 
/etc/rc.d/init.d/network: line 90: cannot create tmp/hosts: nonexistent directory
mv: cannot rename '/tmp/hosts': No such file or directory
address at hidden rc.d]# ifconfig
fm1-gb1   Link encap:Ethernet  HWaddr 00:04:9F:02:01:FD  
          inet addr:192.168.1.145  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:238 (238.0 b)
          Memory:fe4e2000-fe4e2fff 

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)

address at hidden rc.d]# 


Thank you in advance for any help. Sorry if this is easy, I am a little new to this. 		 	   		  


More information about the U-Boot mailing list