[LEDE-DEV] patch for dwr-512 support

Giuseppe Lippolis giu.lippolis at gmail.com
Sun Nov 13 08:59:29 PST 2016


Dear all,
I’m sending to the community the following patch to support the dlink
dwr-512.

diff --git a/target/linux/ramips/base-files/etc/board.d/02_network
b/target/linux/ramips/base-files/etc/board.d/02_network
index c8b57ca..719078c 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -71,6 +71,7 @@ ramips_setup_interfaces()
               dir-320-b1|\
               dir-610-a1|\
               dir-615-h1|\
+             dwr-512-b|\
               firewrt|\
               hlk-rm04|\
               mac1200rv2|\
diff --git a/target/linux/ramips/base-files/lib/ramips.sh
b/target/linux/ramips/base-files/lib/ramips.sh
index bb379f7..a0f041e 100755
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -154,6 +154,9 @@ ramips_board_detect() {
               *"DIR-860L B1")
                              name="dir-860l-b1"
                              ;;
+             *"DWR-512 B")
+                             name="dwr-512-b"
+                             ;;
               *"Dovado Tiny AC")
                              name="tiny-ac"
                              ;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh
b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 0ef2308..36ea469 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -50,6 +50,7 @@ platform_check_image() {
               dir-620-a1|\
               dir-620-d1|\
               dir-810l|\
+             dwr-512-b|\
               duzun-dm06|\
               e1700|\
               esr-9753|\
diff --git a/target/linux/ramips/dts/DWR-512-B.dts
b/target/linux/ramips/dts/DWR-512-B.dts
index e69de29..c5a8d9c 100644
--- a/target/linux/ramips/dts/DWR-512-B.dts
+++ b/target/linux/ramips/dts/DWR-512-B.dts
@@ -0,0 +1,115 @@
+/dts-v1/;
+
+/include/ "rt5350.dtsi"
+
+/ {
+             compatible = "ralink,rt5350-soc";
+             model = "D-Link DWR-512 B";
+
+             gpio-keys-polled {
+                             compatible = "gpio-keys-polled";
+                             #address-cells = <1>;
+                             #size-cells = <0>;
+                             poll-interval = <20>;
+
+                             wps {
+                                            label = "wps";
+                                            gpios = <&gpio0 0 1>;
+                                             linux,code = <0x211>;
+                             };
+             };
+
+             gpio-leds {
+                             compatible = "gpio-leds";
+
+                             sms {
+                                            label = "dwr-512-b:green:sms";
+                                            gpios = <&gpio0 8 1>;
+                             };
+                             status {
+                                            label =
"dwr-512-b:green:status";
+                                            gpios = <&gpio0 9 1>;
+                             };
+                             2g {
+                                            label = "dwr-512-b:green:2g";
+                                            gpios = <&gpio0 17 1>;
+                             };
+                             3g {
+                                            label = "dwr-512-b:green:3g";
+                                            gpios = <&gpio0 19 1>;
+                             };
+                             sstrengthr {
+                                            label =
"dwr-512-b:red:sigstrength";
+                                            gpios = <&gpio0 20 1>;
+                             };
+                             sstrengthg {
+                                            label =
"dwr-512-b:green:sigstrength";
+                                            gpios = <&gpio0 21 1>;
+                             };
+             };
+
+             gpio-export {
+                             compatible = "gpio-export";
+                             #size-cells = <0>;
+ 
+                             modem3g_enable {
+                                            gpio-export,name =
"modem3g_enable";
+                                            gpio-export,output = <1>;
+                                            gpios = <&gpio0 18 1>;
+                             };
+             };
+};
+
+&spi0 {
+             status = "okay";
+
+             mx25l6405d at 0 {
+                             #address-cells = <1>;
+                             #size-cells = <1>;
+                             compatible = "macronix,mx25l6405d",
"jedec,spi-nor";
+                             reg = <0>;
+                             spi-max-frequency = <30000000>;
+                             fast-read;
+
+                partition at 0 {
+                        label = "u-boot";
+                        reg = <0x0 0x30000>;
+                        read-only;
+                };
+
+                partition at 30000 {
+                        label = "u-boot-env";
+                        reg = <0x30000 0x10000>;
+                        read-only;
+                };
+
+                factory: partition at 40000 {
+                        label = "factory";
+                        reg = <0x40000 0x10000>;
+                        read-only;
+                };
+
+                partition at 50000 {
+                        label = "firmware";
+                        reg = <0x50000 0x7a0000>;
+                };
+
+                             config: partition at 7f0000 {
+                                            label = "config";
+                                            reg = <0x7f0000 0x10000>;
+                             };
+             };
+};
+
+&pinctrl {
+             state_default: pinctrl0 {
+                             gpio {
+                                            ralink,group = "i2c", "jtag",
"uartf";
+                                            ralink,function = "gpio";
+                             };
+             };
+};
+
+&wmac {
+             ralink,mtd-eeprom = <&config 0xe07a>;
+};
diff --git a/target/linux/ramips/image/rt305x.mk
b/target/linux/ramips/image/rt305x.mk
index be21ac4..201193d 100644
--- a/target/linux/ramips/image/rt305x.mk
+++ b/target/linux/ramips/image/rt305x.mk
@@ -168,6 +168,15 @@ endef
TARGET_DEVICES += dir-620-d1

 
+define Device/dwr-512-b
+  DTS := DWR-512-B
+  DEVICE_TITLE := D-Link DWR-512 B
+  DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-i2c-core kmod-i2c-ralink
kmod-spi-dev \
+                                            kmod-usb-serial
kmod-usb-serial-option kmod-usb-serial-wwan comgt 
+endef
+TARGET_DEVICES += dwr-512-b
+
+
define Device/esr-9753
   DTS := ESR-9753
   BLOCKSIZE := 64k



Currently, the following functionalities are tested:
                LAN connection
                WAN connection
                WLAN connection
                3G MODEM connection

The 3g voice-telephone connector needs to be enabled.
Some additional small modification in the /etc/gcom/setpin.gcom and
/etc/config/network need to be done to enable automatically the 3g modem.
I will do it as soon as the patch is embedded in the mainstream.

Currently, the most convenient way to install LEDE from the OEM firmware is
to replace the oem bootloader with the standard u-boot (the problem related
with the oem bootloader is described here:
http://lists.infradead.org/pipermail/lede-dev/2016-October/003435.html ).
I will describe the procedure as soon as I can add a lede wiki page for this
device.

Here the boot log:
U-Boot 1.1.3 (Nov  6 2016 - 19:13:49)

Board: Ralink APSoC DRAM:  32 MB
relocate_code Pointer at: 81fb4000
spi_wait_nsec: 42 
spi device id: c2 20 17 c2 20 (2017c220)
find flash: MX25L6405D
raspi_read: from:30000 len:1000 
.raspi_read: from:30000 len:1000 
.============================================ 
Ralink UBoot Version: 4.0.1.0
-------------------------------------------- 
ASIC 5350_MP (Port5<->None)
DRAM_CONF_FROM: Boot-Strapping 
DRAM_TYPE: SDRAM 
DRAM_SIZE: 256 Mbits
DRAM_WIDTH: 16 bits
DRAM_TOTAL_WIDTH: 16 bits
TOTAL_MEMORY_SIZE: 32 MBytes
Flash component: SPI Flash
Date:Nov  6 2016  Time:19:13:49
============================================ 
icache: sets:256, ways:4, linesz:32 ,total:32768
dcache: sets:128, ways:4, linesz:32 ,total:16384 

##### The CPU freq = 360 MHZ #### 
 estimate memory size =32 Mbytes

Please choose the operation: 
   1: Load system code to SDRAM via TFTP. 
   2: Load system code then write to Flash via TFTP. 
   3: Boot system code via Flash (default).
   4: Entr boot command line interface.
   7: Load Boot Loader code then write to Flash via Serial. 
   9: Load Boot Loader code then write to Flash via TFTP. 
 4  3  2  1  0 
   
3: System Boot system code via Flash.
## Booting image at bc050000 ...
raspi_read: from:50000 len:40 
.   Image Name:   MIPS LEDE Linux-4.4.23
   Created:      2016-09-30  18:08:21 UTC
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    1203790 Bytes =  1.1 MB
   Load Address: 80000000
   Entry Point:  80000000
raspi_read: from:50040 len:125e4e 
...................   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[    0.000000] Linux version 4.4.23 (lippo at nice) (gcc version 5.4.0 (LEDE
GCC 5.4.0 r1727) ) #0 Fri Sep 30 18:08:21 2016
[    0.000000] SoC Type: Ralink RT5350 id:1 rev:3
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001964c (MIPS 24KEc)
[    0.000000] MIPS: machine is D-Link DWR-512 B
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000001ffffff]
[    0.000000] Initmem setup node 0 [mem
0x0000000000000000-0x0000000001ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32
bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32
bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total
pages: 8128
[    0.000000] Kernel command line: console=ttyS0,57600
rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] Writing ErrCtl register=00000d5b
[    0.000000] Readback ErrCtl register=00000d5b
[    0.000000] Memory: 28492K/32768K available (2775K kernel code, 129K
rwdata, 652K rodata, 148K init, 191K bss, 4276K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:256
[    0.000000] CPU Clock: 360MHz
[    0.000000] clocksource: systick: mask: 0xffff max_cycles: 0xffff,
max_idle_ns: 583261500 ns
[    0.000000] systick: running - mult: 214748, shift: 32
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff,
max_idle_ns: 10618113593 ns
[    0.000016] sched_clock: 32 bits at 180MHz, resolution 5ns, wraps every
11930464253ns
[    0.015668] Calibrating delay loop... 239.61 BogoMIPS (lpj=1198080)
[    0.090894] pid_max: default: 32768 minimum: 301
[    0.100345] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.113435] Mountpoint-cache hash table entries: 1024 (order: 0, 4096
bytes)
[    0.137295] clocksource: jiffies: mask: 0xffffffff max_cycles:
0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.157157] pinctrl core: initialized pinctrl subsystem
[    0.168922] NET: Registered protocol family 16
[    0.221079] rt2880_gpio 10000600.gpio: registering 22 gpios
[    0.232204] rt2880_gpio 10000600.gpio: registering 22 irq handlers
[    0.247336] clocksource: Switched to clocksource MIPS
[    0.260138] NET: Registered protocol family 2
[    0.270502] TCP established hash table entries: 1024 (order: 0, 4096
bytes)
[    0.284391] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.296975] TCP: Hash tables configured (established 1024 bind 1024)
[    0.309844] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.321462] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.334432] NET: Registered protocol family 1
[    0.353234] rt-timer 10000100.timer: maximum frequency is 3662Hz
[    0.367043] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.379357] Crashlog allocated RAM at address 0x1f00000
[    0.424453] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.436098] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME)
(CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.462215] io scheduler noop registered
[    0.470025] io scheduler deadline registered (default)
[    0.480628] ralink-usb-phy usbphy: invalid resource
[    0.491571] gpio-export gpio-export: 1 gpio(s) exported
[    0.502506] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.517629] console [ttyS0] disabled
[    0.524669] 10000c00.uartlite: ttyS0 at MMIO 0x10000c00 (irq = 20,
base_baud = 2500000) is a Palmchip BK-3103
[    0.544480] console [ttyS0] enabled
[    0.544480] console [ttyS0] enabled
[    0.558254] bootconsole [early0] disabled
[    0.558254] bootconsole [early0] disabled
[    0.585022] spi spi0.0: force spi mode3
[    0.593604] m25p80 spi0.0: mx25l6405d (8192 Kbytes)
[    0.603538] 5 ofpart partitions found on MTD device spi0.0
[    0.614537] Creating 5 MTD partitions on "spi0.0":
[    0.624158] 0x000000000000-0x000000030000 : "u-boot"
[    0.637939] 0x000000030000-0x000000040000 : "u-boot-env"
[    0.652527] 0x000000040000-0x000000050000 : "factory"
[    0.666625] 0x000000050000-0x0000007f0000 : "firmware"
[    0.937773] 2 uimage-fw partitions found on MTD device firmware
[    0.949716] 0x000000050000-0x000000175e8e : "kernel"
[    0.962944] 0x000000175e8e-0x0000007f0000 : "rootfs"
[    0.976819] mtd: device 5 (rootfs) set to be root filesystem
[    0.988380] 1 squashfs-split partitions found on MTD device rootfs
[    1.000807] 0x000000343000-0x0000007f0000 : "rootfs_data"
[    1.015602] 0x0000007f0000-0x000000800000 : "config"
[    1.035486] rt3050-esw 10110000.esw: link changed 0x00
[    1.048192] mtk_soc_eth 10100000.ethernet: generated random MAC address
b6:02:cf:5b:16:19
[    1.066017] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at
0xb0100000, irq 5
[    1.083723] rt2880_wdt 10000120.watchdog: Initialized
[    1.096645] NET: Registered protocol family 10
[    1.114070] NET: Registered protocol family 17
[    1.123329] bridge: automatic filtering via arp/ip/ip6tables has been
deprecated. Update your scripts to load br_netfilter if you need this.
[    1.148615] 8021q: 802.1Q VLAN Support v1.8
[    1.168582] VFS: Mounted root (squashfs filesystem) readonly on device
31:5.
[    1.184377] Freeing unused kernel memory: 148K (8037b000 - 803a0000)
[    2.743190] init: Console is alive
[    2.750672] init: - watchdog -
[    4.154252] usbcore: registered new interface driver usbfs
[    4.165571] usbcore: registered new interface driver hub
[    4.176539] usbcore: registered new device driver usb
[    4.198203] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    4.214394] ehci-platform: EHCI generic platform driver
[    4.235566] phy phy-usbphy.0: remote usb device wakeup disabled
[    4.247454] phy phy-usbphy.0: UTMI 16bit 30MHz
[    4.256386] ehci-platform 101c0000.ehci: EHCI Host Controller
[    4.267992] ehci-platform 101c0000.ehci: new USB bus registered, assigned
bus number 1
[    4.284120] ehci-platform 101c0000.ehci: irq 26, io mem 0x101c0000
[    4.307482] ehci-platform 101c0000.ehci: USB 2.0 started, EHCI 1.00
[    4.322322] hub 1-0:1.0: USB hub found
[    4.331018] hub 1-0:1.0: 1 port detected
[    4.351753] init: - preinit -
[    5.457865] rt3050-esw 10110000.esw: link changed 0x00
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[    8.187378] usb 1-1: new high-speed USB device number 2 using
ehci-platform
[    8.481300] random: procd: uninitialized urandom read (4 bytes read, 14
bits of entropy available)
[    9.242629] jffs2: notice: (324) jffs2_build_xattr_subsystem: complete
building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref
(0 dead, 0 orphan) found.
[    9.278905] mount_root: switching to jffs2 overlay
[    9.304488] urandom-seed: Seeding with /etc/urandom.seed
[    9.528706] procd: - early -
[    9.534748] procd: - watchdog -
[   10.393770] procd: - ubus -
[   10.759659] random: ubusd: uninitialized urandom read (4 bytes read, 18
bits of entropy available)
[   10.778743] random: ubusd: uninitialized urandom read (4 bytes read, 18
bits of entropy available)
[   10.796903] random: ubusd: uninitialized urandom read (4 bytes read, 18
bits of entropy available)
[   10.816770] random: ubusd: uninitialized urandom read (4 bytes read, 18
bits of entropy available)
[   10.835030] random: ubusd: uninitialized urandom read (4 bytes read, 18
bits of entropy available)
[   10.853808] random: ubusd: uninitialized urandom read (4 bytes read, 18
bits of entropy available)
[   10.873396] random: ubusd: uninitialized urandom read (4 bytes read, 18
bits of entropy available)
[   10.892673] procd: - init -
Please press Enter to activate this console.
[   11.372476] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   11.414186] i2c /dev entries driver
[   11.442068] Loading modules backported from Linux version
wt-2016-06-20-0-gbc17424
[   11.457329] Backport generated by backports.git
backports-20160216-7-g5735958
[   11.489429] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.520416] nf_conntrack version 0.5.0 (447 buckets, 1788 max)
[   11.580648] usbcore: registered new interface driver usbserial
[   11.592739] usbcore: registered new interface driver usbserial_generic
[   11.606155] usbserial: USB Serial support registered for generic
[   11.661446] xt_time: kernel timezone is -0000
[   11.786884] PPP generic driver version 2.4.2
[   11.801207] NET: Registered protocol family 24
[   11.841601] usbcore: registered new interface driver option
[   11.853166] usbserial: USB Serial support registered for GSM modem
(1-port)
[   11.905721] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 5350, rev
0500 detected
[   11.921362] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 5350
detected
[   13.831336] random: jshn: uninitialized urandom read (4 bytes read, 23
bits of entropy available)
[   13.986896] random: ubusd: uninitialized urandom read (4 bytes read, 23
bits of entropy available)
[   22.509256] device eth0.0 entered promiscuous mode
[   22.518986] device eth0 entered promiscuous mode
[   22.555650] br-lan: port 1(eth0.0) entered forwarding state
[   22.566995] br-lan: port 1(eth0.0) entered forwarding state
[   24.557485] br-lan: port 1(eth0.0) entered forwarding state
[   27.011193] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready

[   27.166464] device wlan0 entered promiscuous mode


BusyBox v1.25.0 () built-in shell (ash)

     _________
    /        /\      _    ___ ___  ___
   /  LE    /  \    | |  | __|   \| __|
  /    DE  /    \   | |__| _|| |) | _|
/________/  LE  \  |____|___|___/|___|                      lede-project.org
\        \   DE /
  \    LE  \    / 
-----------------------------------------------------------
   \  DE    \  /    Reboot (HEAD, r1727)
    \________\/   
-----------------------------------------------------------

root at lede:/# [   28.847780] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link
becomes ready
[   28.860976] br-lan: port 2(wlan0) entered forwarding state
[   28.872140] br-lan: port 2(wlan0) entered forwarding state
[   30.867350] br-lan: port 2(wlan0) entered forwarding state
echo '2001 7d04 ff' > /sys/bus/usb-serial/drivers/option1/new_id
[   35.036633] option 1-1:1.2: GSM modem (1-port) converter detected
[   35.049865] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[   35.064613] option 1-1:1.3: GSM modem (1-port) converter detected
[   35.077937] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[   35.092687] option 1-1:1.4: GSM modem (1-port) converter detected
[   35.105892] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB2
[   35.120615] option 1-1:1.5: GSM modem (1-port) converter detected
[   35.133781] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB3
[   43.739443] 3g-wan3g: renamed from ppp0
[   51.405689] 3g-wan3g: renamed from ppp0
[   52.997418] random: nonblocking pool is initialized

root at lede:/# root at lede:/# ifconfig
3g-wan3g  Link encap:Point-to-Point Protocol  
          inet addr:77.25.124.4  P-t-P:10.64.64.64  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500  Metric:1
          RX packets:17 errors:0 dropped:0 overruns:0 frame:0
          TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:1151 (1.1 KiB)  TX bytes:818 (818.0 B)

br-lan    Link encap:Ethernet  HWaddr 16:A0:B1:9A:54:3F  
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::14a0:b1ff:fe9a:543f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:2556 (2.4 KiB)

eth0      Link encap:Ethernet  HWaddr B6:02:CF:5B:16:19  
          inet6 addr: fe80::b402:cfff:fe5b:1619/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:55 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:6035 (5.8 KiB)
          Interrupt:5 

eth0.0    Link encap:Ethernet  HWaddr B6:02:CF:5B:16:19  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:2092 (2.0 KiB)

eth0.1    Link encap:Ethernet  HWaddr 46:BB:69:BB:52:5B  
          inet addr:192.168.176.2  Bcast:192.168.176.255  Mask:255.255.255.0
          inet6 addr: fe80::44bb:69ff:febb:525b/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:23 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:1410 (1.3 KiB)

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:65536  Metric:1
          RX packets:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:3685 (3.5 KiB)  TX bytes:3685 (3.5 KiB)

wlan0     Link encap:Ethernet  HWaddr 78:54:2E:A0:78:6D  
          inet6 addr: fe80::7a54:2eff:fea0:786d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:1528 (1.4 KiB)

root at lede:/#

Bye.






More information about the Lede-dev mailing list