Re: Initial network config of embedded systems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Geir Thomassen wrote:
>
> I an building an embedded system, which doesn't have any keyboard
> or display. The system is entirely controlled by a web interface.
>
> I want an easy way to configure the network for the first time. I
> assume that the user know the MAC address of the embedded system.
> 
> Here is my idea:
> 
> 1) On any computer on the LAN do:
> 
>    arp -s <ip address> <mac address>
>    ping <ip address>
> 
>    let the ping run ....
> 
> 2) Turn the embedded system on, and let it boot. Once up and running,
>    it switches the ethernet interface into promiscuous mode, and
>    listens for all ICMP packets with its MAC address. Once it finds
>    one, it decodes the IP address, and configures the interface with
>    that address and netmask 0.0.0.0.

Do the interface need to be in promiscuous mode? The ping packet
has after all a correct MAC address....
 
> 3) On the host computer run
> 
>         netscape http://ip address/
> 
>    Goto cgi page with ip setup, set netmask, gateway, hostname etc.
> 
> Will the above idea work ?

-- 
Geir Thomassen
geirt@powertech.no
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux