* [U-Boot] Linux 2.6.34.6 ethernet setup
@ 2011-07-16 0:06 simran gill
2011-07-16 5:47 ` Wolfgang Denk
0 siblings, 1 reply; 2+ messages in thread
From: simran gill @ 2011-07-16 0:06 UTC (permalink / raw)
To: u-boot
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [U-Boot] Linux 2.6.34.6 ethernet setup
2011-07-16 0:06 [U-Boot] Linux 2.6.34.6 ethernet setup simran gill
@ 2011-07-16 5:47 ` Wolfgang Denk
0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2011-07-16 5:47 UTC (permalink / raw)
To: u-boot
Dear simran gill,
In message <COL116-W635B407AE0569F463F98B4F2480@phx.gbl> you wrote:
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
...
Please post on a LInux related mailing list. You are totally off
topic here.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Until you walk a mile in another man's moccasins, you can't imagine
the smell.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-16 5:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-16 0:06 [U-Boot] Linux 2.6.34.6 ethernet setup simran gill
2011-07-16 5:47 ` Wolfgang Denk
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.