{"action":"created","issue":{"url":"https://api.github.com/repos/arduino/YunBridge/issues/26","labels_url":"https://api.github.com/repos/arduino/YunBridge/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/arduino/YunBridge/issues/26/comments","events_url":"https://api.github.com/repos/arduino/YunBridge/issues/26/events","html_url":"https://github.com/arduino/YunBridge/issues/26","id":79518809,"number":26,"title":"Edit the /etc/inittab file","user":{"login":"aabm00","id":2041161,"avatar_url":"https://avatars.githubusercontent.com/u/2041161?v=3","gravatar_id":"","url":"https://api.github.com/users/aabm00","html_url":"https://github.com/aabm00","followers_url":"https://api.github.com/users/aabm00/followers","following_url":"https://api.github.com/users/aabm00/following{/other_user}","gists_url":"https://api.github.com/users/aabm00/gists{/gist_id}","starred_url":"https://api.github.com/users/aabm00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabm00/subscriptions","organizations_url":"https://api.github.com/users/aabm00/orgs","repos_url":"https://api.github.com/users/aabm00/repos","events_url":"https://api.github.com/users/aabm00/events{/privacy}","received_events_url":"https://api.github.com/users/aabm00/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-22T16:31:46Z","updated_at":"2015-05-23T09:48:06Z","closed_at":null,"body":"Hello\r\n\r\nI have an **Arduino Yun** with **LininoOS** and **LIninoIO** and **node.js** installed, and I'm working on it from a laptop with windows 7 x64.\r\n\r\nAre there some way I can edit the **/etc/inittab** file, without having access to the Arduino Yun via **Wifi, Ethernet** and **YunSerialTerminal**?\r\n\r\nI tried to make a proof and edited the file commenting the last line:\r\n\r\n```\r\n::sysinit:/etc/init.d/rcS S boot\r\n::shutdown:/etc/init.d/rcS K shutdown\r\n#ttySPI0::respawn:/bin/ash --login\r\n```\r\nAnd now I have neither **Wifi** nor **Ethernet** access. The only acces I have is the **Serial port COM**.\r\n\r\nUntil now I have tried this:\r\n\r\n**1- WLAN RST by at least 30 seconds**\r\n\r\nNothing happened.\r\n\r\nI have installed in my Yun **LininoOS** and **LininoIO**, even though LininoOS is a version of OpenWRT I don’t know if pressing at least 30 seconds works in the same way or simply by the fact of commenting the **inittab** file this option is lost,\r\n\r\n**2- FAILSAVE MODE**\r\n\r\nI tried the (failsave mode) option from U-boot. I uploaded **YunSerialTerminal**  and press **YUN RST** and the result is this:\r\n\r\n```\r\nU-Boot 1.1.4-linino-g335e76c8-dirty (Mar  5 2015 - 09:56:20)\r\n\r\nLinino Board (ar9331) U-boot\r\nDRAM:  64 MB\r\nTop of RAM usable for U-Boot at: 84000000\r\nReserving 217k for U-Boot at: 83fc8000\r\nReserving 192k for malloc() at: 83f98000\r\nReserving 44 Bytes for Board Info at: 83f97fd4\r\nReserving 36 Bytes for Global Data at: 83f97fb0\r\nReserving 128k for boot params() at: 83f77fb0\r\nStack Pointer at: 83f77f98\r\nNow running in RAM - U-Boot at: 83fc8000\r\nFlash Manuf Id 0xef, DeviceId0 0x40, DeviceId1 0x18\r\nflash size 16777216, sector count = 256\r\nFlash: 16 MB\r\nIn:    serial\r\nOut:   serial\r\nErr:   serial\r\nNet:   eth0: b4:21:8a:00:00:00\r\neth1: b4:21:8a:00:00:01\r\neth0, eth1\r\nautoboot in 4 seconds (stop with 'lin')...\r\n## Booting image at 9fea0000 ...\r\n   Image Name:   MIPS OpenWrt Linux-3.3.8\r\n   Created:      2015-02-03  14:03:09 UTC\r\n   Image Type:   MIPS Linux Kernel Image (lzma compressed)\r\n   Data Size:    1129750 Bytes =  1.1 MB\r\n   Load Address: 80060000\r\n   Entry Point:  80060000\r\n   Verifying Checksum at 0x9fea0040 ...OK\r\n   Uncompressing Kernel Image ... OK\r\nNo initrd\r\n## Transferring control to Linux (at address 80060000) ...\r\n## Giving linux memsize in bytes, 67108864\r\n\r\nStarting kernel ...\r\n\r\n[    0.000000] Linux version 3.3.8 (build@build-base) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #1 Tue Feb 3 15:02:42 CET 2015\r\n[    0.000000] bootconsole [early0] enabled\r\n[    0.000000] CPU revision is: 00019374 (MIPS 24Kc)\r\n[    0.000000] SoC: Atheros AR9330 rev 1\r\n[    0.000000] Clocks: CPU:400.000MHz, DDR:400.000MHz, AHB:200.000MHz, Ref:25.000MHz\r\n[    0.000000] Determined physical RAM map:\r\n[    0.000000]  memory: 04000000 @ 00000000 (usable)\r\n[    0.000000] User-defined physical RAM map:\r\n[    0.000000]  memory: 04000000 @ 00000000 (usable)\r\n[    0.000000] Initrd not found or empty - disabling initrd\r\n[    0.000000] Zone PFN ranges:\r\n[    0.000000]   Normal   0x00000000 -> 0x00004000\r\n[    0.000000] Movable zone start PFN for each node\r\n[    0.000000] Early memory PFN ranges\r\n[    0.000000]     0: 0x00000000 -> 0x00004000\r\n[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256\r\n[    0.000000] Kernel command line:  console=spicons board=linino-yun mtdparts=spi0.0:256k(u-boot)ro,64k(u-boot-env),14656k(rootfs),1280k(kernel),64k(nvram),64k(art),15936k@0x50000(firmware) mem=64M rootfstype=squashfs,jffs2 noinitrd rootfstype=squashfs,jffs2 noinitrd\r\n[    0.000000] PID hash table entries: 256 (order: -2, 1024 bytes)\r\n[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)\r\n[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)\r\n[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.\r\n[    0.000000] Primary data cache 32kB, 4-way, VIPT, cache aliases, linesize 32 bytes\r\n[    0.000000] Writing ErrCtl register=00000000\r\n[    0.000000] Readback ErrCtl register=00000000\r\n[    0.000000] Memory: 61004k/65536k available (2416k kernel code, 4532k reserved, 686k data, 216k init, 0k highmem)\r\n[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1\r\n[    0.000000] NR_IRQS:256\r\n[    0.000000] Calibrating delay loop... 265.42 BogoMIPS (lpj=1327104)\r\n[    0.080000] pid_max: default: 32768 minimum: 301\r\n[    0.080000] Mount-cache hash table entries: 512\r\n[    0.080000] NET: Registered protocol family 16\r\n[    0.090000] gpiochip_add: registered GPIOs 0 to 29 on device: ath79\r\n[    0.090000] MIPS: machine is Arduino Yun\r\n[    0.530000] mach-linino: setting GPIO\r\n[    0.530000] Setting GPIO OE 21\r\n[    0.540000] Setting GPIO OE2 22\r\n[    0.540000] Setting GPIO UART-ENA 23\r\n[    0.540000] mach-linino: enabling GPIO SPI Controller\r\n[    0.550000] bio: create slab <bio-0> at 0\r\n[    0.560000] Switching to clocksource MIPS\r\n[    0.570000] NET: Registered protocol family 2\r\n[    0.570000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)\r\n[    0.570000] TCP established hash table entries: 2048 (order: 2, 16384 bytes)\r\n[    0.570000] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)\r\n[    0.570000] TCP: Hash tables configured (established 2048 bind 2048)\r\n[    0.570000] TCP reno registered\r\n[    0.570000] UDP hash table entries: 256 (order: 0, 4096 bytes)\r\n[    0.580000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)\r\n[    0.580000] NET: Registered protocol family 1\r\n[    0.600000] squashfs: version 4.0 (2009/01/31) Phillip Lougher\r\n[    0.600000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.\r\n[    0.610000] msgmni has been set to 119\r\n[    0.610000] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)\r\n[    0.610000] io scheduler noop registered\r\n[    0.620000] io scheduler deadline registered (default)\r\n[    0.620000] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled\r\n[    0.630000] ar933x-uart: ttyATH0 at MMIO 0x18020000 (irq = 11) is a AR933X UART\r\n[    0.630000] console [spicons0] enabled, bootconsole disabled\r\n```\r\n\r\nAs you can see I never get the option of enter failsave mode.\r\n\r\n**Are there another way to revive the Yun or edit the /etc/inittab?**\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/arduino/YunBridge/issues/comments/104876354","html_url":"https://github.com/arduino/YunBridge/issues/26#issuecomment-104876354","issue_url":"https://api.github.com/repos/arduino/YunBridge/issues/26","id":104876354,"user":{"login":"aabm00","id":2041161,"avatar_url":"https://avatars.githubusercontent.com/u/2041161?v=3","gravatar_id":"","url":"https://api.github.com/users/aabm00","html_url":"https://github.com/aabm00","followers_url":"https://api.github.com/users/aabm00/followers","following_url":"https://api.github.com/users/aabm00/following{/other_user}","gists_url":"https://api.github.com/users/aabm00/gists{/gist_id}","starred_url":"https://api.github.com/users/aabm00/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabm00/subscriptions","organizations_url":"https://api.github.com/users/aabm00/orgs","repos_url":"https://api.github.com/users/aabm00/repos","events_url":"https://api.github.com/users/aabm00/events{/privacy}","received_events_url":"https://api.github.com/users/aabm00/received_events","type":"User","site_admin":false},"created_at":"2015-05-23T09:48:06Z","updated_at":"2015-05-23T09:48:06Z","body":"Thank You \r\n\r\nI'm going to take a look to figure out how it works.\r\n\r\n"}}