Temat: Extroot E367+karta1GB
Witam
Próbuję zrobić extroota i swapa na Linksysie 160NL +ostani obraz od Cezarego z Gargoole.
w/g opisu [howto] Extroot dla Gargoyle na TL-MR3420 lub TL-MR3220 i doszedłem do miejsca:
3. Włączenie extroota
Mamy już nośnik we właściwym systemem plików. Należy teraz włączyć tylko extroot. Najpierw odczytujemy unikalny identyfikator dysku poleceniem :
blkid
W tym przypadku było to:
root@Gargoyle:~$ blkid
/dev/sda1: UUID="07f0234d-c8b0-487e-bc46-19142bc5bd14"
Interesują nasz te cyferki. Włączenie extroota to polecenia:
uci set fstab.@mount[0].enabled=1
uci set fstab.@mount[0].uuid=07f0234d-c8b0-487e-bc46-19142bc5bd14
uci set fstab.@mount[0].is_rootfs=1
uci set fstab.@mount[0].fstype=ext2
uci set fstab.@mount[0].options=rw,noatime
uci commit
Po wpisaniu 1 linijki otrzymuję odpowiedz
uci: Entry not found
Z tego zauważyłem nie mam w /etc/config pliku fstab
Mój logread
Jul 7 20:42:23 Gargoyle user.info firewall: adding wan (3g-wan) to zone wan
Jul 7 20:42:23 Gargoyle user.notice root: starting ntpclient
Jul 7 20:42:25 Gargoyle cron.err crond[7273]: crond (busybox 1.15.3) started, log level 5
Jul 7 20:42:27 Gargoyle cron.err crond[7617]: crond (busybox 1.15.3) started, log level 5
Jul 7 20:43:10 Gargoyle authpriv.info dropbear[7636]: Child connection from 192.168.1.219:4288
Jul 7 20:43:17 Gargoyle authpriv.notice dropbear[7636]: password auth succeeded for 'root' from 192.168.1.219:4288
Jul 7 20:43:29 Gargoyle authpriv.info dropbear[7642]: Child connection from 192.168.1.219:4293
Jul 7 20:43:34 Gargoyle authpriv.notice dropbear[7642]: password auth succeeded for 'root' from 192.168.1.219:4293
Jul 7 20:45:01 Gargoyle cron.err crond[7617]: USER root pid 7663 cmd /bin/3gtester
Jul 7 20:45:11 Gargoyle user.notice 3gtester: Restart wan connection
Jul 7 20:45:11 Gargoyle daemon.info pppd[6996]: Terminating on signal 15
Jul 7 20:45:11 Gargoyle daemon.info pppd[6996]: Connect time 2.9 minutes.
Jul 7 20:45:11 Gargoyle daemon.info pppd[6996]: Sent 3270 bytes, received 4347 bytes.
Jul 7 20:45:11 Gargoyle daemon.notice pppd[6996]: Connection terminated.
Jul 7 20:45:11 Gargoyle user.info firewall: removing wan (3g-wan) from zone wan
Jul 7 20:45:12 Gargoyle user.notice root: stopping ntpclient
Jul 7 20:45:12 Gargoyle daemon.info pppd[6996]: Exit.
Jul 7 20:45:15 Gargoyle daemon.notice pppd[7859]: pppd 2.4.4 started by root, uid 0
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: abort on (BUSY)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: abort on (NO CARRIER)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: abort on (ERROR)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: report (CONNECT)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: timeout set to 10 seconds
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: send (AT&F^M)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: expect (OK)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: AT&F^M^M
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: OK
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: -- got it
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: send (ATE1^M)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: expect (OK)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: ^M
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: ATE1^M^M
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: OK
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: -- got it
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: send (AT+CGDCONT=1,"IP","multi.internet"^M)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: timeout set to 30 seconds
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: expect (OK)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: ^M
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: AT+CGDCONT=1,"IP","multi.internet"^M^M
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: OK
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: -- got it
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: send (ATD*99***1#^M)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: expect (CONNECT)
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: ^M
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: ATD*99***1#^M^M
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: CONNECT
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: -- got it
Jul 7 20:45:16 Gargoyle local2.info chat[7864]: send ( ^M)
Jul 7 20:45:16 Gargoyle daemon.info pppd[7859]: Serial connection established.
Jul 7 20:45:16 Gargoyle daemon.info pppd[7859]: Using interface 3g-wan
Jul 7 20:45:16 Gargoyle daemon.notice pppd[7859]: Connect: 3g-wan <--> /dev/ttyUSB0
Jul 7 20:45:19 Gargoyle daemon.warn pppd[7859]: Could not determine remote IP address: defaulting to 10.64.64.64
Jul 7 20:45:19 Gargoyle daemon.notice pppd[7859]: local IP address 93.154.131.247
Jul 7 20:45:19 Gargoyle daemon.notice pppd[7859]: remote IP address 10.64.64.64
Jul 7 20:45:19 Gargoyle daemon.notice pppd[7859]: primary DNS address 193.41.112.14
Jul 7 20:45:19 Gargoyle daemon.notice pppd[7859]: secondary DNS address 193.41.112.18
Jul 7 20:45:20 Gargoyle user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Jul 7 20:45:20 Gargoyle user.info firewall: adding wan (3g-wan) to zone wan
Jul 7 20:45:20 Gargoyle user.notice root: starting ntpclient
Jul 7 20:45:22 Gargoyle cron.err crond[8138]: crond (busybox 1.15.3) started, log level 5
Jul 7 20:45:24 Gargoyle cron.err crond[8482]: crond (busybox 1.15.3) started, log level 5
Jul 7 20:48:01 Gargoyle cron.err crond[8482]: USER root pid 8503 cmd /bin/3gtester
Jul 7 20:48:11 Gargoyle user.notice 3gtester: Restart wan connection
Jul 7 20:48:11 Gargoyle daemon.info pppd[7859]: Terminating on signal 15
Jul 7 20:48:11 Gargoyle daemon.info pppd[7859]: Connect time 2.9 minutes.
Jul 7 20:48:11 Gargoyle daemon.info pppd[7859]: Sent 15696 bytes, received 54520 bytes.
Jul 7 20:48:11 Gargoyle daemon.notice pppd[7859]: Connection terminated.
Jul 7 20:48:11 Gargoyle user.info firewall: removing wan (3g-wan) from zone wan
Jul 7 20:48:12 Gargoyle user.notice root: stopping ntpclient
Jul 7 20:48:12 Gargoyle daemon.info pppd[7859]: Exit.
Jul 7 20:48:15 Gargoyle daemon.notice pppd[8699]: pppd 2.4.4 started by root, uid 0
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: abort on (BUSY)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: abort on (NO CARRIER)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: abort on (ERROR)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: report (CONNECT)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: timeout set to 10 seconds
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: send (AT&F^M)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: expect (OK)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: AT&F^M^M
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: OK
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: -- got it
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: send (ATE1^M)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: expect (OK)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: ^M
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: ATE1^M^M
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: OK
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: -- got it
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: send (AT+CGDCONT=1,"IP","multi.internet"^M)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: timeout set to 30 seconds
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: expect (OK)
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: ^M
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: AT+CGDCONT=1,"IP","multi.internet"^M^M
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: OK
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: -- got it
Jul 7 20:48:16 Gargoyle local2.info chat[8704]: send (ATD*99***1#^M)
Jul 7 20:48:17 Gargoyle local2.info chat[8704]: expect (CONNECT)
Jul 7 20:48:17 Gargoyle local2.info chat[8704]: ^M
Jul 7 20:48:17 Gargoyle local2.info chat[8704]: ATD*99***1#^M^M
Jul 7 20:48:17 Gargoyle local2.info chat[8704]: CONNECT
Jul 7 20:48:17 Gargoyle local2.info chat[8704]: -- got it
Jul 7 20:48:17 Gargoyle local2.info chat[8704]: send ( ^M)
Jul 7 20:48:17 Gargoyle daemon.info pppd[8699]: Serial connection established.
Jul 7 20:48:17 Gargoyle daemon.info pppd[8699]: Using interface 3g-wan
Jul 7 20:48:17 Gargoyle daemon.notice pppd[8699]: Connect: 3g-wan <--> /dev/ttyUSB0
Jul 7 20:48:19 Gargoyle daemon.warn pppd[8699]: Could not determine remote IP address: defaulting to 10.64.64.64
Jul 7 20:48:19 Gargoyle daemon.notice pppd[8699]: local IP address 93.154.187.137
Jul 7 20:48:19 Gargoyle daemon.notice pppd[8699]: remote IP address 10.64.64.64
Jul 7 20:48:19 Gargoyle daemon.notice pppd[8699]: primary DNS address 193.41.112.14
Jul 7 20:48:19 Gargoyle daemon.notice pppd[8699]: secondary DNS address 193.41.112.18
Jul 7 20:48:20 Gargoyle user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Jul 7 20:48:20 Gargoyle user.info firewall: adding wan (3g-wan) to zone wan
Jul 7 20:48:20 Gargoyle user.notice root: starting ntpclient
Jul 7 20:48:22 Gargoyle cron.err crond[8976]: crond (busybox 1.15.3) started, log level 5
Jul 7 20:48:24 Gargoyle cron.err crond[9320]: crond (busybox 1.15.3) started, log level 5
Jul 7 20:51:01 Gargoyle cron.err crond[9320]: USER root pid 9341 cmd /bin/3gtester
Jul 7 20:51:01 Gargoyle cron.err crond[9320]: USER root pid 9342 cmd /usr/bin/set_kernel_timezone >/dev/null 2>&1
Jul 7 20:52:04 Gargoyle daemon.info hostapd: wlan0: STA 00:18:de:0f:bf:32 WPA: group key handshake completed (WPA)
Jul 7 20:54:01 Gargoyle cron.err crond[9320]: USER root pid 9352 cmd /bin/3gtester
Jul 7 20:57:01 Gargoyle cron.err crond[9320]: USER root pid 9357 cmd /bin/3gtester
Jul 7 20:57:11 Gargoyle user.notice 3gtester: Restart wan connection
Jul 7 20:57:11 Gargoyle daemon.info pppd[8699]: Terminating on signal 15
Jul 7 20:57:11 Gargoyle daemon.info pppd[8699]: Connect time 8.9 minutes.
Jul 7 20:57:11 Gargoyle daemon.info pppd[8699]: Sent 59252 bytes, received 250074 bytes.
Jul 7 20:57:11 Gargoyle user.info firewall: removing wan (3g-wan) from zone wan
Jul 7 20:57:12 Gargoyle user.notice root: stopping ntpclient
Jul 7 20:57:13 Gargoyle daemon.info pppd[8699]: Hangup (SIGHUP)
Jul 7 20:57:13 Gargoyle daemon.notice pppd[8699]: Modem hangup
Jul 7 20:57:13 Gargoyle daemon.notice pppd[8699]: Connection terminated.
Jul 7 20:57:15 Gargoyle daemon.info pppd[8699]: Exit.
Jul 7 20:57:17 Gargoyle daemon.notice pppd[9564]: pppd 2.4.4 started by root, uid 0
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: abort on (BUSY)
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: abort on (NO CARRIER)
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: abort on (ERROR)
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: report (CONNECT)
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: timeout set to 10 seconds
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: send (AT&F^M)
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: expect (OK)
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: AT&F^M^M
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: OK
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: -- got it
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: send (ATE1^M)
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: expect (OK)
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: ^M
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: ATE1^M^M
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: OK
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: -- got it
Jul 7 20:57:18 Gargoyle local2.info chat[9569]: send (AT+CGDCONT=1,"IP","multi.internet"^M)
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: timeout set to 30 seconds
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: expect (OK)
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: ^M
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: AT+CGDCONT=1,"IP","multi.internet"^M^M
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: OK
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: -- got it
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: send (ATD*99***1#^M)
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: expect (CONNECT)
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: ^M
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: ATD*99***1#^M^M
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: CONNECT
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: -- got it
Jul 7 20:57:19 Gargoyle local2.info chat[9569]: send ( ^M)
Jul 7 20:57:19 Gargoyle daemon.info pppd[9564]: Serial connection established.
Jul 7 20:57:19 Gargoyle daemon.info pppd[9564]: Using interface 3g-wan
Jul 7 20:57:19 Gargoyle daemon.notice pppd[9564]: Connect: 3g-wan <--> /dev/ttyUSB0
Jul 7 20:57:22 Gargoyle daemon.warn pppd[9564]: Could not determine remote IP address: defaulting to 10.64.64.64
Jul 7 20:57:22 Gargoyle daemon.notice pppd[9564]: local IP address 78.30.113.125
Jul 7 20:57:22 Gargoyle daemon.notice pppd[9564]: remote IP address 10.64.64.64
Jul 7 20:57:22 Gargoyle daemon.notice pppd[9564]: primary DNS address 193.41.112.14
Jul 7 20:57:22 Gargoyle daemon.notice pppd[9564]: secondary DNS address 193.41.112.18
Jul 7 20:57:22 Gargoyle user.notice ifup: Enabling Router Solicitations on wan (3g-wan)
Jul 7 20:57:23 Gargoyle user.info firewall: adding wan (3g-wan) to zone wan
Jul 7 20:57:23 Gargoyle user.notice root: starting ntpclient
Jul 7 20:57:24 Gargoyle cron.err crond[9841]: crond (busybox 1.15.3) started, log level 5
Jul 7 20:57:26 Gargoyle cron.err crond[10185]: crond (busybox 1.15.3) started, log level 5