[Hampshire] GuruPlug ifconf problems.

Top Page

Reply to this message
Author: Clive Woodfine
Date:  
To: Hampshire LUG Discussion List
Subject: [Hampshire] GuruPlug ifconf problems.
After a BaB meeting at Southampton some while back where I brought my
GuruPlug and fiddled with some setting because the University network
was down when I got home the Plug no longer worked on my LAN.

I have finally got round to trying to solve the problem.

When connected via a JTAG I get the following information from the GuruPlug.

After booting with no changes:-

sheevaplug-debian:~# ifconfig
eth0      Link encap:Ethernet  HWaddr MACaddress
          inet6 addr: fe80::f2ad:4eff:feff:158b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:804 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:58663 (57.2 KiB)  TX bytes:468 (468.0 B)
          Interrupt:11


sheevaplug-debian:~#

sheevaplug-debian:~# dmesg |grep fail
libertas: failed to load helper firmware
libertas_sdio: probe of mmc0:0001:1 failed with error -2
btmrvl_sdio_download_helper: request_firmware(helper) failed, error code = -2
btmrvl_sdio_probe: Downloading firmware failed!
sheevaplug-debian:~#

Manually setting up ifconfig thus:-

sheevaplug-debian:~# ifconfig eth0 LAN_IP broadcast 192.168.2.255
netmask 255.255.255.0
sheevaplug-debian:~#

sheevaplug-debian:~# ifconfig lo 127.0.0.1
sheevaplug-debian:~#

Rerunning ifconfig gives:-

sheevaplug-debian:~# ifconfig
eth0      Link encap:Ethernet  HWaddr f0:ad:4e:ff:15:8b
          inet addr: LAN_IP  Bcast:192.168.2.255  Mask:255.255.255.0
          inet6 addr: fe80::f2ad:4eff:feff:158b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:830 errors:0 dropped:0 overruns:0 frame:0
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:63655 (62.1 KiB)  TX bytes:468 (468.0 B)
          Interrupt:11


lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          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)


sheevaplug-debian:~#

After this I can connect over the LAN to the GuruPlug and it works as
before but as soon as I reboot the Plug it no longer works!

My question is how can I make these changes stick? I have tried
changing these 2 files /etc/udhcpd.conf and
/etc/network/interfaces with the connection data but to no effect.

I do not know what the failed messages from dmesg mean but they do not
seem to stop the plug working as normal once ifconfig has been set up.

All help welcome please.
--
Clive