Odd Behavior



  • Odd Behavior.
    If you follow the tutorial for Using the "Omega as a WiFi Ethernet Bridge"
    the first time you modify the network config file as shown below:

    config interface 'lan'
     option ifname 'eth0'
     option type 'bridge'
     option proto 'static'
     option ipaddr '192.168.3.1'
     option netmask '255.255.255.0'
     option ip6assign '60'
     
    

    And
    Comment the wlan part out, it is not working anyway.
    (as per tutorial)

    #config interface 'wlan'
    #    option proto 'static'
    #    option ipaddr '192.168.3.1'
    #    option netmask '255.255.255.0'
    Reboot
    

    Run ifconfig -a

    you will get:

    br-lan    Link encap:Ethernet  HWaddr 40:A3:6B:C1:#
              inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
              inet6 addr: fe80::42a3:6bff:fec1:#/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:112 errors:0 dropped:0 overruns:0 frame:0
              TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:17691 (17.2 KiB)  TX bytes:9829 (9.5 KiB)
    

    If for whatever reason you dicide change the option ipaddr '192.168.3.1'
    to lets say option ipaddr '192.168.1.2'

    Reboot
    

    and run:

    ipconfig -a
    

    Your will get

    br-lan    Link encap:Ethernet  HWaddr 40:A3:6B:C1:19:F3
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:183 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:29969 (29.2 KiB)  TX bytes:0 (0.0 B)
    

    NOTE: the ip address is now missing and even if you change the
    network section back to: option ipaddr '192.168.3.1' and reboot you will
    find this line missing from the br-lan section
    inet addr:192.168.3.1 Bcast:192.168.3.255 Mask:255.255.255.0

    Any know why?


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.